Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.11
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for xorgproto 2024.1.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/proto/xorgproto/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/proto/xorgproto/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 as_awk_strverscmp='
    592   # Use only awk features that work with 7th edition Unix awk (1978).
    593   # My, what an old awk you have, Mr. Solaris!
    594   END {
    595     while (length(v1) && length(v2)) {
    596       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    597       # Normally this is a single character, but if v1 and v2 contain digits,
    598       # compare them as integers and fractions as strverscmp does.
    599       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    600 	# Split v1 and v2 into their leading digit string components d1 and d2,
    601 	# and advance v1 and v2 past the leading digit strings.
    602 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    603 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    604 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    605 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    606 	if (d1 ~ /^0/) {
    607 	  if (d2 ~ /^0/) {
    608 	    # Compare two fractions.
    609 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    610 	      d1 = substr(d1, 2); len1--
    611 	      d2 = substr(d2, 2); len2--
    612 	    }
    613 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    614 	      # The two components differ in length, and the common prefix
    615 	      # contains only leading zeros.  Consider the longer to be less.
    616 	      d1 = -len1
    617 	      d2 = -len2
    618 	    } else {
    619 	      # Otherwise, compare as strings.
    620 	      d1 = "x" d1
    621 	      d2 = "x" d2
    622 	    }
    623 	  } else {
    624 	    # A fraction is less than an integer.
    625 	    exit 1
    626 	  }
    627 	} else {
    628 	  if (d2 ~ /^0/) {
    629 	    # An integer is greater than a fraction.
    630 	    exit 2
    631 	  } else {
    632 	    # Compare two integers.
    633 	    d1 += 0
    634 	    d2 += 0
    635 	  }
    636 	}
    637       } else {
    638 	# The normal case, without worrying about digits.
    639 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    640 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    641       }
    642       if (d1 < d2) exit 1
    643       if (d1 > d2) exit 2
    644     }
    645     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    646     # which mishandles some comparisons of empty strings to integers.
    647     if (length(v2)) exit 1
    648     if (length(v1)) exit 2
    649   }
    650 '
    651 
    652 test -n "$DJDIR" || exec 7<&0 </dev/null
    653 exec 6>&1
    654 
    655 # Name of the host.
    656 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    657 # so uname gets run too.
    658 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    659 
    660 #
    661 # Initializations.
    662 #
    663 ac_default_prefix=/usr/local
    664 ac_clean_files=
    665 ac_config_libobj_dir=.
    666 LIBOBJS=
    667 cross_compiling=no
    668 subdirs=
    669 MFLAGS=
    670 MAKEFLAGS=
    671 
    672 # Identity of this package.
    673 PACKAGE_NAME='xorgproto'
    674 PACKAGE_TARNAME='xorgproto'
    675 PACKAGE_VERSION='2024.1'
    676 PACKAGE_STRING='xorgproto 2024.1'
    677 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/proto/xorgproto/issues'
    678 PACKAGE_URL=''
    679 
    680 # Factoring default headers for most tests.
    681 ac_includes_default="\
    682 #include <stddef.h>
    683 #ifdef HAVE_STDIO_H
    684 # include <stdio.h>
    685 #endif
    686 #ifdef HAVE_STDLIB_H
    687 # include <stdlib.h>
    688 #endif
    689 #ifdef HAVE_STRING_H
    690 # include <string.h>
    691 #endif
    692 #ifdef HAVE_INTTYPES_H
    693 # include <inttypes.h>
    694 #endif
    695 #ifdef HAVE_STDINT_H
    696 # include <stdint.h>
    697 #endif
    698 #ifdef HAVE_STRINGS_H
    699 # include <strings.h>
    700 #endif
    701 #ifdef HAVE_SYS_TYPES_H
    702 # include <sys/types.h>
    703 #endif
    704 #ifdef HAVE_SYS_STAT_H
    705 # include <sys/stat.h>
    706 #endif
    707 #ifdef HAVE_UNISTD_H
    708 # include <unistd.h>
    709 #endif"
    710 
    711 ac_header_c_list=
    712 ac_subst_vars='am__EXEEXT_FALSE
    713 am__EXEEXT_TRUE
    714 LTLIBOBJS
    715 LIBOBJS
    716 USE_FDS_BITS
    717 LEGACY_FALSE
    718 LEGACY_TRUE
    719 HAVE_PYTHON_FALSE
    720 HAVE_PYTHON_TRUE
    721 pkgpyexecdir
    722 pyexecdir
    723 pkgpythondir
    724 pythondir
    725 PYTHON_EXEC_PREFIX
    726 PYTHON_PREFIX
    727 PYTHON_PLATFORM
    728 PYTHON_VERSION
    729 PYTHON
    730 HAVE_STYLESHEETS_FALSE
    731 HAVE_STYLESHEETS_TRUE
    732 XSL_STYLESHEET
    733 STYLESHEET_SRCDIR
    734 XORG_SGML_PATH
    735 HAVE_XSLTPROC_FALSE
    736 HAVE_XSLTPROC_TRUE
    737 XSLTPROC
    738 HAVE_FOP_FALSE
    739 HAVE_FOP_TRUE
    740 FOP
    741 HAVE_XMLTO_FALSE
    742 HAVE_XMLTO_TRUE
    743 HAVE_XMLTO_TEXT_FALSE
    744 HAVE_XMLTO_TEXT_TRUE
    745 XMLTO
    746 ENABLE_SPECS_FALSE
    747 ENABLE_SPECS_TRUE
    748 MAN_SUBSTS
    749 XORG_MAN_PAGE
    750 ADMIN_MAN_DIR
    751 DRIVER_MAN_DIR
    752 MISC_MAN_DIR
    753 FILE_MAN_DIR
    754 LIB_MAN_DIR
    755 APP_MAN_DIR
    756 ADMIN_MAN_SUFFIX
    757 DRIVER_MAN_SUFFIX
    758 MISC_MAN_SUFFIX
    759 FILE_MAN_SUFFIX
    760 LIB_MAN_SUFFIX
    761 APP_MAN_SUFFIX
    762 SED
    763 host_os
    764 host_vendor
    765 host_cpu
    766 host
    767 build_os
    768 build_vendor
    769 build_cpu
    770 build
    771 INSTALL_CMD
    772 PKG_CONFIG_LIBDIR
    773 PKG_CONFIG_PATH
    774 PKG_CONFIG
    775 CHANGELOG_CMD
    776 STRICT_CFLAGS
    777 CWARNFLAGS
    778 BASE_CFLAGS
    779 am__fastdepCC_FALSE
    780 am__fastdepCC_TRUE
    781 CCDEPMODE
    782 am__nodep
    783 AMDEPBACKSLASH
    784 AMDEP_FALSE
    785 AMDEP_TRUE
    786 am__include
    787 DEPDIR
    788 OBJEXT
    789 EXEEXT
    790 ac_ct_CC
    791 CPPFLAGS
    792 LDFLAGS
    793 CFLAGS
    794 CC
    795 AM_BACKSLASH
    796 AM_DEFAULT_VERBOSITY
    797 AM_DEFAULT_V
    798 AM_V
    799 CSCOPE
    800 ETAGS
    801 CTAGS
    802 am__untar
    803 am__tar
    804 AMTAR
    805 am__leading_dot
    806 SET_MAKE
    807 AWK
    808 mkdir_p
    809 MKDIR_P
    810 INSTALL_STRIP_PROGRAM
    811 STRIP
    812 install_sh
    813 MAKEINFO
    814 AUTOHEADER
    815 AUTOMAKE
    816 AUTOCONF
    817 ACLOCAL
    818 VERSION
    819 PACKAGE
    820 CYGPATH_W
    821 am__isrc
    822 INSTALL_DATA
    823 INSTALL_SCRIPT
    824 INSTALL_PROGRAM
    825 target_alias
    826 host_alias
    827 build_alias
    828 LIBS
    829 ECHO_T
    830 ECHO_N
    831 ECHO_C
    832 DEFS
    833 mandir
    834 localedir
    835 libdir
    836 psdir
    837 pdfdir
    838 dvidir
    839 htmldir
    840 infodir
    841 docdir
    842 oldincludedir
    843 includedir
    844 runstatedir
    845 localstatedir
    846 sharedstatedir
    847 sysconfdir
    848 datadir
    849 datarootdir
    850 libexecdir
    851 sbindir
    852 bindir
    853 program_transform_name
    854 prefix
    855 exec_prefix
    856 PACKAGE_URL
    857 PACKAGE_BUGREPORT
    858 PACKAGE_STRING
    859 PACKAGE_VERSION
    860 PACKAGE_TARNAME
    861 PACKAGE_NAME
    862 PATH_SEPARATOR
    863 SHELL
    864 am__quote'
    865 ac_subst_files=''
    866 ac_user_opts='
    867 enable_option_checking
    868 enable_silent_rules
    869 enable_dependency_tracking
    870 enable_selective_werror
    871 enable_strict_compilation
    872 enable_specs
    873 with_xmlto
    874 with_fop
    875 with_xsltproc
    876 with_python_sys_prefix
    877 with_python_prefix
    878 with_python_exec_prefix
    879 enable_legacy
    880 '
    881       ac_precious_vars='build_alias
    882 host_alias
    883 target_alias
    884 CC
    885 CFLAGS
    886 LDFLAGS
    887 LIBS
    888 CPPFLAGS
    889 PKG_CONFIG
    890 PKG_CONFIG_PATH
    891 PKG_CONFIG_LIBDIR
    892 XMLTO
    893 FOP
    894 XSLTPROC
    895 PYTHON'
    896 
    897 
    898 # Initialize some variables set by options.
    899 ac_init_help=
    900 ac_init_version=false
    901 ac_unrecognized_opts=
    902 ac_unrecognized_sep=
    903 # The variables have the same names as the options, with
    904 # dashes changed to underlines.
    905 cache_file=/dev/null
    906 exec_prefix=NONE
    907 no_create=
    908 no_recursion=
    909 prefix=NONE
    910 program_prefix=NONE
    911 program_suffix=NONE
    912 program_transform_name=s,x,x,
    913 silent=
    914 site=
    915 srcdir=
    916 verbose=
    917 x_includes=NONE
    918 x_libraries=NONE
    919 
    920 # Installation directory options.
    921 # These are left unexpanded so users can "make install exec_prefix=/foo"
    922 # and all the variables that are supposed to be based on exec_prefix
    923 # by default will actually change.
    924 # Use braces instead of parens because sh, perl, etc. also accept them.
    925 # (The list follows the same order as the GNU Coding Standards.)
    926 bindir='${exec_prefix}/bin'
    927 sbindir='${exec_prefix}/sbin'
    928 libexecdir='${exec_prefix}/libexec'
    929 datarootdir='${prefix}/share'
    930 datadir='${datarootdir}'
    931 sysconfdir='${prefix}/etc'
    932 sharedstatedir='${prefix}/com'
    933 localstatedir='${prefix}/var'
    934 runstatedir='${localstatedir}/run'
    935 includedir='${prefix}/include'
    936 oldincludedir='/usr/include'
    937 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    938 infodir='${datarootdir}/info'
    939 htmldir='${docdir}'
    940 dvidir='${docdir}'
    941 pdfdir='${docdir}'
    942 psdir='${docdir}'
    943 libdir='${exec_prefix}/lib'
    944 localedir='${datarootdir}/locale'
    945 mandir='${datarootdir}/man'
    946 
    947 ac_prev=
    948 ac_dashdash=
    949 for ac_option
    950 do
    951   # If the previous option needs an argument, assign it.
    952   if test -n "$ac_prev"; then
    953     eval $ac_prev=\$ac_option
    954     ac_prev=
    955     continue
    956   fi
    957 
    958   case $ac_option in
    959   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    960   *=)   ac_optarg= ;;
    961   *)    ac_optarg=yes ;;
    962   esac
    963 
    964   case $ac_dashdash$ac_option in
    965   --)
    966     ac_dashdash=yes ;;
    967 
    968   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    969     ac_prev=bindir ;;
    970   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    971     bindir=$ac_optarg ;;
    972 
    973   -build | --build | --buil | --bui | --bu)
    974     ac_prev=build_alias ;;
    975   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    976     build_alias=$ac_optarg ;;
    977 
    978   -cache-file | --cache-file | --cache-fil | --cache-fi \
    979   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    980     ac_prev=cache_file ;;
    981   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    982   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    983     cache_file=$ac_optarg ;;
    984 
    985   --config-cache | -C)
    986     cache_file=config.cache ;;
    987 
    988   -datadir | --datadir | --datadi | --datad)
    989     ac_prev=datadir ;;
    990   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    991     datadir=$ac_optarg ;;
    992 
    993   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    994   | --dataroo | --dataro | --datar)
    995     ac_prev=datarootdir ;;
    996   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    997   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    998     datarootdir=$ac_optarg ;;
    999 
   1000   -disable-* | --disable-*)
   1001     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1002     # Reject names that are not valid shell variable names.
   1003     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1004       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1005     ac_useropt_orig=$ac_useropt
   1006     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1007     case $ac_user_opts in
   1008       *"
   1009 "enable_$ac_useropt"
   1010 "*) ;;
   1011       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1012 	 ac_unrecognized_sep=', ';;
   1013     esac
   1014     eval enable_$ac_useropt=no ;;
   1015 
   1016   -docdir | --docdir | --docdi | --doc | --do)
   1017     ac_prev=docdir ;;
   1018   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1019     docdir=$ac_optarg ;;
   1020 
   1021   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1022     ac_prev=dvidir ;;
   1023   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1024     dvidir=$ac_optarg ;;
   1025 
   1026   -enable-* | --enable-*)
   1027     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1028     # Reject names that are not valid shell variable names.
   1029     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1030       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1031     ac_useropt_orig=$ac_useropt
   1032     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1033     case $ac_user_opts in
   1034       *"
   1035 "enable_$ac_useropt"
   1036 "*) ;;
   1037       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1038 	 ac_unrecognized_sep=', ';;
   1039     esac
   1040     eval enable_$ac_useropt=\$ac_optarg ;;
   1041 
   1042   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1043   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1044   | --exec | --exe | --ex)
   1045     ac_prev=exec_prefix ;;
   1046   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1047   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1048   | --exec=* | --exe=* | --ex=*)
   1049     exec_prefix=$ac_optarg ;;
   1050 
   1051   -gas | --gas | --ga | --g)
   1052     # Obsolete; use --with-gas.
   1053     with_gas=yes ;;
   1054 
   1055   -help | --help | --hel | --he | -h)
   1056     ac_init_help=long ;;
   1057   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1058     ac_init_help=recursive ;;
   1059   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1060     ac_init_help=short ;;
   1061 
   1062   -host | --host | --hos | --ho)
   1063     ac_prev=host_alias ;;
   1064   -host=* | --host=* | --hos=* | --ho=*)
   1065     host_alias=$ac_optarg ;;
   1066 
   1067   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1068     ac_prev=htmldir ;;
   1069   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1070   | --ht=*)
   1071     htmldir=$ac_optarg ;;
   1072 
   1073   -includedir | --includedir | --includedi | --included | --include \
   1074   | --includ | --inclu | --incl | --inc)
   1075     ac_prev=includedir ;;
   1076   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1077   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1078     includedir=$ac_optarg ;;
   1079 
   1080   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1081     ac_prev=infodir ;;
   1082   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1083     infodir=$ac_optarg ;;
   1084 
   1085   -libdir | --libdir | --libdi | --libd)
   1086     ac_prev=libdir ;;
   1087   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1088     libdir=$ac_optarg ;;
   1089 
   1090   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1091   | --libexe | --libex | --libe)
   1092     ac_prev=libexecdir ;;
   1093   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1094   | --libexe=* | --libex=* | --libe=*)
   1095     libexecdir=$ac_optarg ;;
   1096 
   1097   -localedir | --localedir | --localedi | --localed | --locale)
   1098     ac_prev=localedir ;;
   1099   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1100     localedir=$ac_optarg ;;
   1101 
   1102   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1103   | --localstate | --localstat | --localsta | --localst | --locals)
   1104     ac_prev=localstatedir ;;
   1105   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1106   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1107     localstatedir=$ac_optarg ;;
   1108 
   1109   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1110     ac_prev=mandir ;;
   1111   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1112     mandir=$ac_optarg ;;
   1113 
   1114   -nfp | --nfp | --nf)
   1115     # Obsolete; use --without-fp.
   1116     with_fp=no ;;
   1117 
   1118   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1119   | --no-cr | --no-c | -n)
   1120     no_create=yes ;;
   1121 
   1122   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1123   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1124     no_recursion=yes ;;
   1125 
   1126   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1127   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1128   | --oldin | --oldi | --old | --ol | --o)
   1129     ac_prev=oldincludedir ;;
   1130   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1131   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1132   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1133     oldincludedir=$ac_optarg ;;
   1134 
   1135   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1136     ac_prev=prefix ;;
   1137   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1138     prefix=$ac_optarg ;;
   1139 
   1140   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1141   | --program-pre | --program-pr | --program-p)
   1142     ac_prev=program_prefix ;;
   1143   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1144   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1145     program_prefix=$ac_optarg ;;
   1146 
   1147   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1148   | --program-suf | --program-su | --program-s)
   1149     ac_prev=program_suffix ;;
   1150   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1151   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1152     program_suffix=$ac_optarg ;;
   1153 
   1154   -program-transform-name | --program-transform-name \
   1155   | --program-transform-nam | --program-transform-na \
   1156   | --program-transform-n | --program-transform- \
   1157   | --program-transform | --program-transfor \
   1158   | --program-transfo | --program-transf \
   1159   | --program-trans | --program-tran \
   1160   | --progr-tra | --program-tr | --program-t)
   1161     ac_prev=program_transform_name ;;
   1162   -program-transform-name=* | --program-transform-name=* \
   1163   | --program-transform-nam=* | --program-transform-na=* \
   1164   | --program-transform-n=* | --program-transform-=* \
   1165   | --program-transform=* | --program-transfor=* \
   1166   | --program-transfo=* | --program-transf=* \
   1167   | --program-trans=* | --program-tran=* \
   1168   | --progr-tra=* | --program-tr=* | --program-t=*)
   1169     program_transform_name=$ac_optarg ;;
   1170 
   1171   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1172     ac_prev=pdfdir ;;
   1173   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1174     pdfdir=$ac_optarg ;;
   1175 
   1176   -psdir | --psdir | --psdi | --psd | --ps)
   1177     ac_prev=psdir ;;
   1178   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1179     psdir=$ac_optarg ;;
   1180 
   1181   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1182   | -silent | --silent | --silen | --sile | --sil)
   1183     silent=yes ;;
   1184 
   1185   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1186   | --runstate | --runstat | --runsta | --runst | --runs \
   1187   | --run | --ru | --r)
   1188     ac_prev=runstatedir ;;
   1189   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1190   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1191   | --run=* | --ru=* | --r=*)
   1192     runstatedir=$ac_optarg ;;
   1193 
   1194   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1195     ac_prev=sbindir ;;
   1196   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1197   | --sbi=* | --sb=*)
   1198     sbindir=$ac_optarg ;;
   1199 
   1200   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1201   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1202   | --sharedst | --shareds | --shared | --share | --shar \
   1203   | --sha | --sh)
   1204     ac_prev=sharedstatedir ;;
   1205   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1206   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1207   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1208   | --sha=* | --sh=*)
   1209     sharedstatedir=$ac_optarg ;;
   1210 
   1211   -site | --site | --sit)
   1212     ac_prev=site ;;
   1213   -site=* | --site=* | --sit=*)
   1214     site=$ac_optarg ;;
   1215 
   1216   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1217     ac_prev=srcdir ;;
   1218   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1219     srcdir=$ac_optarg ;;
   1220 
   1221   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1222   | --syscon | --sysco | --sysc | --sys | --sy)
   1223     ac_prev=sysconfdir ;;
   1224   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1225   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1226     sysconfdir=$ac_optarg ;;
   1227 
   1228   -target | --target | --targe | --targ | --tar | --ta | --t)
   1229     ac_prev=target_alias ;;
   1230   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1231     target_alias=$ac_optarg ;;
   1232 
   1233   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1234     verbose=yes ;;
   1235 
   1236   -version | --version | --versio | --versi | --vers | -V)
   1237     ac_init_version=: ;;
   1238 
   1239   -with-* | --with-*)
   1240     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1241     # Reject names that are not valid shell variable names.
   1242     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1243       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1244     ac_useropt_orig=$ac_useropt
   1245     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1246     case $ac_user_opts in
   1247       *"
   1248 "with_$ac_useropt"
   1249 "*) ;;
   1250       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1251 	 ac_unrecognized_sep=', ';;
   1252     esac
   1253     eval with_$ac_useropt=\$ac_optarg ;;
   1254 
   1255   -without-* | --without-*)
   1256     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1257     # Reject names that are not valid shell variable names.
   1258     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1259       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1260     ac_useropt_orig=$ac_useropt
   1261     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1262     case $ac_user_opts in
   1263       *"
   1264 "with_$ac_useropt"
   1265 "*) ;;
   1266       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1267 	 ac_unrecognized_sep=', ';;
   1268     esac
   1269     eval with_$ac_useropt=no ;;
   1270 
   1271   --x)
   1272     # Obsolete; use --with-x.
   1273     with_x=yes ;;
   1274 
   1275   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1276   | --x-incl | --x-inc | --x-in | --x-i)
   1277     ac_prev=x_includes ;;
   1278   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1279   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1280     x_includes=$ac_optarg ;;
   1281 
   1282   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1283   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1284     ac_prev=x_libraries ;;
   1285   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1286   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1287     x_libraries=$ac_optarg ;;
   1288 
   1289   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1290 Try \`$0 --help' for more information"
   1291     ;;
   1292 
   1293   *=*)
   1294     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1295     # Reject names that are not valid shell variable names.
   1296     case $ac_envvar in #(
   1297       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1298       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1299     esac
   1300     eval $ac_envvar=\$ac_optarg
   1301     export $ac_envvar ;;
   1302 
   1303   *)
   1304     # FIXME: should be removed in autoconf 3.0.
   1305     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1306     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1307       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1308     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1309     ;;
   1310 
   1311   esac
   1312 done
   1313 
   1314 if test -n "$ac_prev"; then
   1315   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1316   as_fn_error $? "missing argument to $ac_option"
   1317 fi
   1318 
   1319 if test -n "$ac_unrecognized_opts"; then
   1320   case $enable_option_checking in
   1321     no) ;;
   1322     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1323     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1324   esac
   1325 fi
   1326 
   1327 # Check all directory arguments for consistency.
   1328 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1329 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1330 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1331 		libdir localedir mandir runstatedir
   1332 do
   1333   eval ac_val=\$$ac_var
   1334   # Remove trailing slashes.
   1335   case $ac_val in
   1336     */ )
   1337       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1338       eval $ac_var=\$ac_val;;
   1339   esac
   1340   # Be sure to have absolute directory names.
   1341   case $ac_val in
   1342     [\\/$]* | ?:[\\/]* )  continue;;
   1343     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1344   esac
   1345   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1346 done
   1347 
   1348 # There might be people who depend on the old broken behavior: `$host'
   1349 # used to hold the argument of --host etc.
   1350 # FIXME: To remove some day.
   1351 build=$build_alias
   1352 host=$host_alias
   1353 target=$target_alias
   1354 
   1355 # FIXME: To remove some day.
   1356 if test "x$host_alias" != x; then
   1357   if test "x$build_alias" = x; then
   1358     cross_compiling=maybe
   1359   elif test "x$build_alias" != "x$host_alias"; then
   1360     cross_compiling=yes
   1361   fi
   1362 fi
   1363 
   1364 ac_tool_prefix=
   1365 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1366 
   1367 test "$silent" = yes && exec 6>/dev/null
   1368 
   1369 
   1370 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1371 ac_ls_di=`ls -di .` &&
   1372 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1373   as_fn_error $? "working directory cannot be determined"
   1374 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1375   as_fn_error $? "pwd does not report name of working directory"
   1376 
   1377 
   1378 # Find the source files, if location was not specified.
   1379 if test -z "$srcdir"; then
   1380   ac_srcdir_defaulted=yes
   1381   # Try the directory containing this script, then the parent directory.
   1382   ac_confdir=`$as_dirname -- "$as_myself" ||
   1383 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1384 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1385 	 X"$as_myself" : 'X\(//\)$' \| \
   1386 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1387 printf "%s\n" X"$as_myself" |
   1388     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1389 	    s//\1/
   1390 	    q
   1391 	  }
   1392 	  /^X\(\/\/\)[^/].*/{
   1393 	    s//\1/
   1394 	    q
   1395 	  }
   1396 	  /^X\(\/\/\)$/{
   1397 	    s//\1/
   1398 	    q
   1399 	  }
   1400 	  /^X\(\/\).*/{
   1401 	    s//\1/
   1402 	    q
   1403 	  }
   1404 	  s/.*/./; q'`
   1405   srcdir=$ac_confdir
   1406   if test ! -r "$srcdir/$ac_unique_file"; then
   1407     srcdir=..
   1408   fi
   1409 else
   1410   ac_srcdir_defaulted=no
   1411 fi
   1412 if test ! -r "$srcdir/$ac_unique_file"; then
   1413   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1414   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1415 fi
   1416 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1417 ac_abs_confdir=`(
   1418 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1419 	pwd)`
   1420 # When building in place, set srcdir=.
   1421 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1422   srcdir=.
   1423 fi
   1424 # Remove unnecessary trailing slashes from srcdir.
   1425 # Double slashes in file names in object file debugging info
   1426 # mess up M-x gdb in Emacs.
   1427 case $srcdir in
   1428 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1429 esac
   1430 for ac_var in $ac_precious_vars; do
   1431   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1432   eval ac_env_${ac_var}_value=\$${ac_var}
   1433   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1434   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1435 done
   1436 
   1437 #
   1438 # Report the --help message.
   1439 #
   1440 if test "$ac_init_help" = "long"; then
   1441   # Omit some internal or obsolete options to make the list less imposing.
   1442   # This message is too long to be a string in the A/UX 3.1 sh.
   1443   cat <<_ACEOF
   1444 \`configure' configures xorgproto 2024.1 to adapt to many kinds of systems.
   1445 
   1446 Usage: $0 [OPTION]... [VAR=VALUE]...
   1447 
   1448 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1449 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1450 
   1451 Defaults for the options are specified in brackets.
   1452 
   1453 Configuration:
   1454   -h, --help              display this help and exit
   1455       --help=short        display options specific to this package
   1456       --help=recursive    display the short help of all the included packages
   1457   -V, --version           display version information and exit
   1458   -q, --quiet, --silent   do not print \`checking ...' messages
   1459       --cache-file=FILE   cache test results in FILE [disabled]
   1460   -C, --config-cache      alias for \`--cache-file=config.cache'
   1461   -n, --no-create         do not create output files
   1462       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1463 
   1464 Installation directories:
   1465   --prefix=PREFIX         install architecture-independent files in PREFIX
   1466                           [$ac_default_prefix]
   1467   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1468                           [PREFIX]
   1469 
   1470 By default, \`make install' will install all the files in
   1471 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1472 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1473 for instance \`--prefix=\$HOME'.
   1474 
   1475 For better control, use the options below.
   1476 
   1477 Fine tuning of the installation directories:
   1478   --bindir=DIR            user executables [EPREFIX/bin]
   1479   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1480   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1481   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1482   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1483   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1484   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1485   --libdir=DIR            object code libraries [EPREFIX/lib]
   1486   --includedir=DIR        C header files [PREFIX/include]
   1487   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1488   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1489   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1490   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1491   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1492   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1493   --docdir=DIR            documentation root [DATAROOTDIR/doc/xorgproto]
   1494   --htmldir=DIR           html documentation [DOCDIR]
   1495   --dvidir=DIR            dvi documentation [DOCDIR]
   1496   --pdfdir=DIR            pdf documentation [DOCDIR]
   1497   --psdir=DIR             ps documentation [DOCDIR]
   1498 _ACEOF
   1499 
   1500   cat <<\_ACEOF
   1501 
   1502 Program names:
   1503   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1504   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1505   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1506 
   1507 System types:
   1508   --build=BUILD     configure for building on BUILD [guessed]
   1509   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1510 _ACEOF
   1511 fi
   1512 
   1513 if test -n "$ac_init_help"; then
   1514   case $ac_init_help in
   1515      short | recursive ) echo "Configuration of xorgproto 2024.1:";;
   1516    esac
   1517   cat <<\_ACEOF
   1518 
   1519 Optional Features:
   1520   --disable-option-checking  ignore unrecognized --enable/--with options
   1521   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1522   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1523   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1524   --disable-silent-rules  verbose build output (undo: "make V=0")
   1525   --enable-dependency-tracking
   1526                           do not reject slow dependency extractors
   1527   --disable-dependency-tracking
   1528                           speeds up one-time build
   1529   --disable-selective-werror
   1530                           Turn off selective compiler errors. (default:
   1531                           enabled)
   1532   --enable-strict-compilation
   1533                           Enable all warnings from compiler and make them
   1534                           errors (default: disabled)
   1535   --enable-specs          Enable building the specs (default: yes)
   1536   --enable-legacy         Install legacy protocol headers (default: false)
   1537 
   1538 Optional Packages:
   1539   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1540   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1541   --with-xmlto            Use xmlto to regenerate documentation (default:
   1542                           auto)
   1543   --with-fop              Use fop to regenerate documentation (default: auto)
   1544   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1545                           (default: auto)
   1546   --with-python-sys-prefix
   1547                           use Python's sys.prefix and sys.exec_prefix values
   1548   --with-python_prefix    override the default PYTHON_PREFIX
   1549   --with-python_exec_prefix
   1550                           override the default PYTHON_EXEC_PREFIX
   1551 
   1552 Some influential environment variables:
   1553   CC          C compiler command
   1554   CFLAGS      C compiler flags
   1555   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1556               nonstandard directory <lib dir>
   1557   LIBS        libraries to pass to the linker, e.g. -l<library>
   1558   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1559               you have headers in a nonstandard directory <include dir>
   1560   PKG_CONFIG  path to pkg-config utility
   1561   PKG_CONFIG_PATH
   1562               directories to add to pkg-config's search path
   1563   PKG_CONFIG_LIBDIR
   1564               path overriding pkg-config's built-in search path
   1565   XMLTO       Path to xmlto command
   1566   FOP         Path to fop command
   1567   XSLTPROC    Path to xsltproc command
   1568   PYTHON      the Python interpreter
   1569 
   1570 Use these variables to override the choices made by `configure' or to help
   1571 it to find libraries and programs with nonstandard names/locations.
   1572 
   1573 Report bugs to <https://gitlab.freedesktop.org/xorg/proto/xorgproto/issues>.
   1574 _ACEOF
   1575 ac_status=$?
   1576 fi
   1577 
   1578 if test "$ac_init_help" = "recursive"; then
   1579   # If there are subdirs, report their specific --help.
   1580   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1581     test -d "$ac_dir" ||
   1582       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1583       continue
   1584     ac_builddir=.
   1585 
   1586 case "$ac_dir" in
   1587 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1588 *)
   1589   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1590   # A ".." for each directory in $ac_dir_suffix.
   1591   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1592   case $ac_top_builddir_sub in
   1593   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1594   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1595   esac ;;
   1596 esac
   1597 ac_abs_top_builddir=$ac_pwd
   1598 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1599 # for backward compatibility:
   1600 ac_top_builddir=$ac_top_build_prefix
   1601 
   1602 case $srcdir in
   1603   .)  # We are building in place.
   1604     ac_srcdir=.
   1605     ac_top_srcdir=$ac_top_builddir_sub
   1606     ac_abs_top_srcdir=$ac_pwd ;;
   1607   [\\/]* | ?:[\\/]* )  # Absolute name.
   1608     ac_srcdir=$srcdir$ac_dir_suffix;
   1609     ac_top_srcdir=$srcdir
   1610     ac_abs_top_srcdir=$srcdir ;;
   1611   *) # Relative name.
   1612     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1613     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1614     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1615 esac
   1616 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1617 
   1618     cd "$ac_dir" || { ac_status=$?; continue; }
   1619     # Check for configure.gnu first; this name is used for a wrapper for
   1620     # Metaconfig's "Configure" on case-insensitive file systems.
   1621     if test -f "$ac_srcdir/configure.gnu"; then
   1622       echo &&
   1623       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1624     elif test -f "$ac_srcdir/configure"; then
   1625       echo &&
   1626       $SHELL "$ac_srcdir/configure" --help=recursive
   1627     else
   1628       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1629     fi || ac_status=$?
   1630     cd "$ac_pwd" || { ac_status=$?; break; }
   1631   done
   1632 fi
   1633 
   1634 test -n "$ac_init_help" && exit $ac_status
   1635 if $ac_init_version; then
   1636   cat <<\_ACEOF
   1637 xorgproto configure 2024.1
   1638 generated by GNU Autoconf 2.71
   1639 
   1640 Copyright (C) 2021 Free Software Foundation, Inc.
   1641 This configure script is free software; the Free Software Foundation
   1642 gives unlimited permission to copy, distribute and modify it.
   1643 _ACEOF
   1644   exit
   1645 fi
   1646 
   1647 ## ------------------------ ##
   1648 ## Autoconf initialization. ##
   1649 ## ------------------------ ##
   1650 
   1651 # ac_fn_c_try_compile LINENO
   1652 # --------------------------
   1653 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1654 ac_fn_c_try_compile ()
   1655 {
   1656   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1657   rm -f conftest.$ac_objext conftest.beam
   1658   if { { ac_try="$ac_compile"
   1659 case "(($ac_try" in
   1660   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1661   *) ac_try_echo=$ac_try;;
   1662 esac
   1663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1664 printf "%s\n" "$ac_try_echo"; } >&5
   1665   (eval "$ac_compile") 2>conftest.err
   1666   ac_status=$?
   1667   if test -s conftest.err; then
   1668     grep -v '^ *+' conftest.err >conftest.er1
   1669     cat conftest.er1 >&5
   1670     mv -f conftest.er1 conftest.err
   1671   fi
   1672   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1673   test $ac_status = 0; } && {
   1674 	 test -z "$ac_c_werror_flag" ||
   1675 	 test ! -s conftest.err
   1676        } && test -s conftest.$ac_objext
   1677 then :
   1678   ac_retval=0
   1679 else $as_nop
   1680   printf "%s\n" "$as_me: failed program was:" >&5
   1681 sed 's/^/| /' conftest.$ac_ext >&5
   1682 
   1683 	ac_retval=1
   1684 fi
   1685   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1686   as_fn_set_status $ac_retval
   1687 
   1688 } # ac_fn_c_try_compile
   1689 
   1690 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1691 # ------------------------------------------------------------------
   1692 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1693 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1694 ac_fn_check_decl ()
   1695 {
   1696   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1697   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1698   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1699 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1700 if eval test \${$3+y}
   1701 then :
   1702   printf %s "(cached) " >&6
   1703 else $as_nop
   1704   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1705   eval ac_save_FLAGS=\$$6
   1706   as_fn_append $6 " $5"
   1707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1708 /* end confdefs.h.  */
   1709 $4
   1710 int
   1711 main (void)
   1712 {
   1713 #ifndef $as_decl_name
   1714 #ifdef __cplusplus
   1715   (void) $as_decl_use;
   1716 #else
   1717   (void) $as_decl_name;
   1718 #endif
   1719 #endif
   1720 
   1721   ;
   1722   return 0;
   1723 }
   1724 _ACEOF
   1725 if ac_fn_c_try_compile "$LINENO"
   1726 then :
   1727   eval "$3=yes"
   1728 else $as_nop
   1729   eval "$3=no"
   1730 fi
   1731 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1732   eval $6=\$ac_save_FLAGS
   1733 
   1734 fi
   1735 eval ac_res=\$$3
   1736 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1737 printf "%s\n" "$ac_res" >&6; }
   1738   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1739 
   1740 } # ac_fn_check_decl
   1741 
   1742 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1743 # -------------------------------------------------------
   1744 # Tests whether HEADER exists and can be compiled using the include files in
   1745 # INCLUDES, setting the cache variable VAR accordingly.
   1746 ac_fn_c_check_header_compile ()
   1747 {
   1748   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1749   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1750 printf %s "checking for $2... " >&6; }
   1751 if eval test \${$3+y}
   1752 then :
   1753   printf %s "(cached) " >&6
   1754 else $as_nop
   1755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1756 /* end confdefs.h.  */
   1757 $4
   1758 #include <$2>
   1759 _ACEOF
   1760 if ac_fn_c_try_compile "$LINENO"
   1761 then :
   1762   eval "$3=yes"
   1763 else $as_nop
   1764   eval "$3=no"
   1765 fi
   1766 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1767 fi
   1768 eval ac_res=\$$3
   1769 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1770 printf "%s\n" "$ac_res" >&6; }
   1771   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1772 
   1773 } # ac_fn_c_check_header_compile
   1774 
   1775 # ac_fn_c_try_link LINENO
   1776 # -----------------------
   1777 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1778 ac_fn_c_try_link ()
   1779 {
   1780   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1781   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1782   if { { ac_try="$ac_link"
   1783 case "(($ac_try" in
   1784   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1785   *) ac_try_echo=$ac_try;;
   1786 esac
   1787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1788 printf "%s\n" "$ac_try_echo"; } >&5
   1789   (eval "$ac_link") 2>conftest.err
   1790   ac_status=$?
   1791   if test -s conftest.err; then
   1792     grep -v '^ *+' conftest.err >conftest.er1
   1793     cat conftest.er1 >&5
   1794     mv -f conftest.er1 conftest.err
   1795   fi
   1796   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1797   test $ac_status = 0; } && {
   1798 	 test -z "$ac_c_werror_flag" ||
   1799 	 test ! -s conftest.err
   1800        } && test -s conftest$ac_exeext && {
   1801 	 test "$cross_compiling" = yes ||
   1802 	 test -x conftest$ac_exeext
   1803        }
   1804 then :
   1805   ac_retval=0
   1806 else $as_nop
   1807   printf "%s\n" "$as_me: failed program was:" >&5
   1808 sed 's/^/| /' conftest.$ac_ext >&5
   1809 
   1810 	ac_retval=1
   1811 fi
   1812   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1813   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1814   # interfere with the next link command; also delete a directory that is
   1815   # left behind by Apple's compiler.  We do this before executing the actions.
   1816   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1817   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1818   as_fn_set_status $ac_retval
   1819 
   1820 } # ac_fn_c_try_link
   1821 
   1822 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   1823 # ----------------------------------------------------
   1824 # Tries to find if the field MEMBER exists in type AGGR, after including
   1825 # INCLUDES, setting cache variable VAR accordingly.
   1826 ac_fn_c_check_member ()
   1827 {
   1828   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1829   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   1830 printf %s "checking for $2.$3... " >&6; }
   1831 if eval test \${$4+y}
   1832 then :
   1833   printf %s "(cached) " >&6
   1834 else $as_nop
   1835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1836 /* end confdefs.h.  */
   1837 $5
   1838 int
   1839 main (void)
   1840 {
   1841 static $2 ac_aggr;
   1842 if (ac_aggr.$3)
   1843 return 0;
   1844   ;
   1845   return 0;
   1846 }
   1847 _ACEOF
   1848 if ac_fn_c_try_compile "$LINENO"
   1849 then :
   1850   eval "$4=yes"
   1851 else $as_nop
   1852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1853 /* end confdefs.h.  */
   1854 $5
   1855 int
   1856 main (void)
   1857 {
   1858 static $2 ac_aggr;
   1859 if (sizeof ac_aggr.$3)
   1860 return 0;
   1861   ;
   1862   return 0;
   1863 }
   1864 _ACEOF
   1865 if ac_fn_c_try_compile "$LINENO"
   1866 then :
   1867   eval "$4=yes"
   1868 else $as_nop
   1869   eval "$4=no"
   1870 fi
   1871 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1872 fi
   1873 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1874 fi
   1875 eval ac_res=\$$4
   1876 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1877 printf "%s\n" "$ac_res" >&6; }
   1878   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1879 
   1880 } # ac_fn_c_check_member
   1881 ac_configure_args_raw=
   1882 for ac_arg
   1883 do
   1884   case $ac_arg in
   1885   *\'*)
   1886     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1887   esac
   1888   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1889 done
   1890 
   1891 case $ac_configure_args_raw in
   1892   *$as_nl*)
   1893     ac_safe_unquote= ;;
   1894   *)
   1895     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1896     ac_unsafe_a="$ac_unsafe_z#~"
   1897     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1898     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1899 esac
   1900 
   1901 cat >config.log <<_ACEOF
   1902 This file contains any messages produced by compilers while
   1903 running configure, to aid debugging if configure makes a mistake.
   1904 
   1905 It was created by xorgproto $as_me 2024.1, which was
   1906 generated by GNU Autoconf 2.71.  Invocation command line was
   1907 
   1908   $ $0$ac_configure_args_raw
   1909 
   1910 _ACEOF
   1911 exec 5>>config.log
   1912 {
   1913 cat <<_ASUNAME
   1914 ## --------- ##
   1915 ## Platform. ##
   1916 ## --------- ##
   1917 
   1918 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1919 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1920 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1921 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1922 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1923 
   1924 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1925 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1926 
   1927 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1928 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1929 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1930 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1931 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1932 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1933 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1934 
   1935 _ASUNAME
   1936 
   1937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1938 for as_dir in $PATH
   1939 do
   1940   IFS=$as_save_IFS
   1941   case $as_dir in #(((
   1942     '') as_dir=./ ;;
   1943     */) ;;
   1944     *) as_dir=$as_dir/ ;;
   1945   esac
   1946     printf "%s\n" "PATH: $as_dir"
   1947   done
   1948 IFS=$as_save_IFS
   1949 
   1950 } >&5
   1951 
   1952 cat >&5 <<_ACEOF
   1953 
   1954 
   1955 ## ----------- ##
   1956 ## Core tests. ##
   1957 ## ----------- ##
   1958 
   1959 _ACEOF
   1960 
   1961 
   1962 # Keep a trace of the command line.
   1963 # Strip out --no-create and --no-recursion so they do not pile up.
   1964 # Strip out --silent because we don't want to record it for future runs.
   1965 # Also quote any args containing shell meta-characters.
   1966 # Make two passes to allow for proper duplicate-argument suppression.
   1967 ac_configure_args=
   1968 ac_configure_args0=
   1969 ac_configure_args1=
   1970 ac_must_keep_next=false
   1971 for ac_pass in 1 2
   1972 do
   1973   for ac_arg
   1974   do
   1975     case $ac_arg in
   1976     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1977     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1978     | -silent | --silent | --silen | --sile | --sil)
   1979       continue ;;
   1980     *\'*)
   1981       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1982     esac
   1983     case $ac_pass in
   1984     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1985     2)
   1986       as_fn_append ac_configure_args1 " '$ac_arg'"
   1987       if test $ac_must_keep_next = true; then
   1988 	ac_must_keep_next=false # Got value, back to normal.
   1989       else
   1990 	case $ac_arg in
   1991 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1992 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1993 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1994 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1995 	    case "$ac_configure_args0 " in
   1996 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1997 	    esac
   1998 	    ;;
   1999 	  -* ) ac_must_keep_next=true ;;
   2000 	esac
   2001       fi
   2002       as_fn_append ac_configure_args " '$ac_arg'"
   2003       ;;
   2004     esac
   2005   done
   2006 done
   2007 { ac_configure_args0=; unset ac_configure_args0;}
   2008 { ac_configure_args1=; unset ac_configure_args1;}
   2009 
   2010 # When interrupted or exit'd, cleanup temporary files, and complete
   2011 # config.log.  We remove comments because anyway the quotes in there
   2012 # would cause problems or look ugly.
   2013 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2014 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2015 trap 'exit_status=$?
   2016   # Sanitize IFS.
   2017   IFS=" ""	$as_nl"
   2018   # Save into config.log some information that might help in debugging.
   2019   {
   2020     echo
   2021 
   2022     printf "%s\n" "## ---------------- ##
   2023 ## Cache variables. ##
   2024 ## ---------------- ##"
   2025     echo
   2026     # The following way of writing the cache mishandles newlines in values,
   2027 (
   2028   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2029     eval ac_val=\$$ac_var
   2030     case $ac_val in #(
   2031     *${as_nl}*)
   2032       case $ac_var in #(
   2033       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2034 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2035       esac
   2036       case $ac_var in #(
   2037       _ | IFS | as_nl) ;; #(
   2038       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2039       *) { eval $ac_var=; unset $ac_var;} ;;
   2040       esac ;;
   2041     esac
   2042   done
   2043   (set) 2>&1 |
   2044     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2045     *${as_nl}ac_space=\ *)
   2046       sed -n \
   2047 	"s/'\''/'\''\\\\'\'''\''/g;
   2048 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2049       ;; #(
   2050     *)
   2051       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2052       ;;
   2053     esac |
   2054     sort
   2055 )
   2056     echo
   2057 
   2058     printf "%s\n" "## ----------------- ##
   2059 ## Output variables. ##
   2060 ## ----------------- ##"
   2061     echo
   2062     for ac_var in $ac_subst_vars
   2063     do
   2064       eval ac_val=\$$ac_var
   2065       case $ac_val in
   2066       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2067       esac
   2068       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2069     done | sort
   2070     echo
   2071 
   2072     if test -n "$ac_subst_files"; then
   2073       printf "%s\n" "## ------------------- ##
   2074 ## File substitutions. ##
   2075 ## ------------------- ##"
   2076       echo
   2077       for ac_var in $ac_subst_files
   2078       do
   2079 	eval ac_val=\$$ac_var
   2080 	case $ac_val in
   2081 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2082 	esac
   2083 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2084       done | sort
   2085       echo
   2086     fi
   2087 
   2088     if test -s confdefs.h; then
   2089       printf "%s\n" "## ----------- ##
   2090 ## confdefs.h. ##
   2091 ## ----------- ##"
   2092       echo
   2093       cat confdefs.h
   2094       echo
   2095     fi
   2096     test "$ac_signal" != 0 &&
   2097       printf "%s\n" "$as_me: caught signal $ac_signal"
   2098     printf "%s\n" "$as_me: exit $exit_status"
   2099   } >&5
   2100   rm -f core *.core core.conftest.* &&
   2101     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2102     exit $exit_status
   2103 ' 0
   2104 for ac_signal in 1 2 13 15; do
   2105   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2106 done
   2107 ac_signal=0
   2108 
   2109 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2110 rm -f -r conftest* confdefs.h
   2111 
   2112 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2113 
   2114 # Predefined preprocessor variables.
   2115 
   2116 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2117 
   2118 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2119 
   2120 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2121 
   2122 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2123 
   2124 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2125 
   2126 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2127 
   2128 
   2129 # Let the site file select an alternate cache file if it wants to.
   2130 # Prefer an explicitly selected file to automatically selected ones.
   2131 if test -n "$CONFIG_SITE"; then
   2132   ac_site_files="$CONFIG_SITE"
   2133 elif test "x$prefix" != xNONE; then
   2134   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2135 else
   2136   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2137 fi
   2138 
   2139 for ac_site_file in $ac_site_files
   2140 do
   2141   case $ac_site_file in #(
   2142   */*) :
   2143      ;; #(
   2144   *) :
   2145     ac_site_file=./$ac_site_file ;;
   2146 esac
   2147   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2148     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2149 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2150     sed 's/^/| /' "$ac_site_file" >&5
   2151     . "$ac_site_file" \
   2152       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2153 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2154 as_fn_error $? "failed to load site script $ac_site_file
   2155 See \`config.log' for more details" "$LINENO" 5; }
   2156   fi
   2157 done
   2158 
   2159 if test -r "$cache_file"; then
   2160   # Some versions of bash will fail to source /dev/null (special files
   2161   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2162   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2163     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2164 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2165     case $cache_file in
   2166       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2167       *)                      . "./$cache_file";;
   2168     esac
   2169   fi
   2170 else
   2171   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2172 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2173   >$cache_file
   2174 fi
   2175 
   2176 # Test code for whether the C compiler supports C89 (global declarations)
   2177 ac_c_conftest_c89_globals='
   2178 /* Does the compiler advertise C89 conformance?
   2179    Do not test the value of __STDC__, because some compilers set it to 0
   2180    while being otherwise adequately conformant. */
   2181 #if !defined __STDC__
   2182 # error "Compiler does not advertise C89 conformance"
   2183 #endif
   2184 
   2185 #include <stddef.h>
   2186 #include <stdarg.h>
   2187 struct stat;
   2188 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2189 struct buf { int x; };
   2190 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2191 static char *e (p, i)
   2192      char **p;
   2193      int i;
   2194 {
   2195   return p[i];
   2196 }
   2197 static char *f (char * (*g) (char **, int), char **p, ...)
   2198 {
   2199   char *s;
   2200   va_list v;
   2201   va_start (v,p);
   2202   s = g (p, va_arg (v,int));
   2203   va_end (v);
   2204   return s;
   2205 }
   2206 
   2207 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2208    function prototypes and stuff, but not \xHH hex character constants.
   2209    These do not provoke an error unfortunately, instead are silently treated
   2210    as an "x".  The following induces an error, until -std is added to get
   2211    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2212    array size at least.  It is necessary to write \x00 == 0 to get something
   2213    that is true only with -std.  */
   2214 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2215 
   2216 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2217    inside strings and character constants.  */
   2218 #define FOO(x) '\''x'\''
   2219 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2220 
   2221 int test (int i, double x);
   2222 struct s1 {int (*f) (int a);};
   2223 struct s2 {int (*f) (double a);};
   2224 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2225                int, int);'
   2226 
   2227 # Test code for whether the C compiler supports C89 (body of main).
   2228 ac_c_conftest_c89_main='
   2229 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2230 '
   2231 
   2232 # Test code for whether the C compiler supports C99 (global declarations)
   2233 ac_c_conftest_c99_globals='
   2234 // Does the compiler advertise C99 conformance?
   2235 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2236 # error "Compiler does not advertise C99 conformance"
   2237 #endif
   2238 
   2239 #include <stdbool.h>
   2240 extern int puts (const char *);
   2241 extern int printf (const char *, ...);
   2242 extern int dprintf (int, const char *, ...);
   2243 extern void *malloc (size_t);
   2244 
   2245 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2246 // dprintf is used instead of fprintf to avoid needing to declare
   2247 // FILE and stderr.
   2248 #define debug(...) dprintf (2, __VA_ARGS__)
   2249 #define showlist(...) puts (#__VA_ARGS__)
   2250 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2251 static void
   2252 test_varargs_macros (void)
   2253 {
   2254   int x = 1234;
   2255   int y = 5678;
   2256   debug ("Flag");
   2257   debug ("X = %d\n", x);
   2258   showlist (The first, second, and third items.);
   2259   report (x>y, "x is %d but y is %d", x, y);
   2260 }
   2261 
   2262 // Check long long types.
   2263 #define BIG64 18446744073709551615ull
   2264 #define BIG32 4294967295ul
   2265 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2266 #if !BIG_OK
   2267   #error "your preprocessor is broken"
   2268 #endif
   2269 #if BIG_OK
   2270 #else
   2271   #error "your preprocessor is broken"
   2272 #endif
   2273 static long long int bignum = -9223372036854775807LL;
   2274 static unsigned long long int ubignum = BIG64;
   2275 
   2276 struct incomplete_array
   2277 {
   2278   int datasize;
   2279   double data[];
   2280 };
   2281 
   2282 struct named_init {
   2283   int number;
   2284   const wchar_t *name;
   2285   double average;
   2286 };
   2287 
   2288 typedef const char *ccp;
   2289 
   2290 static inline int
   2291 test_restrict (ccp restrict text)
   2292 {
   2293   // See if C++-style comments work.
   2294   // Iterate through items via the restricted pointer.
   2295   // Also check for declarations in for loops.
   2296   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2297     continue;
   2298   return 0;
   2299 }
   2300 
   2301 // Check varargs and va_copy.
   2302 static bool
   2303 test_varargs (const char *format, ...)
   2304 {
   2305   va_list args;
   2306   va_start (args, format);
   2307   va_list args_copy;
   2308   va_copy (args_copy, args);
   2309 
   2310   const char *str = "";
   2311   int number = 0;
   2312   float fnumber = 0;
   2313 
   2314   while (*format)
   2315     {
   2316       switch (*format++)
   2317 	{
   2318 	case '\''s'\'': // string
   2319 	  str = va_arg (args_copy, const char *);
   2320 	  break;
   2321 	case '\''d'\'': // int
   2322 	  number = va_arg (args_copy, int);
   2323 	  break;
   2324 	case '\''f'\'': // float
   2325 	  fnumber = va_arg (args_copy, double);
   2326 	  break;
   2327 	default:
   2328 	  break;
   2329 	}
   2330     }
   2331   va_end (args_copy);
   2332   va_end (args);
   2333 
   2334   return *str && number && fnumber;
   2335 }
   2336 '
   2337 
   2338 # Test code for whether the C compiler supports C99 (body of main).
   2339 ac_c_conftest_c99_main='
   2340   // Check bool.
   2341   _Bool success = false;
   2342   success |= (argc != 0);
   2343 
   2344   // Check restrict.
   2345   if (test_restrict ("String literal") == 0)
   2346     success = true;
   2347   char *restrict newvar = "Another string";
   2348 
   2349   // Check varargs.
   2350   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2351   test_varargs_macros ();
   2352 
   2353   // Check flexible array members.
   2354   struct incomplete_array *ia =
   2355     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2356   ia->datasize = 10;
   2357   for (int i = 0; i < ia->datasize; ++i)
   2358     ia->data[i] = i * 1.234;
   2359 
   2360   // Check named initializers.
   2361   struct named_init ni = {
   2362     .number = 34,
   2363     .name = L"Test wide string",
   2364     .average = 543.34343,
   2365   };
   2366 
   2367   ni.number = 58;
   2368 
   2369   int dynamic_array[ni.number];
   2370   dynamic_array[0] = argv[0][0];
   2371   dynamic_array[ni.number - 1] = 543;
   2372 
   2373   // work around unused variable warnings
   2374   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2375 	 || dynamic_array[ni.number - 1] != 543);
   2376 '
   2377 
   2378 # Test code for whether the C compiler supports C11 (global declarations)
   2379 ac_c_conftest_c11_globals='
   2380 // Does the compiler advertise C11 conformance?
   2381 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2382 # error "Compiler does not advertise C11 conformance"
   2383 #endif
   2384 
   2385 // Check _Alignas.
   2386 char _Alignas (double) aligned_as_double;
   2387 char _Alignas (0) no_special_alignment;
   2388 extern char aligned_as_int;
   2389 char _Alignas (0) _Alignas (int) aligned_as_int;
   2390 
   2391 // Check _Alignof.
   2392 enum
   2393 {
   2394   int_alignment = _Alignof (int),
   2395   int_array_alignment = _Alignof (int[100]),
   2396   char_alignment = _Alignof (char)
   2397 };
   2398 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2399 
   2400 // Check _Noreturn.
   2401 int _Noreturn does_not_return (void) { for (;;) continue; }
   2402 
   2403 // Check _Static_assert.
   2404 struct test_static_assert
   2405 {
   2406   int x;
   2407   _Static_assert (sizeof (int) <= sizeof (long int),
   2408                   "_Static_assert does not work in struct");
   2409   long int y;
   2410 };
   2411 
   2412 // Check UTF-8 literals.
   2413 #define u8 syntax error!
   2414 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2415 
   2416 // Check duplicate typedefs.
   2417 typedef long *long_ptr;
   2418 typedef long int *long_ptr;
   2419 typedef long_ptr long_ptr;
   2420 
   2421 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2422 struct anonymous
   2423 {
   2424   union {
   2425     struct { int i; int j; };
   2426     struct { int k; long int l; } w;
   2427   };
   2428   int m;
   2429 } v1;
   2430 '
   2431 
   2432 # Test code for whether the C compiler supports C11 (body of main).
   2433 ac_c_conftest_c11_main='
   2434   _Static_assert ((offsetof (struct anonymous, i)
   2435 		   == offsetof (struct anonymous, w.k)),
   2436 		  "Anonymous union alignment botch");
   2437   v1.i = 2;
   2438   v1.w.k = 5;
   2439   ok |= v1.i != 5;
   2440 '
   2441 
   2442 # Test code for whether the C compiler supports C11 (complete).
   2443 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2444 ${ac_c_conftest_c99_globals}
   2445 ${ac_c_conftest_c11_globals}
   2446 
   2447 int
   2448 main (int argc, char **argv)
   2449 {
   2450   int ok = 0;
   2451   ${ac_c_conftest_c89_main}
   2452   ${ac_c_conftest_c99_main}
   2453   ${ac_c_conftest_c11_main}
   2454   return ok;
   2455 }
   2456 "
   2457 
   2458 # Test code for whether the C compiler supports C99 (complete).
   2459 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2460 ${ac_c_conftest_c99_globals}
   2461 
   2462 int
   2463 main (int argc, char **argv)
   2464 {
   2465   int ok = 0;
   2466   ${ac_c_conftest_c89_main}
   2467   ${ac_c_conftest_c99_main}
   2468   return ok;
   2469 }
   2470 "
   2471 
   2472 # Test code for whether the C compiler supports C89 (complete).
   2473 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2474 
   2475 int
   2476 main (int argc, char **argv)
   2477 {
   2478   int ok = 0;
   2479   ${ac_c_conftest_c89_main}
   2480   return ok;
   2481 }
   2482 "
   2483 
   2484 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2485 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2486 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2487 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2488 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2489 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2490 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2491 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2492 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2493 
   2494 # Auxiliary files required by this configure script.
   2495 ac_aux_files="config.guess config.sub compile missing install-sh"
   2496 
   2497 # Locations in which to look for auxiliary files.
   2498 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2499 
   2500 # Search for a directory containing all of the required auxiliary files,
   2501 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2502 # If we don't find one directory that contains all the files we need,
   2503 # we report the set of missing files from the *first* directory in
   2504 # $ac_aux_dir_candidates and give up.
   2505 ac_missing_aux_files=""
   2506 ac_first_candidate=:
   2507 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2509 as_found=false
   2510 for as_dir in $ac_aux_dir_candidates
   2511 do
   2512   IFS=$as_save_IFS
   2513   case $as_dir in #(((
   2514     '') as_dir=./ ;;
   2515     */) ;;
   2516     *) as_dir=$as_dir/ ;;
   2517   esac
   2518   as_found=:
   2519 
   2520   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2521   ac_aux_dir_found=yes
   2522   ac_install_sh=
   2523   for ac_aux in $ac_aux_files
   2524   do
   2525     # As a special case, if "install-sh" is required, that requirement
   2526     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2527     # and $ac_install_sh is set appropriately for whichever one is found.
   2528     if test x"$ac_aux" = x"install-sh"
   2529     then
   2530       if test -f "${as_dir}install-sh"; then
   2531         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2532         ac_install_sh="${as_dir}install-sh -c"
   2533       elif test -f "${as_dir}install.sh"; then
   2534         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2535         ac_install_sh="${as_dir}install.sh -c"
   2536       elif test -f "${as_dir}shtool"; then
   2537         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2538         ac_install_sh="${as_dir}shtool install -c"
   2539       else
   2540         ac_aux_dir_found=no
   2541         if $ac_first_candidate; then
   2542           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2543         else
   2544           break
   2545         fi
   2546       fi
   2547     else
   2548       if test -f "${as_dir}${ac_aux}"; then
   2549         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2550       else
   2551         ac_aux_dir_found=no
   2552         if $ac_first_candidate; then
   2553           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2554         else
   2555           break
   2556         fi
   2557       fi
   2558     fi
   2559   done
   2560   if test "$ac_aux_dir_found" = yes; then
   2561     ac_aux_dir="$as_dir"
   2562     break
   2563   fi
   2564   ac_first_candidate=false
   2565 
   2566   as_found=false
   2567 done
   2568 IFS=$as_save_IFS
   2569 if $as_found
   2570 then :
   2571 
   2572 else $as_nop
   2573   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2574 fi
   2575 
   2576 
   2577 # These three variables are undocumented and unsupported,
   2578 # and are intended to be withdrawn in a future Autoconf release.
   2579 # They can cause serious problems if a builder's source tree is in a directory
   2580 # whose full name contains unusual characters.
   2581 if test -f "${ac_aux_dir}config.guess"; then
   2582   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2583 fi
   2584 if test -f "${ac_aux_dir}config.sub"; then
   2585   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2586 fi
   2587 if test -f "$ac_aux_dir/configure"; then
   2588   ac_configure="$SHELL ${ac_aux_dir}configure"
   2589 fi
   2590 
   2591 # Check that the precious variables saved in the cache have kept the same
   2592 # value.
   2593 ac_cache_corrupted=false
   2594 for ac_var in $ac_precious_vars; do
   2595   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2596   eval ac_new_set=\$ac_env_${ac_var}_set
   2597   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2598   eval ac_new_val=\$ac_env_${ac_var}_value
   2599   case $ac_old_set,$ac_new_set in
   2600     set,)
   2601       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2602 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2603       ac_cache_corrupted=: ;;
   2604     ,set)
   2605       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2606 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2607       ac_cache_corrupted=: ;;
   2608     ,);;
   2609     *)
   2610       if test "x$ac_old_val" != "x$ac_new_val"; then
   2611 	# differences in whitespace do not lead to failure.
   2612 	ac_old_val_w=`echo x $ac_old_val`
   2613 	ac_new_val_w=`echo x $ac_new_val`
   2614 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2615 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2616 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2617 	  ac_cache_corrupted=:
   2618 	else
   2619 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2620 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2621 	  eval $ac_var=\$ac_old_val
   2622 	fi
   2623 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2624 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2625 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2626 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2627       fi;;
   2628   esac
   2629   # Pass precious variables to config.status.
   2630   if test "$ac_new_set" = set; then
   2631     case $ac_new_val in
   2632     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2633     *) ac_arg=$ac_var=$ac_new_val ;;
   2634     esac
   2635     case " $ac_configure_args " in
   2636       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2637       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2638     esac
   2639   fi
   2640 done
   2641 if $ac_cache_corrupted; then
   2642   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2643 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2644   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2645 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2646   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2647 	    and start over" "$LINENO" 5
   2648 fi
   2649 ## -------------------- ##
   2650 ## Main body of script. ##
   2651 ## -------------------- ##
   2652 
   2653 ac_ext=c
   2654 ac_cpp='$CPP $CPPFLAGS'
   2655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2658 
   2659 
   2660 am__api_version='1.16'
   2661 
   2662 
   2663 
   2664   # Find a good install program.  We prefer a C program (faster),
   2665 # so one script is as good as another.  But avoid the broken or
   2666 # incompatible versions:
   2667 # SysV /etc/install, /usr/sbin/install
   2668 # SunOS /usr/etc/install
   2669 # IRIX /sbin/install
   2670 # AIX /bin/install
   2671 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2672 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2673 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2674 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2675 # OS/2's system install, which has a completely different semantic
   2676 # ./install, which can be erroneously created by make from ./install.sh.
   2677 # Reject install programs that cannot install multiple files.
   2678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2679 printf %s "checking for a BSD-compatible install... " >&6; }
   2680 if test -z "$INSTALL"; then
   2681 if test ${ac_cv_path_install+y}
   2682 then :
   2683   printf %s "(cached) " >&6
   2684 else $as_nop
   2685   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2686 for as_dir in $PATH
   2687 do
   2688   IFS=$as_save_IFS
   2689   case $as_dir in #(((
   2690     '') as_dir=./ ;;
   2691     */) ;;
   2692     *) as_dir=$as_dir/ ;;
   2693   esac
   2694     # Account for fact that we put trailing slashes in our PATH walk.
   2695 case $as_dir in #((
   2696   ./ | /[cC]/* | \
   2697   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2698   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2699   /usr/ucb/* ) ;;
   2700   *)
   2701     # OSF1 and SCO ODT 3.0 have their own names for install.
   2702     # Don't use installbsd from OSF since it installs stuff as root
   2703     # by default.
   2704     for ac_prog in ginstall scoinst install; do
   2705       for ac_exec_ext in '' $ac_executable_extensions; do
   2706 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2707 	  if test $ac_prog = install &&
   2708 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2709 	    # AIX install.  It has an incompatible calling convention.
   2710 	    :
   2711 	  elif test $ac_prog = install &&
   2712 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2713 	    # program-specific install script used by HP pwplus--don't use.
   2714 	    :
   2715 	  else
   2716 	    rm -rf conftest.one conftest.two conftest.dir
   2717 	    echo one > conftest.one
   2718 	    echo two > conftest.two
   2719 	    mkdir conftest.dir
   2720 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2721 	      test -s conftest.one && test -s conftest.two &&
   2722 	      test -s conftest.dir/conftest.one &&
   2723 	      test -s conftest.dir/conftest.two
   2724 	    then
   2725 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2726 	      break 3
   2727 	    fi
   2728 	  fi
   2729 	fi
   2730       done
   2731     done
   2732     ;;
   2733 esac
   2734 
   2735   done
   2736 IFS=$as_save_IFS
   2737 
   2738 rm -rf conftest.one conftest.two conftest.dir
   2739 
   2740 fi
   2741   if test ${ac_cv_path_install+y}; then
   2742     INSTALL=$ac_cv_path_install
   2743   else
   2744     # As a last resort, use the slow shell script.  Don't cache a
   2745     # value for INSTALL within a source directory, because that will
   2746     # break other packages using the cache if that directory is
   2747     # removed, or if the value is a relative name.
   2748     INSTALL=$ac_install_sh
   2749   fi
   2750 fi
   2751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2752 printf "%s\n" "$INSTALL" >&6; }
   2753 
   2754 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2755 # It thinks the first close brace ends the variable substitution.
   2756 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2757 
   2758 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2759 
   2760 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2761 
   2762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2763 printf %s "checking whether build environment is sane... " >&6; }
   2764 # Reject unsafe characters in $srcdir or the absolute working directory
   2765 # name.  Accept space and tab only in the latter.
   2766 am_lf='
   2767 '
   2768 case `pwd` in
   2769   *[\\\"\#\$\&\'\`$am_lf]*)
   2770     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2771 esac
   2772 case $srcdir in
   2773   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2774     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2775 esac
   2776 
   2777 # Do 'set' in a subshell so we don't clobber the current shell's
   2778 # arguments.  Must try -L first in case configure is actually a
   2779 # symlink; some systems play weird games with the mod time of symlinks
   2780 # (eg FreeBSD returns the mod time of the symlink's containing
   2781 # directory).
   2782 if (
   2783    am_has_slept=no
   2784    for am_try in 1 2; do
   2785      echo "timestamp, slept: $am_has_slept" > conftest.file
   2786      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2787      if test "$*" = "X"; then
   2788 	# -L didn't work.
   2789 	set X `ls -t "$srcdir/configure" conftest.file`
   2790      fi
   2791      if test "$*" != "X $srcdir/configure conftest.file" \
   2792 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2793 
   2794 	# If neither matched, then we have a broken ls.  This can happen
   2795 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2796 	# broken ls alias from the environment.  This has actually
   2797 	# happened.  Such a system could not be considered "sane".
   2798 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2799   alias in your environment" "$LINENO" 5
   2800      fi
   2801      if test "$2" = conftest.file || test $am_try -eq 2; then
   2802        break
   2803      fi
   2804      # Just in case.
   2805      sleep 1
   2806      am_has_slept=yes
   2807    done
   2808    test "$2" = conftest.file
   2809    )
   2810 then
   2811    # Ok.
   2812    :
   2813 else
   2814    as_fn_error $? "newly created file is older than distributed files!
   2815 Check your system clock" "$LINENO" 5
   2816 fi
   2817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2818 printf "%s\n" "yes" >&6; }
   2819 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2820 # generated files are strictly newer.
   2821 am_sleep_pid=
   2822 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2823   ( sleep 1 ) &
   2824   am_sleep_pid=$!
   2825 fi
   2826 
   2827 rm -f conftest.file
   2828 
   2829 test "$program_prefix" != NONE &&
   2830   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2831 # Use a double $ so make ignores it.
   2832 test "$program_suffix" != NONE &&
   2833   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2834 # Double any \ or $.
   2835 # By default was `s,x,x', remove it if useless.
   2836 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2837 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2838 
   2839 
   2840 # Expand $ac_aux_dir to an absolute path.
   2841 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2842 
   2843 
   2844   if test x"${MISSING+set}" != xset; then
   2845   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2846 fi
   2847 # Use eval to expand $SHELL
   2848 if eval "$MISSING --is-lightweight"; then
   2849   am_missing_run="$MISSING "
   2850 else
   2851   am_missing_run=
   2852   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2853 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2854 fi
   2855 
   2856 if test x"${install_sh+set}" != xset; then
   2857   case $am_aux_dir in
   2858   *\ * | *\	*)
   2859     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2860   *)
   2861     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2862   esac
   2863 fi
   2864 
   2865 # Installed binaries are usually stripped using 'strip' when the user
   2866 # run "make install-strip".  However 'strip' might not be the right
   2867 # tool to use in cross-compilation environments, therefore Automake
   2868 # will honor the 'STRIP' environment variable to overrule this program.
   2869 if test "$cross_compiling" != no; then
   2870   if test -n "$ac_tool_prefix"; then
   2871   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2872 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2874 printf %s "checking for $ac_word... " >&6; }
   2875 if test ${ac_cv_prog_STRIP+y}
   2876 then :
   2877   printf %s "(cached) " >&6
   2878 else $as_nop
   2879   if test -n "$STRIP"; then
   2880   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2881 else
   2882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2883 for as_dir in $PATH
   2884 do
   2885   IFS=$as_save_IFS
   2886   case $as_dir in #(((
   2887     '') as_dir=./ ;;
   2888     */) ;;
   2889     *) as_dir=$as_dir/ ;;
   2890   esac
   2891     for ac_exec_ext in '' $ac_executable_extensions; do
   2892   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2893     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2894     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2895     break 2
   2896   fi
   2897 done
   2898   done
   2899 IFS=$as_save_IFS
   2900 
   2901 fi
   2902 fi
   2903 STRIP=$ac_cv_prog_STRIP
   2904 if test -n "$STRIP"; then
   2905   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2906 printf "%s\n" "$STRIP" >&6; }
   2907 else
   2908   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2909 printf "%s\n" "no" >&6; }
   2910 fi
   2911 
   2912 
   2913 fi
   2914 if test -z "$ac_cv_prog_STRIP"; then
   2915   ac_ct_STRIP=$STRIP
   2916   # Extract the first word of "strip", so it can be a program name with args.
   2917 set dummy strip; ac_word=$2
   2918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2919 printf %s "checking for $ac_word... " >&6; }
   2920 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2921 then :
   2922   printf %s "(cached) " >&6
   2923 else $as_nop
   2924   if test -n "$ac_ct_STRIP"; then
   2925   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2926 else
   2927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2928 for as_dir in $PATH
   2929 do
   2930   IFS=$as_save_IFS
   2931   case $as_dir in #(((
   2932     '') as_dir=./ ;;
   2933     */) ;;
   2934     *) as_dir=$as_dir/ ;;
   2935   esac
   2936     for ac_exec_ext in '' $ac_executable_extensions; do
   2937   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2938     ac_cv_prog_ac_ct_STRIP="strip"
   2939     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2940     break 2
   2941   fi
   2942 done
   2943   done
   2944 IFS=$as_save_IFS
   2945 
   2946 fi
   2947 fi
   2948 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2949 if test -n "$ac_ct_STRIP"; then
   2950   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2951 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2952 else
   2953   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2954 printf "%s\n" "no" >&6; }
   2955 fi
   2956 
   2957   if test "x$ac_ct_STRIP" = x; then
   2958     STRIP=":"
   2959   else
   2960     case $cross_compiling:$ac_tool_warned in
   2961 yes:)
   2962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2963 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2964 ac_tool_warned=yes ;;
   2965 esac
   2966     STRIP=$ac_ct_STRIP
   2967   fi
   2968 else
   2969   STRIP="$ac_cv_prog_STRIP"
   2970 fi
   2971 
   2972 fi
   2973 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2974 
   2975 
   2976   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2977 printf %s "checking for a race-free mkdir -p... " >&6; }
   2978 if test -z "$MKDIR_P"; then
   2979   if test ${ac_cv_path_mkdir+y}
   2980 then :
   2981   printf %s "(cached) " >&6
   2982 else $as_nop
   2983   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2984 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2985 do
   2986   IFS=$as_save_IFS
   2987   case $as_dir in #(((
   2988     '') as_dir=./ ;;
   2989     */) ;;
   2990     *) as_dir=$as_dir/ ;;
   2991   esac
   2992     for ac_prog in mkdir gmkdir; do
   2993 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2994 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2995 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2996 	     'mkdir ('*'coreutils) '* | \
   2997 	     'BusyBox '* | \
   2998 	     'mkdir (fileutils) '4.1*)
   2999 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3000 	       break 3;;
   3001 	   esac
   3002 	 done
   3003        done
   3004   done
   3005 IFS=$as_save_IFS
   3006 
   3007 fi
   3008 
   3009   test -d ./--version && rmdir ./--version
   3010   if test ${ac_cv_path_mkdir+y}; then
   3011     MKDIR_P="$ac_cv_path_mkdir -p"
   3012   else
   3013     # As a last resort, use the slow shell script.  Don't cache a
   3014     # value for MKDIR_P within a source directory, because that will
   3015     # break other packages using the cache if that directory is
   3016     # removed, or if the value is a relative name.
   3017     MKDIR_P="$ac_install_sh -d"
   3018   fi
   3019 fi
   3020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3021 printf "%s\n" "$MKDIR_P" >&6; }
   3022 
   3023 for ac_prog in gawk mawk nawk awk
   3024 do
   3025   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3026 set dummy $ac_prog; ac_word=$2
   3027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3028 printf %s "checking for $ac_word... " >&6; }
   3029 if test ${ac_cv_prog_AWK+y}
   3030 then :
   3031   printf %s "(cached) " >&6
   3032 else $as_nop
   3033   if test -n "$AWK"; then
   3034   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3035 else
   3036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3037 for as_dir in $PATH
   3038 do
   3039   IFS=$as_save_IFS
   3040   case $as_dir in #(((
   3041     '') as_dir=./ ;;
   3042     */) ;;
   3043     *) as_dir=$as_dir/ ;;
   3044   esac
   3045     for ac_exec_ext in '' $ac_executable_extensions; do
   3046   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3047     ac_cv_prog_AWK="$ac_prog"
   3048     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3049     break 2
   3050   fi
   3051 done
   3052   done
   3053 IFS=$as_save_IFS
   3054 
   3055 fi
   3056 fi
   3057 AWK=$ac_cv_prog_AWK
   3058 if test -n "$AWK"; then
   3059   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3060 printf "%s\n" "$AWK" >&6; }
   3061 else
   3062   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3063 printf "%s\n" "no" >&6; }
   3064 fi
   3065 
   3066 
   3067   test -n "$AWK" && break
   3068 done
   3069 
   3070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3071 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3072 set x ${MAKE-make}
   3073 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3074 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3075 then :
   3076   printf %s "(cached) " >&6
   3077 else $as_nop
   3078   cat >conftest.make <<\_ACEOF
   3079 SHELL = /bin/sh
   3080 all:
   3081 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3082 _ACEOF
   3083 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3084 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3085   *@@@%%%=?*=@@@%%%*)
   3086     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3087   *)
   3088     eval ac_cv_prog_make_${ac_make}_set=no;;
   3089 esac
   3090 rm -f conftest.make
   3091 fi
   3092 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3093   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3094 printf "%s\n" "yes" >&6; }
   3095   SET_MAKE=
   3096 else
   3097   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3098 printf "%s\n" "no" >&6; }
   3099   SET_MAKE="MAKE=${MAKE-make}"
   3100 fi
   3101 
   3102 rm -rf .tst 2>/dev/null
   3103 mkdir .tst 2>/dev/null
   3104 if test -d .tst; then
   3105   am__leading_dot=.
   3106 else
   3107   am__leading_dot=_
   3108 fi
   3109 rmdir .tst 2>/dev/null
   3110 
   3111 # Check whether --enable-silent-rules was given.
   3112 if test ${enable_silent_rules+y}
   3113 then :
   3114   enableval=$enable_silent_rules;
   3115 fi
   3116 
   3117 case $enable_silent_rules in # (((
   3118   yes) AM_DEFAULT_VERBOSITY=0;;
   3119    no) AM_DEFAULT_VERBOSITY=1;;
   3120     *) AM_DEFAULT_VERBOSITY=1;;
   3121 esac
   3122 am_make=${MAKE-make}
   3123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3124 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3125 if test ${am_cv_make_support_nested_variables+y}
   3126 then :
   3127   printf %s "(cached) " >&6
   3128 else $as_nop
   3129   if printf "%s\n" 'TRUE=$(BAR$(V))
   3130 BAR0=false
   3131 BAR1=true
   3132 V=1
   3133 am__doit:
   3134 	@$(TRUE)
   3135 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3136   am_cv_make_support_nested_variables=yes
   3137 else
   3138   am_cv_make_support_nested_variables=no
   3139 fi
   3140 fi
   3141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3142 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3143 if test $am_cv_make_support_nested_variables = yes; then
   3144     AM_V='$(V)'
   3145   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3146 else
   3147   AM_V=$AM_DEFAULT_VERBOSITY
   3148   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3149 fi
   3150 AM_BACKSLASH='\'
   3151 
   3152 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3153   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3154   # is not polluted with repeated "-I."
   3155   am__isrc=' -I$(srcdir)'
   3156   # test to see if srcdir already configured
   3157   if test -f $srcdir/config.status; then
   3158     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3159   fi
   3160 fi
   3161 
   3162 # test whether we have cygpath
   3163 if test -z "$CYGPATH_W"; then
   3164   if (cygpath --version) >/dev/null 2>/dev/null; then
   3165     CYGPATH_W='cygpath -w'
   3166   else
   3167     CYGPATH_W=echo
   3168   fi
   3169 fi
   3170 
   3171 
   3172 # Define the identity of the package.
   3173  PACKAGE='xorgproto'
   3174  VERSION='2024.1'
   3175 
   3176 
   3177 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3178 
   3179 
   3180 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3181 
   3182 # Some tools Automake needs.
   3183 
   3184 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3185 
   3186 
   3187 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3188 
   3189 
   3190 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3191 
   3192 
   3193 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3194 
   3195 
   3196 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3197 
   3198 # For better backward compatibility.  To be removed once Automake 1.9.x
   3199 # dies out for good.  For more background, see:
   3200 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3201 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3202 mkdir_p='$(MKDIR_P)'
   3203 
   3204 # We need awk for the "check" target (and possibly the TAP driver).  The
   3205 # system "awk" is bad on some platforms.
   3206 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3207 # in the wild :-(  We should find a proper way to deprecate it ...
   3208 AMTAR='$${TAR-tar}'
   3209 
   3210 
   3211 # We'll loop over all known methods to create a tar archive until one works.
   3212 _am_tools='gnutar  pax cpio none'
   3213 
   3214 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3215 
   3216 
   3217 
   3218 
   3219 
   3220 # Variables for tags utilities; see am/tags.am
   3221 if test -z "$CTAGS"; then
   3222   CTAGS=ctags
   3223 fi
   3224 
   3225 if test -z "$ETAGS"; then
   3226   ETAGS=etags
   3227 fi
   3228 
   3229 if test -z "$CSCOPE"; then
   3230   CSCOPE=cscope
   3231 fi
   3232 
   3233 
   3234 
   3235 # POSIX will say in a future version that running "rm -f" with no argument
   3236 # is OK; and we want to be able to make that assumption in our Makefile
   3237 # recipes.  So use an aggressive probe to check that the usage we want is
   3238 # actually supported "in the wild" to an acceptable degree.
   3239 # See automake bug#10828.
   3240 # To make any issue more visible, cause the running configure to be aborted
   3241 # by default if the 'rm' program in use doesn't match our expectations; the
   3242 # user can still override this though.
   3243 if rm -f && rm -fr && rm -rf; then : OK; else
   3244   cat >&2 <<'END'
   3245 Oops!
   3246 
   3247 Your 'rm' program seems unable to run without file operands specified
   3248 on the command line, even when the '-f' option is present.  This is contrary
   3249 to the behaviour of most rm programs out there, and not conforming with
   3250 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3251 
   3252 Please tell bug-automake@gnu.org about your system, including the value
   3253 of your $PATH and any error possibly output before this message.  This
   3254 can help us improve future automake versions.
   3255 
   3256 END
   3257   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3258     echo 'Configuration will proceed anyway, since you have set the' >&2
   3259     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3260     echo >&2
   3261   else
   3262     cat >&2 <<'END'
   3263 Aborting the configuration process, to ensure you take notice of the issue.
   3264 
   3265 You can download and install GNU coreutils to get an 'rm' implementation
   3266 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3267 
   3268 If you want to complete the configuration process using your problematic
   3269 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3270 to "yes", and re-run configure.
   3271 
   3272 END
   3273     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3274   fi
   3275 fi
   3276 
   3277 
   3278 # Require xorg-macros: XORG_DEFAULT_OPTIONS
   3279 
   3280 
   3281 
   3282 
   3283 
   3284 
   3285 
   3286 
   3287 
   3288 
   3289 
   3290 
   3291 
   3292 
   3293 
   3294 
   3295 
   3296 
   3297 
   3298 
   3299 DEPDIR="${am__leading_dot}deps"
   3300 
   3301 ac_config_commands="$ac_config_commands depfiles"
   3302 
   3303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3304 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3305 cat > confinc.mk << 'END'
   3306 am__doit:
   3307 	@echo this is the am__doit target >confinc.out
   3308 .PHONY: am__doit
   3309 END
   3310 am__include="#"
   3311 am__quote=
   3312 # BSD make does it like this.
   3313 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3314 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3315 echo 'include confinc.mk # ignored' > confmf.GNU
   3316 _am_result=no
   3317 for s in GNU BSD; do
   3318   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3319    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3320    ac_status=$?
   3321    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3322    (exit $ac_status); }
   3323   case $?:`cat confinc.out 2>/dev/null` in #(
   3324   '0:this is the am__doit target') :
   3325     case $s in #(
   3326   BSD) :
   3327     am__include='.include' am__quote='"' ;; #(
   3328   *) :
   3329     am__include='include' am__quote='' ;;
   3330 esac ;; #(
   3331   *) :
   3332      ;;
   3333 esac
   3334   if test "$am__include" != "#"; then
   3335     _am_result="yes ($s style)"
   3336     break
   3337   fi
   3338 done
   3339 rm -f confinc.* confmf.*
   3340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3341 printf "%s\n" "${_am_result}" >&6; }
   3342 
   3343 # Check whether --enable-dependency-tracking was given.
   3344 if test ${enable_dependency_tracking+y}
   3345 then :
   3346   enableval=$enable_dependency_tracking;
   3347 fi
   3348 
   3349 if test "x$enable_dependency_tracking" != xno; then
   3350   am_depcomp="$ac_aux_dir/depcomp"
   3351   AMDEPBACKSLASH='\'
   3352   am__nodep='_no'
   3353 fi
   3354  if test "x$enable_dependency_tracking" != xno; then
   3355   AMDEP_TRUE=
   3356   AMDEP_FALSE='#'
   3357 else
   3358   AMDEP_TRUE='#'
   3359   AMDEP_FALSE=
   3360 fi
   3361 
   3362 
   3363 ac_ext=c
   3364 ac_cpp='$CPP $CPPFLAGS'
   3365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3368 if test -n "$ac_tool_prefix"; then
   3369   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3370 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3372 printf %s "checking for $ac_word... " >&6; }
   3373 if test ${ac_cv_prog_CC+y}
   3374 then :
   3375   printf %s "(cached) " >&6
   3376 else $as_nop
   3377   if test -n "$CC"; then
   3378   ac_cv_prog_CC="$CC" # Let the user override the test.
   3379 else
   3380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3381 for as_dir in $PATH
   3382 do
   3383   IFS=$as_save_IFS
   3384   case $as_dir in #(((
   3385     '') as_dir=./ ;;
   3386     */) ;;
   3387     *) as_dir=$as_dir/ ;;
   3388   esac
   3389     for ac_exec_ext in '' $ac_executable_extensions; do
   3390   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3391     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3392     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3393     break 2
   3394   fi
   3395 done
   3396   done
   3397 IFS=$as_save_IFS
   3398 
   3399 fi
   3400 fi
   3401 CC=$ac_cv_prog_CC
   3402 if test -n "$CC"; then
   3403   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3404 printf "%s\n" "$CC" >&6; }
   3405 else
   3406   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3407 printf "%s\n" "no" >&6; }
   3408 fi
   3409 
   3410 
   3411 fi
   3412 if test -z "$ac_cv_prog_CC"; then
   3413   ac_ct_CC=$CC
   3414   # Extract the first word of "gcc", so it can be a program name with args.
   3415 set dummy gcc; ac_word=$2
   3416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3417 printf %s "checking for $ac_word... " >&6; }
   3418 if test ${ac_cv_prog_ac_ct_CC+y}
   3419 then :
   3420   printf %s "(cached) " >&6
   3421 else $as_nop
   3422   if test -n "$ac_ct_CC"; then
   3423   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3424 else
   3425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3426 for as_dir in $PATH
   3427 do
   3428   IFS=$as_save_IFS
   3429   case $as_dir in #(((
   3430     '') as_dir=./ ;;
   3431     */) ;;
   3432     *) as_dir=$as_dir/ ;;
   3433   esac
   3434     for ac_exec_ext in '' $ac_executable_extensions; do
   3435   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3436     ac_cv_prog_ac_ct_CC="gcc"
   3437     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3438     break 2
   3439   fi
   3440 done
   3441   done
   3442 IFS=$as_save_IFS
   3443 
   3444 fi
   3445 fi
   3446 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3447 if test -n "$ac_ct_CC"; then
   3448   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3449 printf "%s\n" "$ac_ct_CC" >&6; }
   3450 else
   3451   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3452 printf "%s\n" "no" >&6; }
   3453 fi
   3454 
   3455   if test "x$ac_ct_CC" = x; then
   3456     CC=""
   3457   else
   3458     case $cross_compiling:$ac_tool_warned in
   3459 yes:)
   3460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3461 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3462 ac_tool_warned=yes ;;
   3463 esac
   3464     CC=$ac_ct_CC
   3465   fi
   3466 else
   3467   CC="$ac_cv_prog_CC"
   3468 fi
   3469 
   3470 if test -z "$CC"; then
   3471           if test -n "$ac_tool_prefix"; then
   3472     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3473 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3475 printf %s "checking for $ac_word... " >&6; }
   3476 if test ${ac_cv_prog_CC+y}
   3477 then :
   3478   printf %s "(cached) " >&6
   3479 else $as_nop
   3480   if test -n "$CC"; then
   3481   ac_cv_prog_CC="$CC" # Let the user override the test.
   3482 else
   3483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3484 for as_dir in $PATH
   3485 do
   3486   IFS=$as_save_IFS
   3487   case $as_dir in #(((
   3488     '') as_dir=./ ;;
   3489     */) ;;
   3490     *) as_dir=$as_dir/ ;;
   3491   esac
   3492     for ac_exec_ext in '' $ac_executable_extensions; do
   3493   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3494     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3495     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3496     break 2
   3497   fi
   3498 done
   3499   done
   3500 IFS=$as_save_IFS
   3501 
   3502 fi
   3503 fi
   3504 CC=$ac_cv_prog_CC
   3505 if test -n "$CC"; then
   3506   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3507 printf "%s\n" "$CC" >&6; }
   3508 else
   3509   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3510 printf "%s\n" "no" >&6; }
   3511 fi
   3512 
   3513 
   3514   fi
   3515 fi
   3516 if test -z "$CC"; then
   3517   # Extract the first word of "cc", so it can be a program name with args.
   3518 set dummy cc; ac_word=$2
   3519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3520 printf %s "checking for $ac_word... " >&6; }
   3521 if test ${ac_cv_prog_CC+y}
   3522 then :
   3523   printf %s "(cached) " >&6
   3524 else $as_nop
   3525   if test -n "$CC"; then
   3526   ac_cv_prog_CC="$CC" # Let the user override the test.
   3527 else
   3528   ac_prog_rejected=no
   3529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3530 for as_dir in $PATH
   3531 do
   3532   IFS=$as_save_IFS
   3533   case $as_dir in #(((
   3534     '') as_dir=./ ;;
   3535     */) ;;
   3536     *) as_dir=$as_dir/ ;;
   3537   esac
   3538     for ac_exec_ext in '' $ac_executable_extensions; do
   3539   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3540     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3541        ac_prog_rejected=yes
   3542        continue
   3543      fi
   3544     ac_cv_prog_CC="cc"
   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 if test $ac_prog_rejected = yes; then
   3553   # We found a bogon in the path, so make sure we never use it.
   3554   set dummy $ac_cv_prog_CC
   3555   shift
   3556   if test $# != 0; then
   3557     # We chose a different compiler from the bogus one.
   3558     # However, it has the same basename, so the bogon will be chosen
   3559     # first if we set CC to just the basename; use the full file name.
   3560     shift
   3561     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3562   fi
   3563 fi
   3564 fi
   3565 fi
   3566 CC=$ac_cv_prog_CC
   3567 if test -n "$CC"; then
   3568   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3569 printf "%s\n" "$CC" >&6; }
   3570 else
   3571   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3572 printf "%s\n" "no" >&6; }
   3573 fi
   3574 
   3575 
   3576 fi
   3577 if test -z "$CC"; then
   3578   if test -n "$ac_tool_prefix"; then
   3579   for ac_prog in cl.exe
   3580   do
   3581     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3582 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3584 printf %s "checking for $ac_word... " >&6; }
   3585 if test ${ac_cv_prog_CC+y}
   3586 then :
   3587   printf %s "(cached) " >&6
   3588 else $as_nop
   3589   if test -n "$CC"; then
   3590   ac_cv_prog_CC="$CC" # Let the user override the test.
   3591 else
   3592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3593 for as_dir in $PATH
   3594 do
   3595   IFS=$as_save_IFS
   3596   case $as_dir in #(((
   3597     '') as_dir=./ ;;
   3598     */) ;;
   3599     *) as_dir=$as_dir/ ;;
   3600   esac
   3601     for ac_exec_ext in '' $ac_executable_extensions; do
   3602   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3603     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3604     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3605     break 2
   3606   fi
   3607 done
   3608   done
   3609 IFS=$as_save_IFS
   3610 
   3611 fi
   3612 fi
   3613 CC=$ac_cv_prog_CC
   3614 if test -n "$CC"; then
   3615   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3616 printf "%s\n" "$CC" >&6; }
   3617 else
   3618   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3619 printf "%s\n" "no" >&6; }
   3620 fi
   3621 
   3622 
   3623     test -n "$CC" && break
   3624   done
   3625 fi
   3626 if test -z "$CC"; then
   3627   ac_ct_CC=$CC
   3628   for ac_prog in cl.exe
   3629 do
   3630   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3631 set dummy $ac_prog; ac_word=$2
   3632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3633 printf %s "checking for $ac_word... " >&6; }
   3634 if test ${ac_cv_prog_ac_ct_CC+y}
   3635 then :
   3636   printf %s "(cached) " >&6
   3637 else $as_nop
   3638   if test -n "$ac_ct_CC"; then
   3639   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3640 else
   3641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3642 for as_dir in $PATH
   3643 do
   3644   IFS=$as_save_IFS
   3645   case $as_dir in #(((
   3646     '') as_dir=./ ;;
   3647     */) ;;
   3648     *) as_dir=$as_dir/ ;;
   3649   esac
   3650     for ac_exec_ext in '' $ac_executable_extensions; do
   3651   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3652     ac_cv_prog_ac_ct_CC="$ac_prog"
   3653     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3654     break 2
   3655   fi
   3656 done
   3657   done
   3658 IFS=$as_save_IFS
   3659 
   3660 fi
   3661 fi
   3662 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3663 if test -n "$ac_ct_CC"; then
   3664   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3665 printf "%s\n" "$ac_ct_CC" >&6; }
   3666 else
   3667   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3668 printf "%s\n" "no" >&6; }
   3669 fi
   3670 
   3671 
   3672   test -n "$ac_ct_CC" && break
   3673 done
   3674 
   3675   if test "x$ac_ct_CC" = x; then
   3676     CC=""
   3677   else
   3678     case $cross_compiling:$ac_tool_warned in
   3679 yes:)
   3680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3681 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3682 ac_tool_warned=yes ;;
   3683 esac
   3684     CC=$ac_ct_CC
   3685   fi
   3686 fi
   3687 
   3688 fi
   3689 if test -z "$CC"; then
   3690   if test -n "$ac_tool_prefix"; then
   3691   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3692 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3694 printf %s "checking for $ac_word... " >&6; }
   3695 if test ${ac_cv_prog_CC+y}
   3696 then :
   3697   printf %s "(cached) " >&6
   3698 else $as_nop
   3699   if test -n "$CC"; then
   3700   ac_cv_prog_CC="$CC" # Let the user override the test.
   3701 else
   3702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3703 for as_dir in $PATH
   3704 do
   3705   IFS=$as_save_IFS
   3706   case $as_dir in #(((
   3707     '') as_dir=./ ;;
   3708     */) ;;
   3709     *) as_dir=$as_dir/ ;;
   3710   esac
   3711     for ac_exec_ext in '' $ac_executable_extensions; do
   3712   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3713     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3714     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3715     break 2
   3716   fi
   3717 done
   3718   done
   3719 IFS=$as_save_IFS
   3720 
   3721 fi
   3722 fi
   3723 CC=$ac_cv_prog_CC
   3724 if test -n "$CC"; then
   3725   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3726 printf "%s\n" "$CC" >&6; }
   3727 else
   3728   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3729 printf "%s\n" "no" >&6; }
   3730 fi
   3731 
   3732 
   3733 fi
   3734 if test -z "$ac_cv_prog_CC"; then
   3735   ac_ct_CC=$CC
   3736   # Extract the first word of "clang", so it can be a program name with args.
   3737 set dummy clang; ac_word=$2
   3738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3739 printf %s "checking for $ac_word... " >&6; }
   3740 if test ${ac_cv_prog_ac_ct_CC+y}
   3741 then :
   3742   printf %s "(cached) " >&6
   3743 else $as_nop
   3744   if test -n "$ac_ct_CC"; then
   3745   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3746 else
   3747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3748 for as_dir in $PATH
   3749 do
   3750   IFS=$as_save_IFS
   3751   case $as_dir in #(((
   3752     '') as_dir=./ ;;
   3753     */) ;;
   3754     *) as_dir=$as_dir/ ;;
   3755   esac
   3756     for ac_exec_ext in '' $ac_executable_extensions; do
   3757   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3758     ac_cv_prog_ac_ct_CC="clang"
   3759     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3760     break 2
   3761   fi
   3762 done
   3763   done
   3764 IFS=$as_save_IFS
   3765 
   3766 fi
   3767 fi
   3768 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3769 if test -n "$ac_ct_CC"; then
   3770   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3771 printf "%s\n" "$ac_ct_CC" >&6; }
   3772 else
   3773   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3774 printf "%s\n" "no" >&6; }
   3775 fi
   3776 
   3777   if test "x$ac_ct_CC" = x; then
   3778     CC=""
   3779   else
   3780     case $cross_compiling:$ac_tool_warned in
   3781 yes:)
   3782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3783 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3784 ac_tool_warned=yes ;;
   3785 esac
   3786     CC=$ac_ct_CC
   3787   fi
   3788 else
   3789   CC="$ac_cv_prog_CC"
   3790 fi
   3791 
   3792 fi
   3793 
   3794 
   3795 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3796 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3797 as_fn_error $? "no acceptable C compiler found in \$PATH
   3798 See \`config.log' for more details" "$LINENO" 5; }
   3799 
   3800 # Provide some information about the compiler.
   3801 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3802 set X $ac_compile
   3803 ac_compiler=$2
   3804 for ac_option in --version -v -V -qversion -version; do
   3805   { { ac_try="$ac_compiler $ac_option >&5"
   3806 case "(($ac_try" in
   3807   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3808   *) ac_try_echo=$ac_try;;
   3809 esac
   3810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3811 printf "%s\n" "$ac_try_echo"; } >&5
   3812   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3813   ac_status=$?
   3814   if test -s conftest.err; then
   3815     sed '10a\
   3816 ... rest of stderr output deleted ...
   3817          10q' conftest.err >conftest.er1
   3818     cat conftest.er1 >&5
   3819   fi
   3820   rm -f conftest.er1 conftest.err
   3821   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3822   test $ac_status = 0; }
   3823 done
   3824 
   3825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3826 /* end confdefs.h.  */
   3827 
   3828 int
   3829 main (void)
   3830 {
   3831 
   3832   ;
   3833   return 0;
   3834 }
   3835 _ACEOF
   3836 ac_clean_files_save=$ac_clean_files
   3837 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3838 # Try to create an executable without -o first, disregard a.out.
   3839 # It will help us diagnose broken compilers, and finding out an intuition
   3840 # of exeext.
   3841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3842 printf %s "checking whether the C compiler works... " >&6; }
   3843 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3844 
   3845 # The possible output files:
   3846 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3847 
   3848 ac_rmfiles=
   3849 for ac_file in $ac_files
   3850 do
   3851   case $ac_file in
   3852     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3853     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3854   esac
   3855 done
   3856 rm -f $ac_rmfiles
   3857 
   3858 if { { ac_try="$ac_link_default"
   3859 case "(($ac_try" in
   3860   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3861   *) ac_try_echo=$ac_try;;
   3862 esac
   3863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3864 printf "%s\n" "$ac_try_echo"; } >&5
   3865   (eval "$ac_link_default") 2>&5
   3866   ac_status=$?
   3867   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3868   test $ac_status = 0; }
   3869 then :
   3870   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3871 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3872 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3873 # so that the user can short-circuit this test for compilers unknown to
   3874 # Autoconf.
   3875 for ac_file in $ac_files ''
   3876 do
   3877   test -f "$ac_file" || continue
   3878   case $ac_file in
   3879     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3880 	;;
   3881     [ab].out )
   3882 	# We found the default executable, but exeext='' is most
   3883 	# certainly right.
   3884 	break;;
   3885     *.* )
   3886 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3887 	then :; else
   3888 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3889 	fi
   3890 	# We set ac_cv_exeext here because the later test for it is not
   3891 	# safe: cross compilers may not add the suffix if given an `-o'
   3892 	# argument, so we may need to know it at that point already.
   3893 	# Even if this section looks crufty: it has the advantage of
   3894 	# actually working.
   3895 	break;;
   3896     * )
   3897 	break;;
   3898   esac
   3899 done
   3900 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3901 
   3902 else $as_nop
   3903   ac_file=''
   3904 fi
   3905 if test -z "$ac_file"
   3906 then :
   3907   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3908 printf "%s\n" "no" >&6; }
   3909 printf "%s\n" "$as_me: failed program was:" >&5
   3910 sed 's/^/| /' conftest.$ac_ext >&5
   3911 
   3912 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3913 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3914 as_fn_error 77 "C compiler cannot create executables
   3915 See \`config.log' for more details" "$LINENO" 5; }
   3916 else $as_nop
   3917   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3918 printf "%s\n" "yes" >&6; }
   3919 fi
   3920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3921 printf %s "checking for C compiler default output file name... " >&6; }
   3922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3923 printf "%s\n" "$ac_file" >&6; }
   3924 ac_exeext=$ac_cv_exeext
   3925 
   3926 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3927 ac_clean_files=$ac_clean_files_save
   3928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3929 printf %s "checking for suffix of executables... " >&6; }
   3930 if { { ac_try="$ac_link"
   3931 case "(($ac_try" in
   3932   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3933   *) ac_try_echo=$ac_try;;
   3934 esac
   3935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3936 printf "%s\n" "$ac_try_echo"; } >&5
   3937   (eval "$ac_link") 2>&5
   3938   ac_status=$?
   3939   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3940   test $ac_status = 0; }
   3941 then :
   3942   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3943 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3944 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3945 # `rm'.
   3946 for ac_file in conftest.exe conftest conftest.*; do
   3947   test -f "$ac_file" || continue
   3948   case $ac_file in
   3949     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3950     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3951 	  break;;
   3952     * ) break;;
   3953   esac
   3954 done
   3955 else $as_nop
   3956   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3957 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3958 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3959 See \`config.log' for more details" "$LINENO" 5; }
   3960 fi
   3961 rm -f conftest conftest$ac_cv_exeext
   3962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3963 printf "%s\n" "$ac_cv_exeext" >&6; }
   3964 
   3965 rm -f conftest.$ac_ext
   3966 EXEEXT=$ac_cv_exeext
   3967 ac_exeext=$EXEEXT
   3968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3969 /* end confdefs.h.  */
   3970 #include <stdio.h>
   3971 int
   3972 main (void)
   3973 {
   3974 FILE *f = fopen ("conftest.out", "w");
   3975  return ferror (f) || fclose (f) != 0;
   3976 
   3977   ;
   3978   return 0;
   3979 }
   3980 _ACEOF
   3981 ac_clean_files="$ac_clean_files conftest.out"
   3982 # Check that the compiler produces executables we can run.  If not, either
   3983 # the compiler is broken, or we cross compile.
   3984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3985 printf %s "checking whether we are cross compiling... " >&6; }
   3986 if test "$cross_compiling" != yes; then
   3987   { { ac_try="$ac_link"
   3988 case "(($ac_try" in
   3989   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3990   *) ac_try_echo=$ac_try;;
   3991 esac
   3992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3993 printf "%s\n" "$ac_try_echo"; } >&5
   3994   (eval "$ac_link") 2>&5
   3995   ac_status=$?
   3996   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3997   test $ac_status = 0; }
   3998   if { ac_try='./conftest$ac_cv_exeext'
   3999   { { case "(($ac_try" in
   4000   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4001   *) ac_try_echo=$ac_try;;
   4002 esac
   4003 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4004 printf "%s\n" "$ac_try_echo"; } >&5
   4005   (eval "$ac_try") 2>&5
   4006   ac_status=$?
   4007   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4008   test $ac_status = 0; }; }; then
   4009     cross_compiling=no
   4010   else
   4011     if test "$cross_compiling" = maybe; then
   4012 	cross_compiling=yes
   4013     else
   4014 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4015 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4016 as_fn_error 77 "cannot run C compiled programs.
   4017 If you meant to cross compile, use \`--host'.
   4018 See \`config.log' for more details" "$LINENO" 5; }
   4019     fi
   4020   fi
   4021 fi
   4022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4023 printf "%s\n" "$cross_compiling" >&6; }
   4024 
   4025 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4026 ac_clean_files=$ac_clean_files_save
   4027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4028 printf %s "checking for suffix of object files... " >&6; }
   4029 if test ${ac_cv_objext+y}
   4030 then :
   4031   printf %s "(cached) " >&6
   4032 else $as_nop
   4033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4034 /* end confdefs.h.  */
   4035 
   4036 int
   4037 main (void)
   4038 {
   4039 
   4040   ;
   4041   return 0;
   4042 }
   4043 _ACEOF
   4044 rm -f conftest.o conftest.obj
   4045 if { { ac_try="$ac_compile"
   4046 case "(($ac_try" in
   4047   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4048   *) ac_try_echo=$ac_try;;
   4049 esac
   4050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4051 printf "%s\n" "$ac_try_echo"; } >&5
   4052   (eval "$ac_compile") 2>&5
   4053   ac_status=$?
   4054   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4055   test $ac_status = 0; }
   4056 then :
   4057   for ac_file in conftest.o conftest.obj conftest.*; do
   4058   test -f "$ac_file" || continue;
   4059   case $ac_file in
   4060     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4061     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4062        break;;
   4063   esac
   4064 done
   4065 else $as_nop
   4066   printf "%s\n" "$as_me: failed program was:" >&5
   4067 sed 's/^/| /' conftest.$ac_ext >&5
   4068 
   4069 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4070 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4071 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4072 See \`config.log' for more details" "$LINENO" 5; }
   4073 fi
   4074 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4075 fi
   4076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4077 printf "%s\n" "$ac_cv_objext" >&6; }
   4078 OBJEXT=$ac_cv_objext
   4079 ac_objext=$OBJEXT
   4080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4081 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4082 if test ${ac_cv_c_compiler_gnu+y}
   4083 then :
   4084   printf %s "(cached) " >&6
   4085 else $as_nop
   4086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4087 /* end confdefs.h.  */
   4088 
   4089 int
   4090 main (void)
   4091 {
   4092 #ifndef __GNUC__
   4093        choke me
   4094 #endif
   4095 
   4096   ;
   4097   return 0;
   4098 }
   4099 _ACEOF
   4100 if ac_fn_c_try_compile "$LINENO"
   4101 then :
   4102   ac_compiler_gnu=yes
   4103 else $as_nop
   4104   ac_compiler_gnu=no
   4105 fi
   4106 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4107 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4108 
   4109 fi
   4110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4111 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4113 
   4114 if test $ac_compiler_gnu = yes; then
   4115   GCC=yes
   4116 else
   4117   GCC=
   4118 fi
   4119 ac_test_CFLAGS=${CFLAGS+y}
   4120 ac_save_CFLAGS=$CFLAGS
   4121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4122 printf %s "checking whether $CC accepts -g... " >&6; }
   4123 if test ${ac_cv_prog_cc_g+y}
   4124 then :
   4125   printf %s "(cached) " >&6
   4126 else $as_nop
   4127   ac_save_c_werror_flag=$ac_c_werror_flag
   4128    ac_c_werror_flag=yes
   4129    ac_cv_prog_cc_g=no
   4130    CFLAGS="-g"
   4131    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4132 /* end confdefs.h.  */
   4133 
   4134 int
   4135 main (void)
   4136 {
   4137 
   4138   ;
   4139   return 0;
   4140 }
   4141 _ACEOF
   4142 if ac_fn_c_try_compile "$LINENO"
   4143 then :
   4144   ac_cv_prog_cc_g=yes
   4145 else $as_nop
   4146   CFLAGS=""
   4147       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4148 /* end confdefs.h.  */
   4149 
   4150 int
   4151 main (void)
   4152 {
   4153 
   4154   ;
   4155   return 0;
   4156 }
   4157 _ACEOF
   4158 if ac_fn_c_try_compile "$LINENO"
   4159 then :
   4160 
   4161 else $as_nop
   4162   ac_c_werror_flag=$ac_save_c_werror_flag
   4163 	 CFLAGS="-g"
   4164 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4165 /* end confdefs.h.  */
   4166 
   4167 int
   4168 main (void)
   4169 {
   4170 
   4171   ;
   4172   return 0;
   4173 }
   4174 _ACEOF
   4175 if ac_fn_c_try_compile "$LINENO"
   4176 then :
   4177   ac_cv_prog_cc_g=yes
   4178 fi
   4179 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4180 fi
   4181 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4182 fi
   4183 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4184    ac_c_werror_flag=$ac_save_c_werror_flag
   4185 fi
   4186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4187 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4188 if test $ac_test_CFLAGS; then
   4189   CFLAGS=$ac_save_CFLAGS
   4190 elif test $ac_cv_prog_cc_g = yes; then
   4191   if test "$GCC" = yes; then
   4192     CFLAGS="-g -O2"
   4193   else
   4194     CFLAGS="-g"
   4195   fi
   4196 else
   4197   if test "$GCC" = yes; then
   4198     CFLAGS="-O2"
   4199   else
   4200     CFLAGS=
   4201   fi
   4202 fi
   4203 ac_prog_cc_stdc=no
   4204 if test x$ac_prog_cc_stdc = xno
   4205 then :
   4206   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4207 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4208 if test ${ac_cv_prog_cc_c11+y}
   4209 then :
   4210   printf %s "(cached) " >&6
   4211 else $as_nop
   4212   ac_cv_prog_cc_c11=no
   4213 ac_save_CC=$CC
   4214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4215 /* end confdefs.h.  */
   4216 $ac_c_conftest_c11_program
   4217 _ACEOF
   4218 for ac_arg in '' -std=gnu11
   4219 do
   4220   CC="$ac_save_CC $ac_arg"
   4221   if ac_fn_c_try_compile "$LINENO"
   4222 then :
   4223   ac_cv_prog_cc_c11=$ac_arg
   4224 fi
   4225 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4226   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4227 done
   4228 rm -f conftest.$ac_ext
   4229 CC=$ac_save_CC
   4230 fi
   4231 
   4232 if test "x$ac_cv_prog_cc_c11" = xno
   4233 then :
   4234   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4235 printf "%s\n" "unsupported" >&6; }
   4236 else $as_nop
   4237   if test "x$ac_cv_prog_cc_c11" = x
   4238 then :
   4239   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4240 printf "%s\n" "none needed" >&6; }
   4241 else $as_nop
   4242   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4243 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4244      CC="$CC $ac_cv_prog_cc_c11"
   4245 fi
   4246   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4247   ac_prog_cc_stdc=c11
   4248 fi
   4249 fi
   4250 if test x$ac_prog_cc_stdc = xno
   4251 then :
   4252   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4253 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4254 if test ${ac_cv_prog_cc_c99+y}
   4255 then :
   4256   printf %s "(cached) " >&6
   4257 else $as_nop
   4258   ac_cv_prog_cc_c99=no
   4259 ac_save_CC=$CC
   4260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4261 /* end confdefs.h.  */
   4262 $ac_c_conftest_c99_program
   4263 _ACEOF
   4264 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4265 do
   4266   CC="$ac_save_CC $ac_arg"
   4267   if ac_fn_c_try_compile "$LINENO"
   4268 then :
   4269   ac_cv_prog_cc_c99=$ac_arg
   4270 fi
   4271 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4272   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4273 done
   4274 rm -f conftest.$ac_ext
   4275 CC=$ac_save_CC
   4276 fi
   4277 
   4278 if test "x$ac_cv_prog_cc_c99" = xno
   4279 then :
   4280   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4281 printf "%s\n" "unsupported" >&6; }
   4282 else $as_nop
   4283   if test "x$ac_cv_prog_cc_c99" = x
   4284 then :
   4285   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4286 printf "%s\n" "none needed" >&6; }
   4287 else $as_nop
   4288   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4289 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4290      CC="$CC $ac_cv_prog_cc_c99"
   4291 fi
   4292   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4293   ac_prog_cc_stdc=c99
   4294 fi
   4295 fi
   4296 if test x$ac_prog_cc_stdc = xno
   4297 then :
   4298   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4299 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4300 if test ${ac_cv_prog_cc_c89+y}
   4301 then :
   4302   printf %s "(cached) " >&6
   4303 else $as_nop
   4304   ac_cv_prog_cc_c89=no
   4305 ac_save_CC=$CC
   4306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4307 /* end confdefs.h.  */
   4308 $ac_c_conftest_c89_program
   4309 _ACEOF
   4310 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4311 do
   4312   CC="$ac_save_CC $ac_arg"
   4313   if ac_fn_c_try_compile "$LINENO"
   4314 then :
   4315   ac_cv_prog_cc_c89=$ac_arg
   4316 fi
   4317 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4318   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4319 done
   4320 rm -f conftest.$ac_ext
   4321 CC=$ac_save_CC
   4322 fi
   4323 
   4324 if test "x$ac_cv_prog_cc_c89" = xno
   4325 then :
   4326   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4327 printf "%s\n" "unsupported" >&6; }
   4328 else $as_nop
   4329   if test "x$ac_cv_prog_cc_c89" = x
   4330 then :
   4331   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4332 printf "%s\n" "none needed" >&6; }
   4333 else $as_nop
   4334   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4335 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4336      CC="$CC $ac_cv_prog_cc_c89"
   4337 fi
   4338   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4339   ac_prog_cc_stdc=c89
   4340 fi
   4341 fi
   4342 
   4343 ac_ext=c
   4344 ac_cpp='$CPP $CPPFLAGS'
   4345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4348 
   4349 
   4350   ac_ext=c
   4351 ac_cpp='$CPP $CPPFLAGS'
   4352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4356 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4357 if test ${am_cv_prog_cc_c_o+y}
   4358 then :
   4359   printf %s "(cached) " >&6
   4360 else $as_nop
   4361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4362 /* end confdefs.h.  */
   4363 
   4364 int
   4365 main (void)
   4366 {
   4367 
   4368   ;
   4369   return 0;
   4370 }
   4371 _ACEOF
   4372   # Make sure it works both with $CC and with simple cc.
   4373   # Following AC_PROG_CC_C_O, we do the test twice because some
   4374   # compilers refuse to overwrite an existing .o file with -o,
   4375   # though they will create one.
   4376   am_cv_prog_cc_c_o=yes
   4377   for am_i in 1 2; do
   4378     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4379    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4380    ac_status=$?
   4381    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4382    (exit $ac_status); } \
   4383          && test -f conftest2.$ac_objext; then
   4384       : OK
   4385     else
   4386       am_cv_prog_cc_c_o=no
   4387       break
   4388     fi
   4389   done
   4390   rm -f core conftest*
   4391   unset am_i
   4392 fi
   4393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4394 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4395 if test "$am_cv_prog_cc_c_o" != yes; then
   4396    # Losing compiler, so override with the script.
   4397    # FIXME: It is wrong to rewrite CC.
   4398    # But if we don't then we get into trouble of one sort or another.
   4399    # A longer-term fix would be to have automake use am__CC in this case,
   4400    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4401    CC="$am_aux_dir/compile $CC"
   4402 fi
   4403 ac_ext=c
   4404 ac_cpp='$CPP $CPPFLAGS'
   4405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4408 
   4409 
   4410 depcc="$CC"   am_compiler_list=
   4411 
   4412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4413 printf %s "checking dependency style of $depcc... " >&6; }
   4414 if test ${am_cv_CC_dependencies_compiler_type+y}
   4415 then :
   4416   printf %s "(cached) " >&6
   4417 else $as_nop
   4418   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4419   # We make a subdir and do the tests there.  Otherwise we can end up
   4420   # making bogus files that we don't know about and never remove.  For
   4421   # instance it was reported that on HP-UX the gcc test will end up
   4422   # making a dummy file named 'D' -- because '-MD' means "put the output
   4423   # in D".
   4424   rm -rf conftest.dir
   4425   mkdir conftest.dir
   4426   # Copy depcomp to subdir because otherwise we won't find it if we're
   4427   # using a relative directory.
   4428   cp "$am_depcomp" conftest.dir
   4429   cd conftest.dir
   4430   # We will build objects and dependencies in a subdirectory because
   4431   # it helps to detect inapplicable dependency modes.  For instance
   4432   # both Tru64's cc and ICC support -MD to output dependencies as a
   4433   # side effect of compilation, but ICC will put the dependencies in
   4434   # the current directory while Tru64 will put them in the object
   4435   # directory.
   4436   mkdir sub
   4437 
   4438   am_cv_CC_dependencies_compiler_type=none
   4439   if test "$am_compiler_list" = ""; then
   4440      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4441   fi
   4442   am__universal=false
   4443   case " $depcc " in #(
   4444      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4445      esac
   4446 
   4447   for depmode in $am_compiler_list; do
   4448     # Setup a source with many dependencies, because some compilers
   4449     # like to wrap large dependency lists on column 80 (with \), and
   4450     # we should not choose a depcomp mode which is confused by this.
   4451     #
   4452     # We need to recreate these files for each test, as the compiler may
   4453     # overwrite some of them when testing with obscure command lines.
   4454     # This happens at least with the AIX C compiler.
   4455     : > sub/conftest.c
   4456     for i in 1 2 3 4 5 6; do
   4457       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4458       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4459       # Solaris 10 /bin/sh.
   4460       echo '/* dummy */' > sub/conftst$i.h
   4461     done
   4462     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4463 
   4464     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4465     # mode.  It turns out that the SunPro C++ compiler does not properly
   4466     # handle '-M -o', and we need to detect this.  Also, some Intel
   4467     # versions had trouble with output in subdirs.
   4468     am__obj=sub/conftest.${OBJEXT-o}
   4469     am__minus_obj="-o $am__obj"
   4470     case $depmode in
   4471     gcc)
   4472       # This depmode causes a compiler race in universal mode.
   4473       test "$am__universal" = false || continue
   4474       ;;
   4475     nosideeffect)
   4476       # After this tag, mechanisms are not by side-effect, so they'll
   4477       # only be used when explicitly requested.
   4478       if test "x$enable_dependency_tracking" = xyes; then
   4479 	continue
   4480       else
   4481 	break
   4482       fi
   4483       ;;
   4484     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4485       # This compiler won't grok '-c -o', but also, the minuso test has
   4486       # not run yet.  These depmodes are late enough in the game, and
   4487       # so weak that their functioning should not be impacted.
   4488       am__obj=conftest.${OBJEXT-o}
   4489       am__minus_obj=
   4490       ;;
   4491     none) break ;;
   4492     esac
   4493     if depmode=$depmode \
   4494        source=sub/conftest.c object=$am__obj \
   4495        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4496        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4497          >/dev/null 2>conftest.err &&
   4498        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4499        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4500        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4501        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4502       # icc doesn't choke on unknown options, it will just issue warnings
   4503       # or remarks (even with -Werror).  So we grep stderr for any message
   4504       # that says an option was ignored or not supported.
   4505       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4506       #   icc: Command line warning: ignoring option '-M'; no argument required
   4507       # The diagnosis changed in icc 8.0:
   4508       #   icc: Command line remark: option '-MP' not supported
   4509       if (grep 'ignoring option' conftest.err ||
   4510           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4511         am_cv_CC_dependencies_compiler_type=$depmode
   4512         break
   4513       fi
   4514     fi
   4515   done
   4516 
   4517   cd ..
   4518   rm -rf conftest.dir
   4519 else
   4520   am_cv_CC_dependencies_compiler_type=none
   4521 fi
   4522 
   4523 fi
   4524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4525 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4526 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4527 
   4528  if
   4529   test "x$enable_dependency_tracking" != xno \
   4530   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4531   am__fastdepCC_TRUE=
   4532   am__fastdepCC_FALSE='#'
   4533 else
   4534   am__fastdepCC_TRUE='#'
   4535   am__fastdepCC_FALSE=
   4536 fi
   4537 
   4538 
   4539 
   4540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4541 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4542 if test ${ac_cv_c_undeclared_builtin_options+y}
   4543 then :
   4544   printf %s "(cached) " >&6
   4545 else $as_nop
   4546   ac_save_CFLAGS=$CFLAGS
   4547    ac_cv_c_undeclared_builtin_options='cannot detect'
   4548    for ac_arg in '' -fno-builtin; do
   4549      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4550      # This test program should *not* compile successfully.
   4551      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4552 /* end confdefs.h.  */
   4553 
   4554 int
   4555 main (void)
   4556 {
   4557 (void) strchr;
   4558   ;
   4559   return 0;
   4560 }
   4561 _ACEOF
   4562 if ac_fn_c_try_compile "$LINENO"
   4563 then :
   4564 
   4565 else $as_nop
   4566   # This test program should compile successfully.
   4567         # No library function is consistently available on
   4568         # freestanding implementations, so test against a dummy
   4569         # declaration.  Include always-available headers on the
   4570         # off chance that they somehow elicit warnings.
   4571         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4572 /* end confdefs.h.  */
   4573 #include <float.h>
   4574 #include <limits.h>
   4575 #include <stdarg.h>
   4576 #include <stddef.h>
   4577 extern void ac_decl (int, char *);
   4578 
   4579 int
   4580 main (void)
   4581 {
   4582 (void) ac_decl (0, (char *) 0);
   4583   (void) ac_decl;
   4584 
   4585   ;
   4586   return 0;
   4587 }
   4588 _ACEOF
   4589 if ac_fn_c_try_compile "$LINENO"
   4590 then :
   4591   if test x"$ac_arg" = x
   4592 then :
   4593   ac_cv_c_undeclared_builtin_options='none needed'
   4594 else $as_nop
   4595   ac_cv_c_undeclared_builtin_options=$ac_arg
   4596 fi
   4597           break
   4598 fi
   4599 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4600 fi
   4601 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4602     done
   4603     CFLAGS=$ac_save_CFLAGS
   4604 
   4605 fi
   4606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4607 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4608   case $ac_cv_c_undeclared_builtin_options in #(
   4609   'cannot detect') :
   4610     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4611 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4612 as_fn_error $? "cannot make $CC report undeclared builtins
   4613 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   4614   'none needed') :
   4615     ac_c_undeclared_builtin_options='' ;; #(
   4616   *) :
   4617     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4618 esac
   4619 
   4620 ac_header= ac_cache=
   4621 for ac_item in $ac_header_c_list
   4622 do
   4623   if test $ac_cache; then
   4624     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4625     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4626       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4627     fi
   4628     ac_header= ac_cache=
   4629   elif test $ac_header; then
   4630     ac_cache=$ac_item
   4631   else
   4632     ac_header=$ac_item
   4633   fi
   4634 done
   4635 
   4636 
   4637 
   4638 
   4639 
   4640 
   4641 
   4642 
   4643 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4644 then :
   4645 
   4646 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4647 
   4648 fi
   4649 
   4650 
   4651 
   4652 
   4653 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4654 if test "x$ac_cv_have_decl___clang__" = xyes
   4655 then :
   4656   CLANGCC="yes"
   4657 else $as_nop
   4658   CLANGCC="no"
   4659 fi
   4660 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4661 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4662 then :
   4663   INTELCC="yes"
   4664 else $as_nop
   4665   INTELCC="no"
   4666 fi
   4667 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4668 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4669 then :
   4670   SUNCC="yes"
   4671 else $as_nop
   4672   SUNCC="no"
   4673 fi
   4674 
   4675 
   4676 
   4677 
   4678 
   4679 
   4680 
   4681 
   4682 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4683 	if test -n "$ac_tool_prefix"; then
   4684   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4685 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4687 printf %s "checking for $ac_word... " >&6; }
   4688 if test ${ac_cv_path_PKG_CONFIG+y}
   4689 then :
   4690   printf %s "(cached) " >&6
   4691 else $as_nop
   4692   case $PKG_CONFIG in
   4693   [\\/]* | ?:[\\/]*)
   4694   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4695   ;;
   4696   *)
   4697   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4698 for as_dir in $PATH
   4699 do
   4700   IFS=$as_save_IFS
   4701   case $as_dir in #(((
   4702     '') as_dir=./ ;;
   4703     */) ;;
   4704     *) as_dir=$as_dir/ ;;
   4705   esac
   4706     for ac_exec_ext in '' $ac_executable_extensions; do
   4707   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4708     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4709     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4710     break 2
   4711   fi
   4712 done
   4713   done
   4714 IFS=$as_save_IFS
   4715 
   4716   ;;
   4717 esac
   4718 fi
   4719 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4720 if test -n "$PKG_CONFIG"; then
   4721   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4722 printf "%s\n" "$PKG_CONFIG" >&6; }
   4723 else
   4724   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4725 printf "%s\n" "no" >&6; }
   4726 fi
   4727 
   4728 
   4729 fi
   4730 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4731   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4732   # Extract the first word of "pkg-config", so it can be a program name with args.
   4733 set dummy pkg-config; ac_word=$2
   4734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4735 printf %s "checking for $ac_word... " >&6; }
   4736 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4737 then :
   4738   printf %s "(cached) " >&6
   4739 else $as_nop
   4740   case $ac_pt_PKG_CONFIG in
   4741   [\\/]* | ?:[\\/]*)
   4742   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4743   ;;
   4744   *)
   4745   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4746 for as_dir in $PATH
   4747 do
   4748   IFS=$as_save_IFS
   4749   case $as_dir in #(((
   4750     '') as_dir=./ ;;
   4751     */) ;;
   4752     *) as_dir=$as_dir/ ;;
   4753   esac
   4754     for ac_exec_ext in '' $ac_executable_extensions; do
   4755   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4756     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4757     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4758     break 2
   4759   fi
   4760 done
   4761   done
   4762 IFS=$as_save_IFS
   4763 
   4764   ;;
   4765 esac
   4766 fi
   4767 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4768 if test -n "$ac_pt_PKG_CONFIG"; then
   4769   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4770 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4771 else
   4772   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4773 printf "%s\n" "no" >&6; }
   4774 fi
   4775 
   4776   if test "x$ac_pt_PKG_CONFIG" = x; then
   4777     PKG_CONFIG=""
   4778   else
   4779     case $cross_compiling:$ac_tool_warned in
   4780 yes:)
   4781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4782 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4783 ac_tool_warned=yes ;;
   4784 esac
   4785     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4786   fi
   4787 else
   4788   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4789 fi
   4790 
   4791 fi
   4792 if test -n "$PKG_CONFIG"; then
   4793 	_pkg_min_version=0.9.0
   4794 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4795 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4796 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4797 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4798 printf "%s\n" "yes" >&6; }
   4799 	else
   4800 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4801 printf "%s\n" "no" >&6; }
   4802 		PKG_CONFIG=""
   4803 	fi
   4804 fi
   4805 
   4806 
   4807   # Make sure we can run config.sub.
   4808 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4809   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4810 
   4811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4812 printf %s "checking build system type... " >&6; }
   4813 if test ${ac_cv_build+y}
   4814 then :
   4815   printf %s "(cached) " >&6
   4816 else $as_nop
   4817   ac_build_alias=$build_alias
   4818 test "x$ac_build_alias" = x &&
   4819   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4820 test "x$ac_build_alias" = x &&
   4821   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4822 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4823   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4824 
   4825 fi
   4826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4827 printf "%s\n" "$ac_cv_build" >&6; }
   4828 case $ac_cv_build in
   4829 *-*-*) ;;
   4830 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4831 esac
   4832 build=$ac_cv_build
   4833 ac_save_IFS=$IFS; IFS='-'
   4834 set x $ac_cv_build
   4835 shift
   4836 build_cpu=$1
   4837 build_vendor=$2
   4838 shift; shift
   4839 # Remember, the first character of IFS is used to create $*,
   4840 # except with old shells:
   4841 build_os=$*
   4842 IFS=$ac_save_IFS
   4843 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4844 
   4845 
   4846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4847 printf %s "checking host system type... " >&6; }
   4848 if test ${ac_cv_host+y}
   4849 then :
   4850   printf %s "(cached) " >&6
   4851 else $as_nop
   4852   if test "x$host_alias" = x; then
   4853   ac_cv_host=$ac_cv_build
   4854 else
   4855   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4856     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4857 fi
   4858 
   4859 fi
   4860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4861 printf "%s\n" "$ac_cv_host" >&6; }
   4862 case $ac_cv_host in
   4863 *-*-*) ;;
   4864 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4865 esac
   4866 host=$ac_cv_host
   4867 ac_save_IFS=$IFS; IFS='-'
   4868 set x $ac_cv_host
   4869 shift
   4870 host_cpu=$1
   4871 host_vendor=$2
   4872 shift; shift
   4873 # Remember, the first character of IFS is used to create $*,
   4874 # except with old shells:
   4875 host_os=$*
   4876 IFS=$ac_save_IFS
   4877 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4878 
   4879 
   4880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4881 printf %s "checking for a sed that does not truncate output... " >&6; }
   4882 if test ${ac_cv_path_SED+y}
   4883 then :
   4884   printf %s "(cached) " >&6
   4885 else $as_nop
   4886             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4887      for ac_i in 1 2 3 4 5 6 7; do
   4888        ac_script="$ac_script$as_nl$ac_script"
   4889      done
   4890      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4891      { ac_script=; unset ac_script;}
   4892      if test -z "$SED"; then
   4893   ac_path_SED_found=false
   4894   # Loop through the user's path and test for each of PROGNAME-LIST
   4895   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4896 for as_dir in $PATH
   4897 do
   4898   IFS=$as_save_IFS
   4899   case $as_dir in #(((
   4900     '') as_dir=./ ;;
   4901     */) ;;
   4902     *) as_dir=$as_dir/ ;;
   4903   esac
   4904     for ac_prog in sed gsed
   4905    do
   4906     for ac_exec_ext in '' $ac_executable_extensions; do
   4907       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4908       as_fn_executable_p "$ac_path_SED" || continue
   4909 # Check for GNU ac_path_SED and select it if it is found.
   4910   # Check for GNU $ac_path_SED
   4911 case `"$ac_path_SED" --version 2>&1` in
   4912 *GNU*)
   4913   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4914 *)
   4915   ac_count=0
   4916   printf %s 0123456789 >"conftest.in"
   4917   while :
   4918   do
   4919     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4920     mv "conftest.tmp" "conftest.in"
   4921     cp "conftest.in" "conftest.nl"
   4922     printf "%s\n" '' >> "conftest.nl"
   4923     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4924     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4925     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4926     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4927       # Best one so far, save it but keep looking for a better one
   4928       ac_cv_path_SED="$ac_path_SED"
   4929       ac_path_SED_max=$ac_count
   4930     fi
   4931     # 10*(2^10) chars as input seems more than enough
   4932     test $ac_count -gt 10 && break
   4933   done
   4934   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4935 esac
   4936 
   4937       $ac_path_SED_found && break 3
   4938     done
   4939   done
   4940   done
   4941 IFS=$as_save_IFS
   4942   if test -z "$ac_cv_path_SED"; then
   4943     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4944   fi
   4945 else
   4946   ac_cv_path_SED=$SED
   4947 fi
   4948 
   4949 fi
   4950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4951 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4952  SED="$ac_cv_path_SED"
   4953   rm -f conftest.sed
   4954 
   4955 
   4956 
   4957 
   4958 
   4959 
   4960 # Check whether --enable-selective-werror was given.
   4961 if test ${enable_selective_werror+y}
   4962 then :
   4963   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4964 else $as_nop
   4965   SELECTIVE_WERROR=yes
   4966 fi
   4967 
   4968 
   4969 
   4970 
   4971 
   4972 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4973 if test "x$SUNCC" = "xyes"; then
   4974     BASE_CFLAGS="-v"
   4975 else
   4976     BASE_CFLAGS=""
   4977 fi
   4978 
   4979 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4980 
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 
   4987 
   4988 
   4989 
   4990 
   4991 
   4992 
   4993 xorg_testset_save_CFLAGS="$CFLAGS"
   4994 
   4995 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4996 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4997 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4998 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4999 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5000 then :
   5001   printf %s "(cached) " >&6
   5002 else $as_nop
   5003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5004 /* end confdefs.h.  */
   5005 int i;
   5006 _ACEOF
   5007 if ac_fn_c_try_compile "$LINENO"
   5008 then :
   5009   xorg_cv_cc_flag_unknown_warning_option=yes
   5010 else $as_nop
   5011   xorg_cv_cc_flag_unknown_warning_option=no
   5012 fi
   5013 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5014 fi
   5015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5016 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5017 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5018 	CFLAGS="$xorg_testset_save_CFLAGS"
   5019 fi
   5020 
   5021 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5022 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5023 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5024 	fi
   5025 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5026 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5027 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5028 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5029 then :
   5030   printf %s "(cached) " >&6
   5031 else $as_nop
   5032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5033 /* end confdefs.h.  */
   5034 int i;
   5035 _ACEOF
   5036 if ac_fn_c_try_compile "$LINENO"
   5037 then :
   5038   xorg_cv_cc_flag_unused_command_line_argument=yes
   5039 else $as_nop
   5040   xorg_cv_cc_flag_unused_command_line_argument=no
   5041 fi
   5042 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5043 fi
   5044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5045 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5046 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5047 	CFLAGS="$xorg_testset_save_CFLAGS"
   5048 fi
   5049 
   5050 found="no"
   5051 
   5052 	if test $found = "no" ; then
   5053 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5054 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5055 		fi
   5056 
   5057 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5058 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5059 		fi
   5060 
   5061 		CFLAGS="$CFLAGS -Wall"
   5062 
   5063 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5064 printf %s "checking if $CC supports -Wall... " >&6; }
   5065 		cacheid=xorg_cv_cc_flag__Wall
   5066 		if eval test \${$cacheid+y}
   5067 then :
   5068   printf %s "(cached) " >&6
   5069 else $as_nop
   5070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5071 /* end confdefs.h.  */
   5072 int i;
   5073 int
   5074 main (void)
   5075 {
   5076 
   5077   ;
   5078   return 0;
   5079 }
   5080 _ACEOF
   5081 if ac_fn_c_try_link "$LINENO"
   5082 then :
   5083   eval $cacheid=yes
   5084 else $as_nop
   5085   eval $cacheid=no
   5086 fi
   5087 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5088     conftest$ac_exeext conftest.$ac_ext
   5089 fi
   5090 
   5091 
   5092 		CFLAGS="$xorg_testset_save_CFLAGS"
   5093 
   5094 		eval supported=\$$cacheid
   5095 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5096 printf "%s\n" "$supported" >&6; }
   5097 		if test "$supported" = "yes" ; then
   5098 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5099 			found="yes"
   5100 		fi
   5101 	fi
   5102 
   5103 
   5104 
   5105 
   5106 
   5107 
   5108 
   5109 
   5110 
   5111 
   5112 
   5113 
   5114 
   5115 
   5116 
   5117 xorg_testset_save_CFLAGS="$CFLAGS"
   5118 
   5119 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5120 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5121 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5122 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5123 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5124 then :
   5125   printf %s "(cached) " >&6
   5126 else $as_nop
   5127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5128 /* end confdefs.h.  */
   5129 int i;
   5130 _ACEOF
   5131 if ac_fn_c_try_compile "$LINENO"
   5132 then :
   5133   xorg_cv_cc_flag_unknown_warning_option=yes
   5134 else $as_nop
   5135   xorg_cv_cc_flag_unknown_warning_option=no
   5136 fi
   5137 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5138 fi
   5139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5140 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5141 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5142 	CFLAGS="$xorg_testset_save_CFLAGS"
   5143 fi
   5144 
   5145 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5146 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5147 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5148 	fi
   5149 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5150 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5151 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5152 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5153 then :
   5154   printf %s "(cached) " >&6
   5155 else $as_nop
   5156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5157 /* end confdefs.h.  */
   5158 int i;
   5159 _ACEOF
   5160 if ac_fn_c_try_compile "$LINENO"
   5161 then :
   5162   xorg_cv_cc_flag_unused_command_line_argument=yes
   5163 else $as_nop
   5164   xorg_cv_cc_flag_unused_command_line_argument=no
   5165 fi
   5166 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5167 fi
   5168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5169 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5170 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5171 	CFLAGS="$xorg_testset_save_CFLAGS"
   5172 fi
   5173 
   5174 found="no"
   5175 
   5176 	if test $found = "no" ; then
   5177 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5178 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5179 		fi
   5180 
   5181 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5182 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5183 		fi
   5184 
   5185 		CFLAGS="$CFLAGS -Wpointer-arith"
   5186 
   5187 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5188 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5189 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5190 		if eval test \${$cacheid+y}
   5191 then :
   5192   printf %s "(cached) " >&6
   5193 else $as_nop
   5194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5195 /* end confdefs.h.  */
   5196 int i;
   5197 int
   5198 main (void)
   5199 {
   5200 
   5201   ;
   5202   return 0;
   5203 }
   5204 _ACEOF
   5205 if ac_fn_c_try_link "$LINENO"
   5206 then :
   5207   eval $cacheid=yes
   5208 else $as_nop
   5209   eval $cacheid=no
   5210 fi
   5211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5212     conftest$ac_exeext conftest.$ac_ext
   5213 fi
   5214 
   5215 
   5216 		CFLAGS="$xorg_testset_save_CFLAGS"
   5217 
   5218 		eval supported=\$$cacheid
   5219 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5220 printf "%s\n" "$supported" >&6; }
   5221 		if test "$supported" = "yes" ; then
   5222 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5223 			found="yes"
   5224 		fi
   5225 	fi
   5226 
   5227 
   5228 
   5229 
   5230 
   5231 
   5232 
   5233 
   5234 
   5235 
   5236 
   5237 
   5238 
   5239 
   5240 
   5241 xorg_testset_save_CFLAGS="$CFLAGS"
   5242 
   5243 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5244 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5245 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5246 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5247 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5248 then :
   5249   printf %s "(cached) " >&6
   5250 else $as_nop
   5251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5252 /* end confdefs.h.  */
   5253 int i;
   5254 _ACEOF
   5255 if ac_fn_c_try_compile "$LINENO"
   5256 then :
   5257   xorg_cv_cc_flag_unknown_warning_option=yes
   5258 else $as_nop
   5259   xorg_cv_cc_flag_unknown_warning_option=no
   5260 fi
   5261 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5262 fi
   5263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5264 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5265 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5266 	CFLAGS="$xorg_testset_save_CFLAGS"
   5267 fi
   5268 
   5269 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5270 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5271 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5272 	fi
   5273 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5274 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5275 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5276 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5277 then :
   5278   printf %s "(cached) " >&6
   5279 else $as_nop
   5280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5281 /* end confdefs.h.  */
   5282 int i;
   5283 _ACEOF
   5284 if ac_fn_c_try_compile "$LINENO"
   5285 then :
   5286   xorg_cv_cc_flag_unused_command_line_argument=yes
   5287 else $as_nop
   5288   xorg_cv_cc_flag_unused_command_line_argument=no
   5289 fi
   5290 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5291 fi
   5292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5293 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5294 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5295 	CFLAGS="$xorg_testset_save_CFLAGS"
   5296 fi
   5297 
   5298 found="no"
   5299 
   5300 	if test $found = "no" ; then
   5301 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5302 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5303 		fi
   5304 
   5305 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5306 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5307 		fi
   5308 
   5309 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5310 
   5311 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5312 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5313 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5314 		if eval test \${$cacheid+y}
   5315 then :
   5316   printf %s "(cached) " >&6
   5317 else $as_nop
   5318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5319 /* end confdefs.h.  */
   5320 int i;
   5321 int
   5322 main (void)
   5323 {
   5324 
   5325   ;
   5326   return 0;
   5327 }
   5328 _ACEOF
   5329 if ac_fn_c_try_link "$LINENO"
   5330 then :
   5331   eval $cacheid=yes
   5332 else $as_nop
   5333   eval $cacheid=no
   5334 fi
   5335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5336     conftest$ac_exeext conftest.$ac_ext
   5337 fi
   5338 
   5339 
   5340 		CFLAGS="$xorg_testset_save_CFLAGS"
   5341 
   5342 		eval supported=\$$cacheid
   5343 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5344 printf "%s\n" "$supported" >&6; }
   5345 		if test "$supported" = "yes" ; then
   5346 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5347 			found="yes"
   5348 		fi
   5349 	fi
   5350 
   5351 
   5352 
   5353 
   5354 
   5355 
   5356 
   5357 
   5358 
   5359 
   5360 
   5361 
   5362 
   5363 
   5364 
   5365 xorg_testset_save_CFLAGS="$CFLAGS"
   5366 
   5367 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5368 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5369 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5370 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5371 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5372 then :
   5373   printf %s "(cached) " >&6
   5374 else $as_nop
   5375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5376 /* end confdefs.h.  */
   5377 int i;
   5378 _ACEOF
   5379 if ac_fn_c_try_compile "$LINENO"
   5380 then :
   5381   xorg_cv_cc_flag_unknown_warning_option=yes
   5382 else $as_nop
   5383   xorg_cv_cc_flag_unknown_warning_option=no
   5384 fi
   5385 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5386 fi
   5387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5388 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5389 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5390 	CFLAGS="$xorg_testset_save_CFLAGS"
   5391 fi
   5392 
   5393 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5394 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5395 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5396 	fi
   5397 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5398 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5399 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5400 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5401 then :
   5402   printf %s "(cached) " >&6
   5403 else $as_nop
   5404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5405 /* end confdefs.h.  */
   5406 int i;
   5407 _ACEOF
   5408 if ac_fn_c_try_compile "$LINENO"
   5409 then :
   5410   xorg_cv_cc_flag_unused_command_line_argument=yes
   5411 else $as_nop
   5412   xorg_cv_cc_flag_unused_command_line_argument=no
   5413 fi
   5414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5415 fi
   5416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5417 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5418 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5419 	CFLAGS="$xorg_testset_save_CFLAGS"
   5420 fi
   5421 
   5422 found="no"
   5423 
   5424 	if test $found = "no" ; then
   5425 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5426 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5427 		fi
   5428 
   5429 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5430 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5431 		fi
   5432 
   5433 		CFLAGS="$CFLAGS -Wformat=2"
   5434 
   5435 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5436 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5437 		cacheid=xorg_cv_cc_flag__Wformat_2
   5438 		if eval test \${$cacheid+y}
   5439 then :
   5440   printf %s "(cached) " >&6
   5441 else $as_nop
   5442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5443 /* end confdefs.h.  */
   5444 int i;
   5445 int
   5446 main (void)
   5447 {
   5448 
   5449   ;
   5450   return 0;
   5451 }
   5452 _ACEOF
   5453 if ac_fn_c_try_link "$LINENO"
   5454 then :
   5455   eval $cacheid=yes
   5456 else $as_nop
   5457   eval $cacheid=no
   5458 fi
   5459 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5460     conftest$ac_exeext conftest.$ac_ext
   5461 fi
   5462 
   5463 
   5464 		CFLAGS="$xorg_testset_save_CFLAGS"
   5465 
   5466 		eval supported=\$$cacheid
   5467 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5468 printf "%s\n" "$supported" >&6; }
   5469 		if test "$supported" = "yes" ; then
   5470 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5471 			found="yes"
   5472 		fi
   5473 	fi
   5474 
   5475 	if test $found = "no" ; then
   5476 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5477 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5478 		fi
   5479 
   5480 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5481 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5482 		fi
   5483 
   5484 		CFLAGS="$CFLAGS -Wformat"
   5485 
   5486 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5487 printf %s "checking if $CC supports -Wformat... " >&6; }
   5488 		cacheid=xorg_cv_cc_flag__Wformat
   5489 		if eval test \${$cacheid+y}
   5490 then :
   5491   printf %s "(cached) " >&6
   5492 else $as_nop
   5493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5494 /* end confdefs.h.  */
   5495 int i;
   5496 int
   5497 main (void)
   5498 {
   5499 
   5500   ;
   5501   return 0;
   5502 }
   5503 _ACEOF
   5504 if ac_fn_c_try_link "$LINENO"
   5505 then :
   5506   eval $cacheid=yes
   5507 else $as_nop
   5508   eval $cacheid=no
   5509 fi
   5510 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5511     conftest$ac_exeext conftest.$ac_ext
   5512 fi
   5513 
   5514 
   5515 		CFLAGS="$xorg_testset_save_CFLAGS"
   5516 
   5517 		eval supported=\$$cacheid
   5518 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5519 printf "%s\n" "$supported" >&6; }
   5520 		if test "$supported" = "yes" ; then
   5521 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5522 			found="yes"
   5523 		fi
   5524 	fi
   5525 
   5526 
   5527 
   5528 
   5529 
   5530 
   5531 
   5532 
   5533 
   5534 
   5535 
   5536 
   5537 
   5538 
   5539 
   5540 
   5541 
   5542 xorg_testset_save_CFLAGS="$CFLAGS"
   5543 
   5544 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5545 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5546 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5547 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5548 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5549 then :
   5550   printf %s "(cached) " >&6
   5551 else $as_nop
   5552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5553 /* end confdefs.h.  */
   5554 int i;
   5555 _ACEOF
   5556 if ac_fn_c_try_compile "$LINENO"
   5557 then :
   5558   xorg_cv_cc_flag_unknown_warning_option=yes
   5559 else $as_nop
   5560   xorg_cv_cc_flag_unknown_warning_option=no
   5561 fi
   5562 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5563 fi
   5564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5565 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5566 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5567 	CFLAGS="$xorg_testset_save_CFLAGS"
   5568 fi
   5569 
   5570 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5571 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5572 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5573 	fi
   5574 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5575 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5576 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5577 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5578 then :
   5579   printf %s "(cached) " >&6
   5580 else $as_nop
   5581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5582 /* end confdefs.h.  */
   5583 int i;
   5584 _ACEOF
   5585 if ac_fn_c_try_compile "$LINENO"
   5586 then :
   5587   xorg_cv_cc_flag_unused_command_line_argument=yes
   5588 else $as_nop
   5589   xorg_cv_cc_flag_unused_command_line_argument=no
   5590 fi
   5591 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5592 fi
   5593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5594 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5595 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5596 	CFLAGS="$xorg_testset_save_CFLAGS"
   5597 fi
   5598 
   5599 found="no"
   5600 
   5601 	if test $found = "no" ; then
   5602 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5603 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5604 		fi
   5605 
   5606 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5607 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5608 		fi
   5609 
   5610 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5611 
   5612 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5613 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5614 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5615 		if eval test \${$cacheid+y}
   5616 then :
   5617   printf %s "(cached) " >&6
   5618 else $as_nop
   5619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5620 /* end confdefs.h.  */
   5621 int i;
   5622 int
   5623 main (void)
   5624 {
   5625 
   5626   ;
   5627   return 0;
   5628 }
   5629 _ACEOF
   5630 if ac_fn_c_try_link "$LINENO"
   5631 then :
   5632   eval $cacheid=yes
   5633 else $as_nop
   5634   eval $cacheid=no
   5635 fi
   5636 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5637     conftest$ac_exeext conftest.$ac_ext
   5638 fi
   5639 
   5640 
   5641 		CFLAGS="$xorg_testset_save_CFLAGS"
   5642 
   5643 		eval supported=\$$cacheid
   5644 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5645 printf "%s\n" "$supported" >&6; }
   5646 		if test "$supported" = "yes" ; then
   5647 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5648 			found="yes"
   5649 		fi
   5650 	fi
   5651 
   5652 
   5653 
   5654 
   5655 
   5656 
   5657 
   5658 
   5659 
   5660 
   5661 
   5662 
   5663 
   5664 
   5665 
   5666 xorg_testset_save_CFLAGS="$CFLAGS"
   5667 
   5668 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5669 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5670 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5671 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5672 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5673 then :
   5674   printf %s "(cached) " >&6
   5675 else $as_nop
   5676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5677 /* end confdefs.h.  */
   5678 int i;
   5679 _ACEOF
   5680 if ac_fn_c_try_compile "$LINENO"
   5681 then :
   5682   xorg_cv_cc_flag_unknown_warning_option=yes
   5683 else $as_nop
   5684   xorg_cv_cc_flag_unknown_warning_option=no
   5685 fi
   5686 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5687 fi
   5688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5689 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5690 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5691 	CFLAGS="$xorg_testset_save_CFLAGS"
   5692 fi
   5693 
   5694 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5695 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5696 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5697 	fi
   5698 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5699 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5700 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5701 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5702 then :
   5703   printf %s "(cached) " >&6
   5704 else $as_nop
   5705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5706 /* end confdefs.h.  */
   5707 int i;
   5708 _ACEOF
   5709 if ac_fn_c_try_compile "$LINENO"
   5710 then :
   5711   xorg_cv_cc_flag_unused_command_line_argument=yes
   5712 else $as_nop
   5713   xorg_cv_cc_flag_unused_command_line_argument=no
   5714 fi
   5715 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5716 fi
   5717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5718 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5719 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5720 	CFLAGS="$xorg_testset_save_CFLAGS"
   5721 fi
   5722 
   5723 found="no"
   5724 
   5725 	if test $found = "no" ; then
   5726 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5727 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5728 		fi
   5729 
   5730 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5731 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5732 		fi
   5733 
   5734 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5735 
   5736 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5737 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5738 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5739 		if eval test \${$cacheid+y}
   5740 then :
   5741   printf %s "(cached) " >&6
   5742 else $as_nop
   5743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5744 /* end confdefs.h.  */
   5745 int i;
   5746 int
   5747 main (void)
   5748 {
   5749 
   5750   ;
   5751   return 0;
   5752 }
   5753 _ACEOF
   5754 if ac_fn_c_try_link "$LINENO"
   5755 then :
   5756   eval $cacheid=yes
   5757 else $as_nop
   5758   eval $cacheid=no
   5759 fi
   5760 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5761     conftest$ac_exeext conftest.$ac_ext
   5762 fi
   5763 
   5764 
   5765 		CFLAGS="$xorg_testset_save_CFLAGS"
   5766 
   5767 		eval supported=\$$cacheid
   5768 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5769 printf "%s\n" "$supported" >&6; }
   5770 		if test "$supported" = "yes" ; then
   5771 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5772 			found="yes"
   5773 		fi
   5774 	fi
   5775 
   5776 
   5777 
   5778 
   5779 
   5780 
   5781 
   5782 
   5783 
   5784 
   5785 
   5786 
   5787 
   5788 
   5789 
   5790 xorg_testset_save_CFLAGS="$CFLAGS"
   5791 
   5792 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5793 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5794 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5795 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5796 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5797 then :
   5798   printf %s "(cached) " >&6
   5799 else $as_nop
   5800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5801 /* end confdefs.h.  */
   5802 int i;
   5803 _ACEOF
   5804 if ac_fn_c_try_compile "$LINENO"
   5805 then :
   5806   xorg_cv_cc_flag_unknown_warning_option=yes
   5807 else $as_nop
   5808   xorg_cv_cc_flag_unknown_warning_option=no
   5809 fi
   5810 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5811 fi
   5812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5813 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5814 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5815 	CFLAGS="$xorg_testset_save_CFLAGS"
   5816 fi
   5817 
   5818 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5819 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5820 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5821 	fi
   5822 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5823 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5824 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5825 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5826 then :
   5827   printf %s "(cached) " >&6
   5828 else $as_nop
   5829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5830 /* end confdefs.h.  */
   5831 int i;
   5832 _ACEOF
   5833 if ac_fn_c_try_compile "$LINENO"
   5834 then :
   5835   xorg_cv_cc_flag_unused_command_line_argument=yes
   5836 else $as_nop
   5837   xorg_cv_cc_flag_unused_command_line_argument=no
   5838 fi
   5839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5840 fi
   5841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5842 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5843 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5844 	CFLAGS="$xorg_testset_save_CFLAGS"
   5845 fi
   5846 
   5847 found="no"
   5848 
   5849 	if test $found = "no" ; then
   5850 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5851 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5852 		fi
   5853 
   5854 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5855 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5856 		fi
   5857 
   5858 		CFLAGS="$CFLAGS -Wnested-externs"
   5859 
   5860 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5861 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5862 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5863 		if eval test \${$cacheid+y}
   5864 then :
   5865   printf %s "(cached) " >&6
   5866 else $as_nop
   5867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5868 /* end confdefs.h.  */
   5869 int i;
   5870 int
   5871 main (void)
   5872 {
   5873 
   5874   ;
   5875   return 0;
   5876 }
   5877 _ACEOF
   5878 if ac_fn_c_try_link "$LINENO"
   5879 then :
   5880   eval $cacheid=yes
   5881 else $as_nop
   5882   eval $cacheid=no
   5883 fi
   5884 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5885     conftest$ac_exeext conftest.$ac_ext
   5886 fi
   5887 
   5888 
   5889 		CFLAGS="$xorg_testset_save_CFLAGS"
   5890 
   5891 		eval supported=\$$cacheid
   5892 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5893 printf "%s\n" "$supported" >&6; }
   5894 		if test "$supported" = "yes" ; then
   5895 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5896 			found="yes"
   5897 		fi
   5898 	fi
   5899 
   5900 
   5901 
   5902 
   5903 
   5904 
   5905 
   5906 
   5907 
   5908 
   5909 
   5910 
   5911 
   5912 
   5913 
   5914 xorg_testset_save_CFLAGS="$CFLAGS"
   5915 
   5916 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5917 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5918 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5919 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5920 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5921 then :
   5922   printf %s "(cached) " >&6
   5923 else $as_nop
   5924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5925 /* end confdefs.h.  */
   5926 int i;
   5927 _ACEOF
   5928 if ac_fn_c_try_compile "$LINENO"
   5929 then :
   5930   xorg_cv_cc_flag_unknown_warning_option=yes
   5931 else $as_nop
   5932   xorg_cv_cc_flag_unknown_warning_option=no
   5933 fi
   5934 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5935 fi
   5936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5937 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5938 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5939 	CFLAGS="$xorg_testset_save_CFLAGS"
   5940 fi
   5941 
   5942 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5943 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5944 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5945 	fi
   5946 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5947 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5948 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5949 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5950 then :
   5951   printf %s "(cached) " >&6
   5952 else $as_nop
   5953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5954 /* end confdefs.h.  */
   5955 int i;
   5956 _ACEOF
   5957 if ac_fn_c_try_compile "$LINENO"
   5958 then :
   5959   xorg_cv_cc_flag_unused_command_line_argument=yes
   5960 else $as_nop
   5961   xorg_cv_cc_flag_unused_command_line_argument=no
   5962 fi
   5963 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5964 fi
   5965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5966 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5967 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5968 	CFLAGS="$xorg_testset_save_CFLAGS"
   5969 fi
   5970 
   5971 found="no"
   5972 
   5973 	if test $found = "no" ; then
   5974 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5975 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5976 		fi
   5977 
   5978 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5979 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5980 		fi
   5981 
   5982 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5983 
   5984 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5985 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   5986 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5987 		if eval test \${$cacheid+y}
   5988 then :
   5989   printf %s "(cached) " >&6
   5990 else $as_nop
   5991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5992 /* end confdefs.h.  */
   5993 int i;
   5994 int
   5995 main (void)
   5996 {
   5997 
   5998   ;
   5999   return 0;
   6000 }
   6001 _ACEOF
   6002 if ac_fn_c_try_link "$LINENO"
   6003 then :
   6004   eval $cacheid=yes
   6005 else $as_nop
   6006   eval $cacheid=no
   6007 fi
   6008 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6009     conftest$ac_exeext conftest.$ac_ext
   6010 fi
   6011 
   6012 
   6013 		CFLAGS="$xorg_testset_save_CFLAGS"
   6014 
   6015 		eval supported=\$$cacheid
   6016 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6017 printf "%s\n" "$supported" >&6; }
   6018 		if test "$supported" = "yes" ; then
   6019 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6020 			found="yes"
   6021 		fi
   6022 	fi
   6023 
   6024 
   6025 
   6026 
   6027 
   6028 
   6029 
   6030 
   6031 
   6032 
   6033 
   6034 
   6035 
   6036 
   6037 
   6038 xorg_testset_save_CFLAGS="$CFLAGS"
   6039 
   6040 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6041 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6042 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6043 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6044 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6045 then :
   6046   printf %s "(cached) " >&6
   6047 else $as_nop
   6048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6049 /* end confdefs.h.  */
   6050 int i;
   6051 _ACEOF
   6052 if ac_fn_c_try_compile "$LINENO"
   6053 then :
   6054   xorg_cv_cc_flag_unknown_warning_option=yes
   6055 else $as_nop
   6056   xorg_cv_cc_flag_unknown_warning_option=no
   6057 fi
   6058 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6059 fi
   6060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6061 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6062 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6063 	CFLAGS="$xorg_testset_save_CFLAGS"
   6064 fi
   6065 
   6066 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6067 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6068 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6069 	fi
   6070 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6071 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6072 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6073 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6074 then :
   6075   printf %s "(cached) " >&6
   6076 else $as_nop
   6077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6078 /* end confdefs.h.  */
   6079 int i;
   6080 _ACEOF
   6081 if ac_fn_c_try_compile "$LINENO"
   6082 then :
   6083   xorg_cv_cc_flag_unused_command_line_argument=yes
   6084 else $as_nop
   6085   xorg_cv_cc_flag_unused_command_line_argument=no
   6086 fi
   6087 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6088 fi
   6089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6090 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6091 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6092 	CFLAGS="$xorg_testset_save_CFLAGS"
   6093 fi
   6094 
   6095 found="no"
   6096 
   6097 	if test $found = "no" ; then
   6098 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6099 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6100 		fi
   6101 
   6102 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6103 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6104 		fi
   6105 
   6106 		CFLAGS="$CFLAGS -Wold-style-definition"
   6107 
   6108 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6109 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6110 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6111 		if eval test \${$cacheid+y}
   6112 then :
   6113   printf %s "(cached) " >&6
   6114 else $as_nop
   6115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6116 /* end confdefs.h.  */
   6117 int i;
   6118 int
   6119 main (void)
   6120 {
   6121 
   6122   ;
   6123   return 0;
   6124 }
   6125 _ACEOF
   6126 if ac_fn_c_try_link "$LINENO"
   6127 then :
   6128   eval $cacheid=yes
   6129 else $as_nop
   6130   eval $cacheid=no
   6131 fi
   6132 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6133     conftest$ac_exeext conftest.$ac_ext
   6134 fi
   6135 
   6136 
   6137 		CFLAGS="$xorg_testset_save_CFLAGS"
   6138 
   6139 		eval supported=\$$cacheid
   6140 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6141 printf "%s\n" "$supported" >&6; }
   6142 		if test "$supported" = "yes" ; then
   6143 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6144 			found="yes"
   6145 		fi
   6146 	fi
   6147 
   6148 	if test $found = "no" ; then
   6149 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6150 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6151 		fi
   6152 
   6153 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6154 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6155 		fi
   6156 
   6157 		CFLAGS="$CFLAGS -fd"
   6158 
   6159 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6160 printf %s "checking if $CC supports -fd... " >&6; }
   6161 		cacheid=xorg_cv_cc_flag__fd
   6162 		if eval test \${$cacheid+y}
   6163 then :
   6164   printf %s "(cached) " >&6
   6165 else $as_nop
   6166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6167 /* end confdefs.h.  */
   6168 int i;
   6169 int
   6170 main (void)
   6171 {
   6172 
   6173   ;
   6174   return 0;
   6175 }
   6176 _ACEOF
   6177 if ac_fn_c_try_link "$LINENO"
   6178 then :
   6179   eval $cacheid=yes
   6180 else $as_nop
   6181   eval $cacheid=no
   6182 fi
   6183 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6184     conftest$ac_exeext conftest.$ac_ext
   6185 fi
   6186 
   6187 
   6188 		CFLAGS="$xorg_testset_save_CFLAGS"
   6189 
   6190 		eval supported=\$$cacheid
   6191 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6192 printf "%s\n" "$supported" >&6; }
   6193 		if test "$supported" = "yes" ; then
   6194 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6195 			found="yes"
   6196 		fi
   6197 	fi
   6198 
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 xorg_testset_save_CFLAGS="$CFLAGS"
   6214 
   6215 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6216 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6217 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6218 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6219 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6220 then :
   6221   printf %s "(cached) " >&6
   6222 else $as_nop
   6223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6224 /* end confdefs.h.  */
   6225 int i;
   6226 _ACEOF
   6227 if ac_fn_c_try_compile "$LINENO"
   6228 then :
   6229   xorg_cv_cc_flag_unknown_warning_option=yes
   6230 else $as_nop
   6231   xorg_cv_cc_flag_unknown_warning_option=no
   6232 fi
   6233 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6234 fi
   6235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6236 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6237 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6238 	CFLAGS="$xorg_testset_save_CFLAGS"
   6239 fi
   6240 
   6241 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6242 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6243 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6244 	fi
   6245 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6246 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6247 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6248 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6249 then :
   6250   printf %s "(cached) " >&6
   6251 else $as_nop
   6252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6253 /* end confdefs.h.  */
   6254 int i;
   6255 _ACEOF
   6256 if ac_fn_c_try_compile "$LINENO"
   6257 then :
   6258   xorg_cv_cc_flag_unused_command_line_argument=yes
   6259 else $as_nop
   6260   xorg_cv_cc_flag_unused_command_line_argument=no
   6261 fi
   6262 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6263 fi
   6264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6265 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6266 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6267 	CFLAGS="$xorg_testset_save_CFLAGS"
   6268 fi
   6269 
   6270 found="no"
   6271 
   6272 	if test $found = "no" ; then
   6273 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6274 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6275 		fi
   6276 
   6277 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6278 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6279 		fi
   6280 
   6281 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6282 
   6283 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6284 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6285 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6286 		if eval test \${$cacheid+y}
   6287 then :
   6288   printf %s "(cached) " >&6
   6289 else $as_nop
   6290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6291 /* end confdefs.h.  */
   6292 int i;
   6293 int
   6294 main (void)
   6295 {
   6296 
   6297   ;
   6298   return 0;
   6299 }
   6300 _ACEOF
   6301 if ac_fn_c_try_link "$LINENO"
   6302 then :
   6303   eval $cacheid=yes
   6304 else $as_nop
   6305   eval $cacheid=no
   6306 fi
   6307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6308     conftest$ac_exeext conftest.$ac_ext
   6309 fi
   6310 
   6311 
   6312 		CFLAGS="$xorg_testset_save_CFLAGS"
   6313 
   6314 		eval supported=\$$cacheid
   6315 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6316 printf "%s\n" "$supported" >&6; }
   6317 		if test "$supported" = "yes" ; then
   6318 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6319 			found="yes"
   6320 		fi
   6321 	fi
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 # This chunk adds additional warnings that could catch undesired effects.
   6328 
   6329 
   6330 
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 xorg_testset_save_CFLAGS="$CFLAGS"
   6342 
   6343 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6344 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6345 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6346 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6347 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6348 then :
   6349   printf %s "(cached) " >&6
   6350 else $as_nop
   6351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6352 /* end confdefs.h.  */
   6353 int i;
   6354 _ACEOF
   6355 if ac_fn_c_try_compile "$LINENO"
   6356 then :
   6357   xorg_cv_cc_flag_unknown_warning_option=yes
   6358 else $as_nop
   6359   xorg_cv_cc_flag_unknown_warning_option=no
   6360 fi
   6361 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6362 fi
   6363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6364 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6365 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6366 	CFLAGS="$xorg_testset_save_CFLAGS"
   6367 fi
   6368 
   6369 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6370 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6371 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6372 	fi
   6373 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6374 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6375 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6376 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6377 then :
   6378   printf %s "(cached) " >&6
   6379 else $as_nop
   6380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6381 /* end confdefs.h.  */
   6382 int i;
   6383 _ACEOF
   6384 if ac_fn_c_try_compile "$LINENO"
   6385 then :
   6386   xorg_cv_cc_flag_unused_command_line_argument=yes
   6387 else $as_nop
   6388   xorg_cv_cc_flag_unused_command_line_argument=no
   6389 fi
   6390 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6391 fi
   6392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6393 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6394 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6395 	CFLAGS="$xorg_testset_save_CFLAGS"
   6396 fi
   6397 
   6398 found="no"
   6399 
   6400 	if test $found = "no" ; then
   6401 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6402 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6403 		fi
   6404 
   6405 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6406 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6407 		fi
   6408 
   6409 		CFLAGS="$CFLAGS -Wunused"
   6410 
   6411 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6412 printf %s "checking if $CC supports -Wunused... " >&6; }
   6413 		cacheid=xorg_cv_cc_flag__Wunused
   6414 		if eval test \${$cacheid+y}
   6415 then :
   6416   printf %s "(cached) " >&6
   6417 else $as_nop
   6418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6419 /* end confdefs.h.  */
   6420 int i;
   6421 int
   6422 main (void)
   6423 {
   6424 
   6425   ;
   6426   return 0;
   6427 }
   6428 _ACEOF
   6429 if ac_fn_c_try_link "$LINENO"
   6430 then :
   6431   eval $cacheid=yes
   6432 else $as_nop
   6433   eval $cacheid=no
   6434 fi
   6435 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6436     conftest$ac_exeext conftest.$ac_ext
   6437 fi
   6438 
   6439 
   6440 		CFLAGS="$xorg_testset_save_CFLAGS"
   6441 
   6442 		eval supported=\$$cacheid
   6443 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6444 printf "%s\n" "$supported" >&6; }
   6445 		if test "$supported" = "yes" ; then
   6446 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6447 			found="yes"
   6448 		fi
   6449 	fi
   6450 
   6451 
   6452 
   6453 
   6454 
   6455 
   6456 
   6457 
   6458 
   6459 
   6460 
   6461 
   6462 
   6463 
   6464 
   6465 xorg_testset_save_CFLAGS="$CFLAGS"
   6466 
   6467 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6468 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6469 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6470 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6471 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6472 then :
   6473   printf %s "(cached) " >&6
   6474 else $as_nop
   6475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6476 /* end confdefs.h.  */
   6477 int i;
   6478 _ACEOF
   6479 if ac_fn_c_try_compile "$LINENO"
   6480 then :
   6481   xorg_cv_cc_flag_unknown_warning_option=yes
   6482 else $as_nop
   6483   xorg_cv_cc_flag_unknown_warning_option=no
   6484 fi
   6485 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6486 fi
   6487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6488 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6489 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6490 	CFLAGS="$xorg_testset_save_CFLAGS"
   6491 fi
   6492 
   6493 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6494 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6495 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6496 	fi
   6497 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6498 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6499 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6500 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6501 then :
   6502   printf %s "(cached) " >&6
   6503 else $as_nop
   6504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6505 /* end confdefs.h.  */
   6506 int i;
   6507 _ACEOF
   6508 if ac_fn_c_try_compile "$LINENO"
   6509 then :
   6510   xorg_cv_cc_flag_unused_command_line_argument=yes
   6511 else $as_nop
   6512   xorg_cv_cc_flag_unused_command_line_argument=no
   6513 fi
   6514 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6515 fi
   6516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6517 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6518 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6519 	CFLAGS="$xorg_testset_save_CFLAGS"
   6520 fi
   6521 
   6522 found="no"
   6523 
   6524 	if test $found = "no" ; then
   6525 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6526 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6527 		fi
   6528 
   6529 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6530 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6531 		fi
   6532 
   6533 		CFLAGS="$CFLAGS -Wuninitialized"
   6534 
   6535 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6536 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6537 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6538 		if eval test \${$cacheid+y}
   6539 then :
   6540   printf %s "(cached) " >&6
   6541 else $as_nop
   6542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6543 /* end confdefs.h.  */
   6544 int i;
   6545 int
   6546 main (void)
   6547 {
   6548 
   6549   ;
   6550   return 0;
   6551 }
   6552 _ACEOF
   6553 if ac_fn_c_try_link "$LINENO"
   6554 then :
   6555   eval $cacheid=yes
   6556 else $as_nop
   6557   eval $cacheid=no
   6558 fi
   6559 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6560     conftest$ac_exeext conftest.$ac_ext
   6561 fi
   6562 
   6563 
   6564 		CFLAGS="$xorg_testset_save_CFLAGS"
   6565 
   6566 		eval supported=\$$cacheid
   6567 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6568 printf "%s\n" "$supported" >&6; }
   6569 		if test "$supported" = "yes" ; then
   6570 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6571 			found="yes"
   6572 		fi
   6573 	fi
   6574 
   6575 
   6576 
   6577 
   6578 
   6579 
   6580 
   6581 
   6582 
   6583 
   6584 
   6585 
   6586 
   6587 
   6588 
   6589 xorg_testset_save_CFLAGS="$CFLAGS"
   6590 
   6591 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6592 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6593 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6594 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6595 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6596 then :
   6597   printf %s "(cached) " >&6
   6598 else $as_nop
   6599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6600 /* end confdefs.h.  */
   6601 int i;
   6602 _ACEOF
   6603 if ac_fn_c_try_compile "$LINENO"
   6604 then :
   6605   xorg_cv_cc_flag_unknown_warning_option=yes
   6606 else $as_nop
   6607   xorg_cv_cc_flag_unknown_warning_option=no
   6608 fi
   6609 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6610 fi
   6611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6612 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6613 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6614 	CFLAGS="$xorg_testset_save_CFLAGS"
   6615 fi
   6616 
   6617 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6618 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6619 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6620 	fi
   6621 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6622 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6623 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6624 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6625 then :
   6626   printf %s "(cached) " >&6
   6627 else $as_nop
   6628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6629 /* end confdefs.h.  */
   6630 int i;
   6631 _ACEOF
   6632 if ac_fn_c_try_compile "$LINENO"
   6633 then :
   6634   xorg_cv_cc_flag_unused_command_line_argument=yes
   6635 else $as_nop
   6636   xorg_cv_cc_flag_unused_command_line_argument=no
   6637 fi
   6638 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6639 fi
   6640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6641 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6642 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6643 	CFLAGS="$xorg_testset_save_CFLAGS"
   6644 fi
   6645 
   6646 found="no"
   6647 
   6648 	if test $found = "no" ; then
   6649 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6650 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6651 		fi
   6652 
   6653 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6654 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6655 		fi
   6656 
   6657 		CFLAGS="$CFLAGS -Wshadow"
   6658 
   6659 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6660 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6661 		cacheid=xorg_cv_cc_flag__Wshadow
   6662 		if eval test \${$cacheid+y}
   6663 then :
   6664   printf %s "(cached) " >&6
   6665 else $as_nop
   6666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6667 /* end confdefs.h.  */
   6668 int i;
   6669 int
   6670 main (void)
   6671 {
   6672 
   6673   ;
   6674   return 0;
   6675 }
   6676 _ACEOF
   6677 if ac_fn_c_try_link "$LINENO"
   6678 then :
   6679   eval $cacheid=yes
   6680 else $as_nop
   6681   eval $cacheid=no
   6682 fi
   6683 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6684     conftest$ac_exeext conftest.$ac_ext
   6685 fi
   6686 
   6687 
   6688 		CFLAGS="$xorg_testset_save_CFLAGS"
   6689 
   6690 		eval supported=\$$cacheid
   6691 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6692 printf "%s\n" "$supported" >&6; }
   6693 		if test "$supported" = "yes" ; then
   6694 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6695 			found="yes"
   6696 		fi
   6697 	fi
   6698 
   6699 
   6700 
   6701 
   6702 
   6703 
   6704 
   6705 
   6706 
   6707 
   6708 
   6709 
   6710 
   6711 
   6712 
   6713 xorg_testset_save_CFLAGS="$CFLAGS"
   6714 
   6715 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6716 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6717 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6718 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6719 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6720 then :
   6721   printf %s "(cached) " >&6
   6722 else $as_nop
   6723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6724 /* end confdefs.h.  */
   6725 int i;
   6726 _ACEOF
   6727 if ac_fn_c_try_compile "$LINENO"
   6728 then :
   6729   xorg_cv_cc_flag_unknown_warning_option=yes
   6730 else $as_nop
   6731   xorg_cv_cc_flag_unknown_warning_option=no
   6732 fi
   6733 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6734 fi
   6735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6736 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6737 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6738 	CFLAGS="$xorg_testset_save_CFLAGS"
   6739 fi
   6740 
   6741 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6742 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6743 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6744 	fi
   6745 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6746 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6747 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6748 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6749 then :
   6750   printf %s "(cached) " >&6
   6751 else $as_nop
   6752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6753 /* end confdefs.h.  */
   6754 int i;
   6755 _ACEOF
   6756 if ac_fn_c_try_compile "$LINENO"
   6757 then :
   6758   xorg_cv_cc_flag_unused_command_line_argument=yes
   6759 else $as_nop
   6760   xorg_cv_cc_flag_unused_command_line_argument=no
   6761 fi
   6762 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6763 fi
   6764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6765 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6766 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6767 	CFLAGS="$xorg_testset_save_CFLAGS"
   6768 fi
   6769 
   6770 found="no"
   6771 
   6772 	if test $found = "no" ; then
   6773 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6774 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6775 		fi
   6776 
   6777 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6778 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6779 		fi
   6780 
   6781 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6782 
   6783 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6784 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6785 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6786 		if eval test \${$cacheid+y}
   6787 then :
   6788   printf %s "(cached) " >&6
   6789 else $as_nop
   6790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6791 /* end confdefs.h.  */
   6792 int i;
   6793 int
   6794 main (void)
   6795 {
   6796 
   6797   ;
   6798   return 0;
   6799 }
   6800 _ACEOF
   6801 if ac_fn_c_try_link "$LINENO"
   6802 then :
   6803   eval $cacheid=yes
   6804 else $as_nop
   6805   eval $cacheid=no
   6806 fi
   6807 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6808     conftest$ac_exeext conftest.$ac_ext
   6809 fi
   6810 
   6811 
   6812 		CFLAGS="$xorg_testset_save_CFLAGS"
   6813 
   6814 		eval supported=\$$cacheid
   6815 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6816 printf "%s\n" "$supported" >&6; }
   6817 		if test "$supported" = "yes" ; then
   6818 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6819 			found="yes"
   6820 		fi
   6821 	fi
   6822 
   6823 
   6824 
   6825 
   6826 
   6827 
   6828 
   6829 
   6830 
   6831 
   6832 
   6833 
   6834 
   6835 
   6836 
   6837 xorg_testset_save_CFLAGS="$CFLAGS"
   6838 
   6839 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6840 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6841 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6842 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6843 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6844 then :
   6845   printf %s "(cached) " >&6
   6846 else $as_nop
   6847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6848 /* end confdefs.h.  */
   6849 int i;
   6850 _ACEOF
   6851 if ac_fn_c_try_compile "$LINENO"
   6852 then :
   6853   xorg_cv_cc_flag_unknown_warning_option=yes
   6854 else $as_nop
   6855   xorg_cv_cc_flag_unknown_warning_option=no
   6856 fi
   6857 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6858 fi
   6859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6860 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6861 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6862 	CFLAGS="$xorg_testset_save_CFLAGS"
   6863 fi
   6864 
   6865 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6866 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6867 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6868 	fi
   6869 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6870 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6871 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6872 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6873 then :
   6874   printf %s "(cached) " >&6
   6875 else $as_nop
   6876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6877 /* end confdefs.h.  */
   6878 int i;
   6879 _ACEOF
   6880 if ac_fn_c_try_compile "$LINENO"
   6881 then :
   6882   xorg_cv_cc_flag_unused_command_line_argument=yes
   6883 else $as_nop
   6884   xorg_cv_cc_flag_unused_command_line_argument=no
   6885 fi
   6886 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6887 fi
   6888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6889 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6890 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6891 	CFLAGS="$xorg_testset_save_CFLAGS"
   6892 fi
   6893 
   6894 found="no"
   6895 
   6896 	if test $found = "no" ; then
   6897 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6898 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6899 		fi
   6900 
   6901 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6902 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6903 		fi
   6904 
   6905 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6906 
   6907 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6908 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6909 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6910 		if eval test \${$cacheid+y}
   6911 then :
   6912   printf %s "(cached) " >&6
   6913 else $as_nop
   6914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6915 /* end confdefs.h.  */
   6916 int i;
   6917 int
   6918 main (void)
   6919 {
   6920 
   6921   ;
   6922   return 0;
   6923 }
   6924 _ACEOF
   6925 if ac_fn_c_try_link "$LINENO"
   6926 then :
   6927   eval $cacheid=yes
   6928 else $as_nop
   6929   eval $cacheid=no
   6930 fi
   6931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6932     conftest$ac_exeext conftest.$ac_ext
   6933 fi
   6934 
   6935 
   6936 		CFLAGS="$xorg_testset_save_CFLAGS"
   6937 
   6938 		eval supported=\$$cacheid
   6939 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6940 printf "%s\n" "$supported" >&6; }
   6941 		if test "$supported" = "yes" ; then
   6942 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6943 			found="yes"
   6944 		fi
   6945 	fi
   6946 
   6947 
   6948 
   6949 
   6950 
   6951 
   6952 
   6953 
   6954 
   6955 
   6956 
   6957 
   6958 
   6959 
   6960 
   6961 xorg_testset_save_CFLAGS="$CFLAGS"
   6962 
   6963 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6964 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6965 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6966 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6967 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6968 then :
   6969   printf %s "(cached) " >&6
   6970 else $as_nop
   6971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6972 /* end confdefs.h.  */
   6973 int i;
   6974 _ACEOF
   6975 if ac_fn_c_try_compile "$LINENO"
   6976 then :
   6977   xorg_cv_cc_flag_unknown_warning_option=yes
   6978 else $as_nop
   6979   xorg_cv_cc_flag_unknown_warning_option=no
   6980 fi
   6981 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6982 fi
   6983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6984 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6985 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6986 	CFLAGS="$xorg_testset_save_CFLAGS"
   6987 fi
   6988 
   6989 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6990 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6991 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6992 	fi
   6993 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6994 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6995 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6996 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6997 then :
   6998   printf %s "(cached) " >&6
   6999 else $as_nop
   7000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7001 /* end confdefs.h.  */
   7002 int i;
   7003 _ACEOF
   7004 if ac_fn_c_try_compile "$LINENO"
   7005 then :
   7006   xorg_cv_cc_flag_unused_command_line_argument=yes
   7007 else $as_nop
   7008   xorg_cv_cc_flag_unused_command_line_argument=no
   7009 fi
   7010 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7011 fi
   7012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7013 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7014 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7015 	CFLAGS="$xorg_testset_save_CFLAGS"
   7016 fi
   7017 
   7018 found="no"
   7019 
   7020 	if test $found = "no" ; then
   7021 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7022 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7023 		fi
   7024 
   7025 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7026 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7027 		fi
   7028 
   7029 		CFLAGS="$CFLAGS -Wredundant-decls"
   7030 
   7031 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7032 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7033 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7034 		if eval test \${$cacheid+y}
   7035 then :
   7036   printf %s "(cached) " >&6
   7037 else $as_nop
   7038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7039 /* end confdefs.h.  */
   7040 int i;
   7041 int
   7042 main (void)
   7043 {
   7044 
   7045   ;
   7046   return 0;
   7047 }
   7048 _ACEOF
   7049 if ac_fn_c_try_link "$LINENO"
   7050 then :
   7051   eval $cacheid=yes
   7052 else $as_nop
   7053   eval $cacheid=no
   7054 fi
   7055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7056     conftest$ac_exeext conftest.$ac_ext
   7057 fi
   7058 
   7059 
   7060 		CFLAGS="$xorg_testset_save_CFLAGS"
   7061 
   7062 		eval supported=\$$cacheid
   7063 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7064 printf "%s\n" "$supported" >&6; }
   7065 		if test "$supported" = "yes" ; then
   7066 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7067 			found="yes"
   7068 		fi
   7069 	fi
   7070 
   7071 
   7072 
   7073 
   7074 
   7075 
   7076 
   7077 
   7078 
   7079 
   7080 
   7081 
   7082 
   7083 
   7084 
   7085 xorg_testset_save_CFLAGS="$CFLAGS"
   7086 
   7087 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7088 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7089 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7090 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7091 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7092 then :
   7093   printf %s "(cached) " >&6
   7094 else $as_nop
   7095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7096 /* end confdefs.h.  */
   7097 int i;
   7098 _ACEOF
   7099 if ac_fn_c_try_compile "$LINENO"
   7100 then :
   7101   xorg_cv_cc_flag_unknown_warning_option=yes
   7102 else $as_nop
   7103   xorg_cv_cc_flag_unknown_warning_option=no
   7104 fi
   7105 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7106 fi
   7107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7108 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7109 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7110 	CFLAGS="$xorg_testset_save_CFLAGS"
   7111 fi
   7112 
   7113 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7114 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7115 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7116 	fi
   7117 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7118 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7119 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7120 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7121 then :
   7122   printf %s "(cached) " >&6
   7123 else $as_nop
   7124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7125 /* end confdefs.h.  */
   7126 int i;
   7127 _ACEOF
   7128 if ac_fn_c_try_compile "$LINENO"
   7129 then :
   7130   xorg_cv_cc_flag_unused_command_line_argument=yes
   7131 else $as_nop
   7132   xorg_cv_cc_flag_unused_command_line_argument=no
   7133 fi
   7134 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7135 fi
   7136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7137 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7138 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7139 	CFLAGS="$xorg_testset_save_CFLAGS"
   7140 fi
   7141 
   7142 found="no"
   7143 
   7144 	if test $found = "no" ; then
   7145 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7146 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7147 		fi
   7148 
   7149 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7150 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7151 		fi
   7152 
   7153 		CFLAGS="$CFLAGS -Wlogical-op"
   7154 
   7155 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7156 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7157 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7158 		if eval test \${$cacheid+y}
   7159 then :
   7160   printf %s "(cached) " >&6
   7161 else $as_nop
   7162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7163 /* end confdefs.h.  */
   7164 int i;
   7165 int
   7166 main (void)
   7167 {
   7168 
   7169   ;
   7170   return 0;
   7171 }
   7172 _ACEOF
   7173 if ac_fn_c_try_link "$LINENO"
   7174 then :
   7175   eval $cacheid=yes
   7176 else $as_nop
   7177   eval $cacheid=no
   7178 fi
   7179 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7180     conftest$ac_exeext conftest.$ac_ext
   7181 fi
   7182 
   7183 
   7184 		CFLAGS="$xorg_testset_save_CFLAGS"
   7185 
   7186 		eval supported=\$$cacheid
   7187 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7188 printf "%s\n" "$supported" >&6; }
   7189 		if test "$supported" = "yes" ; then
   7190 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7191 			found="yes"
   7192 		fi
   7193 	fi
   7194 
   7195 
   7196 
   7197 # These are currently disabled because they are noisy.  They will be enabled
   7198 # in the future once the codebase is sufficiently modernized to silence
   7199 # them.  For now, I don't want them to drown out the other warnings.
   7200 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7201 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7202 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7203 
   7204 # Turn some warnings into errors, so we don't accidentally get successful builds
   7205 # when there are problems that should be fixed.
   7206 
   7207 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7208 
   7209 
   7210 
   7211 
   7212 
   7213 
   7214 
   7215 
   7216 
   7217 
   7218 
   7219 
   7220 
   7221 xorg_testset_save_CFLAGS="$CFLAGS"
   7222 
   7223 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7224 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7225 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7226 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7227 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7228 then :
   7229   printf %s "(cached) " >&6
   7230 else $as_nop
   7231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7232 /* end confdefs.h.  */
   7233 int i;
   7234 _ACEOF
   7235 if ac_fn_c_try_compile "$LINENO"
   7236 then :
   7237   xorg_cv_cc_flag_unknown_warning_option=yes
   7238 else $as_nop
   7239   xorg_cv_cc_flag_unknown_warning_option=no
   7240 fi
   7241 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7242 fi
   7243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7244 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7245 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7246 	CFLAGS="$xorg_testset_save_CFLAGS"
   7247 fi
   7248 
   7249 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7250 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7251 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7252 	fi
   7253 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7254 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7255 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7256 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7257 then :
   7258   printf %s "(cached) " >&6
   7259 else $as_nop
   7260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7261 /* end confdefs.h.  */
   7262 int i;
   7263 _ACEOF
   7264 if ac_fn_c_try_compile "$LINENO"
   7265 then :
   7266   xorg_cv_cc_flag_unused_command_line_argument=yes
   7267 else $as_nop
   7268   xorg_cv_cc_flag_unused_command_line_argument=no
   7269 fi
   7270 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7271 fi
   7272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7273 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7274 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7275 	CFLAGS="$xorg_testset_save_CFLAGS"
   7276 fi
   7277 
   7278 found="no"
   7279 
   7280 	if test $found = "no" ; then
   7281 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7282 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7283 		fi
   7284 
   7285 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7286 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7287 		fi
   7288 
   7289 		CFLAGS="$CFLAGS -Werror=implicit"
   7290 
   7291 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7292 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7293 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7294 		if eval test \${$cacheid+y}
   7295 then :
   7296   printf %s "(cached) " >&6
   7297 else $as_nop
   7298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7299 /* end confdefs.h.  */
   7300 int i;
   7301 int
   7302 main (void)
   7303 {
   7304 
   7305   ;
   7306   return 0;
   7307 }
   7308 _ACEOF
   7309 if ac_fn_c_try_link "$LINENO"
   7310 then :
   7311   eval $cacheid=yes
   7312 else $as_nop
   7313   eval $cacheid=no
   7314 fi
   7315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7316     conftest$ac_exeext conftest.$ac_ext
   7317 fi
   7318 
   7319 
   7320 		CFLAGS="$xorg_testset_save_CFLAGS"
   7321 
   7322 		eval supported=\$$cacheid
   7323 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7324 printf "%s\n" "$supported" >&6; }
   7325 		if test "$supported" = "yes" ; then
   7326 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7327 			found="yes"
   7328 		fi
   7329 	fi
   7330 
   7331 	if test $found = "no" ; then
   7332 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7333 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7334 		fi
   7335 
   7336 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7337 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7338 		fi
   7339 
   7340 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7341 
   7342 		{ 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
   7343 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7344 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7345 		if eval test \${$cacheid+y}
   7346 then :
   7347   printf %s "(cached) " >&6
   7348 else $as_nop
   7349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7350 /* end confdefs.h.  */
   7351 int i;
   7352 int
   7353 main (void)
   7354 {
   7355 
   7356   ;
   7357   return 0;
   7358 }
   7359 _ACEOF
   7360 if ac_fn_c_try_link "$LINENO"
   7361 then :
   7362   eval $cacheid=yes
   7363 else $as_nop
   7364   eval $cacheid=no
   7365 fi
   7366 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7367     conftest$ac_exeext conftest.$ac_ext
   7368 fi
   7369 
   7370 
   7371 		CFLAGS="$xorg_testset_save_CFLAGS"
   7372 
   7373 		eval supported=\$$cacheid
   7374 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7375 printf "%s\n" "$supported" >&6; }
   7376 		if test "$supported" = "yes" ; then
   7377 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7378 			found="yes"
   7379 		fi
   7380 	fi
   7381 
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 
   7393 
   7394 
   7395 
   7396 xorg_testset_save_CFLAGS="$CFLAGS"
   7397 
   7398 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7399 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7400 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7401 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7402 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7403 then :
   7404   printf %s "(cached) " >&6
   7405 else $as_nop
   7406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7407 /* end confdefs.h.  */
   7408 int i;
   7409 _ACEOF
   7410 if ac_fn_c_try_compile "$LINENO"
   7411 then :
   7412   xorg_cv_cc_flag_unknown_warning_option=yes
   7413 else $as_nop
   7414   xorg_cv_cc_flag_unknown_warning_option=no
   7415 fi
   7416 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7417 fi
   7418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7419 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7420 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7421 	CFLAGS="$xorg_testset_save_CFLAGS"
   7422 fi
   7423 
   7424 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7425 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7426 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7427 	fi
   7428 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7429 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7430 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7431 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7432 then :
   7433   printf %s "(cached) " >&6
   7434 else $as_nop
   7435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7436 /* end confdefs.h.  */
   7437 int i;
   7438 _ACEOF
   7439 if ac_fn_c_try_compile "$LINENO"
   7440 then :
   7441   xorg_cv_cc_flag_unused_command_line_argument=yes
   7442 else $as_nop
   7443   xorg_cv_cc_flag_unused_command_line_argument=no
   7444 fi
   7445 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7446 fi
   7447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7448 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7449 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7450 	CFLAGS="$xorg_testset_save_CFLAGS"
   7451 fi
   7452 
   7453 found="no"
   7454 
   7455 	if test $found = "no" ; then
   7456 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7457 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7458 		fi
   7459 
   7460 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7461 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7462 		fi
   7463 
   7464 		CFLAGS="$CFLAGS -Werror=nonnull"
   7465 
   7466 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7467 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7468 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7469 		if eval test \${$cacheid+y}
   7470 then :
   7471   printf %s "(cached) " >&6
   7472 else $as_nop
   7473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7474 /* end confdefs.h.  */
   7475 int i;
   7476 int
   7477 main (void)
   7478 {
   7479 
   7480   ;
   7481   return 0;
   7482 }
   7483 _ACEOF
   7484 if ac_fn_c_try_link "$LINENO"
   7485 then :
   7486   eval $cacheid=yes
   7487 else $as_nop
   7488   eval $cacheid=no
   7489 fi
   7490 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7491     conftest$ac_exeext conftest.$ac_ext
   7492 fi
   7493 
   7494 
   7495 		CFLAGS="$xorg_testset_save_CFLAGS"
   7496 
   7497 		eval supported=\$$cacheid
   7498 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7499 printf "%s\n" "$supported" >&6; }
   7500 		if test "$supported" = "yes" ; then
   7501 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7502 			found="yes"
   7503 		fi
   7504 	fi
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 
   7520 xorg_testset_save_CFLAGS="$CFLAGS"
   7521 
   7522 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7523 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7524 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7525 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7526 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7527 then :
   7528   printf %s "(cached) " >&6
   7529 else $as_nop
   7530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7531 /* end confdefs.h.  */
   7532 int i;
   7533 _ACEOF
   7534 if ac_fn_c_try_compile "$LINENO"
   7535 then :
   7536   xorg_cv_cc_flag_unknown_warning_option=yes
   7537 else $as_nop
   7538   xorg_cv_cc_flag_unknown_warning_option=no
   7539 fi
   7540 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7541 fi
   7542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7543 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7544 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7545 	CFLAGS="$xorg_testset_save_CFLAGS"
   7546 fi
   7547 
   7548 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7549 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7550 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7551 	fi
   7552 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7553 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7554 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7555 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7556 then :
   7557   printf %s "(cached) " >&6
   7558 else $as_nop
   7559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7560 /* end confdefs.h.  */
   7561 int i;
   7562 _ACEOF
   7563 if ac_fn_c_try_compile "$LINENO"
   7564 then :
   7565   xorg_cv_cc_flag_unused_command_line_argument=yes
   7566 else $as_nop
   7567   xorg_cv_cc_flag_unused_command_line_argument=no
   7568 fi
   7569 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7570 fi
   7571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7572 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7573 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7574 	CFLAGS="$xorg_testset_save_CFLAGS"
   7575 fi
   7576 
   7577 found="no"
   7578 
   7579 	if test $found = "no" ; then
   7580 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7581 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7582 		fi
   7583 
   7584 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7585 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7586 		fi
   7587 
   7588 		CFLAGS="$CFLAGS -Werror=init-self"
   7589 
   7590 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7591 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7592 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7593 		if eval test \${$cacheid+y}
   7594 then :
   7595   printf %s "(cached) " >&6
   7596 else $as_nop
   7597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7598 /* end confdefs.h.  */
   7599 int i;
   7600 int
   7601 main (void)
   7602 {
   7603 
   7604   ;
   7605   return 0;
   7606 }
   7607 _ACEOF
   7608 if ac_fn_c_try_link "$LINENO"
   7609 then :
   7610   eval $cacheid=yes
   7611 else $as_nop
   7612   eval $cacheid=no
   7613 fi
   7614 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7615     conftest$ac_exeext conftest.$ac_ext
   7616 fi
   7617 
   7618 
   7619 		CFLAGS="$xorg_testset_save_CFLAGS"
   7620 
   7621 		eval supported=\$$cacheid
   7622 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7623 printf "%s\n" "$supported" >&6; }
   7624 		if test "$supported" = "yes" ; then
   7625 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7626 			found="yes"
   7627 		fi
   7628 	fi
   7629 
   7630 
   7631 
   7632 
   7633 
   7634 
   7635 
   7636 
   7637 
   7638 
   7639 
   7640 
   7641 
   7642 
   7643 
   7644 xorg_testset_save_CFLAGS="$CFLAGS"
   7645 
   7646 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7647 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7648 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7649 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7650 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7651 then :
   7652   printf %s "(cached) " >&6
   7653 else $as_nop
   7654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7655 /* end confdefs.h.  */
   7656 int i;
   7657 _ACEOF
   7658 if ac_fn_c_try_compile "$LINENO"
   7659 then :
   7660   xorg_cv_cc_flag_unknown_warning_option=yes
   7661 else $as_nop
   7662   xorg_cv_cc_flag_unknown_warning_option=no
   7663 fi
   7664 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7665 fi
   7666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7667 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7668 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7669 	CFLAGS="$xorg_testset_save_CFLAGS"
   7670 fi
   7671 
   7672 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7673 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7674 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7675 	fi
   7676 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7677 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7678 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7679 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7680 then :
   7681   printf %s "(cached) " >&6
   7682 else $as_nop
   7683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7684 /* end confdefs.h.  */
   7685 int i;
   7686 _ACEOF
   7687 if ac_fn_c_try_compile "$LINENO"
   7688 then :
   7689   xorg_cv_cc_flag_unused_command_line_argument=yes
   7690 else $as_nop
   7691   xorg_cv_cc_flag_unused_command_line_argument=no
   7692 fi
   7693 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7694 fi
   7695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7696 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7697 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7698 	CFLAGS="$xorg_testset_save_CFLAGS"
   7699 fi
   7700 
   7701 found="no"
   7702 
   7703 	if test $found = "no" ; then
   7704 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7705 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7706 		fi
   7707 
   7708 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7709 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7710 		fi
   7711 
   7712 		CFLAGS="$CFLAGS -Werror=main"
   7713 
   7714 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7715 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7716 		cacheid=xorg_cv_cc_flag__Werror_main
   7717 		if eval test \${$cacheid+y}
   7718 then :
   7719   printf %s "(cached) " >&6
   7720 else $as_nop
   7721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7722 /* end confdefs.h.  */
   7723 int i;
   7724 int
   7725 main (void)
   7726 {
   7727 
   7728   ;
   7729   return 0;
   7730 }
   7731 _ACEOF
   7732 if ac_fn_c_try_link "$LINENO"
   7733 then :
   7734   eval $cacheid=yes
   7735 else $as_nop
   7736   eval $cacheid=no
   7737 fi
   7738 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7739     conftest$ac_exeext conftest.$ac_ext
   7740 fi
   7741 
   7742 
   7743 		CFLAGS="$xorg_testset_save_CFLAGS"
   7744 
   7745 		eval supported=\$$cacheid
   7746 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7747 printf "%s\n" "$supported" >&6; }
   7748 		if test "$supported" = "yes" ; then
   7749 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7750 			found="yes"
   7751 		fi
   7752 	fi
   7753 
   7754 
   7755 
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 xorg_testset_save_CFLAGS="$CFLAGS"
   7769 
   7770 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7771 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7772 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7773 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7774 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7775 then :
   7776   printf %s "(cached) " >&6
   7777 else $as_nop
   7778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7779 /* end confdefs.h.  */
   7780 int i;
   7781 _ACEOF
   7782 if ac_fn_c_try_compile "$LINENO"
   7783 then :
   7784   xorg_cv_cc_flag_unknown_warning_option=yes
   7785 else $as_nop
   7786   xorg_cv_cc_flag_unknown_warning_option=no
   7787 fi
   7788 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7789 fi
   7790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7791 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7792 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7793 	CFLAGS="$xorg_testset_save_CFLAGS"
   7794 fi
   7795 
   7796 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7797 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7798 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7799 	fi
   7800 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7801 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7802 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7803 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7804 then :
   7805   printf %s "(cached) " >&6
   7806 else $as_nop
   7807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7808 /* end confdefs.h.  */
   7809 int i;
   7810 _ACEOF
   7811 if ac_fn_c_try_compile "$LINENO"
   7812 then :
   7813   xorg_cv_cc_flag_unused_command_line_argument=yes
   7814 else $as_nop
   7815   xorg_cv_cc_flag_unused_command_line_argument=no
   7816 fi
   7817 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7818 fi
   7819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7820 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7821 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7822 	CFLAGS="$xorg_testset_save_CFLAGS"
   7823 fi
   7824 
   7825 found="no"
   7826 
   7827 	if test $found = "no" ; then
   7828 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7829 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7830 		fi
   7831 
   7832 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7833 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7834 		fi
   7835 
   7836 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7837 
   7838 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7839 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7840 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7841 		if eval test \${$cacheid+y}
   7842 then :
   7843   printf %s "(cached) " >&6
   7844 else $as_nop
   7845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7846 /* end confdefs.h.  */
   7847 int i;
   7848 int
   7849 main (void)
   7850 {
   7851 
   7852   ;
   7853   return 0;
   7854 }
   7855 _ACEOF
   7856 if ac_fn_c_try_link "$LINENO"
   7857 then :
   7858   eval $cacheid=yes
   7859 else $as_nop
   7860   eval $cacheid=no
   7861 fi
   7862 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7863     conftest$ac_exeext conftest.$ac_ext
   7864 fi
   7865 
   7866 
   7867 		CFLAGS="$xorg_testset_save_CFLAGS"
   7868 
   7869 		eval supported=\$$cacheid
   7870 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7871 printf "%s\n" "$supported" >&6; }
   7872 		if test "$supported" = "yes" ; then
   7873 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7874 			found="yes"
   7875 		fi
   7876 	fi
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 
   7886 
   7887 
   7888 
   7889 
   7890 
   7891 
   7892 xorg_testset_save_CFLAGS="$CFLAGS"
   7893 
   7894 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7895 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7896 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7897 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7898 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7899 then :
   7900   printf %s "(cached) " >&6
   7901 else $as_nop
   7902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7903 /* end confdefs.h.  */
   7904 int i;
   7905 _ACEOF
   7906 if ac_fn_c_try_compile "$LINENO"
   7907 then :
   7908   xorg_cv_cc_flag_unknown_warning_option=yes
   7909 else $as_nop
   7910   xorg_cv_cc_flag_unknown_warning_option=no
   7911 fi
   7912 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7913 fi
   7914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7915 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7916 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7917 	CFLAGS="$xorg_testset_save_CFLAGS"
   7918 fi
   7919 
   7920 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7921 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7922 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7923 	fi
   7924 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7925 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7926 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7927 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7928 then :
   7929   printf %s "(cached) " >&6
   7930 else $as_nop
   7931   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7932 /* end confdefs.h.  */
   7933 int i;
   7934 _ACEOF
   7935 if ac_fn_c_try_compile "$LINENO"
   7936 then :
   7937   xorg_cv_cc_flag_unused_command_line_argument=yes
   7938 else $as_nop
   7939   xorg_cv_cc_flag_unused_command_line_argument=no
   7940 fi
   7941 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7942 fi
   7943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7944 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7945 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7946 	CFLAGS="$xorg_testset_save_CFLAGS"
   7947 fi
   7948 
   7949 found="no"
   7950 
   7951 	if test $found = "no" ; then
   7952 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7953 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7954 		fi
   7955 
   7956 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7957 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7958 		fi
   7959 
   7960 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7961 
   7962 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7963 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   7964 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7965 		if eval test \${$cacheid+y}
   7966 then :
   7967   printf %s "(cached) " >&6
   7968 else $as_nop
   7969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7970 /* end confdefs.h.  */
   7971 int i;
   7972 int
   7973 main (void)
   7974 {
   7975 
   7976   ;
   7977   return 0;
   7978 }
   7979 _ACEOF
   7980 if ac_fn_c_try_link "$LINENO"
   7981 then :
   7982   eval $cacheid=yes
   7983 else $as_nop
   7984   eval $cacheid=no
   7985 fi
   7986 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7987     conftest$ac_exeext conftest.$ac_ext
   7988 fi
   7989 
   7990 
   7991 		CFLAGS="$xorg_testset_save_CFLAGS"
   7992 
   7993 		eval supported=\$$cacheid
   7994 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7995 printf "%s\n" "$supported" >&6; }
   7996 		if test "$supported" = "yes" ; then
   7997 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7998 			found="yes"
   7999 		fi
   8000 	fi
   8001 
   8002 
   8003 
   8004 
   8005 
   8006 
   8007 
   8008 
   8009 
   8010 
   8011 
   8012 
   8013 
   8014 
   8015 
   8016 xorg_testset_save_CFLAGS="$CFLAGS"
   8017 
   8018 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8019 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8020 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8021 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8022 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8023 then :
   8024   printf %s "(cached) " >&6
   8025 else $as_nop
   8026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8027 /* end confdefs.h.  */
   8028 int i;
   8029 _ACEOF
   8030 if ac_fn_c_try_compile "$LINENO"
   8031 then :
   8032   xorg_cv_cc_flag_unknown_warning_option=yes
   8033 else $as_nop
   8034   xorg_cv_cc_flag_unknown_warning_option=no
   8035 fi
   8036 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8037 fi
   8038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8039 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8040 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8041 	CFLAGS="$xorg_testset_save_CFLAGS"
   8042 fi
   8043 
   8044 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8045 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8046 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8047 	fi
   8048 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8049 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8050 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8051 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8052 then :
   8053   printf %s "(cached) " >&6
   8054 else $as_nop
   8055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8056 /* end confdefs.h.  */
   8057 int i;
   8058 _ACEOF
   8059 if ac_fn_c_try_compile "$LINENO"
   8060 then :
   8061   xorg_cv_cc_flag_unused_command_line_argument=yes
   8062 else $as_nop
   8063   xorg_cv_cc_flag_unused_command_line_argument=no
   8064 fi
   8065 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8066 fi
   8067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8068 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8069 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8070 	CFLAGS="$xorg_testset_save_CFLAGS"
   8071 fi
   8072 
   8073 found="no"
   8074 
   8075 	if test $found = "no" ; then
   8076 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8077 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8078 		fi
   8079 
   8080 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8081 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8082 		fi
   8083 
   8084 		CFLAGS="$CFLAGS -Werror=return-type"
   8085 
   8086 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8087 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8088 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8089 		if eval test \${$cacheid+y}
   8090 then :
   8091   printf %s "(cached) " >&6
   8092 else $as_nop
   8093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8094 /* end confdefs.h.  */
   8095 int i;
   8096 int
   8097 main (void)
   8098 {
   8099 
   8100   ;
   8101   return 0;
   8102 }
   8103 _ACEOF
   8104 if ac_fn_c_try_link "$LINENO"
   8105 then :
   8106   eval $cacheid=yes
   8107 else $as_nop
   8108   eval $cacheid=no
   8109 fi
   8110 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8111     conftest$ac_exeext conftest.$ac_ext
   8112 fi
   8113 
   8114 
   8115 		CFLAGS="$xorg_testset_save_CFLAGS"
   8116 
   8117 		eval supported=\$$cacheid
   8118 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8119 printf "%s\n" "$supported" >&6; }
   8120 		if test "$supported" = "yes" ; then
   8121 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8122 			found="yes"
   8123 		fi
   8124 	fi
   8125 
   8126 	if test $found = "no" ; then
   8127 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8128 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8129 		fi
   8130 
   8131 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8132 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8133 		fi
   8134 
   8135 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8136 
   8137 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8138 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8139 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8140 		if eval test \${$cacheid+y}
   8141 then :
   8142   printf %s "(cached) " >&6
   8143 else $as_nop
   8144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8145 /* end confdefs.h.  */
   8146 int i;
   8147 int
   8148 main (void)
   8149 {
   8150 
   8151   ;
   8152   return 0;
   8153 }
   8154 _ACEOF
   8155 if ac_fn_c_try_link "$LINENO"
   8156 then :
   8157   eval $cacheid=yes
   8158 else $as_nop
   8159   eval $cacheid=no
   8160 fi
   8161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8162     conftest$ac_exeext conftest.$ac_ext
   8163 fi
   8164 
   8165 
   8166 		CFLAGS="$xorg_testset_save_CFLAGS"
   8167 
   8168 		eval supported=\$$cacheid
   8169 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8170 printf "%s\n" "$supported" >&6; }
   8171 		if test "$supported" = "yes" ; then
   8172 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8173 			found="yes"
   8174 		fi
   8175 	fi
   8176 
   8177 
   8178 
   8179 
   8180 
   8181 
   8182 
   8183 
   8184 
   8185 
   8186 
   8187 
   8188 
   8189 
   8190 
   8191 xorg_testset_save_CFLAGS="$CFLAGS"
   8192 
   8193 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8194 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8195 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8196 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8197 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8198 then :
   8199   printf %s "(cached) " >&6
   8200 else $as_nop
   8201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8202 /* end confdefs.h.  */
   8203 int i;
   8204 _ACEOF
   8205 if ac_fn_c_try_compile "$LINENO"
   8206 then :
   8207   xorg_cv_cc_flag_unknown_warning_option=yes
   8208 else $as_nop
   8209   xorg_cv_cc_flag_unknown_warning_option=no
   8210 fi
   8211 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8212 fi
   8213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8214 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8215 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8216 	CFLAGS="$xorg_testset_save_CFLAGS"
   8217 fi
   8218 
   8219 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8220 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8221 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8222 	fi
   8223 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8224 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8225 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8226 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8227 then :
   8228   printf %s "(cached) " >&6
   8229 else $as_nop
   8230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8231 /* end confdefs.h.  */
   8232 int i;
   8233 _ACEOF
   8234 if ac_fn_c_try_compile "$LINENO"
   8235 then :
   8236   xorg_cv_cc_flag_unused_command_line_argument=yes
   8237 else $as_nop
   8238   xorg_cv_cc_flag_unused_command_line_argument=no
   8239 fi
   8240 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8241 fi
   8242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8243 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8244 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8245 	CFLAGS="$xorg_testset_save_CFLAGS"
   8246 fi
   8247 
   8248 found="no"
   8249 
   8250 	if test $found = "no" ; then
   8251 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8252 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8253 		fi
   8254 
   8255 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8256 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8257 		fi
   8258 
   8259 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8260 
   8261 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8262 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8263 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8264 		if eval test \${$cacheid+y}
   8265 then :
   8266   printf %s "(cached) " >&6
   8267 else $as_nop
   8268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8269 /* end confdefs.h.  */
   8270 int i;
   8271 int
   8272 main (void)
   8273 {
   8274 
   8275   ;
   8276   return 0;
   8277 }
   8278 _ACEOF
   8279 if ac_fn_c_try_link "$LINENO"
   8280 then :
   8281   eval $cacheid=yes
   8282 else $as_nop
   8283   eval $cacheid=no
   8284 fi
   8285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8286     conftest$ac_exeext conftest.$ac_ext
   8287 fi
   8288 
   8289 
   8290 		CFLAGS="$xorg_testset_save_CFLAGS"
   8291 
   8292 		eval supported=\$$cacheid
   8293 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8294 printf "%s\n" "$supported" >&6; }
   8295 		if test "$supported" = "yes" ; then
   8296 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8297 			found="yes"
   8298 		fi
   8299 	fi
   8300 
   8301 
   8302 
   8303 
   8304 
   8305 
   8306 
   8307 
   8308 
   8309 
   8310 
   8311 
   8312 
   8313 
   8314 
   8315 xorg_testset_save_CFLAGS="$CFLAGS"
   8316 
   8317 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8318 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8319 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8320 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8321 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8322 then :
   8323   printf %s "(cached) " >&6
   8324 else $as_nop
   8325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8326 /* end confdefs.h.  */
   8327 int i;
   8328 _ACEOF
   8329 if ac_fn_c_try_compile "$LINENO"
   8330 then :
   8331   xorg_cv_cc_flag_unknown_warning_option=yes
   8332 else $as_nop
   8333   xorg_cv_cc_flag_unknown_warning_option=no
   8334 fi
   8335 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8336 fi
   8337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8338 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8339 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8340 	CFLAGS="$xorg_testset_save_CFLAGS"
   8341 fi
   8342 
   8343 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8344 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8345 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8346 	fi
   8347 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8348 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8349 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8350 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8351 then :
   8352   printf %s "(cached) " >&6
   8353 else $as_nop
   8354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8355 /* end confdefs.h.  */
   8356 int i;
   8357 _ACEOF
   8358 if ac_fn_c_try_compile "$LINENO"
   8359 then :
   8360   xorg_cv_cc_flag_unused_command_line_argument=yes
   8361 else $as_nop
   8362   xorg_cv_cc_flag_unused_command_line_argument=no
   8363 fi
   8364 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8365 fi
   8366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8367 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8368 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8369 	CFLAGS="$xorg_testset_save_CFLAGS"
   8370 fi
   8371 
   8372 found="no"
   8373 
   8374 	if test $found = "no" ; then
   8375 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8376 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8377 		fi
   8378 
   8379 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8380 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8381 		fi
   8382 
   8383 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8384 
   8385 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8386 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8387 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8388 		if eval test \${$cacheid+y}
   8389 then :
   8390   printf %s "(cached) " >&6
   8391 else $as_nop
   8392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8393 /* end confdefs.h.  */
   8394 int i;
   8395 int
   8396 main (void)
   8397 {
   8398 
   8399   ;
   8400   return 0;
   8401 }
   8402 _ACEOF
   8403 if ac_fn_c_try_link "$LINENO"
   8404 then :
   8405   eval $cacheid=yes
   8406 else $as_nop
   8407   eval $cacheid=no
   8408 fi
   8409 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8410     conftest$ac_exeext conftest.$ac_ext
   8411 fi
   8412 
   8413 
   8414 		CFLAGS="$xorg_testset_save_CFLAGS"
   8415 
   8416 		eval supported=\$$cacheid
   8417 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8418 printf "%s\n" "$supported" >&6; }
   8419 		if test "$supported" = "yes" ; then
   8420 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8421 			found="yes"
   8422 		fi
   8423 	fi
   8424 
   8425 
   8426 
   8427 
   8428 
   8429 
   8430 
   8431 
   8432 
   8433 
   8434 
   8435 
   8436 
   8437 
   8438 
   8439 xorg_testset_save_CFLAGS="$CFLAGS"
   8440 
   8441 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8442 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8443 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8444 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8445 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8446 then :
   8447   printf %s "(cached) " >&6
   8448 else $as_nop
   8449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8450 /* end confdefs.h.  */
   8451 int i;
   8452 _ACEOF
   8453 if ac_fn_c_try_compile "$LINENO"
   8454 then :
   8455   xorg_cv_cc_flag_unknown_warning_option=yes
   8456 else $as_nop
   8457   xorg_cv_cc_flag_unknown_warning_option=no
   8458 fi
   8459 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8460 fi
   8461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8462 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8463 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8464 	CFLAGS="$xorg_testset_save_CFLAGS"
   8465 fi
   8466 
   8467 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8468 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8469 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8470 	fi
   8471 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8472 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8473 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8474 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8475 then :
   8476   printf %s "(cached) " >&6
   8477 else $as_nop
   8478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8479 /* end confdefs.h.  */
   8480 int i;
   8481 _ACEOF
   8482 if ac_fn_c_try_compile "$LINENO"
   8483 then :
   8484   xorg_cv_cc_flag_unused_command_line_argument=yes
   8485 else $as_nop
   8486   xorg_cv_cc_flag_unused_command_line_argument=no
   8487 fi
   8488 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8489 fi
   8490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8491 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8492 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8493 	CFLAGS="$xorg_testset_save_CFLAGS"
   8494 fi
   8495 
   8496 found="no"
   8497 
   8498 	if test $found = "no" ; then
   8499 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8500 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8501 		fi
   8502 
   8503 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8504 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8505 		fi
   8506 
   8507 		CFLAGS="$CFLAGS -Werror=write-strings"
   8508 
   8509 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8510 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8511 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8512 		if eval test \${$cacheid+y}
   8513 then :
   8514   printf %s "(cached) " >&6
   8515 else $as_nop
   8516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8517 /* end confdefs.h.  */
   8518 int i;
   8519 int
   8520 main (void)
   8521 {
   8522 
   8523   ;
   8524   return 0;
   8525 }
   8526 _ACEOF
   8527 if ac_fn_c_try_link "$LINENO"
   8528 then :
   8529   eval $cacheid=yes
   8530 else $as_nop
   8531   eval $cacheid=no
   8532 fi
   8533 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8534     conftest$ac_exeext conftest.$ac_ext
   8535 fi
   8536 
   8537 
   8538 		CFLAGS="$xorg_testset_save_CFLAGS"
   8539 
   8540 		eval supported=\$$cacheid
   8541 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8542 printf "%s\n" "$supported" >&6; }
   8543 		if test "$supported" = "yes" ; then
   8544 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8545 			found="yes"
   8546 		fi
   8547 	fi
   8548 
   8549 
   8550 
   8551 
   8552 
   8553 
   8554 
   8555 
   8556 
   8557 
   8558 
   8559 
   8560 
   8561 
   8562 
   8563 xorg_testset_save_CFLAGS="$CFLAGS"
   8564 
   8565 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8566 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8567 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8568 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8569 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8570 then :
   8571   printf %s "(cached) " >&6
   8572 else $as_nop
   8573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8574 /* end confdefs.h.  */
   8575 int i;
   8576 _ACEOF
   8577 if ac_fn_c_try_compile "$LINENO"
   8578 then :
   8579   xorg_cv_cc_flag_unknown_warning_option=yes
   8580 else $as_nop
   8581   xorg_cv_cc_flag_unknown_warning_option=no
   8582 fi
   8583 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8584 fi
   8585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8586 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8587 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8588 	CFLAGS="$xorg_testset_save_CFLAGS"
   8589 fi
   8590 
   8591 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8592 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8593 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8594 	fi
   8595 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8596 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8597 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8598 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8599 then :
   8600   printf %s "(cached) " >&6
   8601 else $as_nop
   8602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8603 /* end confdefs.h.  */
   8604 int i;
   8605 _ACEOF
   8606 if ac_fn_c_try_compile "$LINENO"
   8607 then :
   8608   xorg_cv_cc_flag_unused_command_line_argument=yes
   8609 else $as_nop
   8610   xorg_cv_cc_flag_unused_command_line_argument=no
   8611 fi
   8612 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8613 fi
   8614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8615 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8616 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8617 	CFLAGS="$xorg_testset_save_CFLAGS"
   8618 fi
   8619 
   8620 found="no"
   8621 
   8622 	if test $found = "no" ; then
   8623 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8624 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8625 		fi
   8626 
   8627 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8628 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8629 		fi
   8630 
   8631 		CFLAGS="$CFLAGS -Werror=address"
   8632 
   8633 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8634 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8635 		cacheid=xorg_cv_cc_flag__Werror_address
   8636 		if eval test \${$cacheid+y}
   8637 then :
   8638   printf %s "(cached) " >&6
   8639 else $as_nop
   8640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8641 /* end confdefs.h.  */
   8642 int i;
   8643 int
   8644 main (void)
   8645 {
   8646 
   8647   ;
   8648   return 0;
   8649 }
   8650 _ACEOF
   8651 if ac_fn_c_try_link "$LINENO"
   8652 then :
   8653   eval $cacheid=yes
   8654 else $as_nop
   8655   eval $cacheid=no
   8656 fi
   8657 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8658     conftest$ac_exeext conftest.$ac_ext
   8659 fi
   8660 
   8661 
   8662 		CFLAGS="$xorg_testset_save_CFLAGS"
   8663 
   8664 		eval supported=\$$cacheid
   8665 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8666 printf "%s\n" "$supported" >&6; }
   8667 		if test "$supported" = "yes" ; then
   8668 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8669 			found="yes"
   8670 		fi
   8671 	fi
   8672 
   8673 
   8674 
   8675 
   8676 
   8677 
   8678 
   8679 
   8680 
   8681 
   8682 
   8683 
   8684 
   8685 
   8686 
   8687 xorg_testset_save_CFLAGS="$CFLAGS"
   8688 
   8689 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8690 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8691 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8692 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8693 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8694 then :
   8695   printf %s "(cached) " >&6
   8696 else $as_nop
   8697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8698 /* end confdefs.h.  */
   8699 int i;
   8700 _ACEOF
   8701 if ac_fn_c_try_compile "$LINENO"
   8702 then :
   8703   xorg_cv_cc_flag_unknown_warning_option=yes
   8704 else $as_nop
   8705   xorg_cv_cc_flag_unknown_warning_option=no
   8706 fi
   8707 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8708 fi
   8709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8710 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8711 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8712 	CFLAGS="$xorg_testset_save_CFLAGS"
   8713 fi
   8714 
   8715 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8716 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8717 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8718 	fi
   8719 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8720 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8721 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8722 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8723 then :
   8724   printf %s "(cached) " >&6
   8725 else $as_nop
   8726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8727 /* end confdefs.h.  */
   8728 int i;
   8729 _ACEOF
   8730 if ac_fn_c_try_compile "$LINENO"
   8731 then :
   8732   xorg_cv_cc_flag_unused_command_line_argument=yes
   8733 else $as_nop
   8734   xorg_cv_cc_flag_unused_command_line_argument=no
   8735 fi
   8736 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8737 fi
   8738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8739 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8740 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8741 	CFLAGS="$xorg_testset_save_CFLAGS"
   8742 fi
   8743 
   8744 found="no"
   8745 
   8746 	if test $found = "no" ; then
   8747 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8748 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8749 		fi
   8750 
   8751 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8752 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8753 		fi
   8754 
   8755 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8756 
   8757 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8758 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8759 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8760 		if eval test \${$cacheid+y}
   8761 then :
   8762   printf %s "(cached) " >&6
   8763 else $as_nop
   8764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8765 /* end confdefs.h.  */
   8766 int i;
   8767 int
   8768 main (void)
   8769 {
   8770 
   8771   ;
   8772   return 0;
   8773 }
   8774 _ACEOF
   8775 if ac_fn_c_try_link "$LINENO"
   8776 then :
   8777   eval $cacheid=yes
   8778 else $as_nop
   8779   eval $cacheid=no
   8780 fi
   8781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8782     conftest$ac_exeext conftest.$ac_ext
   8783 fi
   8784 
   8785 
   8786 		CFLAGS="$xorg_testset_save_CFLAGS"
   8787 
   8788 		eval supported=\$$cacheid
   8789 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8790 printf "%s\n" "$supported" >&6; }
   8791 		if test "$supported" = "yes" ; then
   8792 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8793 			found="yes"
   8794 		fi
   8795 	fi
   8796 
   8797 	if test $found = "no" ; then
   8798 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8799 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8800 		fi
   8801 
   8802 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8803 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8804 		fi
   8805 
   8806 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8807 
   8808 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8809 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8810 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8811 		if eval test \${$cacheid+y}
   8812 then :
   8813   printf %s "(cached) " >&6
   8814 else $as_nop
   8815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8816 /* end confdefs.h.  */
   8817 int i;
   8818 int
   8819 main (void)
   8820 {
   8821 
   8822   ;
   8823   return 0;
   8824 }
   8825 _ACEOF
   8826 if ac_fn_c_try_link "$LINENO"
   8827 then :
   8828   eval $cacheid=yes
   8829 else $as_nop
   8830   eval $cacheid=no
   8831 fi
   8832 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8833     conftest$ac_exeext conftest.$ac_ext
   8834 fi
   8835 
   8836 
   8837 		CFLAGS="$xorg_testset_save_CFLAGS"
   8838 
   8839 		eval supported=\$$cacheid
   8840 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8841 printf "%s\n" "$supported" >&6; }
   8842 		if test "$supported" = "yes" ; then
   8843 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8844 			found="yes"
   8845 		fi
   8846 	fi
   8847 
   8848 
   8849 
   8850 
   8851 
   8852 
   8853 
   8854 
   8855 
   8856 
   8857 
   8858 
   8859 
   8860 
   8861 
   8862 xorg_testset_save_CFLAGS="$CFLAGS"
   8863 
   8864 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8865 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8866 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8867 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8868 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8869 then :
   8870   printf %s "(cached) " >&6
   8871 else $as_nop
   8872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8873 /* end confdefs.h.  */
   8874 int i;
   8875 _ACEOF
   8876 if ac_fn_c_try_compile "$LINENO"
   8877 then :
   8878   xorg_cv_cc_flag_unknown_warning_option=yes
   8879 else $as_nop
   8880   xorg_cv_cc_flag_unknown_warning_option=no
   8881 fi
   8882 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8883 fi
   8884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8885 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8886 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8887 	CFLAGS="$xorg_testset_save_CFLAGS"
   8888 fi
   8889 
   8890 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8891 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8892 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8893 	fi
   8894 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8895 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8896 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8897 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8898 then :
   8899   printf %s "(cached) " >&6
   8900 else $as_nop
   8901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8902 /* end confdefs.h.  */
   8903 int i;
   8904 _ACEOF
   8905 if ac_fn_c_try_compile "$LINENO"
   8906 then :
   8907   xorg_cv_cc_flag_unused_command_line_argument=yes
   8908 else $as_nop
   8909   xorg_cv_cc_flag_unused_command_line_argument=no
   8910 fi
   8911 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8912 fi
   8913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8914 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8915 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8916 	CFLAGS="$xorg_testset_save_CFLAGS"
   8917 fi
   8918 
   8919 found="no"
   8920 
   8921 	if test $found = "no" ; then
   8922 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8923 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8924 		fi
   8925 
   8926 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8927 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8928 		fi
   8929 
   8930 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8931 
   8932 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8933 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8934 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8935 		if eval test \${$cacheid+y}
   8936 then :
   8937   printf %s "(cached) " >&6
   8938 else $as_nop
   8939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8940 /* end confdefs.h.  */
   8941 int i;
   8942 int
   8943 main (void)
   8944 {
   8945 
   8946   ;
   8947   return 0;
   8948 }
   8949 _ACEOF
   8950 if ac_fn_c_try_link "$LINENO"
   8951 then :
   8952   eval $cacheid=yes
   8953 else $as_nop
   8954   eval $cacheid=no
   8955 fi
   8956 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8957     conftest$ac_exeext conftest.$ac_ext
   8958 fi
   8959 
   8960 
   8961 		CFLAGS="$xorg_testset_save_CFLAGS"
   8962 
   8963 		eval supported=\$$cacheid
   8964 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8965 printf "%s\n" "$supported" >&6; }
   8966 		if test "$supported" = "yes" ; then
   8967 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8968 			found="yes"
   8969 		fi
   8970 	fi
   8971 
   8972  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8973 else
   8974 { 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
   8975 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;}
   8976 
   8977 
   8978 
   8979 
   8980 
   8981 
   8982 
   8983 
   8984 
   8985 
   8986 
   8987 
   8988 
   8989 xorg_testset_save_CFLAGS="$CFLAGS"
   8990 
   8991 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8992 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8993 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8994 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8995 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8996 then :
   8997   printf %s "(cached) " >&6
   8998 else $as_nop
   8999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9000 /* end confdefs.h.  */
   9001 int i;
   9002 _ACEOF
   9003 if ac_fn_c_try_compile "$LINENO"
   9004 then :
   9005   xorg_cv_cc_flag_unknown_warning_option=yes
   9006 else $as_nop
   9007   xorg_cv_cc_flag_unknown_warning_option=no
   9008 fi
   9009 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9010 fi
   9011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9012 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9013 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9014 	CFLAGS="$xorg_testset_save_CFLAGS"
   9015 fi
   9016 
   9017 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9018 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9019 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9020 	fi
   9021 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9022 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9023 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9024 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9025 then :
   9026   printf %s "(cached) " >&6
   9027 else $as_nop
   9028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9029 /* end confdefs.h.  */
   9030 int i;
   9031 _ACEOF
   9032 if ac_fn_c_try_compile "$LINENO"
   9033 then :
   9034   xorg_cv_cc_flag_unused_command_line_argument=yes
   9035 else $as_nop
   9036   xorg_cv_cc_flag_unused_command_line_argument=no
   9037 fi
   9038 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9039 fi
   9040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9041 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9042 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9043 	CFLAGS="$xorg_testset_save_CFLAGS"
   9044 fi
   9045 
   9046 found="no"
   9047 
   9048 	if test $found = "no" ; then
   9049 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9050 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9051 		fi
   9052 
   9053 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9054 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9055 		fi
   9056 
   9057 		CFLAGS="$CFLAGS -Wimplicit"
   9058 
   9059 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9060 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9061 		cacheid=xorg_cv_cc_flag__Wimplicit
   9062 		if eval test \${$cacheid+y}
   9063 then :
   9064   printf %s "(cached) " >&6
   9065 else $as_nop
   9066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9067 /* end confdefs.h.  */
   9068 int i;
   9069 int
   9070 main (void)
   9071 {
   9072 
   9073   ;
   9074   return 0;
   9075 }
   9076 _ACEOF
   9077 if ac_fn_c_try_link "$LINENO"
   9078 then :
   9079   eval $cacheid=yes
   9080 else $as_nop
   9081   eval $cacheid=no
   9082 fi
   9083 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9084     conftest$ac_exeext conftest.$ac_ext
   9085 fi
   9086 
   9087 
   9088 		CFLAGS="$xorg_testset_save_CFLAGS"
   9089 
   9090 		eval supported=\$$cacheid
   9091 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9092 printf "%s\n" "$supported" >&6; }
   9093 		if test "$supported" = "yes" ; then
   9094 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9095 			found="yes"
   9096 		fi
   9097 	fi
   9098 
   9099 
   9100 
   9101 
   9102 
   9103 
   9104 
   9105 
   9106 
   9107 
   9108 
   9109 
   9110 
   9111 
   9112 
   9113 xorg_testset_save_CFLAGS="$CFLAGS"
   9114 
   9115 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9116 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9117 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9118 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9119 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9120 then :
   9121   printf %s "(cached) " >&6
   9122 else $as_nop
   9123   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9124 /* end confdefs.h.  */
   9125 int i;
   9126 _ACEOF
   9127 if ac_fn_c_try_compile "$LINENO"
   9128 then :
   9129   xorg_cv_cc_flag_unknown_warning_option=yes
   9130 else $as_nop
   9131   xorg_cv_cc_flag_unknown_warning_option=no
   9132 fi
   9133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9134 fi
   9135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9136 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9137 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9138 	CFLAGS="$xorg_testset_save_CFLAGS"
   9139 fi
   9140 
   9141 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9142 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9143 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9144 	fi
   9145 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9146 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9147 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9148 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9149 then :
   9150   printf %s "(cached) " >&6
   9151 else $as_nop
   9152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9153 /* end confdefs.h.  */
   9154 int i;
   9155 _ACEOF
   9156 if ac_fn_c_try_compile "$LINENO"
   9157 then :
   9158   xorg_cv_cc_flag_unused_command_line_argument=yes
   9159 else $as_nop
   9160   xorg_cv_cc_flag_unused_command_line_argument=no
   9161 fi
   9162 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9163 fi
   9164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9165 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9166 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9167 	CFLAGS="$xorg_testset_save_CFLAGS"
   9168 fi
   9169 
   9170 found="no"
   9171 
   9172 	if test $found = "no" ; then
   9173 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9174 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9175 		fi
   9176 
   9177 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9178 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9179 		fi
   9180 
   9181 		CFLAGS="$CFLAGS -Wnonnull"
   9182 
   9183 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9184 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9185 		cacheid=xorg_cv_cc_flag__Wnonnull
   9186 		if eval test \${$cacheid+y}
   9187 then :
   9188   printf %s "(cached) " >&6
   9189 else $as_nop
   9190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9191 /* end confdefs.h.  */
   9192 int i;
   9193 int
   9194 main (void)
   9195 {
   9196 
   9197   ;
   9198   return 0;
   9199 }
   9200 _ACEOF
   9201 if ac_fn_c_try_link "$LINENO"
   9202 then :
   9203   eval $cacheid=yes
   9204 else $as_nop
   9205   eval $cacheid=no
   9206 fi
   9207 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9208     conftest$ac_exeext conftest.$ac_ext
   9209 fi
   9210 
   9211 
   9212 		CFLAGS="$xorg_testset_save_CFLAGS"
   9213 
   9214 		eval supported=\$$cacheid
   9215 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9216 printf "%s\n" "$supported" >&6; }
   9217 		if test "$supported" = "yes" ; then
   9218 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9219 			found="yes"
   9220 		fi
   9221 	fi
   9222 
   9223 
   9224 
   9225 
   9226 
   9227 
   9228 
   9229 
   9230 
   9231 
   9232 
   9233 
   9234 
   9235 
   9236 
   9237 xorg_testset_save_CFLAGS="$CFLAGS"
   9238 
   9239 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9240 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9241 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9242 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9243 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9244 then :
   9245   printf %s "(cached) " >&6
   9246 else $as_nop
   9247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9248 /* end confdefs.h.  */
   9249 int i;
   9250 _ACEOF
   9251 if ac_fn_c_try_compile "$LINENO"
   9252 then :
   9253   xorg_cv_cc_flag_unknown_warning_option=yes
   9254 else $as_nop
   9255   xorg_cv_cc_flag_unknown_warning_option=no
   9256 fi
   9257 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9258 fi
   9259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9260 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9261 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9262 	CFLAGS="$xorg_testset_save_CFLAGS"
   9263 fi
   9264 
   9265 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9266 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9267 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9268 	fi
   9269 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9270 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9271 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9272 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9273 then :
   9274   printf %s "(cached) " >&6
   9275 else $as_nop
   9276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9277 /* end confdefs.h.  */
   9278 int i;
   9279 _ACEOF
   9280 if ac_fn_c_try_compile "$LINENO"
   9281 then :
   9282   xorg_cv_cc_flag_unused_command_line_argument=yes
   9283 else $as_nop
   9284   xorg_cv_cc_flag_unused_command_line_argument=no
   9285 fi
   9286 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9287 fi
   9288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9289 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9290 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9291 	CFLAGS="$xorg_testset_save_CFLAGS"
   9292 fi
   9293 
   9294 found="no"
   9295 
   9296 	if test $found = "no" ; then
   9297 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9298 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9299 		fi
   9300 
   9301 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9302 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9303 		fi
   9304 
   9305 		CFLAGS="$CFLAGS -Winit-self"
   9306 
   9307 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9308 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9309 		cacheid=xorg_cv_cc_flag__Winit_self
   9310 		if eval test \${$cacheid+y}
   9311 then :
   9312   printf %s "(cached) " >&6
   9313 else $as_nop
   9314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9315 /* end confdefs.h.  */
   9316 int i;
   9317 int
   9318 main (void)
   9319 {
   9320 
   9321   ;
   9322   return 0;
   9323 }
   9324 _ACEOF
   9325 if ac_fn_c_try_link "$LINENO"
   9326 then :
   9327   eval $cacheid=yes
   9328 else $as_nop
   9329   eval $cacheid=no
   9330 fi
   9331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9332     conftest$ac_exeext conftest.$ac_ext
   9333 fi
   9334 
   9335 
   9336 		CFLAGS="$xorg_testset_save_CFLAGS"
   9337 
   9338 		eval supported=\$$cacheid
   9339 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9340 printf "%s\n" "$supported" >&6; }
   9341 		if test "$supported" = "yes" ; then
   9342 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9343 			found="yes"
   9344 		fi
   9345 	fi
   9346 
   9347 
   9348 
   9349 
   9350 
   9351 
   9352 
   9353 
   9354 
   9355 
   9356 
   9357 
   9358 
   9359 
   9360 
   9361 xorg_testset_save_CFLAGS="$CFLAGS"
   9362 
   9363 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9364 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9365 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9366 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9367 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9368 then :
   9369   printf %s "(cached) " >&6
   9370 else $as_nop
   9371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9372 /* end confdefs.h.  */
   9373 int i;
   9374 _ACEOF
   9375 if ac_fn_c_try_compile "$LINENO"
   9376 then :
   9377   xorg_cv_cc_flag_unknown_warning_option=yes
   9378 else $as_nop
   9379   xorg_cv_cc_flag_unknown_warning_option=no
   9380 fi
   9381 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9382 fi
   9383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9384 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9385 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9386 	CFLAGS="$xorg_testset_save_CFLAGS"
   9387 fi
   9388 
   9389 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9390 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9391 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9392 	fi
   9393 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9394 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9395 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9396 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9397 then :
   9398   printf %s "(cached) " >&6
   9399 else $as_nop
   9400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9401 /* end confdefs.h.  */
   9402 int i;
   9403 _ACEOF
   9404 if ac_fn_c_try_compile "$LINENO"
   9405 then :
   9406   xorg_cv_cc_flag_unused_command_line_argument=yes
   9407 else $as_nop
   9408   xorg_cv_cc_flag_unused_command_line_argument=no
   9409 fi
   9410 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9411 fi
   9412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9413 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9414 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9415 	CFLAGS="$xorg_testset_save_CFLAGS"
   9416 fi
   9417 
   9418 found="no"
   9419 
   9420 	if test $found = "no" ; then
   9421 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9422 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9423 		fi
   9424 
   9425 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9426 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9427 		fi
   9428 
   9429 		CFLAGS="$CFLAGS -Wmain"
   9430 
   9431 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9432 printf %s "checking if $CC supports -Wmain... " >&6; }
   9433 		cacheid=xorg_cv_cc_flag__Wmain
   9434 		if eval test \${$cacheid+y}
   9435 then :
   9436   printf %s "(cached) " >&6
   9437 else $as_nop
   9438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9439 /* end confdefs.h.  */
   9440 int i;
   9441 int
   9442 main (void)
   9443 {
   9444 
   9445   ;
   9446   return 0;
   9447 }
   9448 _ACEOF
   9449 if ac_fn_c_try_link "$LINENO"
   9450 then :
   9451   eval $cacheid=yes
   9452 else $as_nop
   9453   eval $cacheid=no
   9454 fi
   9455 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9456     conftest$ac_exeext conftest.$ac_ext
   9457 fi
   9458 
   9459 
   9460 		CFLAGS="$xorg_testset_save_CFLAGS"
   9461 
   9462 		eval supported=\$$cacheid
   9463 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9464 printf "%s\n" "$supported" >&6; }
   9465 		if test "$supported" = "yes" ; then
   9466 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9467 			found="yes"
   9468 		fi
   9469 	fi
   9470 
   9471 
   9472 
   9473 
   9474 
   9475 
   9476 
   9477 
   9478 
   9479 
   9480 
   9481 
   9482 
   9483 
   9484 
   9485 xorg_testset_save_CFLAGS="$CFLAGS"
   9486 
   9487 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9488 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9489 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9490 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9491 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9492 then :
   9493   printf %s "(cached) " >&6
   9494 else $as_nop
   9495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9496 /* end confdefs.h.  */
   9497 int i;
   9498 _ACEOF
   9499 if ac_fn_c_try_compile "$LINENO"
   9500 then :
   9501   xorg_cv_cc_flag_unknown_warning_option=yes
   9502 else $as_nop
   9503   xorg_cv_cc_flag_unknown_warning_option=no
   9504 fi
   9505 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9506 fi
   9507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9508 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9509 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9510 	CFLAGS="$xorg_testset_save_CFLAGS"
   9511 fi
   9512 
   9513 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9514 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9515 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9516 	fi
   9517 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9518 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9519 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9520 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9521 then :
   9522   printf %s "(cached) " >&6
   9523 else $as_nop
   9524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9525 /* end confdefs.h.  */
   9526 int i;
   9527 _ACEOF
   9528 if ac_fn_c_try_compile "$LINENO"
   9529 then :
   9530   xorg_cv_cc_flag_unused_command_line_argument=yes
   9531 else $as_nop
   9532   xorg_cv_cc_flag_unused_command_line_argument=no
   9533 fi
   9534 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9535 fi
   9536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9537 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9538 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9539 	CFLAGS="$xorg_testset_save_CFLAGS"
   9540 fi
   9541 
   9542 found="no"
   9543 
   9544 	if test $found = "no" ; then
   9545 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9546 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9547 		fi
   9548 
   9549 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9550 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9551 		fi
   9552 
   9553 		CFLAGS="$CFLAGS -Wmissing-braces"
   9554 
   9555 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9556 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9557 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9558 		if eval test \${$cacheid+y}
   9559 then :
   9560   printf %s "(cached) " >&6
   9561 else $as_nop
   9562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9563 /* end confdefs.h.  */
   9564 int i;
   9565 int
   9566 main (void)
   9567 {
   9568 
   9569   ;
   9570   return 0;
   9571 }
   9572 _ACEOF
   9573 if ac_fn_c_try_link "$LINENO"
   9574 then :
   9575   eval $cacheid=yes
   9576 else $as_nop
   9577   eval $cacheid=no
   9578 fi
   9579 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9580     conftest$ac_exeext conftest.$ac_ext
   9581 fi
   9582 
   9583 
   9584 		CFLAGS="$xorg_testset_save_CFLAGS"
   9585 
   9586 		eval supported=\$$cacheid
   9587 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9588 printf "%s\n" "$supported" >&6; }
   9589 		if test "$supported" = "yes" ; then
   9590 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9591 			found="yes"
   9592 		fi
   9593 	fi
   9594 
   9595 
   9596 
   9597 
   9598 
   9599 
   9600 
   9601 
   9602 
   9603 
   9604 
   9605 
   9606 
   9607 
   9608 
   9609 xorg_testset_save_CFLAGS="$CFLAGS"
   9610 
   9611 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9612 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9613 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9614 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9615 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9616 then :
   9617   printf %s "(cached) " >&6
   9618 else $as_nop
   9619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9620 /* end confdefs.h.  */
   9621 int i;
   9622 _ACEOF
   9623 if ac_fn_c_try_compile "$LINENO"
   9624 then :
   9625   xorg_cv_cc_flag_unknown_warning_option=yes
   9626 else $as_nop
   9627   xorg_cv_cc_flag_unknown_warning_option=no
   9628 fi
   9629 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9630 fi
   9631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9632 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9633 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9634 	CFLAGS="$xorg_testset_save_CFLAGS"
   9635 fi
   9636 
   9637 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9638 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9639 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9640 	fi
   9641 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9642 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9643 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9644 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9645 then :
   9646   printf %s "(cached) " >&6
   9647 else $as_nop
   9648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9649 /* end confdefs.h.  */
   9650 int i;
   9651 _ACEOF
   9652 if ac_fn_c_try_compile "$LINENO"
   9653 then :
   9654   xorg_cv_cc_flag_unused_command_line_argument=yes
   9655 else $as_nop
   9656   xorg_cv_cc_flag_unused_command_line_argument=no
   9657 fi
   9658 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9659 fi
   9660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9661 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9662 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9663 	CFLAGS="$xorg_testset_save_CFLAGS"
   9664 fi
   9665 
   9666 found="no"
   9667 
   9668 	if test $found = "no" ; then
   9669 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9670 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9671 		fi
   9672 
   9673 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9674 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9675 		fi
   9676 
   9677 		CFLAGS="$CFLAGS -Wsequence-point"
   9678 
   9679 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9680 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9681 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9682 		if eval test \${$cacheid+y}
   9683 then :
   9684   printf %s "(cached) " >&6
   9685 else $as_nop
   9686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9687 /* end confdefs.h.  */
   9688 int i;
   9689 int
   9690 main (void)
   9691 {
   9692 
   9693   ;
   9694   return 0;
   9695 }
   9696 _ACEOF
   9697 if ac_fn_c_try_link "$LINENO"
   9698 then :
   9699   eval $cacheid=yes
   9700 else $as_nop
   9701   eval $cacheid=no
   9702 fi
   9703 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9704     conftest$ac_exeext conftest.$ac_ext
   9705 fi
   9706 
   9707 
   9708 		CFLAGS="$xorg_testset_save_CFLAGS"
   9709 
   9710 		eval supported=\$$cacheid
   9711 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9712 printf "%s\n" "$supported" >&6; }
   9713 		if test "$supported" = "yes" ; then
   9714 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9715 			found="yes"
   9716 		fi
   9717 	fi
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 xorg_testset_save_CFLAGS="$CFLAGS"
   9734 
   9735 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9736 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9737 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9738 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9739 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9740 then :
   9741   printf %s "(cached) " >&6
   9742 else $as_nop
   9743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9744 /* end confdefs.h.  */
   9745 int i;
   9746 _ACEOF
   9747 if ac_fn_c_try_compile "$LINENO"
   9748 then :
   9749   xorg_cv_cc_flag_unknown_warning_option=yes
   9750 else $as_nop
   9751   xorg_cv_cc_flag_unknown_warning_option=no
   9752 fi
   9753 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9754 fi
   9755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9756 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9757 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9758 	CFLAGS="$xorg_testset_save_CFLAGS"
   9759 fi
   9760 
   9761 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9762 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9763 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9764 	fi
   9765 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9766 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9767 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9768 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9769 then :
   9770   printf %s "(cached) " >&6
   9771 else $as_nop
   9772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9773 /* end confdefs.h.  */
   9774 int i;
   9775 _ACEOF
   9776 if ac_fn_c_try_compile "$LINENO"
   9777 then :
   9778   xorg_cv_cc_flag_unused_command_line_argument=yes
   9779 else $as_nop
   9780   xorg_cv_cc_flag_unused_command_line_argument=no
   9781 fi
   9782 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9783 fi
   9784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9785 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9786 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9787 	CFLAGS="$xorg_testset_save_CFLAGS"
   9788 fi
   9789 
   9790 found="no"
   9791 
   9792 	if test $found = "no" ; then
   9793 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9794 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9795 		fi
   9796 
   9797 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9798 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9799 		fi
   9800 
   9801 		CFLAGS="$CFLAGS -Wreturn-type"
   9802 
   9803 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9804 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9805 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9806 		if eval test \${$cacheid+y}
   9807 then :
   9808   printf %s "(cached) " >&6
   9809 else $as_nop
   9810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9811 /* end confdefs.h.  */
   9812 int i;
   9813 int
   9814 main (void)
   9815 {
   9816 
   9817   ;
   9818   return 0;
   9819 }
   9820 _ACEOF
   9821 if ac_fn_c_try_link "$LINENO"
   9822 then :
   9823   eval $cacheid=yes
   9824 else $as_nop
   9825   eval $cacheid=no
   9826 fi
   9827 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9828     conftest$ac_exeext conftest.$ac_ext
   9829 fi
   9830 
   9831 
   9832 		CFLAGS="$xorg_testset_save_CFLAGS"
   9833 
   9834 		eval supported=\$$cacheid
   9835 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9836 printf "%s\n" "$supported" >&6; }
   9837 		if test "$supported" = "yes" ; then
   9838 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9839 			found="yes"
   9840 		fi
   9841 	fi
   9842 
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 xorg_testset_save_CFLAGS="$CFLAGS"
   9858 
   9859 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9860 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9861 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9862 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9863 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9864 then :
   9865   printf %s "(cached) " >&6
   9866 else $as_nop
   9867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9868 /* end confdefs.h.  */
   9869 int i;
   9870 _ACEOF
   9871 if ac_fn_c_try_compile "$LINENO"
   9872 then :
   9873   xorg_cv_cc_flag_unknown_warning_option=yes
   9874 else $as_nop
   9875   xorg_cv_cc_flag_unknown_warning_option=no
   9876 fi
   9877 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9878 fi
   9879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9880 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9881 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9882 	CFLAGS="$xorg_testset_save_CFLAGS"
   9883 fi
   9884 
   9885 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9886 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9887 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9888 	fi
   9889 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9890 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9891 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9892 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9893 then :
   9894   printf %s "(cached) " >&6
   9895 else $as_nop
   9896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9897 /* end confdefs.h.  */
   9898 int i;
   9899 _ACEOF
   9900 if ac_fn_c_try_compile "$LINENO"
   9901 then :
   9902   xorg_cv_cc_flag_unused_command_line_argument=yes
   9903 else $as_nop
   9904   xorg_cv_cc_flag_unused_command_line_argument=no
   9905 fi
   9906 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9907 fi
   9908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9909 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9910 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9911 	CFLAGS="$xorg_testset_save_CFLAGS"
   9912 fi
   9913 
   9914 found="no"
   9915 
   9916 	if test $found = "no" ; then
   9917 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9918 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9919 		fi
   9920 
   9921 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9922 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9923 		fi
   9924 
   9925 		CFLAGS="$CFLAGS -Wtrigraphs"
   9926 
   9927 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9928 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   9929 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9930 		if eval test \${$cacheid+y}
   9931 then :
   9932   printf %s "(cached) " >&6
   9933 else $as_nop
   9934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9935 /* end confdefs.h.  */
   9936 int i;
   9937 int
   9938 main (void)
   9939 {
   9940 
   9941   ;
   9942   return 0;
   9943 }
   9944 _ACEOF
   9945 if ac_fn_c_try_link "$LINENO"
   9946 then :
   9947   eval $cacheid=yes
   9948 else $as_nop
   9949   eval $cacheid=no
   9950 fi
   9951 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9952     conftest$ac_exeext conftest.$ac_ext
   9953 fi
   9954 
   9955 
   9956 		CFLAGS="$xorg_testset_save_CFLAGS"
   9957 
   9958 		eval supported=\$$cacheid
   9959 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9960 printf "%s\n" "$supported" >&6; }
   9961 		if test "$supported" = "yes" ; then
   9962 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9963 			found="yes"
   9964 		fi
   9965 	fi
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 xorg_testset_save_CFLAGS="$CFLAGS"
   9982 
   9983 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9984 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9985 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9986 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9987 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9988 then :
   9989   printf %s "(cached) " >&6
   9990 else $as_nop
   9991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9992 /* end confdefs.h.  */
   9993 int i;
   9994 _ACEOF
   9995 if ac_fn_c_try_compile "$LINENO"
   9996 then :
   9997   xorg_cv_cc_flag_unknown_warning_option=yes
   9998 else $as_nop
   9999   xorg_cv_cc_flag_unknown_warning_option=no
   10000 fi
   10001 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10002 fi
   10003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10004 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10005 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10006 	CFLAGS="$xorg_testset_save_CFLAGS"
   10007 fi
   10008 
   10009 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10010 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10011 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10012 	fi
   10013 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10014 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10015 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10016 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10017 then :
   10018   printf %s "(cached) " >&6
   10019 else $as_nop
   10020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10021 /* end confdefs.h.  */
   10022 int i;
   10023 _ACEOF
   10024 if ac_fn_c_try_compile "$LINENO"
   10025 then :
   10026   xorg_cv_cc_flag_unused_command_line_argument=yes
   10027 else $as_nop
   10028   xorg_cv_cc_flag_unused_command_line_argument=no
   10029 fi
   10030 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10031 fi
   10032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10033 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10034 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10035 	CFLAGS="$xorg_testset_save_CFLAGS"
   10036 fi
   10037 
   10038 found="no"
   10039 
   10040 	if test $found = "no" ; then
   10041 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10042 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10043 		fi
   10044 
   10045 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10046 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10047 		fi
   10048 
   10049 		CFLAGS="$CFLAGS -Warray-bounds"
   10050 
   10051 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10052 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10053 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10054 		if eval test \${$cacheid+y}
   10055 then :
   10056   printf %s "(cached) " >&6
   10057 else $as_nop
   10058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10059 /* end confdefs.h.  */
   10060 int i;
   10061 int
   10062 main (void)
   10063 {
   10064 
   10065   ;
   10066   return 0;
   10067 }
   10068 _ACEOF
   10069 if ac_fn_c_try_link "$LINENO"
   10070 then :
   10071   eval $cacheid=yes
   10072 else $as_nop
   10073   eval $cacheid=no
   10074 fi
   10075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10076     conftest$ac_exeext conftest.$ac_ext
   10077 fi
   10078 
   10079 
   10080 		CFLAGS="$xorg_testset_save_CFLAGS"
   10081 
   10082 		eval supported=\$$cacheid
   10083 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10084 printf "%s\n" "$supported" >&6; }
   10085 		if test "$supported" = "yes" ; then
   10086 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10087 			found="yes"
   10088 		fi
   10089 	fi
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 xorg_testset_save_CFLAGS="$CFLAGS"
   10106 
   10107 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10108 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10109 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10110 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10111 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10112 then :
   10113   printf %s "(cached) " >&6
   10114 else $as_nop
   10115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10116 /* end confdefs.h.  */
   10117 int i;
   10118 _ACEOF
   10119 if ac_fn_c_try_compile "$LINENO"
   10120 then :
   10121   xorg_cv_cc_flag_unknown_warning_option=yes
   10122 else $as_nop
   10123   xorg_cv_cc_flag_unknown_warning_option=no
   10124 fi
   10125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10126 fi
   10127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10128 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10129 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10130 	CFLAGS="$xorg_testset_save_CFLAGS"
   10131 fi
   10132 
   10133 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10134 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10135 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10136 	fi
   10137 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10138 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10139 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10140 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10141 then :
   10142   printf %s "(cached) " >&6
   10143 else $as_nop
   10144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10145 /* end confdefs.h.  */
   10146 int i;
   10147 _ACEOF
   10148 if ac_fn_c_try_compile "$LINENO"
   10149 then :
   10150   xorg_cv_cc_flag_unused_command_line_argument=yes
   10151 else $as_nop
   10152   xorg_cv_cc_flag_unused_command_line_argument=no
   10153 fi
   10154 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10155 fi
   10156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10157 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10158 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10159 	CFLAGS="$xorg_testset_save_CFLAGS"
   10160 fi
   10161 
   10162 found="no"
   10163 
   10164 	if test $found = "no" ; then
   10165 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10166 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10167 		fi
   10168 
   10169 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10170 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10171 		fi
   10172 
   10173 		CFLAGS="$CFLAGS -Wwrite-strings"
   10174 
   10175 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10176 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10177 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10178 		if eval test \${$cacheid+y}
   10179 then :
   10180   printf %s "(cached) " >&6
   10181 else $as_nop
   10182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10183 /* end confdefs.h.  */
   10184 int i;
   10185 int
   10186 main (void)
   10187 {
   10188 
   10189   ;
   10190   return 0;
   10191 }
   10192 _ACEOF
   10193 if ac_fn_c_try_link "$LINENO"
   10194 then :
   10195   eval $cacheid=yes
   10196 else $as_nop
   10197   eval $cacheid=no
   10198 fi
   10199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10200     conftest$ac_exeext conftest.$ac_ext
   10201 fi
   10202 
   10203 
   10204 		CFLAGS="$xorg_testset_save_CFLAGS"
   10205 
   10206 		eval supported=\$$cacheid
   10207 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10208 printf "%s\n" "$supported" >&6; }
   10209 		if test "$supported" = "yes" ; then
   10210 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10211 			found="yes"
   10212 		fi
   10213 	fi
   10214 
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 xorg_testset_save_CFLAGS="$CFLAGS"
   10230 
   10231 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10232 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10233 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10234 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10235 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10236 then :
   10237   printf %s "(cached) " >&6
   10238 else $as_nop
   10239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10240 /* end confdefs.h.  */
   10241 int i;
   10242 _ACEOF
   10243 if ac_fn_c_try_compile "$LINENO"
   10244 then :
   10245   xorg_cv_cc_flag_unknown_warning_option=yes
   10246 else $as_nop
   10247   xorg_cv_cc_flag_unknown_warning_option=no
   10248 fi
   10249 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10250 fi
   10251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10252 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10253 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10254 	CFLAGS="$xorg_testset_save_CFLAGS"
   10255 fi
   10256 
   10257 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10258 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10259 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10260 	fi
   10261 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10262 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10263 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10264 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10265 then :
   10266   printf %s "(cached) " >&6
   10267 else $as_nop
   10268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10269 /* end confdefs.h.  */
   10270 int i;
   10271 _ACEOF
   10272 if ac_fn_c_try_compile "$LINENO"
   10273 then :
   10274   xorg_cv_cc_flag_unused_command_line_argument=yes
   10275 else $as_nop
   10276   xorg_cv_cc_flag_unused_command_line_argument=no
   10277 fi
   10278 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10279 fi
   10280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10281 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10282 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10283 	CFLAGS="$xorg_testset_save_CFLAGS"
   10284 fi
   10285 
   10286 found="no"
   10287 
   10288 	if test $found = "no" ; then
   10289 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10290 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10291 		fi
   10292 
   10293 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10294 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10295 		fi
   10296 
   10297 		CFLAGS="$CFLAGS -Waddress"
   10298 
   10299 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10300 printf %s "checking if $CC supports -Waddress... " >&6; }
   10301 		cacheid=xorg_cv_cc_flag__Waddress
   10302 		if eval test \${$cacheid+y}
   10303 then :
   10304   printf %s "(cached) " >&6
   10305 else $as_nop
   10306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10307 /* end confdefs.h.  */
   10308 int i;
   10309 int
   10310 main (void)
   10311 {
   10312 
   10313   ;
   10314   return 0;
   10315 }
   10316 _ACEOF
   10317 if ac_fn_c_try_link "$LINENO"
   10318 then :
   10319   eval $cacheid=yes
   10320 else $as_nop
   10321   eval $cacheid=no
   10322 fi
   10323 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10324     conftest$ac_exeext conftest.$ac_ext
   10325 fi
   10326 
   10327 
   10328 		CFLAGS="$xorg_testset_save_CFLAGS"
   10329 
   10330 		eval supported=\$$cacheid
   10331 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10332 printf "%s\n" "$supported" >&6; }
   10333 		if test "$supported" = "yes" ; then
   10334 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10335 			found="yes"
   10336 		fi
   10337 	fi
   10338 
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 xorg_testset_save_CFLAGS="$CFLAGS"
   10354 
   10355 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10356 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10357 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10358 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10359 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10360 then :
   10361   printf %s "(cached) " >&6
   10362 else $as_nop
   10363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10364 /* end confdefs.h.  */
   10365 int i;
   10366 _ACEOF
   10367 if ac_fn_c_try_compile "$LINENO"
   10368 then :
   10369   xorg_cv_cc_flag_unknown_warning_option=yes
   10370 else $as_nop
   10371   xorg_cv_cc_flag_unknown_warning_option=no
   10372 fi
   10373 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10374 fi
   10375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10376 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10377 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10378 	CFLAGS="$xorg_testset_save_CFLAGS"
   10379 fi
   10380 
   10381 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10382 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10383 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10384 	fi
   10385 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10386 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10387 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10388 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10389 then :
   10390   printf %s "(cached) " >&6
   10391 else $as_nop
   10392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10393 /* end confdefs.h.  */
   10394 int i;
   10395 _ACEOF
   10396 if ac_fn_c_try_compile "$LINENO"
   10397 then :
   10398   xorg_cv_cc_flag_unused_command_line_argument=yes
   10399 else $as_nop
   10400   xorg_cv_cc_flag_unused_command_line_argument=no
   10401 fi
   10402 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10403 fi
   10404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10405 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10406 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10407 	CFLAGS="$xorg_testset_save_CFLAGS"
   10408 fi
   10409 
   10410 found="no"
   10411 
   10412 	if test $found = "no" ; then
   10413 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10414 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10415 		fi
   10416 
   10417 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10418 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10419 		fi
   10420 
   10421 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10422 
   10423 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10424 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10425 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10426 		if eval test \${$cacheid+y}
   10427 then :
   10428   printf %s "(cached) " >&6
   10429 else $as_nop
   10430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10431 /* end confdefs.h.  */
   10432 int i;
   10433 int
   10434 main (void)
   10435 {
   10436 
   10437   ;
   10438   return 0;
   10439 }
   10440 _ACEOF
   10441 if ac_fn_c_try_link "$LINENO"
   10442 then :
   10443   eval $cacheid=yes
   10444 else $as_nop
   10445   eval $cacheid=no
   10446 fi
   10447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10448     conftest$ac_exeext conftest.$ac_ext
   10449 fi
   10450 
   10451 
   10452 		CFLAGS="$xorg_testset_save_CFLAGS"
   10453 
   10454 		eval supported=\$$cacheid
   10455 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10456 printf "%s\n" "$supported" >&6; }
   10457 		if test "$supported" = "yes" ; then
   10458 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10459 			found="yes"
   10460 		fi
   10461 	fi
   10462 
   10463 
   10464 
   10465 
   10466 
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 
   10475 
   10476 
   10477 xorg_testset_save_CFLAGS="$CFLAGS"
   10478 
   10479 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10480 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10481 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10482 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10483 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10484 then :
   10485   printf %s "(cached) " >&6
   10486 else $as_nop
   10487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10488 /* end confdefs.h.  */
   10489 int i;
   10490 _ACEOF
   10491 if ac_fn_c_try_compile "$LINENO"
   10492 then :
   10493   xorg_cv_cc_flag_unknown_warning_option=yes
   10494 else $as_nop
   10495   xorg_cv_cc_flag_unknown_warning_option=no
   10496 fi
   10497 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10498 fi
   10499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10500 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10501 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10502 	CFLAGS="$xorg_testset_save_CFLAGS"
   10503 fi
   10504 
   10505 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10506 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10507 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10508 	fi
   10509 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10510 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10511 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10512 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10513 then :
   10514   printf %s "(cached) " >&6
   10515 else $as_nop
   10516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10517 /* end confdefs.h.  */
   10518 int i;
   10519 _ACEOF
   10520 if ac_fn_c_try_compile "$LINENO"
   10521 then :
   10522   xorg_cv_cc_flag_unused_command_line_argument=yes
   10523 else $as_nop
   10524   xorg_cv_cc_flag_unused_command_line_argument=no
   10525 fi
   10526 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10527 fi
   10528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10529 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10530 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10531 	CFLAGS="$xorg_testset_save_CFLAGS"
   10532 fi
   10533 
   10534 found="no"
   10535 
   10536 	if test $found = "no" ; then
   10537 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10538 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10539 		fi
   10540 
   10541 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10542 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10543 		fi
   10544 
   10545 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10546 
   10547 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10548 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10549 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10550 		if eval test \${$cacheid+y}
   10551 then :
   10552   printf %s "(cached) " >&6
   10553 else $as_nop
   10554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10555 /* end confdefs.h.  */
   10556 int i;
   10557 int
   10558 main (void)
   10559 {
   10560 
   10561   ;
   10562   return 0;
   10563 }
   10564 _ACEOF
   10565 if ac_fn_c_try_link "$LINENO"
   10566 then :
   10567   eval $cacheid=yes
   10568 else $as_nop
   10569   eval $cacheid=no
   10570 fi
   10571 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10572     conftest$ac_exeext conftest.$ac_ext
   10573 fi
   10574 
   10575 
   10576 		CFLAGS="$xorg_testset_save_CFLAGS"
   10577 
   10578 		eval supported=\$$cacheid
   10579 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10580 printf "%s\n" "$supported" >&6; }
   10581 		if test "$supported" = "yes" ; then
   10582 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10583 			found="yes"
   10584 		fi
   10585 	fi
   10586 
   10587 
   10588 fi
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 		CWARNFLAGS="$BASE_CFLAGS"
   10597 		if  test "x$GCC" = xyes ; then
   10598 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10599 		fi
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 # Check whether --enable-strict-compilation was given.
   10609 if test ${enable_strict_compilation+y}
   10610 then :
   10611   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10612 else $as_nop
   10613   STRICT_COMPILE=no
   10614 fi
   10615 
   10616 
   10617 
   10618 
   10619 
   10620 
   10621 STRICT_CFLAGS=""
   10622 
   10623 
   10624 
   10625 
   10626 
   10627 
   10628 
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 xorg_testset_save_CFLAGS="$CFLAGS"
   10636 
   10637 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10638 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10639 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10640 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10641 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10642 then :
   10643   printf %s "(cached) " >&6
   10644 else $as_nop
   10645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10646 /* end confdefs.h.  */
   10647 int i;
   10648 _ACEOF
   10649 if ac_fn_c_try_compile "$LINENO"
   10650 then :
   10651   xorg_cv_cc_flag_unknown_warning_option=yes
   10652 else $as_nop
   10653   xorg_cv_cc_flag_unknown_warning_option=no
   10654 fi
   10655 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10656 fi
   10657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10658 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10659 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10660 	CFLAGS="$xorg_testset_save_CFLAGS"
   10661 fi
   10662 
   10663 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10664 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10665 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10666 	fi
   10667 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10668 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10669 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10670 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10671 then :
   10672   printf %s "(cached) " >&6
   10673 else $as_nop
   10674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10675 /* end confdefs.h.  */
   10676 int i;
   10677 _ACEOF
   10678 if ac_fn_c_try_compile "$LINENO"
   10679 then :
   10680   xorg_cv_cc_flag_unused_command_line_argument=yes
   10681 else $as_nop
   10682   xorg_cv_cc_flag_unused_command_line_argument=no
   10683 fi
   10684 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10685 fi
   10686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10687 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10688 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10689 	CFLAGS="$xorg_testset_save_CFLAGS"
   10690 fi
   10691 
   10692 found="no"
   10693 
   10694 	if test $found = "no" ; then
   10695 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10696 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10697 		fi
   10698 
   10699 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10700 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10701 		fi
   10702 
   10703 		CFLAGS="$CFLAGS -pedantic"
   10704 
   10705 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10706 printf %s "checking if $CC supports -pedantic... " >&6; }
   10707 		cacheid=xorg_cv_cc_flag__pedantic
   10708 		if eval test \${$cacheid+y}
   10709 then :
   10710   printf %s "(cached) " >&6
   10711 else $as_nop
   10712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10713 /* end confdefs.h.  */
   10714 int i;
   10715 int
   10716 main (void)
   10717 {
   10718 
   10719   ;
   10720   return 0;
   10721 }
   10722 _ACEOF
   10723 if ac_fn_c_try_link "$LINENO"
   10724 then :
   10725   eval $cacheid=yes
   10726 else $as_nop
   10727   eval $cacheid=no
   10728 fi
   10729 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10730     conftest$ac_exeext conftest.$ac_ext
   10731 fi
   10732 
   10733 
   10734 		CFLAGS="$xorg_testset_save_CFLAGS"
   10735 
   10736 		eval supported=\$$cacheid
   10737 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10738 printf "%s\n" "$supported" >&6; }
   10739 		if test "$supported" = "yes" ; then
   10740 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10741 			found="yes"
   10742 		fi
   10743 	fi
   10744 
   10745 
   10746 
   10747 
   10748 
   10749 
   10750 
   10751 
   10752 
   10753 
   10754 
   10755 
   10756 
   10757 
   10758 
   10759 xorg_testset_save_CFLAGS="$CFLAGS"
   10760 
   10761 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10762 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10763 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10764 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10765 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10766 then :
   10767   printf %s "(cached) " >&6
   10768 else $as_nop
   10769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10770 /* end confdefs.h.  */
   10771 int i;
   10772 _ACEOF
   10773 if ac_fn_c_try_compile "$LINENO"
   10774 then :
   10775   xorg_cv_cc_flag_unknown_warning_option=yes
   10776 else $as_nop
   10777   xorg_cv_cc_flag_unknown_warning_option=no
   10778 fi
   10779 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10780 fi
   10781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10782 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10783 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10784 	CFLAGS="$xorg_testset_save_CFLAGS"
   10785 fi
   10786 
   10787 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10788 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10789 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10790 	fi
   10791 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10792 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10793 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10794 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10795 then :
   10796   printf %s "(cached) " >&6
   10797 else $as_nop
   10798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10799 /* end confdefs.h.  */
   10800 int i;
   10801 _ACEOF
   10802 if ac_fn_c_try_compile "$LINENO"
   10803 then :
   10804   xorg_cv_cc_flag_unused_command_line_argument=yes
   10805 else $as_nop
   10806   xorg_cv_cc_flag_unused_command_line_argument=no
   10807 fi
   10808 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10809 fi
   10810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10811 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10812 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10813 	CFLAGS="$xorg_testset_save_CFLAGS"
   10814 fi
   10815 
   10816 found="no"
   10817 
   10818 	if test $found = "no" ; then
   10819 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10820 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10821 		fi
   10822 
   10823 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10824 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10825 		fi
   10826 
   10827 		CFLAGS="$CFLAGS -Werror"
   10828 
   10829 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10830 printf %s "checking if $CC supports -Werror... " >&6; }
   10831 		cacheid=xorg_cv_cc_flag__Werror
   10832 		if eval test \${$cacheid+y}
   10833 then :
   10834   printf %s "(cached) " >&6
   10835 else $as_nop
   10836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10837 /* end confdefs.h.  */
   10838 int i;
   10839 int
   10840 main (void)
   10841 {
   10842 
   10843   ;
   10844   return 0;
   10845 }
   10846 _ACEOF
   10847 if ac_fn_c_try_link "$LINENO"
   10848 then :
   10849   eval $cacheid=yes
   10850 else $as_nop
   10851   eval $cacheid=no
   10852 fi
   10853 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10854     conftest$ac_exeext conftest.$ac_ext
   10855 fi
   10856 
   10857 
   10858 		CFLAGS="$xorg_testset_save_CFLAGS"
   10859 
   10860 		eval supported=\$$cacheid
   10861 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10862 printf "%s\n" "$supported" >&6; }
   10863 		if test "$supported" = "yes" ; then
   10864 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10865 			found="yes"
   10866 		fi
   10867 	fi
   10868 
   10869 	if test $found = "no" ; then
   10870 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10871 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10872 		fi
   10873 
   10874 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10875 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10876 		fi
   10877 
   10878 		CFLAGS="$CFLAGS -errwarn"
   10879 
   10880 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10881 printf %s "checking if $CC supports -errwarn... " >&6; }
   10882 		cacheid=xorg_cv_cc_flag__errwarn
   10883 		if eval test \${$cacheid+y}
   10884 then :
   10885   printf %s "(cached) " >&6
   10886 else $as_nop
   10887   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10888 /* end confdefs.h.  */
   10889 int i;
   10890 int
   10891 main (void)
   10892 {
   10893 
   10894   ;
   10895   return 0;
   10896 }
   10897 _ACEOF
   10898 if ac_fn_c_try_link "$LINENO"
   10899 then :
   10900   eval $cacheid=yes
   10901 else $as_nop
   10902   eval $cacheid=no
   10903 fi
   10904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10905     conftest$ac_exeext conftest.$ac_ext
   10906 fi
   10907 
   10908 
   10909 		CFLAGS="$xorg_testset_save_CFLAGS"
   10910 
   10911 		eval supported=\$$cacheid
   10912 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10913 printf "%s\n" "$supported" >&6; }
   10914 		if test "$supported" = "yes" ; then
   10915 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10916 			found="yes"
   10917 		fi
   10918 	fi
   10919 
   10920 
   10921 
   10922 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10923 # activate it with -Werror, so we add it here explicitly.
   10924 
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 xorg_testset_save_CFLAGS="$CFLAGS"
   10938 
   10939 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10940 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10941 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10942 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10943 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10944 then :
   10945   printf %s "(cached) " >&6
   10946 else $as_nop
   10947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10948 /* end confdefs.h.  */
   10949 int i;
   10950 _ACEOF
   10951 if ac_fn_c_try_compile "$LINENO"
   10952 then :
   10953   xorg_cv_cc_flag_unknown_warning_option=yes
   10954 else $as_nop
   10955   xorg_cv_cc_flag_unknown_warning_option=no
   10956 fi
   10957 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10958 fi
   10959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10960 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10961 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10962 	CFLAGS="$xorg_testset_save_CFLAGS"
   10963 fi
   10964 
   10965 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10966 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10967 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10968 	fi
   10969 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10970 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10971 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10972 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10973 then :
   10974   printf %s "(cached) " >&6
   10975 else $as_nop
   10976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10977 /* end confdefs.h.  */
   10978 int i;
   10979 _ACEOF
   10980 if ac_fn_c_try_compile "$LINENO"
   10981 then :
   10982   xorg_cv_cc_flag_unused_command_line_argument=yes
   10983 else $as_nop
   10984   xorg_cv_cc_flag_unused_command_line_argument=no
   10985 fi
   10986 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10987 fi
   10988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10989 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10990 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10991 	CFLAGS="$xorg_testset_save_CFLAGS"
   10992 fi
   10993 
   10994 found="no"
   10995 
   10996 	if test $found = "no" ; then
   10997 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10998 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10999 		fi
   11000 
   11001 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11002 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11003 		fi
   11004 
   11005 		CFLAGS="$CFLAGS -Werror=attributes"
   11006 
   11007 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11008 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11009 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11010 		if eval test \${$cacheid+y}
   11011 then :
   11012   printf %s "(cached) " >&6
   11013 else $as_nop
   11014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11015 /* end confdefs.h.  */
   11016 int i;
   11017 int
   11018 main (void)
   11019 {
   11020 
   11021   ;
   11022   return 0;
   11023 }
   11024 _ACEOF
   11025 if ac_fn_c_try_link "$LINENO"
   11026 then :
   11027   eval $cacheid=yes
   11028 else $as_nop
   11029   eval $cacheid=no
   11030 fi
   11031 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11032     conftest$ac_exeext conftest.$ac_ext
   11033 fi
   11034 
   11035 
   11036 		CFLAGS="$xorg_testset_save_CFLAGS"
   11037 
   11038 		eval supported=\$$cacheid
   11039 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11040 printf "%s\n" "$supported" >&6; }
   11041 		if test "$supported" = "yes" ; then
   11042 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11043 			found="yes"
   11044 		fi
   11045 	fi
   11046 
   11047 
   11048 
   11049 if test "x$STRICT_COMPILE" = "xyes"; then
   11050     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11051     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11052 fi
   11053 
   11054 
   11055 
   11056 
   11057 
   11058 
   11059 
   11060 
   11061 cat >>confdefs.h <<_ACEOF
   11062 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11063 _ACEOF
   11064 
   11065 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11066 	if test "x$PVM" = "x"; then
   11067 		PVM="0"
   11068 	fi
   11069 
   11070 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11071 
   11072 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11073 	if test "x$PVP" = "x"; then
   11074 		PVP="0"
   11075 	fi
   11076 
   11077 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11078 
   11079 
   11080 
   11081 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11082 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11083 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11084 touch \$(top_srcdir)/ChangeLog; \
   11085 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11086 
   11087 
   11088 
   11089 
   11090 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11091 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11092 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11093 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11094 touch \$(top_srcdir)/INSTALL; \
   11095 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11096 
   11097 
   11098 
   11099 
   11100 
   11101 
   11102 case $host_os in
   11103     solaris*)
   11104         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11105         # check for a man page file found in later versions that use
   11106         # traditional section numbers instead
   11107         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11108 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11109 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11110 then :
   11111   printf %s "(cached) " >&6
   11112 else $as_nop
   11113   test "$cross_compiling" = yes &&
   11114   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11115 if test -r "/usr/share/man/man7/attributes.7"; then
   11116   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11117 else
   11118   ac_cv_file__usr_share_man_man7_attributes_7=no
   11119 fi
   11120 fi
   11121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11122 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11123 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11124 then :
   11125   SYSV_MAN_SECTIONS=false
   11126 else $as_nop
   11127   SYSV_MAN_SECTIONS=true
   11128 fi
   11129 
   11130         ;;
   11131     *) SYSV_MAN_SECTIONS=false ;;
   11132 esac
   11133 
   11134 if test x$APP_MAN_SUFFIX = x    ; then
   11135     APP_MAN_SUFFIX=1
   11136 fi
   11137 if test x$APP_MAN_DIR = x    ; then
   11138     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11139 fi
   11140 
   11141 if test x$LIB_MAN_SUFFIX = x    ; then
   11142     LIB_MAN_SUFFIX=3
   11143 fi
   11144 if test x$LIB_MAN_DIR = x    ; then
   11145     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11146 fi
   11147 
   11148 if test x$FILE_MAN_SUFFIX = x    ; then
   11149     case $SYSV_MAN_SECTIONS in
   11150 	true)				FILE_MAN_SUFFIX=4  ;;
   11151 	*)				FILE_MAN_SUFFIX=5  ;;
   11152     esac
   11153 fi
   11154 if test x$FILE_MAN_DIR = x    ; then
   11155     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11156 fi
   11157 
   11158 if test x$MISC_MAN_SUFFIX = x    ; then
   11159     case $SYSV_MAN_SECTIONS in
   11160 	true)				MISC_MAN_SUFFIX=5  ;;
   11161 	*)				MISC_MAN_SUFFIX=7  ;;
   11162     esac
   11163 fi
   11164 if test x$MISC_MAN_DIR = x    ; then
   11165     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11166 fi
   11167 
   11168 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11169     case $SYSV_MAN_SECTIONS in
   11170 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11171 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11172     esac
   11173 fi
   11174 if test x$DRIVER_MAN_DIR = x    ; then
   11175     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11176 fi
   11177 
   11178 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11179     case $SYSV_MAN_SECTIONS in
   11180 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11181 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11182     esac
   11183 fi
   11184 if test x$ADMIN_MAN_DIR = x    ; then
   11185     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11186 fi
   11187 
   11188 
   11189 
   11190 
   11191 
   11192 
   11193 
   11194 
   11195 
   11196 
   11197 
   11198 
   11199 
   11200 
   11201 
   11202 XORG_MAN_PAGE="X Version 11"
   11203 
   11204 MAN_SUBSTS="\
   11205 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11206 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11207 	-e 's|__xservername__|Xorg|g' \
   11208 	-e 's|__xconfigfile__|xorg.conf|g' \
   11209 	-e 's|__projectroot__|\$(prefix)|g' \
   11210 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11211 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11212 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11213 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11214 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11215 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11216 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11217 
   11218 
   11219 
   11220 # Check whether --enable-silent-rules was given.
   11221 if test ${enable_silent_rules+y}
   11222 then :
   11223   enableval=$enable_silent_rules;
   11224 fi
   11225 
   11226 case $enable_silent_rules in # (((
   11227   yes) AM_DEFAULT_VERBOSITY=0;;
   11228    no) AM_DEFAULT_VERBOSITY=1;;
   11229     *) AM_DEFAULT_VERBOSITY=0;;
   11230 esac
   11231 am_make=${MAKE-make}
   11232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11233 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11234 if test ${am_cv_make_support_nested_variables+y}
   11235 then :
   11236   printf %s "(cached) " >&6
   11237 else $as_nop
   11238   if printf "%s\n" 'TRUE=$(BAR$(V))
   11239 BAR0=false
   11240 BAR1=true
   11241 V=1
   11242 am__doit:
   11243 	@$(TRUE)
   11244 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11245   am_cv_make_support_nested_variables=yes
   11246 else
   11247   am_cv_make_support_nested_variables=no
   11248 fi
   11249 fi
   11250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11251 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11252 if test $am_cv_make_support_nested_variables = yes; then
   11253     AM_V='$(V)'
   11254   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11255 else
   11256   AM_V=$AM_DEFAULT_VERBOSITY
   11257   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11258 fi
   11259 AM_BACKSLASH='\'
   11260 
   11261 
   11262 
   11263 
   11264 
   11265 # Check whether --enable-specs was given.
   11266 if test ${enable_specs+y}
   11267 then :
   11268   enableval=$enable_specs; build_specs=$enableval
   11269 else $as_nop
   11270   build_specs=yes
   11271 fi
   11272 
   11273 
   11274  if test x$build_specs = xyes; then
   11275   ENABLE_SPECS_TRUE=
   11276   ENABLE_SPECS_FALSE='#'
   11277 else
   11278   ENABLE_SPECS_TRUE='#'
   11279   ENABLE_SPECS_FALSE=
   11280 fi
   11281 
   11282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
   11283 printf %s "checking whether to build functional specifications... " >&6; }
   11284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
   11285 printf "%s\n" "$build_specs" >&6; }
   11286 
   11287 
   11288 
   11289 
   11290 
   11291 # Check whether --with-xmlto was given.
   11292 if test ${with_xmlto+y}
   11293 then :
   11294   withval=$with_xmlto; use_xmlto=$withval
   11295 else $as_nop
   11296   use_xmlto=auto
   11297 fi
   11298 
   11299 
   11300 
   11301 if test "x$use_xmlto" = x"auto"; then
   11302    # Extract the first word of "xmlto", so it can be a program name with args.
   11303 set dummy xmlto; ac_word=$2
   11304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11305 printf %s "checking for $ac_word... " >&6; }
   11306 if test ${ac_cv_path_XMLTO+y}
   11307 then :
   11308   printf %s "(cached) " >&6
   11309 else $as_nop
   11310   case $XMLTO in
   11311   [\\/]* | ?:[\\/]*)
   11312   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   11313   ;;
   11314   *)
   11315   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11316 for as_dir in $PATH
   11317 do
   11318   IFS=$as_save_IFS
   11319   case $as_dir in #(((
   11320     '') as_dir=./ ;;
   11321     */) ;;
   11322     *) as_dir=$as_dir/ ;;
   11323   esac
   11324     for ac_exec_ext in '' $ac_executable_extensions; do
   11325   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11326     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   11327     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11328     break 2
   11329   fi
   11330 done
   11331   done
   11332 IFS=$as_save_IFS
   11333 
   11334   ;;
   11335 esac
   11336 fi
   11337 XMLTO=$ac_cv_path_XMLTO
   11338 if test -n "$XMLTO"; then
   11339   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   11340 printf "%s\n" "$XMLTO" >&6; }
   11341 else
   11342   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11343 printf "%s\n" "no" >&6; }
   11344 fi
   11345 
   11346 
   11347    if test "x$XMLTO" = "x"; then
   11348         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   11349 printf "%s\n" "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   11350 	have_xmlto=no
   11351    else
   11352         have_xmlto=yes
   11353    fi
   11354 elif test "x$use_xmlto" = x"yes" ; then
   11355    # Extract the first word of "xmlto", so it can be a program name with args.
   11356 set dummy xmlto; ac_word=$2
   11357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11358 printf %s "checking for $ac_word... " >&6; }
   11359 if test ${ac_cv_path_XMLTO+y}
   11360 then :
   11361   printf %s "(cached) " >&6
   11362 else $as_nop
   11363   case $XMLTO in
   11364   [\\/]* | ?:[\\/]*)
   11365   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   11366   ;;
   11367   *)
   11368   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11369 for as_dir in $PATH
   11370 do
   11371   IFS=$as_save_IFS
   11372   case $as_dir in #(((
   11373     '') as_dir=./ ;;
   11374     */) ;;
   11375     *) as_dir=$as_dir/ ;;
   11376   esac
   11377     for ac_exec_ext in '' $ac_executable_extensions; do
   11378   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11379     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   11380     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11381     break 2
   11382   fi
   11383 done
   11384   done
   11385 IFS=$as_save_IFS
   11386 
   11387   ;;
   11388 esac
   11389 fi
   11390 XMLTO=$ac_cv_path_XMLTO
   11391 if test -n "$XMLTO"; then
   11392   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   11393 printf "%s\n" "$XMLTO" >&6; }
   11394 else
   11395   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11396 printf "%s\n" "no" >&6; }
   11397 fi
   11398 
   11399 
   11400    if test "x$XMLTO" = "x"; then
   11401         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   11402    fi
   11403    have_xmlto=yes
   11404 elif test "x$use_xmlto" = x"no" ; then
   11405    if test "x$XMLTO" != "x"; then
   11406       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   11407 printf "%s\n" "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   11408    fi
   11409    have_xmlto=no
   11410 else
   11411    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   11412 fi
   11413 
   11414 # Test for a minimum version of xmlto, if provided.
   11415 if test "$have_xmlto" = yes; then
   11416     # scrape the xmlto version
   11417     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   11418 printf %s "checking the xmlto version... " >&6; }
   11419     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   11420     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   11421 printf "%s\n" "$xmlto_version" >&6; }
   11422     as_arg_v1=$xmlto_version
   11423 as_arg_v2=0.0.22
   11424 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   11425 case $? in #(
   11426   1) :
   11427     if test "x$use_xmlto" = xauto; then
   11428             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   11429 printf "%s\n" "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   11430             have_xmlto=no
   11431         else
   11432             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   11433         fi ;; #(
   11434   0) :
   11435      ;; #(
   11436   2) :
   11437      ;; #(
   11438   *) :
   11439      ;;
   11440 esac
   11441 fi
   11442 
   11443 # Test for the ability of xmlto to generate a text target
   11444 #
   11445 # NOTE: xmlto 0.0.27 or higher return a non-zero return code in the
   11446 # following test for empty XML docbook files.
   11447 # For compatibility reasons use the following empty XML docbook file and if
   11448 # it fails try it again with a non-empty XML file.
   11449 have_xmlto_text=no
   11450 cat > conftest.xml << "EOF"
   11451 EOF
   11452 if test "$have_xmlto" = yes
   11453 then :
   11454   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   11455 then :
   11456   have_xmlto_text=yes
   11457 else $as_nop
   11458   # Try it again with a non-empty XML file.
   11459               cat > conftest.xml << "EOF"
   11460 <x></x>
   11461 EOF
   11462               if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   11463 then :
   11464   have_xmlto_text=yes
   11465 else $as_nop
   11466   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   11467 printf "%s\n" "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   11468 fi
   11469 fi
   11470 fi
   11471 rm -f conftest.xml
   11472  if test $have_xmlto_text = yes; then
   11473   HAVE_XMLTO_TEXT_TRUE=
   11474   HAVE_XMLTO_TEXT_FALSE='#'
   11475 else
   11476   HAVE_XMLTO_TEXT_TRUE='#'
   11477   HAVE_XMLTO_TEXT_FALSE=
   11478 fi
   11479 
   11480  if test "$have_xmlto" = yes; then
   11481   HAVE_XMLTO_TRUE=
   11482   HAVE_XMLTO_FALSE='#'
   11483 else
   11484   HAVE_XMLTO_TRUE='#'
   11485   HAVE_XMLTO_FALSE=
   11486 fi
   11487 
   11488 
   11489 
   11490 
   11491 
   11492 
   11493 # Check whether --with-fop was given.
   11494 if test ${with_fop+y}
   11495 then :
   11496   withval=$with_fop; use_fop=$withval
   11497 else $as_nop
   11498   use_fop=auto
   11499 fi
   11500 
   11501 
   11502 
   11503 if test "x$use_fop" = x"auto"; then
   11504    # Extract the first word of "fop", so it can be a program name with args.
   11505 set dummy fop; ac_word=$2
   11506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11507 printf %s "checking for $ac_word... " >&6; }
   11508 if test ${ac_cv_path_FOP+y}
   11509 then :
   11510   printf %s "(cached) " >&6
   11511 else $as_nop
   11512   case $FOP in
   11513   [\\/]* | ?:[\\/]*)
   11514   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   11515   ;;
   11516   *)
   11517   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11518 for as_dir in $PATH
   11519 do
   11520   IFS=$as_save_IFS
   11521   case $as_dir in #(((
   11522     '') as_dir=./ ;;
   11523     */) ;;
   11524     *) as_dir=$as_dir/ ;;
   11525   esac
   11526     for ac_exec_ext in '' $ac_executable_extensions; do
   11527   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11528     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   11529     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11530     break 2
   11531   fi
   11532 done
   11533   done
   11534 IFS=$as_save_IFS
   11535 
   11536   ;;
   11537 esac
   11538 fi
   11539 FOP=$ac_cv_path_FOP
   11540 if test -n "$FOP"; then
   11541   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   11542 printf "%s\n" "$FOP" >&6; }
   11543 else
   11544   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11545 printf "%s\n" "no" >&6; }
   11546 fi
   11547 
   11548 
   11549    if test "x$FOP" = "x"; then
   11550         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   11551 printf "%s\n" "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   11552 	have_fop=no
   11553    else
   11554         have_fop=yes
   11555    fi
   11556 elif test "x$use_fop" = x"yes" ; then
   11557    # Extract the first word of "fop", so it can be a program name with args.
   11558 set dummy fop; ac_word=$2
   11559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11560 printf %s "checking for $ac_word... " >&6; }
   11561 if test ${ac_cv_path_FOP+y}
   11562 then :
   11563   printf %s "(cached) " >&6
   11564 else $as_nop
   11565   case $FOP in
   11566   [\\/]* | ?:[\\/]*)
   11567   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   11568   ;;
   11569   *)
   11570   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11571 for as_dir in $PATH
   11572 do
   11573   IFS=$as_save_IFS
   11574   case $as_dir in #(((
   11575     '') as_dir=./ ;;
   11576     */) ;;
   11577     *) as_dir=$as_dir/ ;;
   11578   esac
   11579     for ac_exec_ext in '' $ac_executable_extensions; do
   11580   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11581     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   11582     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11583     break 2
   11584   fi
   11585 done
   11586   done
   11587 IFS=$as_save_IFS
   11588 
   11589   ;;
   11590 esac
   11591 fi
   11592 FOP=$ac_cv_path_FOP
   11593 if test -n "$FOP"; then
   11594   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   11595 printf "%s\n" "$FOP" >&6; }
   11596 else
   11597   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11598 printf "%s\n" "no" >&6; }
   11599 fi
   11600 
   11601 
   11602    if test "x$FOP" = "x"; then
   11603         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   11604    fi
   11605    have_fop=yes
   11606 elif test "x$use_fop" = x"no" ; then
   11607    if test "x$FOP" != "x"; then
   11608       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   11609 printf "%s\n" "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   11610    fi
   11611    have_fop=no
   11612 else
   11613    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   11614 fi
   11615 
   11616 # Test for a minimum version of fop, if provided.
   11617 
   11618  if test "$have_fop" = yes; then
   11619   HAVE_FOP_TRUE=
   11620   HAVE_FOP_FALSE='#'
   11621 else
   11622   HAVE_FOP_TRUE='#'
   11623   HAVE_FOP_FALSE=
   11624 fi
   11625 
   11626 
   11627 
   11628 
   11629 # Preserves the interface, should it be implemented later
   11630 
   11631 
   11632 
   11633 # Check whether --with-xsltproc was given.
   11634 if test ${with_xsltproc+y}
   11635 then :
   11636   withval=$with_xsltproc; use_xsltproc=$withval
   11637 else $as_nop
   11638   use_xsltproc=auto
   11639 fi
   11640 
   11641 
   11642 
   11643 if test "x$use_xsltproc" = x"auto"; then
   11644    # Extract the first word of "xsltproc", so it can be a program name with args.
   11645 set dummy xsltproc; ac_word=$2
   11646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11647 printf %s "checking for $ac_word... " >&6; }
   11648 if test ${ac_cv_path_XSLTPROC+y}
   11649 then :
   11650   printf %s "(cached) " >&6
   11651 else $as_nop
   11652   case $XSLTPROC in
   11653   [\\/]* | ?:[\\/]*)
   11654   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   11655   ;;
   11656   *)
   11657   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11658 for as_dir in $PATH
   11659 do
   11660   IFS=$as_save_IFS
   11661   case $as_dir in #(((
   11662     '') as_dir=./ ;;
   11663     */) ;;
   11664     *) as_dir=$as_dir/ ;;
   11665   esac
   11666     for ac_exec_ext in '' $ac_executable_extensions; do
   11667   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11668     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   11669     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11670     break 2
   11671   fi
   11672 done
   11673   done
   11674 IFS=$as_save_IFS
   11675 
   11676   ;;
   11677 esac
   11678 fi
   11679 XSLTPROC=$ac_cv_path_XSLTPROC
   11680 if test -n "$XSLTPROC"; then
   11681   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   11682 printf "%s\n" "$XSLTPROC" >&6; }
   11683 else
   11684   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11685 printf "%s\n" "no" >&6; }
   11686 fi
   11687 
   11688 
   11689    if test "x$XSLTPROC" = "x"; then
   11690         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   11691 printf "%s\n" "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   11692 	have_xsltproc=no
   11693    else
   11694         have_xsltproc=yes
   11695    fi
   11696 elif test "x$use_xsltproc" = x"yes" ; then
   11697    # Extract the first word of "xsltproc", so it can be a program name with args.
   11698 set dummy xsltproc; ac_word=$2
   11699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11700 printf %s "checking for $ac_word... " >&6; }
   11701 if test ${ac_cv_path_XSLTPROC+y}
   11702 then :
   11703   printf %s "(cached) " >&6
   11704 else $as_nop
   11705   case $XSLTPROC in
   11706   [\\/]* | ?:[\\/]*)
   11707   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   11708   ;;
   11709   *)
   11710   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11711 for as_dir in $PATH
   11712 do
   11713   IFS=$as_save_IFS
   11714   case $as_dir in #(((
   11715     '') as_dir=./ ;;
   11716     */) ;;
   11717     *) as_dir=$as_dir/ ;;
   11718   esac
   11719     for ac_exec_ext in '' $ac_executable_extensions; do
   11720   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11721     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   11722     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11723     break 2
   11724   fi
   11725 done
   11726   done
   11727 IFS=$as_save_IFS
   11728 
   11729   ;;
   11730 esac
   11731 fi
   11732 XSLTPROC=$ac_cv_path_XSLTPROC
   11733 if test -n "$XSLTPROC"; then
   11734   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   11735 printf "%s\n" "$XSLTPROC" >&6; }
   11736 else
   11737   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11738 printf "%s\n" "no" >&6; }
   11739 fi
   11740 
   11741 
   11742    if test "x$XSLTPROC" = "x"; then
   11743         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   11744    fi
   11745    have_xsltproc=yes
   11746 elif test "x$use_xsltproc" = x"no" ; then
   11747    if test "x$XSLTPROC" != "x"; then
   11748       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   11749 printf "%s\n" "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   11750    fi
   11751    have_xsltproc=no
   11752 else
   11753    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   11754 fi
   11755 
   11756  if test "$have_xsltproc" = yes; then
   11757   HAVE_XSLTPROC_TRUE=
   11758   HAVE_XSLTPROC_FALSE='#'
   11759 else
   11760   HAVE_XSLTPROC_TRUE='#'
   11761   HAVE_XSLTPROC_FALSE=
   11762 fi
   11763 
   11764 
   11765 
   11766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.8" >&5
   11767 printf %s "checking for X.Org SGML entities >= 1.8... " >&6; }
   11768 XORG_SGML_PATH=
   11769 if test -n "$PKG_CONFIG" && \
   11770     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.8\""; } >&5
   11771   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.8") 2>&5
   11772   ac_status=$?
   11773   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11774   test $ac_status = 0; }; then
   11775   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   11776 else
   11777   :
   11778 
   11779 fi
   11780 
   11781 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   11782 # the path and the name of the doc stylesheet
   11783 if test "x$XORG_SGML_PATH" != "x" ; then
   11784    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   11785 printf "%s\n" "$XORG_SGML_PATH" >&6; }
   11786    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   11787    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   11788 else
   11789    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11790 printf "%s\n" "no" >&6; }
   11791 fi
   11792 
   11793 
   11794 
   11795 
   11796  if test "x$XSL_STYLESHEET" != "x"; then
   11797   HAVE_STYLESHEETS_TRUE=
   11798   HAVE_STYLESHEETS_FALSE='#'
   11799 else
   11800   HAVE_STYLESHEETS_TRUE='#'
   11801   HAVE_STYLESHEETS_FALSE=
   11802 fi
   11803 
   11804 
   11805 
   11806 
   11807 
   11808 
   11809 
   11810 
   11811 
   11812         if test -n "$PYTHON"; then
   11813       # If the user set $PYTHON, use it and don't search something else.
   11814       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 3.6" >&5
   11815 printf %s "checking whether $PYTHON version is >= 3.6... " >&6; }
   11816       prog="import sys
   11817 # split strings by '.' and convert to numeric.  Append some zeros
   11818 # because we need at least 4 digits for the hex conversion.
   11819 # map returns an iterator in Python 3.0 and a list in 2.x
   11820 minver = list(map(int, '3.6'.split('.'))) + [0, 0, 0]
   11821 minverhex = 0
   11822 # xrange is not present in Python 3.0 and range returns an iterator
   11823 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
   11824 sys.exit(sys.hexversion < minverhex)"
   11825   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
   11826    ($PYTHON -c "$prog") >&5 2>&5
   11827    ac_status=$?
   11828    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11829    (exit $ac_status); }
   11830 then :
   11831   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11832 printf "%s\n" "yes" >&6; }
   11833 else $as_nop
   11834   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11835 printf "%s\n" "no" >&6; }
   11836 			       as_fn_error $? "Python interpreter is too old" "$LINENO" 5
   11837 fi
   11838       am_display_PYTHON=$PYTHON
   11839     else
   11840       # Otherwise, try each interpreter until we find one that satisfies
   11841       # VERSION.
   11842       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 3.6" >&5
   11843 printf %s "checking for a Python interpreter with version >= 3.6... " >&6; }
   11844 if test ${am_cv_pathless_PYTHON+y}
   11845 then :
   11846   printf %s "(cached) " >&6
   11847 else $as_nop
   11848 
   11849 	for am_cv_pathless_PYTHON in python python2 python3  python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3  python3.2 python3.1 python3.0  python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1  python2.0 none; do
   11850 	  test "$am_cv_pathless_PYTHON" = none && break
   11851 	  prog="import sys
   11852 # split strings by '.' and convert to numeric.  Append some zeros
   11853 # because we need at least 4 digits for the hex conversion.
   11854 # map returns an iterator in Python 3.0 and a list in 2.x
   11855 minver = list(map(int, '3.6'.split('.'))) + [0, 0, 0]
   11856 minverhex = 0
   11857 # xrange is not present in Python 3.0 and range returns an iterator
   11858 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
   11859 sys.exit(sys.hexversion < minverhex)"
   11860   if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
   11861    ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
   11862    ac_status=$?
   11863    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11864    (exit $ac_status); }
   11865 then :
   11866   break
   11867 fi
   11868 	done
   11869 fi
   11870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
   11871 printf "%s\n" "$am_cv_pathless_PYTHON" >&6; }
   11872       # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
   11873       if test "$am_cv_pathless_PYTHON" = none; then
   11874 	PYTHON=:
   11875       else
   11876         # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
   11877 set dummy $am_cv_pathless_PYTHON; ac_word=$2
   11878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11879 printf %s "checking for $ac_word... " >&6; }
   11880 if test ${ac_cv_path_PYTHON+y}
   11881 then :
   11882   printf %s "(cached) " >&6
   11883 else $as_nop
   11884   case $PYTHON in
   11885   [\\/]* | ?:[\\/]*)
   11886   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
   11887   ;;
   11888   *)
   11889   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11890 for as_dir in $PATH
   11891 do
   11892   IFS=$as_save_IFS
   11893   case $as_dir in #(((
   11894     '') as_dir=./ ;;
   11895     */) ;;
   11896     *) as_dir=$as_dir/ ;;
   11897   esac
   11898     for ac_exec_ext in '' $ac_executable_extensions; do
   11899   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11900     ac_cv_path_PYTHON="$as_dir$ac_word$ac_exec_ext"
   11901     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11902     break 2
   11903   fi
   11904 done
   11905   done
   11906 IFS=$as_save_IFS
   11907 
   11908   ;;
   11909 esac
   11910 fi
   11911 PYTHON=$ac_cv_path_PYTHON
   11912 if test -n "$PYTHON"; then
   11913   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
   11914 printf "%s\n" "$PYTHON" >&6; }
   11915 else
   11916   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11917 printf "%s\n" "no" >&6; }
   11918 fi
   11919 
   11920 
   11921       fi
   11922       am_display_PYTHON=$am_cv_pathless_PYTHON
   11923     fi
   11924 
   11925 
   11926   if test "$PYTHON" = :; then
   11927         :
   11928   else
   11929 
   11930               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
   11931 printf %s "checking for $am_display_PYTHON version... " >&6; }
   11932 if test ${am_cv_python_version+y}
   11933 then :
   11934   printf %s "(cached) " >&6
   11935 else $as_nop
   11936   am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[:2])"`
   11937 fi
   11938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
   11939 printf "%s\n" "$am_cv_python_version" >&6; }
   11940   PYTHON_VERSION=$am_cv_python_version
   11941 
   11942 
   11943         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
   11944 printf %s "checking for $am_display_PYTHON platform... " >&6; }
   11945 if test ${am_cv_python_platform+y}
   11946 then :
   11947   printf %s "(cached) " >&6
   11948 else $as_nop
   11949   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
   11950 fi
   11951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
   11952 printf "%s\n" "$am_cv_python_platform" >&6; }
   11953   PYTHON_PLATFORM=$am_cv_python_platform
   11954 
   11955 
   11956                             if test "x$prefix" = xNONE; then
   11957     am__usable_prefix=$ac_default_prefix
   11958   else
   11959     am__usable_prefix=$prefix
   11960   fi
   11961 
   11962   # Allow user to request using sys.* values from Python,
   11963   # instead of the GNU $prefix values.
   11964 
   11965 # Check whether --with-python-sys-prefix was given.
   11966 if test ${with_python_sys_prefix+y}
   11967 then :
   11968   withval=$with_python_sys_prefix; am_use_python_sys=:
   11969 else $as_nop
   11970   am_use_python_sys=false
   11971 fi
   11972 
   11973 
   11974   # Allow user to override whatever the default Python prefix is.
   11975 
   11976 # Check whether --with-python_prefix was given.
   11977 if test ${with_python_prefix+y}
   11978 then :
   11979   withval=$with_python_prefix; am_python_prefix_subst=$withval
   11980    am_cv_python_prefix=$withval
   11981    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON prefix" >&5
   11982 printf %s "checking for explicit $am_display_PYTHON prefix... " >&6; }
   11983    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
   11984 printf "%s\n" "$am_cv_python_prefix" >&6; }
   11985 else $as_nop
   11986 
   11987    if $am_use_python_sys; then
   11988      # using python sys.prefix value, not GNU
   11989      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON prefix" >&5
   11990 printf %s "checking for python default $am_display_PYTHON prefix... " >&6; }
   11991 if test ${am_cv_python_prefix+y}
   11992 then :
   11993   printf %s "(cached) " >&6
   11994 else $as_nop
   11995   am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`
   11996 fi
   11997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
   11998 printf "%s\n" "$am_cv_python_prefix" >&6; }
   11999 
   12000                case $am_cv_python_prefix in
   12001      $am__usable_prefix*)
   12002        am__strip_prefix=`echo "$am__usable_prefix" | sed 's|.|.|g'`
   12003        am_python_prefix_subst=`echo "$am_cv_python_prefix" | sed "s,^$am__strip_prefix,\\${prefix},"`
   12004        ;;
   12005      *)
   12006        am_python_prefix_subst=$am_cv_python_prefix
   12007        ;;
   12008      esac
   12009    else # using GNU prefix value, not python sys.prefix
   12010      am_python_prefix_subst='${prefix}'
   12011      am_python_prefix=$am_python_prefix_subst
   12012      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON prefix" >&5
   12013 printf %s "checking for GNU default $am_display_PYTHON prefix... " >&6; }
   12014      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_prefix" >&5
   12015 printf "%s\n" "$am_python_prefix" >&6; }
   12016    fi
   12017 fi
   12018 
   12019   # Substituting python_prefix_subst value.
   12020   PYTHON_PREFIX=$am_python_prefix_subst
   12021 
   12022 
   12023   # emacs-page Now do it all over again for Python exec_prefix, but with yet
   12024   # another conditional: fall back to regular prefix if that was specified.
   12025 
   12026 # Check whether --with-python_exec_prefix was given.
   12027 if test ${with_python_exec_prefix+y}
   12028 then :
   12029   withval=$with_python_exec_prefix; am_python_exec_prefix_subst=$withval
   12030    am_cv_python_exec_prefix=$withval
   12031    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON exec_prefix" >&5
   12032 printf %s "checking for explicit $am_display_PYTHON exec_prefix... " >&6; }
   12033    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
   12034 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
   12035 else $as_nop
   12036 
   12037    # no explicit --with-python_exec_prefix, but if
   12038    # --with-python_prefix was given, use its value for python_exec_prefix too.
   12039    if test -n "$with_python_prefix"
   12040 then :
   12041   am_python_exec_prefix_subst=$with_python_prefix
   12042     am_cv_python_exec_prefix=$with_python_prefix
   12043     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python_prefix-given $am_display_PYTHON exec_prefix" >&5
   12044 printf %s "checking for python_prefix-given $am_display_PYTHON exec_prefix... " >&6; }
   12045     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
   12046 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
   12047 else $as_nop
   12048 
   12049     # Set am__usable_exec_prefix whether using GNU or Python values,
   12050     # since we use that variable for pyexecdir.
   12051     if test "x$exec_prefix" = xNONE; then
   12052       am__usable_exec_prefix=$am__usable_prefix
   12053     else
   12054       am__usable_exec_prefix=$exec_prefix
   12055     fi
   12056     #
   12057     if $am_use_python_sys; then # using python sys.exec_prefix, not GNU
   12058       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON exec_prefix" >&5
   12059 printf %s "checking for python default $am_display_PYTHON exec_prefix... " >&6; }
   12060 if test ${am_cv_python_exec_prefix+y}
   12061 then :
   12062   printf %s "(cached) " >&6
   12063 else $as_nop
   12064   am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`
   12065 fi
   12066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
   12067 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
   12068                         case $am_cv_python_exec_prefix in
   12069       $am__usable_exec_prefix*)
   12070         am__strip_prefix=`echo "$am__usable_exec_prefix" | sed 's|.|.|g'`
   12071         am_python_exec_prefix_subst=`echo "$am_cv_python_exec_prefix" | sed "s,^$am__strip_prefix,\\${exec_prefix},"`
   12072         ;;
   12073       *)
   12074         am_python_exec_prefix_subst=$am_cv_python_exec_prefix
   12075         ;;
   12076      esac
   12077    else # using GNU $exec_prefix, not python sys.exec_prefix
   12078      am_python_exec_prefix_subst='${exec_prefix}'
   12079      am_python_exec_prefix=$am_python_exec_prefix_subst
   12080      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON exec_prefix" >&5
   12081 printf %s "checking for GNU default $am_display_PYTHON exec_prefix... " >&6; }
   12082      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_exec_prefix" >&5
   12083 printf "%s\n" "$am_python_exec_prefix" >&6; }
   12084    fi
   12085 fi
   12086 fi
   12087 
   12088   # Substituting python_exec_prefix_subst.
   12089   PYTHON_EXEC_PREFIX=$am_python_exec_prefix_subst
   12090 
   12091 
   12092   # Factor out some code duplication into this shell variable.
   12093   am_python_setup_sysconfig="\
   12094 import sys
   12095 # Prefer sysconfig over distutils.sysconfig, for better compatibility
   12096 # with python 3.x.  See automake bug#10227.
   12097 try:
   12098     import sysconfig
   12099 except ImportError:
   12100     can_use_sysconfig = 0
   12101 else:
   12102     can_use_sysconfig = 1
   12103 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
   12104 # <https://github.com/pypa/virtualenv/issues/118>
   12105 try:
   12106     from platform import python_implementation
   12107     if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
   12108         can_use_sysconfig = 0
   12109 except ImportError:
   12110     pass"
   12111 
   12112 
   12113               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory (pythondir)" >&5
   12114 printf %s "checking for $am_display_PYTHON script directory (pythondir)... " >&6; }
   12115 if test ${am_cv_python_pythondir+y}
   12116 then :
   12117   printf %s "(cached) " >&6
   12118 else $as_nop
   12119   if test "x$am_cv_python_prefix" = x; then
   12120      am_py_prefix=$am__usable_prefix
   12121    else
   12122      am_py_prefix=$am_cv_python_prefix
   12123    fi
   12124    am_cv_python_pythondir=`$PYTHON -c "
   12125 $am_python_setup_sysconfig
   12126 if can_use_sysconfig:
   12127   sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
   12128 else:
   12129   from distutils import sysconfig
   12130   sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
   12131 sys.stdout.write(sitedir)"`
   12132    #
   12133    case $am_cv_python_pythondir in
   12134    $am_py_prefix*)
   12135      am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
   12136      am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
   12137      ;;
   12138    *)
   12139      case $am_py_prefix in
   12140        /usr|/System*) ;;
   12141        *) am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
   12142           ;;
   12143      esac
   12144      ;;
   12145    esac
   12146 
   12147 fi
   12148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
   12149 printf "%s\n" "$am_cv_python_pythondir" >&6; }
   12150   pythondir=$am_cv_python_pythondir
   12151 
   12152 
   12153           pkgpythondir=\${pythondir}/$PACKAGE
   12154 
   12155 
   12156           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory (pyexecdir)" >&5
   12157 printf %s "checking for $am_display_PYTHON extension module directory (pyexecdir)... " >&6; }
   12158 if test ${am_cv_python_pyexecdir+y}
   12159 then :
   12160   printf %s "(cached) " >&6
   12161 else $as_nop
   12162   if test "x$am_cv_python_exec_prefix" = x; then
   12163      am_py_exec_prefix=$am__usable_exec_prefix
   12164    else
   12165      am_py_exec_prefix=$am_cv_python_exec_prefix
   12166    fi
   12167    am_cv_python_pyexecdir=`$PYTHON -c "
   12168 $am_python_setup_sysconfig
   12169 if can_use_sysconfig:
   12170   sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_exec_prefix'})
   12171 else:
   12172   from distutils import sysconfig
   12173   sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
   12174 sys.stdout.write(sitedir)"`
   12175    #
   12176    case $am_cv_python_pyexecdir in
   12177    $am_py_exec_prefix*)
   12178      am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
   12179      am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
   12180      ;;
   12181    *)
   12182      case $am_py_exec_prefix in
   12183        /usr|/System*) ;;
   12184        *) am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
   12185           ;;
   12186      esac
   12187      ;;
   12188    esac
   12189 
   12190 fi
   12191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
   12192 printf "%s\n" "$am_cv_python_pyexecdir" >&6; }
   12193   pyexecdir=$am_cv_python_pyexecdir
   12194 
   12195 
   12196       pkgpyexecdir=\${pyexecdir}/$PACKAGE
   12197 
   12198 
   12199 
   12200   fi
   12201 
   12202  if test "$PYTHON" != :; then
   12203   HAVE_PYTHON_TRUE=
   12204   HAVE_PYTHON_FALSE='#'
   12205 else
   12206   HAVE_PYTHON_TRUE='#'
   12207   HAVE_PYTHON_FALSE=
   12208 fi
   12209 
   12210 
   12211 
   12212 
   12213 # Check whether --enable-legacy was given.
   12214 if test ${enable_legacy+y}
   12215 then :
   12216   enableval=$enable_legacy; LEGACY=$enableval
   12217 else $as_nop
   12218   LEGACY=no
   12219 fi
   12220 
   12221  if test "x$LEGACY" = "xyes"; then
   12222   LEGACY_TRUE=
   12223   LEGACY_FALSE='#'
   12224 else
   12225   LEGACY_TRUE='#'
   12226   LEGACY_FALSE=
   12227 fi
   12228 
   12229 
   12230 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
   12231 if test "x$ac_cv_header_sys_select_h" = xyes
   12232 then :
   12233   printf "%s\n" "#define HAVE_SYS_SELECT_H 1" >>confdefs.h
   12234 
   12235 fi
   12236 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
   12237 if test "x$ac_cv_header_sys_param_h" = xyes
   12238 then :
   12239   printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
   12240 
   12241 fi
   12242 ac_fn_c_check_header_compile "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
   12243 if test "x$ac_cv_header_sys_types_h" = xyes
   12244 then :
   12245   printf "%s\n" "#define HAVE_SYS_TYPES_H 1" >>confdefs.h
   12246 
   12247 fi
   12248 ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
   12249 if test "x$ac_cv_header_sys_time_h" = xyes
   12250 then :
   12251   printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h
   12252 
   12253 fi
   12254 
   12255 
   12256 # Handle Xpoll.h.in
   12257 # Avoid determining fds_bits on WIN32 hosts (not including cygwin)
   12258 case $host_os in
   12259 	mingw*)		fds_bits_found=true;;
   12260 	*)		fds_bits_found=false;;
   12261 esac
   12262 
   12263 if test "x$fds_bits_found" = xfalse ; then
   12264    ac_fn_c_check_member "$LINENO" "fd_set" "fds_bits" "ac_cv_member_fd_set_fds_bits" "
   12265                                #ifdef HAVE_SYS_PARAM_H
   12266                                #include <sys/param.h>
   12267                                #endif
   12268                                #ifdef HAVE_SYS_TYPES_H
   12269                                #include <sys/types.h>
   12270                                #endif
   12271                                #ifdef HAVE_SYS_TIME_H
   12272                                #include <sys/time.h>
   12273                                #endif
   12274                                #ifdef HAVE_SYS_SELECT_H
   12275 			       #include <sys/select.h>
   12276                                #endif
   12277 
   12278 "
   12279 if test "x$ac_cv_member_fd_set_fds_bits" = xyes
   12280 then :
   12281 
   12282 			       fds_bits_found=plain
   12283 			       USE_FDS_BITS="fds_bits"
   12284 
   12285 fi
   12286 
   12287 fi
   12288 
   12289 if test "x$fds_bits_found" = xfalse ; then
   12290    ac_fn_c_check_member "$LINENO" "fd_set" "__fds_bits" "ac_cv_member_fd_set___fds_bits" "
   12291                                #ifdef HAVE_SYS_PARAM_H
   12292                                #include <sys/param.h>
   12293                                #endif
   12294                                #ifdef HAVE_SYS_TYPES_H
   12295                                #include <sys/types.h>
   12296                                #endif
   12297                                #ifdef HAVE_SYS_TIME_H
   12298                                #include <sys/time.h>
   12299                                #endif
   12300                                #ifdef HAVE_SYS_SELECT_H
   12301 			       #include <sys/select.h>
   12302                                #endif
   12303 
   12304 "
   12305 if test "x$ac_cv_member_fd_set___fds_bits" = xyes
   12306 then :
   12307 
   12308 			    fds_bits_found=underscores
   12309 			    USE_FDS_BITS="__fds_bits"
   12310 
   12311 fi
   12312 
   12313 fi
   12314 
   12315 if test "x$fds_bits_found" = xfalse ; then
   12316     as_fn_error $? "Could not determine how to access the fds_bits or equivalent
   12317                   structure in fd_set on your platform." "$LINENO" 5
   12318 fi
   12319 
   12320 
   12321 
   12322 ac_config_files="$ac_config_files applewmproto.pc bigreqsproto.pc compositeproto.pc damageproto.pc dmxproto.pc dpmsproto.pc dri2proto.pc dri3proto.pc evieproto.pc fixesproto.pc fontcacheproto.pc fontsproto.pc glproto.pc include/X11/Xpoll.h inputproto.pc kbproto.pc lg3dproto.pc Makefile presentproto.pc printproto.pc randrproto.pc recordproto.pc renderproto.pc resourceproto.pc scrnsaverproto.pc specs/Makefile specs/bigreqsproto/Makefile specs/fontsproto/Makefile specs/kbproto/Makefile specs/recordproto/Makefile specs/scrnsaverproto/Makefile specs/xcmiscproto/Makefile specs/xextproto/Makefile specs/xproto/Makefile trapproto.pc videoproto.pc windowswmproto.pc xcalibrateproto.pc xcmiscproto.pc xextproto.pc xf86bigfontproto.pc xf86dgaproto.pc xf86driproto.pc xf86miscproto.pc xf86rushproto.pc xf86vidmodeproto.pc xineramaproto.pc xproto.pc xproxymngproto.pc xwaylandproto.pc"
   12323 
   12324 
   12325 cat >confcache <<\_ACEOF
   12326 # This file is a shell script that caches the results of configure
   12327 # tests run on this system so they can be shared between configure
   12328 # scripts and configure runs, see configure's option --config-cache.
   12329 # It is not useful on other systems.  If it contains results you don't
   12330 # want to keep, you may remove or edit it.
   12331 #
   12332 # config.status only pays attention to the cache file if you give it
   12333 # the --recheck option to rerun configure.
   12334 #
   12335 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   12336 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   12337 # following values.
   12338 
   12339 _ACEOF
   12340 
   12341 # The following way of writing the cache mishandles newlines in values,
   12342 # but we know of no workaround that is simple, portable, and efficient.
   12343 # So, we kill variables containing newlines.
   12344 # Ultrix sh set writes to stderr and can't be redirected directly,
   12345 # and sets the high bit in the cache file unless we assign to the vars.
   12346 (
   12347   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   12348     eval ac_val=\$$ac_var
   12349     case $ac_val in #(
   12350     *${as_nl}*)
   12351       case $ac_var in #(
   12352       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   12353 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   12354       esac
   12355       case $ac_var in #(
   12356       _ | IFS | as_nl) ;; #(
   12357       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   12358       *) { eval $ac_var=; unset $ac_var;} ;;
   12359       esac ;;
   12360     esac
   12361   done
   12362 
   12363   (set) 2>&1 |
   12364     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   12365     *${as_nl}ac_space=\ *)
   12366       # `set' does not quote correctly, so add quotes: double-quote
   12367       # substitution turns \\\\ into \\, and sed turns \\ into \.
   12368       sed -n \
   12369 	"s/'/'\\\\''/g;
   12370 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   12371       ;; #(
   12372     *)
   12373       # `set' quotes correctly as required by POSIX, so do not add quotes.
   12374       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   12375       ;;
   12376     esac |
   12377     sort
   12378 ) |
   12379   sed '
   12380      /^ac_cv_env_/b end
   12381      t clear
   12382      :clear
   12383      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   12384      t end
   12385      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12386      :end' >>confcache
   12387 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12388   if test -w "$cache_file"; then
   12389     if test "x$cache_file" != "x/dev/null"; then
   12390       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   12391 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   12392       if test ! -f "$cache_file" || test -h "$cache_file"; then
   12393 	cat confcache >"$cache_file"
   12394       else
   12395         case $cache_file in #(
   12396         */* | ?:*)
   12397 	  mv -f confcache "$cache_file"$$ &&
   12398 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   12399         *)
   12400 	  mv -f confcache "$cache_file" ;;
   12401 	esac
   12402       fi
   12403     fi
   12404   else
   12405     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   12406 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   12407   fi
   12408 fi
   12409 rm -f confcache
   12410 
   12411 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12412 # Let make expand exec_prefix.
   12413 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12414 
   12415 # Transform confdefs.h into DEFS.
   12416 # Protect against shell expansion while executing Makefile rules.
   12417 # Protect against Makefile macro expansion.
   12418 #
   12419 # If the first sed substitution is executed (which looks for macros that
   12420 # take arguments), then branch to the quote section.  Otherwise,
   12421 # look for a macro that doesn't take arguments.
   12422 ac_script='
   12423 :mline
   12424 /\\$/{
   12425  N
   12426  s,\\\n,,
   12427  b mline
   12428 }
   12429 t clear
   12430 :clear
   12431 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
   12432 t quote
   12433 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
   12434 t quote
   12435 b any
   12436 :quote
   12437 s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
   12438 s/\[/\\&/g
   12439 s/\]/\\&/g
   12440 s/\$/$$/g
   12441 H
   12442 :any
   12443 ${
   12444 	g
   12445 	s/^\n//
   12446 	s/\n/ /g
   12447 	p
   12448 }
   12449 '
   12450 DEFS=`sed -n "$ac_script" confdefs.h`
   12451 
   12452 
   12453 ac_libobjs=
   12454 ac_ltlibobjs=
   12455 U=
   12456 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12457   # 1. Remove the extension, and $U if already installed.
   12458   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12459   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   12460   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12461   #    will be set to the directory where LIBOBJS objects are built.
   12462   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12463   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12464 done
   12465 LIBOBJS=$ac_libobjs
   12466 
   12467 LTLIBOBJS=$ac_ltlibobjs
   12468 
   12469 
   12470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   12471 printf %s "checking that generated files are newer than configure... " >&6; }
   12472    if test -n "$am_sleep_pid"; then
   12473      # Hide warnings about reused PIDs.
   12474      wait $am_sleep_pid 2>/dev/null
   12475    fi
   12476    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   12477 printf "%s\n" "done" >&6; }
   12478  if test -n "$EXEEXT"; then
   12479   am__EXEEXT_TRUE=
   12480   am__EXEEXT_FALSE='#'
   12481 else
   12482   am__EXEEXT_TRUE='#'
   12483   am__EXEEXT_FALSE=
   12484 fi
   12485 
   12486 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12487   as_fn_error $? "conditional \"AMDEP\" was never defined.
   12488 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12489 fi
   12490 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12491   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12492 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12493 fi
   12494 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
   12495   as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
   12496 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12497 fi
   12498 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   12499   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   12500 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12501 fi
   12502 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   12503   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   12504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12505 fi
   12506 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   12507   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   12508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12509 fi
   12510 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   12511   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   12512 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12513 fi
   12514 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   12515   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   12516 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12517 fi
   12518 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
   12519   as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
   12520 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12521 fi
   12522 if test -z "${LEGACY_TRUE}" && test -z "${LEGACY_FALSE}"; then
   12523   as_fn_error $? "conditional \"LEGACY\" was never defined.
   12524 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12525 fi
   12526 
   12527 : "${CONFIG_STATUS=./config.status}"
   12528 ac_write_fail=0
   12529 ac_clean_files_save=$ac_clean_files
   12530 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12532 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   12533 as_write_fail=0
   12534 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   12535 #! $SHELL
   12536 # Generated by $as_me.
   12537 # Run this file to recreate the current configuration.
   12538 # Compiler output produced by configure, useful for debugging
   12539 # configure, is in config.log if it exists.
   12540 
   12541 debug=false
   12542 ac_cs_recheck=false
   12543 ac_cs_silent=false
   12544 
   12545 SHELL=\${CONFIG_SHELL-$SHELL}
   12546 export SHELL
   12547 _ASEOF
   12548 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12549 ## -------------------- ##
   12550 ## M4sh Initialization. ##
   12551 ## -------------------- ##
   12552 
   12553 # Be more Bourne compatible
   12554 DUALCASE=1; export DUALCASE # for MKS sh
   12555 as_nop=:
   12556 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   12557 then :
   12558   emulate sh
   12559   NULLCMD=:
   12560   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12561   # is contrary to our usage.  Disable this feature.
   12562   alias -g '${1+"$@"}'='"$@"'
   12563   setopt NO_GLOB_SUBST
   12564 else $as_nop
   12565   case `(set -o) 2>/dev/null` in #(
   12566   *posix*) :
   12567     set -o posix ;; #(
   12568   *) :
   12569      ;;
   12570 esac
   12571 fi
   12572 
   12573 
   12574 
   12575 # Reset variables that may have inherited troublesome values from
   12576 # the environment.
   12577 
   12578 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   12579 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   12580 # side effect of setting IFS to empty, thus disabling word splitting.)
   12581 # Quoting is to prevent editors from complaining about space-tab.
   12582 as_nl='
   12583 '
   12584 export as_nl
   12585 IFS=" ""	$as_nl"
   12586 
   12587 PS1='$ '
   12588 PS2='> '
   12589 PS4='+ '
   12590 
   12591 # Ensure predictable behavior from utilities with locale-dependent output.
   12592 LC_ALL=C
   12593 export LC_ALL
   12594 LANGUAGE=C
   12595 export LANGUAGE
   12596 
   12597 # We cannot yet rely on "unset" to work, but we need these variables
   12598 # to be unset--not just set to an empty or harmless value--now, to
   12599 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   12600 # also avoids known problems related to "unset" and subshell syntax
   12601 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   12602 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   12603 do eval test \${$as_var+y} \
   12604   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12605 done
   12606 
   12607 # Ensure that fds 0, 1, and 2 are open.
   12608 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   12609 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   12610 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   12611 
   12612 # The user is always right.
   12613 if ${PATH_SEPARATOR+false} :; then
   12614   PATH_SEPARATOR=:
   12615   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12616     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12617       PATH_SEPARATOR=';'
   12618   }
   12619 fi
   12620 
   12621 
   12622 # Find who we are.  Look in the path if we contain no directory separator.
   12623 as_myself=
   12624 case $0 in #((
   12625   *[\\/]* ) as_myself=$0 ;;
   12626   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12627 for as_dir in $PATH
   12628 do
   12629   IFS=$as_save_IFS
   12630   case $as_dir in #(((
   12631     '') as_dir=./ ;;
   12632     */) ;;
   12633     *) as_dir=$as_dir/ ;;
   12634   esac
   12635     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   12636   done
   12637 IFS=$as_save_IFS
   12638 
   12639      ;;
   12640 esac
   12641 # We did not find ourselves, most probably we were run as `sh COMMAND'
   12642 # in which case we are not to be found in the path.
   12643 if test "x$as_myself" = x; then
   12644   as_myself=$0
   12645 fi
   12646 if test ! -f "$as_myself"; then
   12647   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12648   exit 1
   12649 fi
   12650 
   12651 
   12652 
   12653 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12654 # ----------------------------------------
   12655 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12656 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12657 # script with STATUS, using 1 if that was 0.
   12658 as_fn_error ()
   12659 {
   12660   as_status=$1; test $as_status -eq 0 && as_status=1
   12661   if test "$4"; then
   12662     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12663     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12664   fi
   12665   printf "%s\n" "$as_me: error: $2" >&2
   12666   as_fn_exit $as_status
   12667 } # as_fn_error
   12668 
   12669 
   12670 
   12671 # as_fn_set_status STATUS
   12672 # -----------------------
   12673 # Set $? to STATUS, without forking.
   12674 as_fn_set_status ()
   12675 {
   12676   return $1
   12677 } # as_fn_set_status
   12678 
   12679 # as_fn_exit STATUS
   12680 # -----------------
   12681 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12682 as_fn_exit ()
   12683 {
   12684   set +e
   12685   as_fn_set_status $1
   12686   exit $1
   12687 } # as_fn_exit
   12688 
   12689 # as_fn_unset VAR
   12690 # ---------------
   12691 # Portably unset VAR.
   12692 as_fn_unset ()
   12693 {
   12694   { eval $1=; unset $1;}
   12695 }
   12696 as_unset=as_fn_unset
   12697 
   12698 # as_fn_append VAR VALUE
   12699 # ----------------------
   12700 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12701 # advantage of any shell optimizations that allow amortized linear growth over
   12702 # repeated appends, instead of the typical quadratic growth present in naive
   12703 # implementations.
   12704 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   12705 then :
   12706   eval 'as_fn_append ()
   12707   {
   12708     eval $1+=\$2
   12709   }'
   12710 else $as_nop
   12711   as_fn_append ()
   12712   {
   12713     eval $1=\$$1\$2
   12714   }
   12715 fi # as_fn_append
   12716 
   12717 # as_fn_arith ARG...
   12718 # ------------------
   12719 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12720 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12721 # must be portable across $(()) and expr.
   12722 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   12723 then :
   12724   eval 'as_fn_arith ()
   12725   {
   12726     as_val=$(( $* ))
   12727   }'
   12728 else $as_nop
   12729   as_fn_arith ()
   12730   {
   12731     as_val=`expr "$@" || test $? -eq 1`
   12732   }
   12733 fi # as_fn_arith
   12734 
   12735 
   12736 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12737    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12738   as_expr=expr
   12739 else
   12740   as_expr=false
   12741 fi
   12742 
   12743 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12744   as_basename=basename
   12745 else
   12746   as_basename=false
   12747 fi
   12748 
   12749 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12750   as_dirname=dirname
   12751 else
   12752   as_dirname=false
   12753 fi
   12754 
   12755 as_me=`$as_basename -- "$0" ||
   12756 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12757 	 X"$0" : 'X\(//\)$' \| \
   12758 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12759 printf "%s\n" X/"$0" |
   12760     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12761 	    s//\1/
   12762 	    q
   12763 	  }
   12764 	  /^X\/\(\/\/\)$/{
   12765 	    s//\1/
   12766 	    q
   12767 	  }
   12768 	  /^X\/\(\/\).*/{
   12769 	    s//\1/
   12770 	    q
   12771 	  }
   12772 	  s/.*/./; q'`
   12773 
   12774 # Avoid depending upon Character Ranges.
   12775 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12776 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12777 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12778 as_cr_digits='0123456789'
   12779 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12780 
   12781 
   12782 # Determine whether it's possible to make 'echo' print without a newline.
   12783 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   12784 # for compatibility with existing Makefiles.
   12785 ECHO_C= ECHO_N= ECHO_T=
   12786 case `echo -n x` in #(((((
   12787 -n*)
   12788   case `echo 'xy\c'` in
   12789   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12790   xy)  ECHO_C='\c';;
   12791   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12792        ECHO_T='	';;
   12793   esac;;
   12794 *)
   12795   ECHO_N='-n';;
   12796 esac
   12797 
   12798 # For backward compatibility with old third-party macros, we provide
   12799 # the shell variables $as_echo and $as_echo_n.  New code should use
   12800 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   12801 as_echo='printf %s\n'
   12802 as_echo_n='printf %s'
   12803 
   12804 rm -f conf$$ conf$$.exe conf$$.file
   12805 if test -d conf$$.dir; then
   12806   rm -f conf$$.dir/conf$$.file
   12807 else
   12808   rm -f conf$$.dir
   12809   mkdir conf$$.dir 2>/dev/null
   12810 fi
   12811 if (echo >conf$$.file) 2>/dev/null; then
   12812   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12813     as_ln_s='ln -s'
   12814     # ... but there are two gotchas:
   12815     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   12816     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   12817     # In both cases, we have to default to `cp -pR'.
   12818     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12819       as_ln_s='cp -pR'
   12820   elif ln conf$$.file conf$$ 2>/dev/null; then
   12821     as_ln_s=ln
   12822   else
   12823     as_ln_s='cp -pR'
   12824   fi
   12825 else
   12826   as_ln_s='cp -pR'
   12827 fi
   12828 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12829 rmdir conf$$.dir 2>/dev/null
   12830 
   12831 
   12832 # as_fn_mkdir_p
   12833 # -------------
   12834 # Create "$as_dir" as a directory, including parents if necessary.
   12835 as_fn_mkdir_p ()
   12836 {
   12837 
   12838   case $as_dir in #(
   12839   -*) as_dir=./$as_dir;;
   12840   esac
   12841   test -d "$as_dir" || eval $as_mkdir_p || {
   12842     as_dirs=
   12843     while :; do
   12844       case $as_dir in #(
   12845       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12846       *) as_qdir=$as_dir;;
   12847       esac
   12848       as_dirs="'$as_qdir' $as_dirs"
   12849       as_dir=`$as_dirname -- "$as_dir" ||
   12850 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12851 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12852 	 X"$as_dir" : 'X\(//\)$' \| \
   12853 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12854 printf "%s\n" X"$as_dir" |
   12855     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12856 	    s//\1/
   12857 	    q
   12858 	  }
   12859 	  /^X\(\/\/\)[^/].*/{
   12860 	    s//\1/
   12861 	    q
   12862 	  }
   12863 	  /^X\(\/\/\)$/{
   12864 	    s//\1/
   12865 	    q
   12866 	  }
   12867 	  /^X\(\/\).*/{
   12868 	    s//\1/
   12869 	    q
   12870 	  }
   12871 	  s/.*/./; q'`
   12872       test -d "$as_dir" && break
   12873     done
   12874     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12875   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12876 
   12877 
   12878 } # as_fn_mkdir_p
   12879 if mkdir -p . 2>/dev/null; then
   12880   as_mkdir_p='mkdir -p "$as_dir"'
   12881 else
   12882   test -d ./-p && rmdir ./-p
   12883   as_mkdir_p=false
   12884 fi
   12885 
   12886 
   12887 # as_fn_executable_p FILE
   12888 # -----------------------
   12889 # Test if FILE is an executable regular file.
   12890 as_fn_executable_p ()
   12891 {
   12892   test -f "$1" && test -x "$1"
   12893 } # as_fn_executable_p
   12894 as_test_x='test -x'
   12895 as_executable_p=as_fn_executable_p
   12896 
   12897 # Sed expression to map a string onto a valid CPP name.
   12898 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   12899 
   12900 # Sed expression to map a string onto a valid variable name.
   12901 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   12902 
   12903 
   12904 exec 6>&1
   12905 ## ----------------------------------- ##
   12906 ## Main body of $CONFIG_STATUS script. ##
   12907 ## ----------------------------------- ##
   12908 _ASEOF
   12909 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12910 
   12911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12912 # Save the log message, to keep $0 and so on meaningful, and to
   12913 # report actual input values of CONFIG_FILES etc. instead of their
   12914 # values after options handling.
   12915 ac_log="
   12916 This file was extended by xorgproto $as_me 2024.1, which was
   12917 generated by GNU Autoconf 2.71.  Invocation command line was
   12918 
   12919   CONFIG_FILES    = $CONFIG_FILES
   12920   CONFIG_HEADERS  = $CONFIG_HEADERS
   12921   CONFIG_LINKS    = $CONFIG_LINKS
   12922   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12923   $ $0 $@
   12924 
   12925 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12926 "
   12927 
   12928 _ACEOF
   12929 
   12930 case $ac_config_files in *"
   12931 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12932 esac
   12933 
   12934 
   12935 
   12936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12937 # Files that config.status was made for.
   12938 config_files="$ac_config_files"
   12939 config_commands="$ac_config_commands"
   12940 
   12941 _ACEOF
   12942 
   12943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12944 ac_cs_usage="\
   12945 \`$as_me' instantiates files and other configuration actions
   12946 from templates according to the current configuration.  Unless the files
   12947 and actions are specified as TAGs, all are instantiated by default.
   12948 
   12949 Usage: $0 [OPTION]... [TAG]...
   12950 
   12951   -h, --help       print this help, then exit
   12952   -V, --version    print version number and configuration settings, then exit
   12953       --config     print configuration, then exit
   12954   -q, --quiet, --silent
   12955                    do not print progress messages
   12956   -d, --debug      don't remove temporary files
   12957       --recheck    update $as_me by reconfiguring in the same conditions
   12958       --file=FILE[:TEMPLATE]
   12959                    instantiate the configuration file FILE
   12960 
   12961 Configuration files:
   12962 $config_files
   12963 
   12964 Configuration commands:
   12965 $config_commands
   12966 
   12967 Report bugs to <https://gitlab.freedesktop.org/xorg/proto/xorgproto/issues>."
   12968 
   12969 _ACEOF
   12970 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12971 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12973 ac_cs_config='$ac_cs_config_escaped'
   12974 ac_cs_version="\\
   12975 xorgproto config.status 2024.1
   12976 configured by $0, generated by GNU Autoconf 2.71,
   12977   with options \\"\$ac_cs_config\\"
   12978 
   12979 Copyright (C) 2021 Free Software Foundation, Inc.
   12980 This config.status script is free software; the Free Software Foundation
   12981 gives unlimited permission to copy, distribute and modify it."
   12982 
   12983 ac_pwd='$ac_pwd'
   12984 srcdir='$srcdir'
   12985 INSTALL='$INSTALL'
   12986 MKDIR_P='$MKDIR_P'
   12987 AWK='$AWK'
   12988 test -n "\$AWK" || AWK=awk
   12989 _ACEOF
   12990 
   12991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12992 # The default lists apply if the user does not specify any file.
   12993 ac_need_defaults=:
   12994 while test $# != 0
   12995 do
   12996   case $1 in
   12997   --*=?*)
   12998     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12999     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   13000     ac_shift=:
   13001     ;;
   13002   --*=)
   13003     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   13004     ac_optarg=
   13005     ac_shift=:
   13006     ;;
   13007   *)
   13008     ac_option=$1
   13009     ac_optarg=$2
   13010     ac_shift=shift
   13011     ;;
   13012   esac
   13013 
   13014   case $ac_option in
   13015   # Handling of the options.
   13016   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   13017     ac_cs_recheck=: ;;
   13018   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   13019     printf "%s\n" "$ac_cs_version"; exit ;;
   13020   --config | --confi | --conf | --con | --co | --c )
   13021     printf "%s\n" "$ac_cs_config"; exit ;;
   13022   --debug | --debu | --deb | --de | --d | -d )
   13023     debug=: ;;
   13024   --file | --fil | --fi | --f )
   13025     $ac_shift
   13026     case $ac_optarg in
   13027     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13028     '') as_fn_error $? "missing file argument" ;;
   13029     esac
   13030     as_fn_append CONFIG_FILES " '$ac_optarg'"
   13031     ac_need_defaults=false;;
   13032   --he | --h |  --help | --hel | -h )
   13033     printf "%s\n" "$ac_cs_usage"; exit ;;
   13034   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   13035   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   13036     ac_cs_silent=: ;;
   13037 
   13038   # This is an error.
   13039   -*) as_fn_error $? "unrecognized option: \`$1'
   13040 Try \`$0 --help' for more information." ;;
   13041 
   13042   *) as_fn_append ac_config_targets " $1"
   13043      ac_need_defaults=false ;;
   13044 
   13045   esac
   13046   shift
   13047 done
   13048 
   13049 ac_configure_extra_args=
   13050 
   13051 if $ac_cs_silent; then
   13052   exec 6>/dev/null
   13053   ac_configure_extra_args="$ac_configure_extra_args --silent"
   13054 fi
   13055 
   13056 _ACEOF
   13057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13058 if \$ac_cs_recheck; then
   13059   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   13060   shift
   13061   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   13062   CONFIG_SHELL='$SHELL'
   13063   export CONFIG_SHELL
   13064   exec "\$@"
   13065 fi
   13066 
   13067 _ACEOF
   13068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13069 exec 5>>config.log
   13070 {
   13071   echo
   13072   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   13073 ## Running $as_me. ##
   13074 _ASBOX
   13075   printf "%s\n" "$ac_log"
   13076 } >&5
   13077 
   13078 _ACEOF
   13079 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13080 #
   13081 # INIT-COMMANDS
   13082 #
   13083 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   13084 
   13085 _ACEOF
   13086 
   13087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13088 
   13089 # Handling of arguments.
   13090 for ac_config_target in $ac_config_targets
   13091 do
   13092   case $ac_config_target in
   13093     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   13094     "applewmproto.pc") CONFIG_FILES="$CONFIG_FILES applewmproto.pc" ;;
   13095     "bigreqsproto.pc") CONFIG_FILES="$CONFIG_FILES bigreqsproto.pc" ;;
   13096     "compositeproto.pc") CONFIG_FILES="$CONFIG_FILES compositeproto.pc" ;;
   13097     "damageproto.pc") CONFIG_FILES="$CONFIG_FILES damageproto.pc" ;;
   13098     "dmxproto.pc") CONFIG_FILES="$CONFIG_FILES dmxproto.pc" ;;
   13099     "dpmsproto.pc") CONFIG_FILES="$CONFIG_FILES dpmsproto.pc" ;;
   13100     "dri2proto.pc") CONFIG_FILES="$CONFIG_FILES dri2proto.pc" ;;
   13101     "dri3proto.pc") CONFIG_FILES="$CONFIG_FILES dri3proto.pc" ;;
   13102     "evieproto.pc") CONFIG_FILES="$CONFIG_FILES evieproto.pc" ;;
   13103     "fixesproto.pc") CONFIG_FILES="$CONFIG_FILES fixesproto.pc" ;;
   13104     "fontcacheproto.pc") CONFIG_FILES="$CONFIG_FILES fontcacheproto.pc" ;;
   13105     "fontsproto.pc") CONFIG_FILES="$CONFIG_FILES fontsproto.pc" ;;
   13106     "glproto.pc") CONFIG_FILES="$CONFIG_FILES glproto.pc" ;;
   13107     "include/X11/Xpoll.h") CONFIG_FILES="$CONFIG_FILES include/X11/Xpoll.h" ;;
   13108     "inputproto.pc") CONFIG_FILES="$CONFIG_FILES inputproto.pc" ;;
   13109     "kbproto.pc") CONFIG_FILES="$CONFIG_FILES kbproto.pc" ;;
   13110     "lg3dproto.pc") CONFIG_FILES="$CONFIG_FILES lg3dproto.pc" ;;
   13111     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   13112     "presentproto.pc") CONFIG_FILES="$CONFIG_FILES presentproto.pc" ;;
   13113     "printproto.pc") CONFIG_FILES="$CONFIG_FILES printproto.pc" ;;
   13114     "randrproto.pc") CONFIG_FILES="$CONFIG_FILES randrproto.pc" ;;
   13115     "recordproto.pc") CONFIG_FILES="$CONFIG_FILES recordproto.pc" ;;
   13116     "renderproto.pc") CONFIG_FILES="$CONFIG_FILES renderproto.pc" ;;
   13117     "resourceproto.pc") CONFIG_FILES="$CONFIG_FILES resourceproto.pc" ;;
   13118     "scrnsaverproto.pc") CONFIG_FILES="$CONFIG_FILES scrnsaverproto.pc" ;;
   13119     "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
   13120     "specs/bigreqsproto/Makefile") CONFIG_FILES="$CONFIG_FILES specs/bigreqsproto/Makefile" ;;
   13121     "specs/fontsproto/Makefile") CONFIG_FILES="$CONFIG_FILES specs/fontsproto/Makefile" ;;
   13122     "specs/kbproto/Makefile") CONFIG_FILES="$CONFIG_FILES specs/kbproto/Makefile" ;;
   13123     "specs/recordproto/Makefile") CONFIG_FILES="$CONFIG_FILES specs/recordproto/Makefile" ;;
   13124     "specs/scrnsaverproto/Makefile") CONFIG_FILES="$CONFIG_FILES specs/scrnsaverproto/Makefile" ;;
   13125     "specs/xcmiscproto/Makefile") CONFIG_FILES="$CONFIG_FILES specs/xcmiscproto/Makefile" ;;
   13126     "specs/xextproto/Makefile") CONFIG_FILES="$CONFIG_FILES specs/xextproto/Makefile" ;;
   13127     "specs/xproto/Makefile") CONFIG_FILES="$CONFIG_FILES specs/xproto/Makefile" ;;
   13128     "trapproto.pc") CONFIG_FILES="$CONFIG_FILES trapproto.pc" ;;
   13129     "videoproto.pc") CONFIG_FILES="$CONFIG_FILES videoproto.pc" ;;
   13130     "windowswmproto.pc") CONFIG_FILES="$CONFIG_FILES windowswmproto.pc" ;;
   13131     "xcalibrateproto.pc") CONFIG_FILES="$CONFIG_FILES xcalibrateproto.pc" ;;
   13132     "xcmiscproto.pc") CONFIG_FILES="$CONFIG_FILES xcmiscproto.pc" ;;
   13133     "xextproto.pc") CONFIG_FILES="$CONFIG_FILES xextproto.pc" ;;
   13134     "xf86bigfontproto.pc") CONFIG_FILES="$CONFIG_FILES xf86bigfontproto.pc" ;;
   13135     "xf86dgaproto.pc") CONFIG_FILES="$CONFIG_FILES xf86dgaproto.pc" ;;
   13136     "xf86driproto.pc") CONFIG_FILES="$CONFIG_FILES xf86driproto.pc" ;;
   13137     "xf86miscproto.pc") CONFIG_FILES="$CONFIG_FILES xf86miscproto.pc" ;;
   13138     "xf86rushproto.pc") CONFIG_FILES="$CONFIG_FILES xf86rushproto.pc" ;;
   13139     "xf86vidmodeproto.pc") CONFIG_FILES="$CONFIG_FILES xf86vidmodeproto.pc" ;;
   13140     "xineramaproto.pc") CONFIG_FILES="$CONFIG_FILES xineramaproto.pc" ;;
   13141     "xproto.pc") CONFIG_FILES="$CONFIG_FILES xproto.pc" ;;
   13142     "xproxymngproto.pc") CONFIG_FILES="$CONFIG_FILES xproxymngproto.pc" ;;
   13143     "xwaylandproto.pc") CONFIG_FILES="$CONFIG_FILES xwaylandproto.pc" ;;
   13144 
   13145   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   13146   esac
   13147 done
   13148 
   13149 
   13150 # If the user did not use the arguments to specify the items to instantiate,
   13151 # then the envvar interface is used.  Set only those that are not.
   13152 # We use the long form for the default assignment because of an extremely
   13153 # bizarre bug on SunOS 4.1.3.
   13154 if $ac_need_defaults; then
   13155   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   13156   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   13157 fi
   13158 
   13159 # Have a temporary directory for convenience.  Make it in the build tree
   13160 # simply because there is no reason against having it here, and in addition,
   13161 # creating and moving files from /tmp can sometimes cause problems.
   13162 # Hook for its removal unless debugging.
   13163 # Note that there is a small window in which the directory will not be cleaned:
   13164 # after its creation but before its name has been assigned to `$tmp'.
   13165 $debug ||
   13166 {
   13167   tmp= ac_tmp=
   13168   trap 'exit_status=$?
   13169   : "${ac_tmp:=$tmp}"
   13170   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   13171 ' 0
   13172   trap 'as_fn_exit 1' 1 2 13 15
   13173 }
   13174 # Create a (secure) tmp directory for tmp files.
   13175 
   13176 {
   13177   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   13178   test -d "$tmp"
   13179 }  ||
   13180 {
   13181   tmp=./conf$$-$RANDOM
   13182   (umask 077 && mkdir "$tmp")
   13183 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   13184 ac_tmp=$tmp
   13185 
   13186 # Set up the scripts for CONFIG_FILES section.
   13187 # No need to generate them if there are no CONFIG_FILES.
   13188 # This happens for instance with `./config.status config.h'.
   13189 if test -n "$CONFIG_FILES"; then
   13190 
   13191 
   13192 ac_cr=`echo X | tr X '\015'`
   13193 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   13194 # But we know of no other shell where ac_cr would be empty at this
   13195 # point, so we can use a bashism as a fallback.
   13196 if test "x$ac_cr" = x; then
   13197   eval ac_cr=\$\'\\r\'
   13198 fi
   13199 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   13200 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   13201   ac_cs_awk_cr='\\r'
   13202 else
   13203   ac_cs_awk_cr=$ac_cr
   13204 fi
   13205 
   13206 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   13207 _ACEOF
   13208 
   13209 
   13210 {
   13211   echo "cat >conf$$subs.awk <<_ACEOF" &&
   13212   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   13213   echo "_ACEOF"
   13214 } >conf$$subs.sh ||
   13215   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13216 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   13217 ac_delim='%!_!# '
   13218 for ac_last_try in false false false false false :; do
   13219   . ./conf$$subs.sh ||
   13220     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13221 
   13222   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   13223   if test $ac_delim_n = $ac_delim_num; then
   13224     break
   13225   elif $ac_last_try; then
   13226     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13227   else
   13228     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13229   fi
   13230 done
   13231 rm -f conf$$subs.sh
   13232 
   13233 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13234 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   13235 _ACEOF
   13236 sed -n '
   13237 h
   13238 s/^/S["/; s/!.*/"]=/
   13239 p
   13240 g
   13241 s/^[^!]*!//
   13242 :repl
   13243 t repl
   13244 s/'"$ac_delim"'$//
   13245 t delim
   13246 :nl
   13247 h
   13248 s/\(.\{148\}\)..*/\1/
   13249 t more1
   13250 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   13251 p
   13252 n
   13253 b repl
   13254 :more1
   13255 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13256 p
   13257 g
   13258 s/.\{148\}//
   13259 t nl
   13260 :delim
   13261 h
   13262 s/\(.\{148\}\)..*/\1/
   13263 t more2
   13264 s/["\\]/\\&/g; s/^/"/; s/$/"/
   13265 p
   13266 b
   13267 :more2
   13268 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13269 p
   13270 g
   13271 s/.\{148\}//
   13272 t delim
   13273 ' <conf$$subs.awk | sed '
   13274 /^[^""]/{
   13275   N
   13276   s/\n//
   13277 }
   13278 ' >>$CONFIG_STATUS || ac_write_fail=1
   13279 rm -f conf$$subs.awk
   13280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13281 _ACAWK
   13282 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   13283   for (key in S) S_is_set[key] = 1
   13284   FS = ""
   13285 
   13286 }
   13287 {
   13288   line = $ 0
   13289   nfields = split(line, field, "@")
   13290   substed = 0
   13291   len = length(field[1])
   13292   for (i = 2; i < nfields; i++) {
   13293     key = field[i]
   13294     keylen = length(key)
   13295     if (S_is_set[key]) {
   13296       value = S[key]
   13297       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   13298       len += length(value) + length(field[++i])
   13299       substed = 1
   13300     } else
   13301       len += 1 + keylen
   13302   }
   13303 
   13304   print line
   13305 }
   13306 
   13307 _ACAWK
   13308 _ACEOF
   13309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13310 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   13311   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   13312 else
   13313   cat
   13314 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   13315   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   13316 _ACEOF
   13317 
   13318 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   13319 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   13320 # trailing colons and then remove the whole line if VPATH becomes empty
   13321 # (actually we leave an empty line to preserve line numbers).
   13322 if test "x$srcdir" = x.; then
   13323   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   13324 h
   13325 s///
   13326 s/^/:/
   13327 s/[	 ]*$/:/
   13328 s/:\$(srcdir):/:/g
   13329 s/:\${srcdir}:/:/g
   13330 s/:@srcdir@:/:/g
   13331 s/^:*//
   13332 s/:*$//
   13333 x
   13334 s/\(=[	 ]*\).*/\1/
   13335 G
   13336 s/\n//
   13337 s/^[^=]*=[	 ]*$//
   13338 }'
   13339 fi
   13340 
   13341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13342 fi # test -n "$CONFIG_FILES"
   13343 
   13344 
   13345 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
   13346 shift
   13347 for ac_tag
   13348 do
   13349   case $ac_tag in
   13350   :[FHLC]) ac_mode=$ac_tag; continue;;
   13351   esac
   13352   case $ac_mode$ac_tag in
   13353   :[FHL]*:*);;
   13354   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   13355   :[FH]-) ac_tag=-:-;;
   13356   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13357   esac
   13358   ac_save_IFS=$IFS
   13359   IFS=:
   13360   set x $ac_tag
   13361   IFS=$ac_save_IFS
   13362   shift
   13363   ac_file=$1
   13364   shift
   13365 
   13366   case $ac_mode in
   13367   :L) ac_source=$1;;
   13368   :[FH])
   13369     ac_file_inputs=
   13370     for ac_f
   13371     do
   13372       case $ac_f in
   13373       -) ac_f="$ac_tmp/stdin";;
   13374       *) # Look for the file first in the build tree, then in the source tree
   13375 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13376 	 # because $ac_f cannot contain `:'.
   13377 	 test -f "$ac_f" ||
   13378 	   case $ac_f in
   13379 	   [\\/$]*) false;;
   13380 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13381 	   esac ||
   13382 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   13383       esac
   13384       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13385       as_fn_append ac_file_inputs " '$ac_f'"
   13386     done
   13387 
   13388     # Let's still pretend it is `configure' which instantiates (i.e., don't
   13389     # use $as_me), people would be surprised to read:
   13390     #    /* config.h.  Generated by config.status.  */
   13391     configure_input='Generated from '`
   13392 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13393 	`' by configure.'
   13394     if test x"$ac_file" != x-; then
   13395       configure_input="$ac_file.  $configure_input"
   13396       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13397 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   13398     fi
   13399     # Neutralize special characters interpreted by sed in replacement strings.
   13400     case $configure_input in #(
   13401     *\&* | *\|* | *\\* )
   13402        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   13403        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13404     *) ac_sed_conf_input=$configure_input;;
   13405     esac
   13406 
   13407     case $ac_tag in
   13408     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   13409       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   13410     esac
   13411     ;;
   13412   esac
   13413 
   13414   ac_dir=`$as_dirname -- "$ac_file" ||
   13415 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13416 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13417 	 X"$ac_file" : 'X\(//\)$' \| \
   13418 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13419 printf "%s\n" X"$ac_file" |
   13420     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13421 	    s//\1/
   13422 	    q
   13423 	  }
   13424 	  /^X\(\/\/\)[^/].*/{
   13425 	    s//\1/
   13426 	    q
   13427 	  }
   13428 	  /^X\(\/\/\)$/{
   13429 	    s//\1/
   13430 	    q
   13431 	  }
   13432 	  /^X\(\/\).*/{
   13433 	    s//\1/
   13434 	    q
   13435 	  }
   13436 	  s/.*/./; q'`
   13437   as_dir="$ac_dir"; as_fn_mkdir_p
   13438   ac_builddir=.
   13439 
   13440 case "$ac_dir" in
   13441 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13442 *)
   13443   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   13444   # A ".." for each directory in $ac_dir_suffix.
   13445   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13446   case $ac_top_builddir_sub in
   13447   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13448   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13449   esac ;;
   13450 esac
   13451 ac_abs_top_builddir=$ac_pwd
   13452 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13453 # for backward compatibility:
   13454 ac_top_builddir=$ac_top_build_prefix
   13455 
   13456 case $srcdir in
   13457   .)  # We are building in place.
   13458     ac_srcdir=.
   13459     ac_top_srcdir=$ac_top_builddir_sub
   13460     ac_abs_top_srcdir=$ac_pwd ;;
   13461   [\\/]* | ?:[\\/]* )  # Absolute name.
   13462     ac_srcdir=$srcdir$ac_dir_suffix;
   13463     ac_top_srcdir=$srcdir
   13464     ac_abs_top_srcdir=$srcdir ;;
   13465   *) # Relative name.
   13466     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13467     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13468     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13469 esac
   13470 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13471 
   13472 
   13473   case $ac_mode in
   13474   :F)
   13475   #
   13476   # CONFIG_FILE
   13477   #
   13478 
   13479   case $INSTALL in
   13480   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13481   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13482   esac
   13483   ac_MKDIR_P=$MKDIR_P
   13484   case $MKDIR_P in
   13485   [\\/$]* | ?:[\\/]* ) ;;
   13486   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13487   esac
   13488 _ACEOF
   13489 
   13490 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13491 # If the template does not know about datarootdir, expand it.
   13492 # FIXME: This hack should be removed a few years after 2.60.
   13493 ac_datarootdir_hack=; ac_datarootdir_seen=
   13494 ac_sed_dataroot='
   13495 /datarootdir/ {
   13496   p
   13497   q
   13498 }
   13499 /@datadir@/p
   13500 /@docdir@/p
   13501 /@infodir@/p
   13502 /@localedir@/p
   13503 /@mandir@/p'
   13504 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13505 *datarootdir*) ac_datarootdir_seen=yes;;
   13506 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13507   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13508 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13509 _ACEOF
   13510 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13511   ac_datarootdir_hack='
   13512   s&@datadir@&$datadir&g
   13513   s&@docdir@&$docdir&g
   13514   s&@infodir@&$infodir&g
   13515   s&@localedir@&$localedir&g
   13516   s&@mandir@&$mandir&g
   13517   s&\\\${datarootdir}&$datarootdir&g' ;;
   13518 esac
   13519 _ACEOF
   13520 
   13521 # Neutralize VPATH when `$srcdir' = `.'.
   13522 # Shell code in configure.ac might set extrasub.
   13523 # FIXME: do we really want to maintain this feature?
   13524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13525 ac_sed_extra="$ac_vpsub
   13526 $extrasub
   13527 _ACEOF
   13528 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13529 :t
   13530 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13531 s|@configure_input@|$ac_sed_conf_input|;t t
   13532 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13533 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13534 s&@srcdir@&$ac_srcdir&;t t
   13535 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13536 s&@top_srcdir@&$ac_top_srcdir&;t t
   13537 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13538 s&@builddir@&$ac_builddir&;t t
   13539 s&@abs_builddir@&$ac_abs_builddir&;t t
   13540 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13541 s&@INSTALL@&$ac_INSTALL&;t t
   13542 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13543 $ac_datarootdir_hack
   13544 "
   13545 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13546   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13547 
   13548 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13549   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13550   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13551       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13552   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13553 which seems to be undefined.  Please make sure it is defined" >&5
   13554 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13555 which seems to be undefined.  Please make sure it is defined" >&2;}
   13556 
   13557   rm -f "$ac_tmp/stdin"
   13558   case $ac_file in
   13559   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13560   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13561   esac \
   13562   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13563  ;;
   13564 
   13565 
   13566   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13567 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   13568  ;;
   13569   esac
   13570 
   13571 
   13572   case $ac_file$ac_mode in
   13573     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13574   # Older Autoconf quotes --file arguments for eval, but not when files
   13575   # are listed without --file.  Let's play safe and only enable the eval
   13576   # if we detect the quoting.
   13577   # TODO: see whether this extra hack can be removed once we start
   13578   # requiring Autoconf 2.70 or later.
   13579   case $CONFIG_FILES in #(
   13580   *\'*) :
   13581     eval set x "$CONFIG_FILES" ;; #(
   13582   *) :
   13583     set x $CONFIG_FILES ;; #(
   13584   *) :
   13585      ;;
   13586 esac
   13587   shift
   13588   # Used to flag and report bootstrapping failures.
   13589   am_rc=0
   13590   for am_mf
   13591   do
   13592     # Strip MF so we end up with the name of the file.
   13593     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   13594     # Check whether this is an Automake generated Makefile which includes
   13595     # dependency-tracking related rules and includes.
   13596     # Grep'ing the whole file directly is not great: AIX grep has a line
   13597     # limit of 2048, but all sed's we know have understand at least 4000.
   13598     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13599       || continue
   13600     am_dirpart=`$as_dirname -- "$am_mf" ||
   13601 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13602 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13603 	 X"$am_mf" : 'X\(//\)$' \| \
   13604 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13605 printf "%s\n" X"$am_mf" |
   13606     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13607 	    s//\1/
   13608 	    q
   13609 	  }
   13610 	  /^X\(\/\/\)[^/].*/{
   13611 	    s//\1/
   13612 	    q
   13613 	  }
   13614 	  /^X\(\/\/\)$/{
   13615 	    s//\1/
   13616 	    q
   13617 	  }
   13618 	  /^X\(\/\).*/{
   13619 	    s//\1/
   13620 	    q
   13621 	  }
   13622 	  s/.*/./; q'`
   13623     am_filepart=`$as_basename -- "$am_mf" ||
   13624 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13625 	 X"$am_mf" : 'X\(//\)$' \| \
   13626 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13627 printf "%s\n" X/"$am_mf" |
   13628     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13629 	    s//\1/
   13630 	    q
   13631 	  }
   13632 	  /^X\/\(\/\/\)$/{
   13633 	    s//\1/
   13634 	    q
   13635 	  }
   13636 	  /^X\/\(\/\).*/{
   13637 	    s//\1/
   13638 	    q
   13639 	  }
   13640 	  s/.*/./; q'`
   13641     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13642       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13643         | $MAKE -f - am--depfiles" >&5
   13644    (cd "$am_dirpart" \
   13645       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13646         | $MAKE -f - am--depfiles) >&5 2>&5
   13647    ac_status=$?
   13648    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13649    (exit $ac_status); } || am_rc=$?
   13650   done
   13651   if test $am_rc -ne 0; then
   13652     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13653 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   13654 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13655     for automatic dependency tracking.  If GNU make was not used, consider
   13656     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13657     necessary).  You can also try re-running configure with the
   13658     '--disable-dependency-tracking' option to at least be able to build
   13659     the package (albeit without support for automatic dependency tracking).
   13660 See \`config.log' for more details" "$LINENO" 5; }
   13661   fi
   13662   { am_dirpart=; unset am_dirpart;}
   13663   { am_filepart=; unset am_filepart;}
   13664   { am_mf=; unset am_mf;}
   13665   { am_rc=; unset am_rc;}
   13666   rm -f conftest-deps.mk
   13667 }
   13668  ;;
   13669 
   13670   esac
   13671 done # for ac_tag
   13672 
   13673 
   13674 as_fn_exit 0
   13675 _ACEOF
   13676 ac_clean_files=$ac_clean_files_save
   13677 
   13678 test $ac_write_fail = 0 ||
   13679   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13680 
   13681 
   13682 # configure is writing to config.log, and then calls config.status.
   13683 # config.status does its own redirection, appending to config.log.
   13684 # Unfortunately, on DOS this fails, as config.log is still kept open
   13685 # by configure, so config.status won't be able to write to it; its
   13686 # output is simply discarded.  So we exec the FD to /dev/null,
   13687 # effectively closing config.log, so it can be properly (re)opened and
   13688 # appended to by config.status.  When coming back to configure, we
   13689 # need to make the FD available again.
   13690 if test "$no_create" != yes; then
   13691   ac_cs_success=:
   13692   ac_config_status_args=
   13693   test "$silent" = yes &&
   13694     ac_config_status_args="$ac_config_status_args --quiet"
   13695   exec 5>/dev/null
   13696   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13697   exec 5>>config.log
   13698   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13699   # would make configure fail if this is the last instruction.
   13700   $ac_cs_success || as_fn_exit 1
   13701 fi
   13702 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13703   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13704 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13705 fi
   13706 
   13707 
   13708