Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.9
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for xprop 1.2.6.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xprop/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 as_nop=:
     21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     22 then :
     23   emulate sh
     24   NULLCMD=:
     25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     26   # is contrary to our usage.  Disable this feature.
     27   alias -g '${1+"$@"}'='"$@"'
     28   setopt NO_GLOB_SUBST
     29 else $as_nop
     30   case `(set -o) 2>/dev/null` in #(
     31   *posix*) :
     32     set -o posix ;; #(
     33   *) :
     34      ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed `exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="as_nop=:
    144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    145 then :
    146   emulate sh
    147   NULLCMD=:
    148   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    149   # is contrary to our usage.  Disable this feature.
    150   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    151   setopt NO_GLOB_SUBST
    152 else \$as_nop
    153   case \`(set -o) 2>/dev/null\` in #(
    154   *posix*) :
    155     set -o posix ;; #(
    156   *) :
    157      ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else \$as_nop
    176   exitcode=1; echo positional parameters were not saved.
    177 fi
    178 test x\$exitcode = x0 || exit 1
    179 blah=\$(echo \$(echo blah))
    180 test x\"\$blah\" = xblah || exit 1
    181 test -x / || exit 1"
    182   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    183   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    184   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    185   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    186 test \$(( 1 + 1 )) = 2 || exit 1"
    187   if (eval "$as_required") 2>/dev/null
    188 then :
    189   as_have_required=yes
    190 else $as_nop
    191   as_have_required=no
    192 fi
    193   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    194 then :
    195 
    196 else $as_nop
    197   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    198 as_found=false
    199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    200 do
    201   IFS=$as_save_IFS
    202   case $as_dir in #(((
    203     '') as_dir=./ ;;
    204     */) ;;
    205     *) as_dir=$as_dir/ ;;
    206   esac
    207   as_found=:
    208   case $as_dir in #(
    209 	 /*)
    210 	   for as_base in sh bash ksh sh5; do
    211 	     # Try only shells that exist, to save several forks.
    212 	     as_shell=$as_dir$as_base
    213 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    214 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    215 then :
    216   CONFIG_SHELL=$as_shell as_have_required=yes
    217 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    218 then :
    219   break 2
    220 fi
    221 fi
    222 	   done;;
    223        esac
    224   as_found=false
    225 done
    226 IFS=$as_save_IFS
    227 if $as_found
    228 then :
    229 
    230 else $as_nop
    231   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    232 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    233 then :
    234   CONFIG_SHELL=$SHELL as_have_required=yes
    235 fi
    236 fi
    237 
    238 
    239       if test "x$CONFIG_SHELL" != x
    240 then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno
    263 then :
    264   printf "%s\n" "$0: This script requires a shell more modern than all"
    265   printf "%s\n" "$0: the shells that I found on your system."
    266   if test ${ZSH_VERSION+y} ; then
    267     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    268     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    269   else
    270     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    271 $0: https://gitlab.freedesktop.org/xorg/app/xprop/-/issues
    272 $0: about your system, including any error possibly output
    273 $0: before this message. Then install a modern shell, or
    274 $0: manually run the script under such a shell if you do
    275 $0: have one."
    276   fi
    277   exit 1
    278 fi
    279 fi
    280 fi
    281 SHELL=${CONFIG_SHELL-/bin/sh}
    282 export SHELL
    283 # Unset more variables known to interfere with behavior of common tools.
    284 CLICOLOR_FORCE= GREP_OPTIONS=
    285 unset CLICOLOR_FORCE GREP_OPTIONS
    286 
    287 ## --------------------- ##
    288 ## M4sh Shell Functions. ##
    289 ## --------------------- ##
    290 # as_fn_unset VAR
    291 # ---------------
    292 # Portably unset VAR.
    293 as_fn_unset ()
    294 {
    295   { eval $1=; unset $1;}
    296 }
    297 as_unset=as_fn_unset
    298 
    299 
    300 # as_fn_set_status STATUS
    301 # -----------------------
    302 # Set $? to STATUS, without forking.
    303 as_fn_set_status ()
    304 {
    305   return $1
    306 } # as_fn_set_status
    307 
    308 # as_fn_exit STATUS
    309 # -----------------
    310 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    311 as_fn_exit ()
    312 {
    313   set +e
    314   as_fn_set_status $1
    315   exit $1
    316 } # as_fn_exit
    317 # as_fn_nop
    318 # ---------
    319 # Do nothing but, unlike ":", preserve the value of $?.
    320 as_fn_nop ()
    321 {
    322   return $?
    323 }
    324 as_nop=as_fn_nop
    325 
    326 # as_fn_mkdir_p
    327 # -------------
    328 # Create "$as_dir" as a directory, including parents if necessary.
    329 as_fn_mkdir_p ()
    330 {
    331 
    332   case $as_dir in #(
    333   -*) as_dir=./$as_dir;;
    334   esac
    335   test -d "$as_dir" || eval $as_mkdir_p || {
    336     as_dirs=
    337     while :; do
    338       case $as_dir in #(
    339       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    340       *) as_qdir=$as_dir;;
    341       esac
    342       as_dirs="'$as_qdir' $as_dirs"
    343       as_dir=`$as_dirname -- "$as_dir" ||
    344 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    345 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    346 	 X"$as_dir" : 'X\(//\)$' \| \
    347 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    348 printf "%s\n" X"$as_dir" |
    349     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    350 	    s//\1/
    351 	    q
    352 	  }
    353 	  /^X\(\/\/\)[^/].*/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\/\)$/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\).*/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  s/.*/./; q'`
    366       test -d "$as_dir" && break
    367     done
    368     test -z "$as_dirs" || eval "mkdir $as_dirs"
    369   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    370 
    371 
    372 } # as_fn_mkdir_p
    373 
    374 # as_fn_executable_p FILE
    375 # -----------------------
    376 # Test if FILE is an executable regular file.
    377 as_fn_executable_p ()
    378 {
    379   test -f "$1" && test -x "$1"
    380 } # as_fn_executable_p
    381 # as_fn_append VAR VALUE
    382 # ----------------------
    383 # Append the text in VALUE to the end of the definition contained in VAR. Take
    384 # advantage of any shell optimizations that allow amortized linear growth over
    385 # repeated appends, instead of the typical quadratic growth present in naive
    386 # implementations.
    387 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    388 then :
    389   eval 'as_fn_append ()
    390   {
    391     eval $1+=\$2
    392   }'
    393 else $as_nop
    394   as_fn_append ()
    395   {
    396     eval $1=\$$1\$2
    397   }
    398 fi # as_fn_append
    399 
    400 # as_fn_arith ARG...
    401 # ------------------
    402 # Perform arithmetic evaluation on the ARGs, and store the result in the
    403 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    404 # must be portable across $(()) and expr.
    405 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    406 then :
    407   eval 'as_fn_arith ()
    408   {
    409     as_val=$(( $* ))
    410   }'
    411 else $as_nop
    412   as_fn_arith ()
    413   {
    414     as_val=`expr "$@" || test $? -eq 1`
    415   }
    416 fi # as_fn_arith
    417 
    418 # as_fn_nop
    419 # ---------
    420 # Do nothing but, unlike ":", preserve the value of $?.
    421 as_fn_nop ()
    422 {
    423   return $?
    424 }
    425 as_nop=as_fn_nop
    426 
    427 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    428 # ----------------------------------------
    429 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    430 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    431 # script with STATUS, using 1 if that was 0.
    432 as_fn_error ()
    433 {
    434   as_status=$1; test $as_status -eq 0 && as_status=1
    435   if test "$4"; then
    436     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    437     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    438   fi
    439   printf "%s\n" "$as_me: error: $2" >&2
    440   as_fn_exit $as_status
    441 } # as_fn_error
    442 
    443 if expr a : '\(a\)' >/dev/null 2>&1 &&
    444    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    445   as_expr=expr
    446 else
    447   as_expr=false
    448 fi
    449 
    450 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    451   as_basename=basename
    452 else
    453   as_basename=false
    454 fi
    455 
    456 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    457   as_dirname=dirname
    458 else
    459   as_dirname=false
    460 fi
    461 
    462 as_me=`$as_basename -- "$0" ||
    463 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    464 	 X"$0" : 'X\(//\)$' \| \
    465 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    466 printf "%s\n" X/"$0" |
    467     sed '/^.*\/\([^/][^/]*\)\/*$/{
    468 	    s//\1/
    469 	    q
    470 	  }
    471 	  /^X\/\(\/\/\)$/{
    472 	    s//\1/
    473 	    q
    474 	  }
    475 	  /^X\/\(\/\).*/{
    476 	    s//\1/
    477 	    q
    478 	  }
    479 	  s/.*/./; q'`
    480 
    481 # Avoid depending upon Character Ranges.
    482 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    483 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    484 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    485 as_cr_digits='0123456789'
    486 as_cr_alnum=$as_cr_Letters$as_cr_digits
    487 
    488 
    489   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    490   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    491   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    492   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    493   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    494   sed -n '
    495     p
    496     /[$]LINENO/=
    497   ' <$as_myself |
    498     sed '
    499       s/[$]LINENO.*/&-/
    500       t lineno
    501       b
    502       :lineno
    503       N
    504       :loop
    505       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    506       t loop
    507       s/-\n.*//
    508     ' >$as_me.lineno &&
    509   chmod +x "$as_me.lineno" ||
    510     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    511 
    512   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    513   # already done that, so ensure we don't try to do so again and fall
    514   # in an infinite loop.  This has already happened in practice.
    515   _as_can_reexec=no; export _as_can_reexec
    516   # Don't try to exec as it changes $[0], causing all sort of problems
    517   # (the dirname of $[0] is not the place where we might find the
    518   # original and so on.  Autoconf is especially sensitive to this).
    519   . "./$as_me.lineno"
    520   # Exit status is that of the last command.
    521   exit
    522 }
    523 
    524 
    525 # Determine whether it's possible to make 'echo' print without a newline.
    526 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    527 # for compatibility with existing Makefiles.
    528 ECHO_C= ECHO_N= ECHO_T=
    529 case `echo -n x` in #(((((
    530 -n*)
    531   case `echo 'xy\c'` in
    532   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    533   xy)  ECHO_C='\c';;
    534   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    535        ECHO_T='	';;
    536   esac;;
    537 *)
    538   ECHO_N='-n';;
    539 esac
    540 
    541 # For backward compatibility with old third-party macros, we provide
    542 # the shell variables $as_echo and $as_echo_n.  New code should use
    543 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    544 as_echo='printf %s\n'
    545 as_echo_n='printf %s'
    546 
    547 
    548 rm -f conf$$ conf$$.exe conf$$.file
    549 if test -d conf$$.dir; then
    550   rm -f conf$$.dir/conf$$.file
    551 else
    552   rm -f conf$$.dir
    553   mkdir conf$$.dir 2>/dev/null
    554 fi
    555 if (echo >conf$$.file) 2>/dev/null; then
    556   if ln -s conf$$.file conf$$ 2>/dev/null; then
    557     as_ln_s='ln -s'
    558     # ... but there are two gotchas:
    559     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    560     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    561     # In both cases, we have to default to `cp -pR'.
    562     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    563       as_ln_s='cp -pR'
    564   elif ln conf$$.file conf$$ 2>/dev/null; then
    565     as_ln_s=ln
    566   else
    567     as_ln_s='cp -pR'
    568   fi
    569 else
    570   as_ln_s='cp -pR'
    571 fi
    572 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    573 rmdir conf$$.dir 2>/dev/null
    574 
    575 if mkdir -p . 2>/dev/null; then
    576   as_mkdir_p='mkdir -p "$as_dir"'
    577 else
    578   test -d ./-p && rmdir ./-p
    579   as_mkdir_p=false
    580 fi
    581 
    582 as_test_x='test -x'
    583 as_executable_p=as_fn_executable_p
    584 
    585 # Sed expression to map a string onto a valid CPP name.
    586 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    587 
    588 # Sed expression to map a string onto a valid variable name.
    589 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    590 
    591 
    592 test -n "$DJDIR" || exec 7<&0 </dev/null
    593 exec 6>&1
    594 
    595 # Name of the host.
    596 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    597 # so uname gets run too.
    598 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    599 
    600 #
    601 # Initializations.
    602 #
    603 ac_default_prefix=/usr/local
    604 ac_clean_files=
    605 ac_config_libobj_dir=.
    606 LIBOBJS=
    607 cross_compiling=no
    608 subdirs=
    609 MFLAGS=
    610 MAKEFLAGS=
    611 
    612 # Identity of this package.
    613 PACKAGE_NAME='xprop'
    614 PACKAGE_TARNAME='xprop'
    615 PACKAGE_VERSION='1.2.6'
    616 PACKAGE_STRING='xprop 1.2.6'
    617 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xprop/-/issues'
    618 PACKAGE_URL=''
    619 
    620 ac_unique_file="Makefile.am"
    621 # Factoring default headers for most tests.
    622 ac_includes_default="\
    623 #include <stddef.h>
    624 #ifdef HAVE_STDIO_H
    625 # include <stdio.h>
    626 #endif
    627 #ifdef HAVE_STDLIB_H
    628 # include <stdlib.h>
    629 #endif
    630 #ifdef HAVE_STRING_H
    631 # include <string.h>
    632 #endif
    633 #ifdef HAVE_INTTYPES_H
    634 # include <inttypes.h>
    635 #endif
    636 #ifdef HAVE_STDINT_H
    637 # include <stdint.h>
    638 #endif
    639 #ifdef HAVE_STRINGS_H
    640 # include <strings.h>
    641 #endif
    642 #ifdef HAVE_SYS_TYPES_H
    643 # include <sys/types.h>
    644 #endif
    645 #ifdef HAVE_SYS_STAT_H
    646 # include <sys/stat.h>
    647 #endif
    648 #ifdef HAVE_UNISTD_H
    649 # include <unistd.h>
    650 #endif"
    651 
    652 ac_header_c_list=
    653 ac_subst_vars='am__EXEEXT_FALSE
    654 am__EXEEXT_TRUE
    655 LTLIBOBJS
    656 LIBOBJS
    657 LINT_FALSE
    658 LINT_TRUE
    659 LINT_FLAGS
    660 LINT
    661 XPROP_LIBS
    662 XPROP_CFLAGS
    663 MAN_SUBSTS
    664 XORG_MAN_PAGE
    665 ADMIN_MAN_DIR
    666 DRIVER_MAN_DIR
    667 MISC_MAN_DIR
    668 FILE_MAN_DIR
    669 LIB_MAN_DIR
    670 APP_MAN_DIR
    671 ADMIN_MAN_SUFFIX
    672 DRIVER_MAN_SUFFIX
    673 MISC_MAN_SUFFIX
    674 FILE_MAN_SUFFIX
    675 LIB_MAN_SUFFIX
    676 APP_MAN_SUFFIX
    677 SED
    678 host_os
    679 host_vendor
    680 host_cpu
    681 host
    682 build_os
    683 build_vendor
    684 build_cpu
    685 build
    686 INSTALL_CMD
    687 PKG_CONFIG_LIBDIR
    688 PKG_CONFIG_PATH
    689 PKG_CONFIG
    690 CHANGELOG_CMD
    691 STRICT_CFLAGS
    692 CWARNFLAGS
    693 BASE_CFLAGS
    694 am__fastdepCC_FALSE
    695 am__fastdepCC_TRUE
    696 CCDEPMODE
    697 am__nodep
    698 AMDEPBACKSLASH
    699 AMDEP_FALSE
    700 AMDEP_TRUE
    701 am__include
    702 DEPDIR
    703 OBJEXT
    704 EXEEXT
    705 ac_ct_CC
    706 CPPFLAGS
    707 LDFLAGS
    708 CFLAGS
    709 CC
    710 AM_BACKSLASH
    711 AM_DEFAULT_VERBOSITY
    712 AM_DEFAULT_V
    713 AM_V
    714 CSCOPE
    715 ETAGS
    716 CTAGS
    717 am__untar
    718 am__tar
    719 AMTAR
    720 am__leading_dot
    721 SET_MAKE
    722 AWK
    723 mkdir_p
    724 MKDIR_P
    725 INSTALL_STRIP_PROGRAM
    726 STRIP
    727 install_sh
    728 MAKEINFO
    729 AUTOHEADER
    730 AUTOMAKE
    731 AUTOCONF
    732 ACLOCAL
    733 VERSION
    734 PACKAGE
    735 CYGPATH_W
    736 am__isrc
    737 INSTALL_DATA
    738 INSTALL_SCRIPT
    739 INSTALL_PROGRAM
    740 target_alias
    741 host_alias
    742 build_alias
    743 LIBS
    744 ECHO_T
    745 ECHO_N
    746 ECHO_C
    747 DEFS
    748 mandir
    749 localedir
    750 libdir
    751 psdir
    752 pdfdir
    753 dvidir
    754 htmldir
    755 infodir
    756 docdir
    757 oldincludedir
    758 includedir
    759 runstatedir
    760 localstatedir
    761 sharedstatedir
    762 sysconfdir
    763 datadir
    764 datarootdir
    765 libexecdir
    766 sbindir
    767 bindir
    768 program_transform_name
    769 prefix
    770 exec_prefix
    771 PACKAGE_URL
    772 PACKAGE_BUGREPORT
    773 PACKAGE_STRING
    774 PACKAGE_VERSION
    775 PACKAGE_TARNAME
    776 PACKAGE_NAME
    777 PATH_SEPARATOR
    778 SHELL
    779 am__quote'
    780 ac_subst_files=''
    781 ac_user_opts='
    782 enable_option_checking
    783 enable_silent_rules
    784 enable_dependency_tracking
    785 enable_selective_werror
    786 enable_strict_compilation
    787 with_lint
    788 '
    789       ac_precious_vars='build_alias
    790 host_alias
    791 target_alias
    792 CC
    793 CFLAGS
    794 LDFLAGS
    795 LIBS
    796 CPPFLAGS
    797 PKG_CONFIG
    798 PKG_CONFIG_PATH
    799 PKG_CONFIG_LIBDIR
    800 XPROP_CFLAGS
    801 XPROP_LIBS
    802 LINT
    803 LINT_FLAGS'
    804 
    805 
    806 # Initialize some variables set by options.
    807 ac_init_help=
    808 ac_init_version=false
    809 ac_unrecognized_opts=
    810 ac_unrecognized_sep=
    811 # The variables have the same names as the options, with
    812 # dashes changed to underlines.
    813 cache_file=/dev/null
    814 exec_prefix=NONE
    815 no_create=
    816 no_recursion=
    817 prefix=NONE
    818 program_prefix=NONE
    819 program_suffix=NONE
    820 program_transform_name=s,x,x,
    821 silent=
    822 site=
    823 srcdir=
    824 verbose=
    825 x_includes=NONE
    826 x_libraries=NONE
    827 
    828 # Installation directory options.
    829 # These are left unexpanded so users can "make install exec_prefix=/foo"
    830 # and all the variables that are supposed to be based on exec_prefix
    831 # by default will actually change.
    832 # Use braces instead of parens because sh, perl, etc. also accept them.
    833 # (The list follows the same order as the GNU Coding Standards.)
    834 bindir='${exec_prefix}/bin'
    835 sbindir='${exec_prefix}/sbin'
    836 libexecdir='${exec_prefix}/libexec'
    837 datarootdir='${prefix}/share'
    838 datadir='${datarootdir}'
    839 sysconfdir='${prefix}/etc'
    840 sharedstatedir='${prefix}/com'
    841 localstatedir='${prefix}/var'
    842 runstatedir='${localstatedir}/run'
    843 includedir='${prefix}/include'
    844 oldincludedir='/usr/include'
    845 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    846 infodir='${datarootdir}/info'
    847 htmldir='${docdir}'
    848 dvidir='${docdir}'
    849 pdfdir='${docdir}'
    850 psdir='${docdir}'
    851 libdir='${exec_prefix}/lib'
    852 localedir='${datarootdir}/locale'
    853 mandir='${datarootdir}/man'
    854 
    855 ac_prev=
    856 ac_dashdash=
    857 for ac_option
    858 do
    859   # If the previous option needs an argument, assign it.
    860   if test -n "$ac_prev"; then
    861     eval $ac_prev=\$ac_option
    862     ac_prev=
    863     continue
    864   fi
    865 
    866   case $ac_option in
    867   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    868   *=)   ac_optarg= ;;
    869   *)    ac_optarg=yes ;;
    870   esac
    871 
    872   case $ac_dashdash$ac_option in
    873   --)
    874     ac_dashdash=yes ;;
    875 
    876   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    877     ac_prev=bindir ;;
    878   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    879     bindir=$ac_optarg ;;
    880 
    881   -build | --build | --buil | --bui | --bu)
    882     ac_prev=build_alias ;;
    883   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    884     build_alias=$ac_optarg ;;
    885 
    886   -cache-file | --cache-file | --cache-fil | --cache-fi \
    887   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    888     ac_prev=cache_file ;;
    889   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    890   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    891     cache_file=$ac_optarg ;;
    892 
    893   --config-cache | -C)
    894     cache_file=config.cache ;;
    895 
    896   -datadir | --datadir | --datadi | --datad)
    897     ac_prev=datadir ;;
    898   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    899     datadir=$ac_optarg ;;
    900 
    901   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    902   | --dataroo | --dataro | --datar)
    903     ac_prev=datarootdir ;;
    904   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    905   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    906     datarootdir=$ac_optarg ;;
    907 
    908   -disable-* | --disable-*)
    909     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    910     # Reject names that are not valid shell variable names.
    911     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    912       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    913     ac_useropt_orig=$ac_useropt
    914     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    915     case $ac_user_opts in
    916       *"
    917 "enable_$ac_useropt"
    918 "*) ;;
    919       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    920 	 ac_unrecognized_sep=', ';;
    921     esac
    922     eval enable_$ac_useropt=no ;;
    923 
    924   -docdir | --docdir | --docdi | --doc | --do)
    925     ac_prev=docdir ;;
    926   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    927     docdir=$ac_optarg ;;
    928 
    929   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    930     ac_prev=dvidir ;;
    931   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    932     dvidir=$ac_optarg ;;
    933 
    934   -enable-* | --enable-*)
    935     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    936     # Reject names that are not valid shell variable names.
    937     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    938       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    939     ac_useropt_orig=$ac_useropt
    940     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    941     case $ac_user_opts in
    942       *"
    943 "enable_$ac_useropt"
    944 "*) ;;
    945       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    946 	 ac_unrecognized_sep=', ';;
    947     esac
    948     eval enable_$ac_useropt=\$ac_optarg ;;
    949 
    950   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    951   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    952   | --exec | --exe | --ex)
    953     ac_prev=exec_prefix ;;
    954   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    955   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    956   | --exec=* | --exe=* | --ex=*)
    957     exec_prefix=$ac_optarg ;;
    958 
    959   -gas | --gas | --ga | --g)
    960     # Obsolete; use --with-gas.
    961     with_gas=yes ;;
    962 
    963   -help | --help | --hel | --he | -h)
    964     ac_init_help=long ;;
    965   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    966     ac_init_help=recursive ;;
    967   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    968     ac_init_help=short ;;
    969 
    970   -host | --host | --hos | --ho)
    971     ac_prev=host_alias ;;
    972   -host=* | --host=* | --hos=* | --ho=*)
    973     host_alias=$ac_optarg ;;
    974 
    975   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    976     ac_prev=htmldir ;;
    977   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    978   | --ht=*)
    979     htmldir=$ac_optarg ;;
    980 
    981   -includedir | --includedir | --includedi | --included | --include \
    982   | --includ | --inclu | --incl | --inc)
    983     ac_prev=includedir ;;
    984   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    985   | --includ=* | --inclu=* | --incl=* | --inc=*)
    986     includedir=$ac_optarg ;;
    987 
    988   -infodir | --infodir | --infodi | --infod | --info | --inf)
    989     ac_prev=infodir ;;
    990   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    991     infodir=$ac_optarg ;;
    992 
    993   -libdir | --libdir | --libdi | --libd)
    994     ac_prev=libdir ;;
    995   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    996     libdir=$ac_optarg ;;
    997 
    998   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    999   | --libexe | --libex | --libe)
   1000     ac_prev=libexecdir ;;
   1001   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1002   | --libexe=* | --libex=* | --libe=*)
   1003     libexecdir=$ac_optarg ;;
   1004 
   1005   -localedir | --localedir | --localedi | --localed | --locale)
   1006     ac_prev=localedir ;;
   1007   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1008     localedir=$ac_optarg ;;
   1009 
   1010   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1011   | --localstate | --localstat | --localsta | --localst | --locals)
   1012     ac_prev=localstatedir ;;
   1013   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1014   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1015     localstatedir=$ac_optarg ;;
   1016 
   1017   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1018     ac_prev=mandir ;;
   1019   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1020     mandir=$ac_optarg ;;
   1021 
   1022   -nfp | --nfp | --nf)
   1023     # Obsolete; use --without-fp.
   1024     with_fp=no ;;
   1025 
   1026   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1027   | --no-cr | --no-c | -n)
   1028     no_create=yes ;;
   1029 
   1030   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1031   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1032     no_recursion=yes ;;
   1033 
   1034   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1035   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1036   | --oldin | --oldi | --old | --ol | --o)
   1037     ac_prev=oldincludedir ;;
   1038   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1039   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1040   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1041     oldincludedir=$ac_optarg ;;
   1042 
   1043   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1044     ac_prev=prefix ;;
   1045   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1046     prefix=$ac_optarg ;;
   1047 
   1048   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1049   | --program-pre | --program-pr | --program-p)
   1050     ac_prev=program_prefix ;;
   1051   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1052   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1053     program_prefix=$ac_optarg ;;
   1054 
   1055   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1056   | --program-suf | --program-su | --program-s)
   1057     ac_prev=program_suffix ;;
   1058   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1059   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1060     program_suffix=$ac_optarg ;;
   1061 
   1062   -program-transform-name | --program-transform-name \
   1063   | --program-transform-nam | --program-transform-na \
   1064   | --program-transform-n | --program-transform- \
   1065   | --program-transform | --program-transfor \
   1066   | --program-transfo | --program-transf \
   1067   | --program-trans | --program-tran \
   1068   | --progr-tra | --program-tr | --program-t)
   1069     ac_prev=program_transform_name ;;
   1070   -program-transform-name=* | --program-transform-name=* \
   1071   | --program-transform-nam=* | --program-transform-na=* \
   1072   | --program-transform-n=* | --program-transform-=* \
   1073   | --program-transform=* | --program-transfor=* \
   1074   | --program-transfo=* | --program-transf=* \
   1075   | --program-trans=* | --program-tran=* \
   1076   | --progr-tra=* | --program-tr=* | --program-t=*)
   1077     program_transform_name=$ac_optarg ;;
   1078 
   1079   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1080     ac_prev=pdfdir ;;
   1081   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1082     pdfdir=$ac_optarg ;;
   1083 
   1084   -psdir | --psdir | --psdi | --psd | --ps)
   1085     ac_prev=psdir ;;
   1086   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1087     psdir=$ac_optarg ;;
   1088 
   1089   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1090   | -silent | --silent | --silen | --sile | --sil)
   1091     silent=yes ;;
   1092 
   1093   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1094   | --runstate | --runstat | --runsta | --runst | --runs \
   1095   | --run | --ru | --r)
   1096     ac_prev=runstatedir ;;
   1097   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1098   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1099   | --run=* | --ru=* | --r=*)
   1100     runstatedir=$ac_optarg ;;
   1101 
   1102   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1103     ac_prev=sbindir ;;
   1104   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1105   | --sbi=* | --sb=*)
   1106     sbindir=$ac_optarg ;;
   1107 
   1108   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1109   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1110   | --sharedst | --shareds | --shared | --share | --shar \
   1111   | --sha | --sh)
   1112     ac_prev=sharedstatedir ;;
   1113   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1114   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1115   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1116   | --sha=* | --sh=*)
   1117     sharedstatedir=$ac_optarg ;;
   1118 
   1119   -site | --site | --sit)
   1120     ac_prev=site ;;
   1121   -site=* | --site=* | --sit=*)
   1122     site=$ac_optarg ;;
   1123 
   1124   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1125     ac_prev=srcdir ;;
   1126   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1127     srcdir=$ac_optarg ;;
   1128 
   1129   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1130   | --syscon | --sysco | --sysc | --sys | --sy)
   1131     ac_prev=sysconfdir ;;
   1132   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1133   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1134     sysconfdir=$ac_optarg ;;
   1135 
   1136   -target | --target | --targe | --targ | --tar | --ta | --t)
   1137     ac_prev=target_alias ;;
   1138   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1139     target_alias=$ac_optarg ;;
   1140 
   1141   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1142     verbose=yes ;;
   1143 
   1144   -version | --version | --versio | --versi | --vers | -V)
   1145     ac_init_version=: ;;
   1146 
   1147   -with-* | --with-*)
   1148     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1149     # Reject names that are not valid shell variable names.
   1150     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1151       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1152     ac_useropt_orig=$ac_useropt
   1153     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1154     case $ac_user_opts in
   1155       *"
   1156 "with_$ac_useropt"
   1157 "*) ;;
   1158       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1159 	 ac_unrecognized_sep=', ';;
   1160     esac
   1161     eval with_$ac_useropt=\$ac_optarg ;;
   1162 
   1163   -without-* | --without-*)
   1164     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1165     # Reject names that are not valid shell variable names.
   1166     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1167       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1168     ac_useropt_orig=$ac_useropt
   1169     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1170     case $ac_user_opts in
   1171       *"
   1172 "with_$ac_useropt"
   1173 "*) ;;
   1174       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1175 	 ac_unrecognized_sep=', ';;
   1176     esac
   1177     eval with_$ac_useropt=no ;;
   1178 
   1179   --x)
   1180     # Obsolete; use --with-x.
   1181     with_x=yes ;;
   1182 
   1183   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1184   | --x-incl | --x-inc | --x-in | --x-i)
   1185     ac_prev=x_includes ;;
   1186   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1187   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1188     x_includes=$ac_optarg ;;
   1189 
   1190   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1191   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1192     ac_prev=x_libraries ;;
   1193   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1194   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1195     x_libraries=$ac_optarg ;;
   1196 
   1197   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1198 Try \`$0 --help' for more information"
   1199     ;;
   1200 
   1201   *=*)
   1202     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1203     # Reject names that are not valid shell variable names.
   1204     case $ac_envvar in #(
   1205       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1206       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1207     esac
   1208     eval $ac_envvar=\$ac_optarg
   1209     export $ac_envvar ;;
   1210 
   1211   *)
   1212     # FIXME: should be removed in autoconf 3.0.
   1213     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1214     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1215       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1216     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1217     ;;
   1218 
   1219   esac
   1220 done
   1221 
   1222 if test -n "$ac_prev"; then
   1223   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1224   as_fn_error $? "missing argument to $ac_option"
   1225 fi
   1226 
   1227 if test -n "$ac_unrecognized_opts"; then
   1228   case $enable_option_checking in
   1229     no) ;;
   1230     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1231     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1232   esac
   1233 fi
   1234 
   1235 # Check all directory arguments for consistency.
   1236 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1237 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1238 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1239 		libdir localedir mandir runstatedir
   1240 do
   1241   eval ac_val=\$$ac_var
   1242   # Remove trailing slashes.
   1243   case $ac_val in
   1244     */ )
   1245       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1246       eval $ac_var=\$ac_val;;
   1247   esac
   1248   # Be sure to have absolute directory names.
   1249   case $ac_val in
   1250     [\\/$]* | ?:[\\/]* )  continue;;
   1251     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1252   esac
   1253   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1254 done
   1255 
   1256 # There might be people who depend on the old broken behavior: `$host'
   1257 # used to hold the argument of --host etc.
   1258 # FIXME: To remove some day.
   1259 build=$build_alias
   1260 host=$host_alias
   1261 target=$target_alias
   1262 
   1263 # FIXME: To remove some day.
   1264 if test "x$host_alias" != x; then
   1265   if test "x$build_alias" = x; then
   1266     cross_compiling=maybe
   1267   elif test "x$build_alias" != "x$host_alias"; then
   1268     cross_compiling=yes
   1269   fi
   1270 fi
   1271 
   1272 ac_tool_prefix=
   1273 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1274 
   1275 test "$silent" = yes && exec 6>/dev/null
   1276 
   1277 
   1278 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1279 ac_ls_di=`ls -di .` &&
   1280 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1281   as_fn_error $? "working directory cannot be determined"
   1282 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1283   as_fn_error $? "pwd does not report name of working directory"
   1284 
   1285 
   1286 # Find the source files, if location was not specified.
   1287 if test -z "$srcdir"; then
   1288   ac_srcdir_defaulted=yes
   1289   # Try the directory containing this script, then the parent directory.
   1290   ac_confdir=`$as_dirname -- "$as_myself" ||
   1291 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1292 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1293 	 X"$as_myself" : 'X\(//\)$' \| \
   1294 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1295 printf "%s\n" X"$as_myself" |
   1296     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1297 	    s//\1/
   1298 	    q
   1299 	  }
   1300 	  /^X\(\/\/\)[^/].*/{
   1301 	    s//\1/
   1302 	    q
   1303 	  }
   1304 	  /^X\(\/\/\)$/{
   1305 	    s//\1/
   1306 	    q
   1307 	  }
   1308 	  /^X\(\/\).*/{
   1309 	    s//\1/
   1310 	    q
   1311 	  }
   1312 	  s/.*/./; q'`
   1313   srcdir=$ac_confdir
   1314   if test ! -r "$srcdir/$ac_unique_file"; then
   1315     srcdir=..
   1316   fi
   1317 else
   1318   ac_srcdir_defaulted=no
   1319 fi
   1320 if test ! -r "$srcdir/$ac_unique_file"; then
   1321   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1322   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1323 fi
   1324 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1325 ac_abs_confdir=`(
   1326 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1327 	pwd)`
   1328 # When building in place, set srcdir=.
   1329 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1330   srcdir=.
   1331 fi
   1332 # Remove unnecessary trailing slashes from srcdir.
   1333 # Double slashes in file names in object file debugging info
   1334 # mess up M-x gdb in Emacs.
   1335 case $srcdir in
   1336 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1337 esac
   1338 for ac_var in $ac_precious_vars; do
   1339   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1340   eval ac_env_${ac_var}_value=\$${ac_var}
   1341   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1342   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1343 done
   1344 
   1345 #
   1346 # Report the --help message.
   1347 #
   1348 if test "$ac_init_help" = "long"; then
   1349   # Omit some internal or obsolete options to make the list less imposing.
   1350   # This message is too long to be a string in the A/UX 3.1 sh.
   1351   cat <<_ACEOF
   1352 \`configure' configures xprop 1.2.6 to adapt to many kinds of systems.
   1353 
   1354 Usage: $0 [OPTION]... [VAR=VALUE]...
   1355 
   1356 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1357 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1358 
   1359 Defaults for the options are specified in brackets.
   1360 
   1361 Configuration:
   1362   -h, --help              display this help and exit
   1363       --help=short        display options specific to this package
   1364       --help=recursive    display the short help of all the included packages
   1365   -V, --version           display version information and exit
   1366   -q, --quiet, --silent   do not print \`checking ...' messages
   1367       --cache-file=FILE   cache test results in FILE [disabled]
   1368   -C, --config-cache      alias for \`--cache-file=config.cache'
   1369   -n, --no-create         do not create output files
   1370       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1371 
   1372 Installation directories:
   1373   --prefix=PREFIX         install architecture-independent files in PREFIX
   1374                           [$ac_default_prefix]
   1375   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1376                           [PREFIX]
   1377 
   1378 By default, \`make install' will install all the files in
   1379 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1380 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1381 for instance \`--prefix=\$HOME'.
   1382 
   1383 For better control, use the options below.
   1384 
   1385 Fine tuning of the installation directories:
   1386   --bindir=DIR            user executables [EPREFIX/bin]
   1387   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1388   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1389   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1390   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1391   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1392   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1393   --libdir=DIR            object code libraries [EPREFIX/lib]
   1394   --includedir=DIR        C header files [PREFIX/include]
   1395   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1396   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1397   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1398   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1399   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1400   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1401   --docdir=DIR            documentation root [DATAROOTDIR/doc/xprop]
   1402   --htmldir=DIR           html documentation [DOCDIR]
   1403   --dvidir=DIR            dvi documentation [DOCDIR]
   1404   --pdfdir=DIR            pdf documentation [DOCDIR]
   1405   --psdir=DIR             ps documentation [DOCDIR]
   1406 _ACEOF
   1407 
   1408   cat <<\_ACEOF
   1409 
   1410 Program names:
   1411   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1412   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1413   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1414 
   1415 System types:
   1416   --build=BUILD     configure for building on BUILD [guessed]
   1417   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1418 _ACEOF
   1419 fi
   1420 
   1421 if test -n "$ac_init_help"; then
   1422   case $ac_init_help in
   1423      short | recursive ) echo "Configuration of xprop 1.2.6:";;
   1424    esac
   1425   cat <<\_ACEOF
   1426 
   1427 Optional Features:
   1428   --disable-option-checking  ignore unrecognized --enable/--with options
   1429   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1430   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1431   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1432   --disable-silent-rules  verbose build output (undo: "make V=0")
   1433   --enable-dependency-tracking
   1434                           do not reject slow dependency extractors
   1435   --disable-dependency-tracking
   1436                           speeds up one-time build
   1437   --disable-selective-werror
   1438                           Turn off selective compiler errors. (default:
   1439                           enabled)
   1440   --enable-strict-compilation
   1441                           Enable all warnings from compiler and make them
   1442                           errors (default: disabled)
   1443 
   1444 Optional Packages:
   1445   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1446   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1447   --with-lint             Use a lint-style source code checker (default:
   1448                           disabled)
   1449 
   1450 Some influential environment variables:
   1451   CC          C compiler command
   1452   CFLAGS      C compiler flags
   1453   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1454               nonstandard directory <lib dir>
   1455   LIBS        libraries to pass to the linker, e.g. -l<library>
   1456   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1457               you have headers in a nonstandard directory <include dir>
   1458   PKG_CONFIG  path to pkg-config utility
   1459   PKG_CONFIG_PATH
   1460               directories to add to pkg-config's search path
   1461   PKG_CONFIG_LIBDIR
   1462               path overriding pkg-config's built-in search path
   1463   XPROP_CFLAGS
   1464               C compiler flags for XPROP, overriding pkg-config
   1465   XPROP_LIBS  linker flags for XPROP, overriding pkg-config
   1466   LINT        Path to a lint-style command
   1467   LINT_FLAGS  Flags for the lint-style command
   1468 
   1469 Use these variables to override the choices made by `configure' or to help
   1470 it to find libraries and programs with nonstandard names/locations.
   1471 
   1472 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xprop/-/issues>.
   1473 _ACEOF
   1474 ac_status=$?
   1475 fi
   1476 
   1477 if test "$ac_init_help" = "recursive"; then
   1478   # If there are subdirs, report their specific --help.
   1479   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1480     test -d "$ac_dir" ||
   1481       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1482       continue
   1483     ac_builddir=.
   1484 
   1485 case "$ac_dir" in
   1486 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1487 *)
   1488   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1489   # A ".." for each directory in $ac_dir_suffix.
   1490   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1491   case $ac_top_builddir_sub in
   1492   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1493   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1494   esac ;;
   1495 esac
   1496 ac_abs_top_builddir=$ac_pwd
   1497 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1498 # for backward compatibility:
   1499 ac_top_builddir=$ac_top_build_prefix
   1500 
   1501 case $srcdir in
   1502   .)  # We are building in place.
   1503     ac_srcdir=.
   1504     ac_top_srcdir=$ac_top_builddir_sub
   1505     ac_abs_top_srcdir=$ac_pwd ;;
   1506   [\\/]* | ?:[\\/]* )  # Absolute name.
   1507     ac_srcdir=$srcdir$ac_dir_suffix;
   1508     ac_top_srcdir=$srcdir
   1509     ac_abs_top_srcdir=$srcdir ;;
   1510   *) # Relative name.
   1511     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1512     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1513     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1514 esac
   1515 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1516 
   1517     cd "$ac_dir" || { ac_status=$?; continue; }
   1518     # Check for configure.gnu first; this name is used for a wrapper for
   1519     # Metaconfig's "Configure" on case-insensitive file systems.
   1520     if test -f "$ac_srcdir/configure.gnu"; then
   1521       echo &&
   1522       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1523     elif test -f "$ac_srcdir/configure"; then
   1524       echo &&
   1525       $SHELL "$ac_srcdir/configure" --help=recursive
   1526     else
   1527       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1528     fi || ac_status=$?
   1529     cd "$ac_pwd" || { ac_status=$?; break; }
   1530   done
   1531 fi
   1532 
   1533 test -n "$ac_init_help" && exit $ac_status
   1534 if $ac_init_version; then
   1535   cat <<\_ACEOF
   1536 xprop configure 1.2.6
   1537 generated by GNU Autoconf 2.71
   1538 
   1539 Copyright (C) 2021 Free Software Foundation, Inc.
   1540 This configure script is free software; the Free Software Foundation
   1541 gives unlimited permission to copy, distribute and modify it.
   1542 _ACEOF
   1543   exit
   1544 fi
   1545 
   1546 ## ------------------------ ##
   1547 ## Autoconf initialization. ##
   1548 ## ------------------------ ##
   1549 
   1550 # ac_fn_c_try_compile LINENO
   1551 # --------------------------
   1552 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1553 ac_fn_c_try_compile ()
   1554 {
   1555   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1556   rm -f conftest.$ac_objext conftest.beam
   1557   if { { ac_try="$ac_compile"
   1558 case "(($ac_try" in
   1559   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1560   *) ac_try_echo=$ac_try;;
   1561 esac
   1562 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1563 printf "%s\n" "$ac_try_echo"; } >&5
   1564   (eval "$ac_compile") 2>conftest.err
   1565   ac_status=$?
   1566   if test -s conftest.err; then
   1567     grep -v '^ *+' conftest.err >conftest.er1
   1568     cat conftest.er1 >&5
   1569     mv -f conftest.er1 conftest.err
   1570   fi
   1571   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1572   test $ac_status = 0; } && {
   1573 	 test -z "$ac_c_werror_flag" ||
   1574 	 test ! -s conftest.err
   1575        } && test -s conftest.$ac_objext
   1576 then :
   1577   ac_retval=0
   1578 else $as_nop
   1579   printf "%s\n" "$as_me: failed program was:" >&5
   1580 sed 's/^/| /' conftest.$ac_ext >&5
   1581 
   1582 	ac_retval=1
   1583 fi
   1584   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1585   as_fn_set_status $ac_retval
   1586 
   1587 } # ac_fn_c_try_compile
   1588 
   1589 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1590 # ------------------------------------------------------------------
   1591 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1592 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1593 ac_fn_check_decl ()
   1594 {
   1595   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1596   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1597   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1598 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1599 if eval test \${$3+y}
   1600 then :
   1601   printf %s "(cached) " >&6
   1602 else $as_nop
   1603   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1604   eval ac_save_FLAGS=\$$6
   1605   as_fn_append $6 " $5"
   1606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1607 /* end confdefs.h.  */
   1608 $4
   1609 int
   1610 main (void)
   1611 {
   1612 #ifndef $as_decl_name
   1613 #ifdef __cplusplus
   1614   (void) $as_decl_use;
   1615 #else
   1616   (void) $as_decl_name;
   1617 #endif
   1618 #endif
   1619 
   1620   ;
   1621   return 0;
   1622 }
   1623 _ACEOF
   1624 if ac_fn_c_try_compile "$LINENO"
   1625 then :
   1626   eval "$3=yes"
   1627 else $as_nop
   1628   eval "$3=no"
   1629 fi
   1630 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1631   eval $6=\$ac_save_FLAGS
   1632 
   1633 fi
   1634 eval ac_res=\$$3
   1635 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1636 printf "%s\n" "$ac_res" >&6; }
   1637   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1638 
   1639 } # ac_fn_check_decl
   1640 
   1641 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1642 # -------------------------------------------------------
   1643 # Tests whether HEADER exists and can be compiled using the include files in
   1644 # INCLUDES, setting the cache variable VAR accordingly.
   1645 ac_fn_c_check_header_compile ()
   1646 {
   1647   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1648   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1649 printf %s "checking for $2... " >&6; }
   1650 if eval test \${$3+y}
   1651 then :
   1652   printf %s "(cached) " >&6
   1653 else $as_nop
   1654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1655 /* end confdefs.h.  */
   1656 $4
   1657 #include <$2>
   1658 _ACEOF
   1659 if ac_fn_c_try_compile "$LINENO"
   1660 then :
   1661   eval "$3=yes"
   1662 else $as_nop
   1663   eval "$3=no"
   1664 fi
   1665 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1666 fi
   1667 eval ac_res=\$$3
   1668 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1669 printf "%s\n" "$ac_res" >&6; }
   1670   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1671 
   1672 } # ac_fn_c_check_header_compile
   1673 
   1674 # ac_fn_c_try_link LINENO
   1675 # -----------------------
   1676 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1677 ac_fn_c_try_link ()
   1678 {
   1679   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1680   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1681   if { { ac_try="$ac_link"
   1682 case "(($ac_try" in
   1683   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1684   *) ac_try_echo=$ac_try;;
   1685 esac
   1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1687 printf "%s\n" "$ac_try_echo"; } >&5
   1688   (eval "$ac_link") 2>conftest.err
   1689   ac_status=$?
   1690   if test -s conftest.err; then
   1691     grep -v '^ *+' conftest.err >conftest.er1
   1692     cat conftest.er1 >&5
   1693     mv -f conftest.er1 conftest.err
   1694   fi
   1695   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1696   test $ac_status = 0; } && {
   1697 	 test -z "$ac_c_werror_flag" ||
   1698 	 test ! -s conftest.err
   1699        } && test -s conftest$ac_exeext && {
   1700 	 test "$cross_compiling" = yes ||
   1701 	 test -x conftest$ac_exeext
   1702        }
   1703 then :
   1704   ac_retval=0
   1705 else $as_nop
   1706   printf "%s\n" "$as_me: failed program was:" >&5
   1707 sed 's/^/| /' conftest.$ac_ext >&5
   1708 
   1709 	ac_retval=1
   1710 fi
   1711   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1712   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1713   # interfere with the next link command; also delete a directory that is
   1714   # left behind by Apple's compiler.  We do this before executing the actions.
   1715   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1716   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1717   as_fn_set_status $ac_retval
   1718 
   1719 } # ac_fn_c_try_link
   1720 ac_configure_args_raw=
   1721 for ac_arg
   1722 do
   1723   case $ac_arg in
   1724   *\'*)
   1725     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1726   esac
   1727   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1728 done
   1729 
   1730 case $ac_configure_args_raw in
   1731   *$as_nl*)
   1732     ac_safe_unquote= ;;
   1733   *)
   1734     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1735     ac_unsafe_a="$ac_unsafe_z#~"
   1736     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1737     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1738 esac
   1739 
   1740 cat >config.log <<_ACEOF
   1741 This file contains any messages produced by compilers while
   1742 running configure, to aid debugging if configure makes a mistake.
   1743 
   1744 It was created by xprop $as_me 1.2.6, which was
   1745 generated by GNU Autoconf 2.71.  Invocation command line was
   1746 
   1747   $ $0$ac_configure_args_raw
   1748 
   1749 _ACEOF
   1750 exec 5>>config.log
   1751 {
   1752 cat <<_ASUNAME
   1753 ## --------- ##
   1754 ## Platform. ##
   1755 ## --------- ##
   1756 
   1757 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1758 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1759 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1760 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1761 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1762 
   1763 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1764 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1765 
   1766 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1767 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1768 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1769 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1770 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1771 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1772 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1773 
   1774 _ASUNAME
   1775 
   1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1777 for as_dir in $PATH
   1778 do
   1779   IFS=$as_save_IFS
   1780   case $as_dir in #(((
   1781     '') as_dir=./ ;;
   1782     */) ;;
   1783     *) as_dir=$as_dir/ ;;
   1784   esac
   1785     printf "%s\n" "PATH: $as_dir"
   1786   done
   1787 IFS=$as_save_IFS
   1788 
   1789 } >&5
   1790 
   1791 cat >&5 <<_ACEOF
   1792 
   1793 
   1794 ## ----------- ##
   1795 ## Core tests. ##
   1796 ## ----------- ##
   1797 
   1798 _ACEOF
   1799 
   1800 
   1801 # Keep a trace of the command line.
   1802 # Strip out --no-create and --no-recursion so they do not pile up.
   1803 # Strip out --silent because we don't want to record it for future runs.
   1804 # Also quote any args containing shell meta-characters.
   1805 # Make two passes to allow for proper duplicate-argument suppression.
   1806 ac_configure_args=
   1807 ac_configure_args0=
   1808 ac_configure_args1=
   1809 ac_must_keep_next=false
   1810 for ac_pass in 1 2
   1811 do
   1812   for ac_arg
   1813   do
   1814     case $ac_arg in
   1815     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1816     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1817     | -silent | --silent | --silen | --sile | --sil)
   1818       continue ;;
   1819     *\'*)
   1820       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1821     esac
   1822     case $ac_pass in
   1823     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1824     2)
   1825       as_fn_append ac_configure_args1 " '$ac_arg'"
   1826       if test $ac_must_keep_next = true; then
   1827 	ac_must_keep_next=false # Got value, back to normal.
   1828       else
   1829 	case $ac_arg in
   1830 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1831 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1832 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1833 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1834 	    case "$ac_configure_args0 " in
   1835 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1836 	    esac
   1837 	    ;;
   1838 	  -* ) ac_must_keep_next=true ;;
   1839 	esac
   1840       fi
   1841       as_fn_append ac_configure_args " '$ac_arg'"
   1842       ;;
   1843     esac
   1844   done
   1845 done
   1846 { ac_configure_args0=; unset ac_configure_args0;}
   1847 { ac_configure_args1=; unset ac_configure_args1;}
   1848 
   1849 # When interrupted or exit'd, cleanup temporary files, and complete
   1850 # config.log.  We remove comments because anyway the quotes in there
   1851 # would cause problems or look ugly.
   1852 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1853 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1854 trap 'exit_status=$?
   1855   # Sanitize IFS.
   1856   IFS=" ""	$as_nl"
   1857   # Save into config.log some information that might help in debugging.
   1858   {
   1859     echo
   1860 
   1861     printf "%s\n" "## ---------------- ##
   1862 ## Cache variables. ##
   1863 ## ---------------- ##"
   1864     echo
   1865     # The following way of writing the cache mishandles newlines in values,
   1866 (
   1867   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1868     eval ac_val=\$$ac_var
   1869     case $ac_val in #(
   1870     *${as_nl}*)
   1871       case $ac_var in #(
   1872       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1873 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1874       esac
   1875       case $ac_var in #(
   1876       _ | IFS | as_nl) ;; #(
   1877       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1878       *) { eval $ac_var=; unset $ac_var;} ;;
   1879       esac ;;
   1880     esac
   1881   done
   1882   (set) 2>&1 |
   1883     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1884     *${as_nl}ac_space=\ *)
   1885       sed -n \
   1886 	"s/'\''/'\''\\\\'\'''\''/g;
   1887 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1888       ;; #(
   1889     *)
   1890       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1891       ;;
   1892     esac |
   1893     sort
   1894 )
   1895     echo
   1896 
   1897     printf "%s\n" "## ----------------- ##
   1898 ## Output variables. ##
   1899 ## ----------------- ##"
   1900     echo
   1901     for ac_var in $ac_subst_vars
   1902     do
   1903       eval ac_val=\$$ac_var
   1904       case $ac_val in
   1905       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1906       esac
   1907       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1908     done | sort
   1909     echo
   1910 
   1911     if test -n "$ac_subst_files"; then
   1912       printf "%s\n" "## ------------------- ##
   1913 ## File substitutions. ##
   1914 ## ------------------- ##"
   1915       echo
   1916       for ac_var in $ac_subst_files
   1917       do
   1918 	eval ac_val=\$$ac_var
   1919 	case $ac_val in
   1920 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1921 	esac
   1922 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1923       done | sort
   1924       echo
   1925     fi
   1926 
   1927     if test -s confdefs.h; then
   1928       printf "%s\n" "## ----------- ##
   1929 ## confdefs.h. ##
   1930 ## ----------- ##"
   1931       echo
   1932       cat confdefs.h
   1933       echo
   1934     fi
   1935     test "$ac_signal" != 0 &&
   1936       printf "%s\n" "$as_me: caught signal $ac_signal"
   1937     printf "%s\n" "$as_me: exit $exit_status"
   1938   } >&5
   1939   rm -f core *.core core.conftest.* &&
   1940     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1941     exit $exit_status
   1942 ' 0
   1943 for ac_signal in 1 2 13 15; do
   1944   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1945 done
   1946 ac_signal=0
   1947 
   1948 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1949 rm -f -r conftest* confdefs.h
   1950 
   1951 printf "%s\n" "/* confdefs.h */" > confdefs.h
   1952 
   1953 # Predefined preprocessor variables.
   1954 
   1955 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   1956 
   1957 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   1958 
   1959 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   1960 
   1961 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   1962 
   1963 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   1964 
   1965 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   1966 
   1967 
   1968 # Let the site file select an alternate cache file if it wants to.
   1969 # Prefer an explicitly selected file to automatically selected ones.
   1970 if test -n "$CONFIG_SITE"; then
   1971   ac_site_files="$CONFIG_SITE"
   1972 elif test "x$prefix" != xNONE; then
   1973   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   1974 else
   1975   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1976 fi
   1977 
   1978 for ac_site_file in $ac_site_files
   1979 do
   1980   case $ac_site_file in #(
   1981   */*) :
   1982      ;; #(
   1983   *) :
   1984     ac_site_file=./$ac_site_file ;;
   1985 esac
   1986   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   1987     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1988 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   1989     sed 's/^/| /' "$ac_site_file" >&5
   1990     . "$ac_site_file" \
   1991       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   1992 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   1993 as_fn_error $? "failed to load site script $ac_site_file
   1994 See \`config.log' for more details" "$LINENO" 5; }
   1995   fi
   1996 done
   1997 
   1998 if test -r "$cache_file"; then
   1999   # Some versions of bash will fail to source /dev/null (special files
   2000   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2001   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2002     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2003 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2004     case $cache_file in
   2005       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2006       *)                      . "./$cache_file";;
   2007     esac
   2008   fi
   2009 else
   2010   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2011 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2012   >$cache_file
   2013 fi
   2014 
   2015 # Test code for whether the C compiler supports C89 (global declarations)
   2016 ac_c_conftest_c89_globals='
   2017 /* Does the compiler advertise C89 conformance?
   2018    Do not test the value of __STDC__, because some compilers set it to 0
   2019    while being otherwise adequately conformant. */
   2020 #if !defined __STDC__
   2021 # error "Compiler does not advertise C89 conformance"
   2022 #endif
   2023 
   2024 #include <stddef.h>
   2025 #include <stdarg.h>
   2026 struct stat;
   2027 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2028 struct buf { int x; };
   2029 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2030 static char *e (p, i)
   2031      char **p;
   2032      int i;
   2033 {
   2034   return p[i];
   2035 }
   2036 static char *f (char * (*g) (char **, int), char **p, ...)
   2037 {
   2038   char *s;
   2039   va_list v;
   2040   va_start (v,p);
   2041   s = g (p, va_arg (v,int));
   2042   va_end (v);
   2043   return s;
   2044 }
   2045 
   2046 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2047    function prototypes and stuff, but not \xHH hex character constants.
   2048    These do not provoke an error unfortunately, instead are silently treated
   2049    as an "x".  The following induces an error, until -std is added to get
   2050    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2051    array size at least.  It is necessary to write \x00 == 0 to get something
   2052    that is true only with -std.  */
   2053 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2054 
   2055 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2056    inside strings and character constants.  */
   2057 #define FOO(x) '\''x'\''
   2058 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2059 
   2060 int test (int i, double x);
   2061 struct s1 {int (*f) (int a);};
   2062 struct s2 {int (*f) (double a);};
   2063 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2064                int, int);'
   2065 
   2066 # Test code for whether the C compiler supports C89 (body of main).
   2067 ac_c_conftest_c89_main='
   2068 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2069 '
   2070 
   2071 # Test code for whether the C compiler supports C99 (global declarations)
   2072 ac_c_conftest_c99_globals='
   2073 // Does the compiler advertise C99 conformance?
   2074 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2075 # error "Compiler does not advertise C99 conformance"
   2076 #endif
   2077 
   2078 #include <stdbool.h>
   2079 extern int puts (const char *);
   2080 extern int printf (const char *, ...);
   2081 extern int dprintf (int, const char *, ...);
   2082 extern void *malloc (size_t);
   2083 
   2084 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2085 // dprintf is used instead of fprintf to avoid needing to declare
   2086 // FILE and stderr.
   2087 #define debug(...) dprintf (2, __VA_ARGS__)
   2088 #define showlist(...) puts (#__VA_ARGS__)
   2089 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2090 static void
   2091 test_varargs_macros (void)
   2092 {
   2093   int x = 1234;
   2094   int y = 5678;
   2095   debug ("Flag");
   2096   debug ("X = %d\n", x);
   2097   showlist (The first, second, and third items.);
   2098   report (x>y, "x is %d but y is %d", x, y);
   2099 }
   2100 
   2101 // Check long long types.
   2102 #define BIG64 18446744073709551615ull
   2103 #define BIG32 4294967295ul
   2104 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2105 #if !BIG_OK
   2106   #error "your preprocessor is broken"
   2107 #endif
   2108 #if BIG_OK
   2109 #else
   2110   #error "your preprocessor is broken"
   2111 #endif
   2112 static long long int bignum = -9223372036854775807LL;
   2113 static unsigned long long int ubignum = BIG64;
   2114 
   2115 struct incomplete_array
   2116 {
   2117   int datasize;
   2118   double data[];
   2119 };
   2120 
   2121 struct named_init {
   2122   int number;
   2123   const wchar_t *name;
   2124   double average;
   2125 };
   2126 
   2127 typedef const char *ccp;
   2128 
   2129 static inline int
   2130 test_restrict (ccp restrict text)
   2131 {
   2132   // See if C++-style comments work.
   2133   // Iterate through items via the restricted pointer.
   2134   // Also check for declarations in for loops.
   2135   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2136     continue;
   2137   return 0;
   2138 }
   2139 
   2140 // Check varargs and va_copy.
   2141 static bool
   2142 test_varargs (const char *format, ...)
   2143 {
   2144   va_list args;
   2145   va_start (args, format);
   2146   va_list args_copy;
   2147   va_copy (args_copy, args);
   2148 
   2149   const char *str = "";
   2150   int number = 0;
   2151   float fnumber = 0;
   2152 
   2153   while (*format)
   2154     {
   2155       switch (*format++)
   2156 	{
   2157 	case '\''s'\'': // string
   2158 	  str = va_arg (args_copy, const char *);
   2159 	  break;
   2160 	case '\''d'\'': // int
   2161 	  number = va_arg (args_copy, int);
   2162 	  break;
   2163 	case '\''f'\'': // float
   2164 	  fnumber = va_arg (args_copy, double);
   2165 	  break;
   2166 	default:
   2167 	  break;
   2168 	}
   2169     }
   2170   va_end (args_copy);
   2171   va_end (args);
   2172 
   2173   return *str && number && fnumber;
   2174 }
   2175 '
   2176 
   2177 # Test code for whether the C compiler supports C99 (body of main).
   2178 ac_c_conftest_c99_main='
   2179   // Check bool.
   2180   _Bool success = false;
   2181   success |= (argc != 0);
   2182 
   2183   // Check restrict.
   2184   if (test_restrict ("String literal") == 0)
   2185     success = true;
   2186   char *restrict newvar = "Another string";
   2187 
   2188   // Check varargs.
   2189   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2190   test_varargs_macros ();
   2191 
   2192   // Check flexible array members.
   2193   struct incomplete_array *ia =
   2194     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2195   ia->datasize = 10;
   2196   for (int i = 0; i < ia->datasize; ++i)
   2197     ia->data[i] = i * 1.234;
   2198 
   2199   // Check named initializers.
   2200   struct named_init ni = {
   2201     .number = 34,
   2202     .name = L"Test wide string",
   2203     .average = 543.34343,
   2204   };
   2205 
   2206   ni.number = 58;
   2207 
   2208   int dynamic_array[ni.number];
   2209   dynamic_array[0] = argv[0][0];
   2210   dynamic_array[ni.number - 1] = 543;
   2211 
   2212   // work around unused variable warnings
   2213   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2214 	 || dynamic_array[ni.number - 1] != 543);
   2215 '
   2216 
   2217 # Test code for whether the C compiler supports C11 (global declarations)
   2218 ac_c_conftest_c11_globals='
   2219 // Does the compiler advertise C11 conformance?
   2220 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2221 # error "Compiler does not advertise C11 conformance"
   2222 #endif
   2223 
   2224 // Check _Alignas.
   2225 char _Alignas (double) aligned_as_double;
   2226 char _Alignas (0) no_special_alignment;
   2227 extern char aligned_as_int;
   2228 char _Alignas (0) _Alignas (int) aligned_as_int;
   2229 
   2230 // Check _Alignof.
   2231 enum
   2232 {
   2233   int_alignment = _Alignof (int),
   2234   int_array_alignment = _Alignof (int[100]),
   2235   char_alignment = _Alignof (char)
   2236 };
   2237 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2238 
   2239 // Check _Noreturn.
   2240 int _Noreturn does_not_return (void) { for (;;) continue; }
   2241 
   2242 // Check _Static_assert.
   2243 struct test_static_assert
   2244 {
   2245   int x;
   2246   _Static_assert (sizeof (int) <= sizeof (long int),
   2247                   "_Static_assert does not work in struct");
   2248   long int y;
   2249 };
   2250 
   2251 // Check UTF-8 literals.
   2252 #define u8 syntax error!
   2253 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2254 
   2255 // Check duplicate typedefs.
   2256 typedef long *long_ptr;
   2257 typedef long int *long_ptr;
   2258 typedef long_ptr long_ptr;
   2259 
   2260 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2261 struct anonymous
   2262 {
   2263   union {
   2264     struct { int i; int j; };
   2265     struct { int k; long int l; } w;
   2266   };
   2267   int m;
   2268 } v1;
   2269 '
   2270 
   2271 # Test code for whether the C compiler supports C11 (body of main).
   2272 ac_c_conftest_c11_main='
   2273   _Static_assert ((offsetof (struct anonymous, i)
   2274 		   == offsetof (struct anonymous, w.k)),
   2275 		  "Anonymous union alignment botch");
   2276   v1.i = 2;
   2277   v1.w.k = 5;
   2278   ok |= v1.i != 5;
   2279 '
   2280 
   2281 # Test code for whether the C compiler supports C11 (complete).
   2282 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2283 ${ac_c_conftest_c99_globals}
   2284 ${ac_c_conftest_c11_globals}
   2285 
   2286 int
   2287 main (int argc, char **argv)
   2288 {
   2289   int ok = 0;
   2290   ${ac_c_conftest_c89_main}
   2291   ${ac_c_conftest_c99_main}
   2292   ${ac_c_conftest_c11_main}
   2293   return ok;
   2294 }
   2295 "
   2296 
   2297 # Test code for whether the C compiler supports C99 (complete).
   2298 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2299 ${ac_c_conftest_c99_globals}
   2300 
   2301 int
   2302 main (int argc, char **argv)
   2303 {
   2304   int ok = 0;
   2305   ${ac_c_conftest_c89_main}
   2306   ${ac_c_conftest_c99_main}
   2307   return ok;
   2308 }
   2309 "
   2310 
   2311 # Test code for whether the C compiler supports C89 (complete).
   2312 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2313 
   2314 int
   2315 main (int argc, char **argv)
   2316 {
   2317   int ok = 0;
   2318   ${ac_c_conftest_c89_main}
   2319   return ok;
   2320 }
   2321 "
   2322 
   2323 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2324 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2325 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2326 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2327 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2328 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2329 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2330 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2331 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2332 
   2333 # Auxiliary files required by this configure script.
   2334 ac_aux_files="config.guess config.sub compile missing install-sh"
   2335 
   2336 # Locations in which to look for auxiliary files.
   2337 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2338 
   2339 # Search for a directory containing all of the required auxiliary files,
   2340 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2341 # If we don't find one directory that contains all the files we need,
   2342 # we report the set of missing files from the *first* directory in
   2343 # $ac_aux_dir_candidates and give up.
   2344 ac_missing_aux_files=""
   2345 ac_first_candidate=:
   2346 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2348 as_found=false
   2349 for as_dir in $ac_aux_dir_candidates
   2350 do
   2351   IFS=$as_save_IFS
   2352   case $as_dir in #(((
   2353     '') as_dir=./ ;;
   2354     */) ;;
   2355     *) as_dir=$as_dir/ ;;
   2356   esac
   2357   as_found=:
   2358 
   2359   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2360   ac_aux_dir_found=yes
   2361   ac_install_sh=
   2362   for ac_aux in $ac_aux_files
   2363   do
   2364     # As a special case, if "install-sh" is required, that requirement
   2365     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2366     # and $ac_install_sh is set appropriately for whichever one is found.
   2367     if test x"$ac_aux" = x"install-sh"
   2368     then
   2369       if test -f "${as_dir}install-sh"; then
   2370         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2371         ac_install_sh="${as_dir}install-sh -c"
   2372       elif test -f "${as_dir}install.sh"; then
   2373         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2374         ac_install_sh="${as_dir}install.sh -c"
   2375       elif test -f "${as_dir}shtool"; then
   2376         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2377         ac_install_sh="${as_dir}shtool install -c"
   2378       else
   2379         ac_aux_dir_found=no
   2380         if $ac_first_candidate; then
   2381           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2382         else
   2383           break
   2384         fi
   2385       fi
   2386     else
   2387       if test -f "${as_dir}${ac_aux}"; then
   2388         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2389       else
   2390         ac_aux_dir_found=no
   2391         if $ac_first_candidate; then
   2392           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2393         else
   2394           break
   2395         fi
   2396       fi
   2397     fi
   2398   done
   2399   if test "$ac_aux_dir_found" = yes; then
   2400     ac_aux_dir="$as_dir"
   2401     break
   2402   fi
   2403   ac_first_candidate=false
   2404 
   2405   as_found=false
   2406 done
   2407 IFS=$as_save_IFS
   2408 if $as_found
   2409 then :
   2410 
   2411 else $as_nop
   2412   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2413 fi
   2414 
   2415 
   2416 # These three variables are undocumented and unsupported,
   2417 # and are intended to be withdrawn in a future Autoconf release.
   2418 # They can cause serious problems if a builder's source tree is in a directory
   2419 # whose full name contains unusual characters.
   2420 if test -f "${ac_aux_dir}config.guess"; then
   2421   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2422 fi
   2423 if test -f "${ac_aux_dir}config.sub"; then
   2424   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2425 fi
   2426 if test -f "$ac_aux_dir/configure"; then
   2427   ac_configure="$SHELL ${ac_aux_dir}configure"
   2428 fi
   2429 
   2430 # Check that the precious variables saved in the cache have kept the same
   2431 # value.
   2432 ac_cache_corrupted=false
   2433 for ac_var in $ac_precious_vars; do
   2434   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2435   eval ac_new_set=\$ac_env_${ac_var}_set
   2436   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2437   eval ac_new_val=\$ac_env_${ac_var}_value
   2438   case $ac_old_set,$ac_new_set in
   2439     set,)
   2440       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2441 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2442       ac_cache_corrupted=: ;;
   2443     ,set)
   2444       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2445 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2446       ac_cache_corrupted=: ;;
   2447     ,);;
   2448     *)
   2449       if test "x$ac_old_val" != "x$ac_new_val"; then
   2450 	# differences in whitespace do not lead to failure.
   2451 	ac_old_val_w=`echo x $ac_old_val`
   2452 	ac_new_val_w=`echo x $ac_new_val`
   2453 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2454 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2455 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2456 	  ac_cache_corrupted=:
   2457 	else
   2458 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2459 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2460 	  eval $ac_var=\$ac_old_val
   2461 	fi
   2462 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2463 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2464 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2465 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2466       fi;;
   2467   esac
   2468   # Pass precious variables to config.status.
   2469   if test "$ac_new_set" = set; then
   2470     case $ac_new_val in
   2471     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2472     *) ac_arg=$ac_var=$ac_new_val ;;
   2473     esac
   2474     case " $ac_configure_args " in
   2475       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2476       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2477     esac
   2478   fi
   2479 done
   2480 if $ac_cache_corrupted; then
   2481   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2482 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2483   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2484 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2485   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2486 	    and start over" "$LINENO" 5
   2487 fi
   2488 ## -------------------- ##
   2489 ## Main body of script. ##
   2490 ## -------------------- ##
   2491 
   2492 ac_ext=c
   2493 ac_cpp='$CPP $CPPFLAGS'
   2494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2497 
   2498 
   2499 
   2500 ac_config_headers="$ac_config_headers config.h"
   2501 
   2502 
   2503 # Initialize Automake
   2504 am__api_version='1.16'
   2505 
   2506 
   2507 
   2508   # Find a good install program.  We prefer a C program (faster),
   2509 # so one script is as good as another.  But avoid the broken or
   2510 # incompatible versions:
   2511 # SysV /etc/install, /usr/sbin/install
   2512 # SunOS /usr/etc/install
   2513 # IRIX /sbin/install
   2514 # AIX /bin/install
   2515 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2516 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2517 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2518 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2519 # OS/2's system install, which has a completely different semantic
   2520 # ./install, which can be erroneously created by make from ./install.sh.
   2521 # Reject install programs that cannot install multiple files.
   2522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2523 printf %s "checking for a BSD-compatible install... " >&6; }
   2524 if test -z "$INSTALL"; then
   2525 if test ${ac_cv_path_install+y}
   2526 then :
   2527   printf %s "(cached) " >&6
   2528 else $as_nop
   2529   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2530 for as_dir in $PATH
   2531 do
   2532   IFS=$as_save_IFS
   2533   case $as_dir in #(((
   2534     '') as_dir=./ ;;
   2535     */) ;;
   2536     *) as_dir=$as_dir/ ;;
   2537   esac
   2538     # Account for fact that we put trailing slashes in our PATH walk.
   2539 case $as_dir in #((
   2540   ./ | /[cC]/* | \
   2541   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2542   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2543   /usr/ucb/* ) ;;
   2544   *)
   2545     # OSF1 and SCO ODT 3.0 have their own names for install.
   2546     # Don't use installbsd from OSF since it installs stuff as root
   2547     # by default.
   2548     for ac_prog in ginstall scoinst install; do
   2549       for ac_exec_ext in '' $ac_executable_extensions; do
   2550 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2551 	  if test $ac_prog = install &&
   2552 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2553 	    # AIX install.  It has an incompatible calling convention.
   2554 	    :
   2555 	  elif test $ac_prog = install &&
   2556 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2557 	    # program-specific install script used by HP pwplus--don't use.
   2558 	    :
   2559 	  else
   2560 	    rm -rf conftest.one conftest.two conftest.dir
   2561 	    echo one > conftest.one
   2562 	    echo two > conftest.two
   2563 	    mkdir conftest.dir
   2564 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2565 	      test -s conftest.one && test -s conftest.two &&
   2566 	      test -s conftest.dir/conftest.one &&
   2567 	      test -s conftest.dir/conftest.two
   2568 	    then
   2569 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2570 	      break 3
   2571 	    fi
   2572 	  fi
   2573 	fi
   2574       done
   2575     done
   2576     ;;
   2577 esac
   2578 
   2579   done
   2580 IFS=$as_save_IFS
   2581 
   2582 rm -rf conftest.one conftest.two conftest.dir
   2583 
   2584 fi
   2585   if test ${ac_cv_path_install+y}; then
   2586     INSTALL=$ac_cv_path_install
   2587   else
   2588     # As a last resort, use the slow shell script.  Don't cache a
   2589     # value for INSTALL within a source directory, because that will
   2590     # break other packages using the cache if that directory is
   2591     # removed, or if the value is a relative name.
   2592     INSTALL=$ac_install_sh
   2593   fi
   2594 fi
   2595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2596 printf "%s\n" "$INSTALL" >&6; }
   2597 
   2598 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2599 # It thinks the first close brace ends the variable substitution.
   2600 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2601 
   2602 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2603 
   2604 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2605 
   2606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2607 printf %s "checking whether build environment is sane... " >&6; }
   2608 # Reject unsafe characters in $srcdir or the absolute working directory
   2609 # name.  Accept space and tab only in the latter.
   2610 am_lf='
   2611 '
   2612 case `pwd` in
   2613   *[\\\"\#\$\&\'\`$am_lf]*)
   2614     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2615 esac
   2616 case $srcdir in
   2617   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2618     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2619 esac
   2620 
   2621 # Do 'set' in a subshell so we don't clobber the current shell's
   2622 # arguments.  Must try -L first in case configure is actually a
   2623 # symlink; some systems play weird games with the mod time of symlinks
   2624 # (eg FreeBSD returns the mod time of the symlink's containing
   2625 # directory).
   2626 if (
   2627    am_has_slept=no
   2628    for am_try in 1 2; do
   2629      echo "timestamp, slept: $am_has_slept" > conftest.file
   2630      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2631      if test "$*" = "X"; then
   2632 	# -L didn't work.
   2633 	set X `ls -t "$srcdir/configure" conftest.file`
   2634      fi
   2635      if test "$*" != "X $srcdir/configure conftest.file" \
   2636 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2637 
   2638 	# If neither matched, then we have a broken ls.  This can happen
   2639 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2640 	# broken ls alias from the environment.  This has actually
   2641 	# happened.  Such a system could not be considered "sane".
   2642 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2643   alias in your environment" "$LINENO" 5
   2644      fi
   2645      if test "$2" = conftest.file || test $am_try -eq 2; then
   2646        break
   2647      fi
   2648      # Just in case.
   2649      sleep 1
   2650      am_has_slept=yes
   2651    done
   2652    test "$2" = conftest.file
   2653    )
   2654 then
   2655    # Ok.
   2656    :
   2657 else
   2658    as_fn_error $? "newly created file is older than distributed files!
   2659 Check your system clock" "$LINENO" 5
   2660 fi
   2661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2662 printf "%s\n" "yes" >&6; }
   2663 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2664 # generated files are strictly newer.
   2665 am_sleep_pid=
   2666 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2667   ( sleep 1 ) &
   2668   am_sleep_pid=$!
   2669 fi
   2670 
   2671 rm -f conftest.file
   2672 
   2673 test "$program_prefix" != NONE &&
   2674   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2675 # Use a double $ so make ignores it.
   2676 test "$program_suffix" != NONE &&
   2677   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2678 # Double any \ or $.
   2679 # By default was `s,x,x', remove it if useless.
   2680 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2681 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2682 
   2683 
   2684 # Expand $ac_aux_dir to an absolute path.
   2685 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2686 
   2687 
   2688   if test x"${MISSING+set}" != xset; then
   2689   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2690 fi
   2691 # Use eval to expand $SHELL
   2692 if eval "$MISSING --is-lightweight"; then
   2693   am_missing_run="$MISSING "
   2694 else
   2695   am_missing_run=
   2696   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2697 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2698 fi
   2699 
   2700 if test x"${install_sh+set}" != xset; then
   2701   case $am_aux_dir in
   2702   *\ * | *\	*)
   2703     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2704   *)
   2705     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2706   esac
   2707 fi
   2708 
   2709 # Installed binaries are usually stripped using 'strip' when the user
   2710 # run "make install-strip".  However 'strip' might not be the right
   2711 # tool to use in cross-compilation environments, therefore Automake
   2712 # will honor the 'STRIP' environment variable to overrule this program.
   2713 if test "$cross_compiling" != no; then
   2714   if test -n "$ac_tool_prefix"; then
   2715   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2716 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2718 printf %s "checking for $ac_word... " >&6; }
   2719 if test ${ac_cv_prog_STRIP+y}
   2720 then :
   2721   printf %s "(cached) " >&6
   2722 else $as_nop
   2723   if test -n "$STRIP"; then
   2724   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2725 else
   2726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2727 for as_dir in $PATH
   2728 do
   2729   IFS=$as_save_IFS
   2730   case $as_dir in #(((
   2731     '') as_dir=./ ;;
   2732     */) ;;
   2733     *) as_dir=$as_dir/ ;;
   2734   esac
   2735     for ac_exec_ext in '' $ac_executable_extensions; do
   2736   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2737     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2738     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2739     break 2
   2740   fi
   2741 done
   2742   done
   2743 IFS=$as_save_IFS
   2744 
   2745 fi
   2746 fi
   2747 STRIP=$ac_cv_prog_STRIP
   2748 if test -n "$STRIP"; then
   2749   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2750 printf "%s\n" "$STRIP" >&6; }
   2751 else
   2752   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2753 printf "%s\n" "no" >&6; }
   2754 fi
   2755 
   2756 
   2757 fi
   2758 if test -z "$ac_cv_prog_STRIP"; then
   2759   ac_ct_STRIP=$STRIP
   2760   # Extract the first word of "strip", so it can be a program name with args.
   2761 set dummy strip; ac_word=$2
   2762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2763 printf %s "checking for $ac_word... " >&6; }
   2764 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2765 then :
   2766   printf %s "(cached) " >&6
   2767 else $as_nop
   2768   if test -n "$ac_ct_STRIP"; then
   2769   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2770 else
   2771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2772 for as_dir in $PATH
   2773 do
   2774   IFS=$as_save_IFS
   2775   case $as_dir in #(((
   2776     '') as_dir=./ ;;
   2777     */) ;;
   2778     *) as_dir=$as_dir/ ;;
   2779   esac
   2780     for ac_exec_ext in '' $ac_executable_extensions; do
   2781   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2782     ac_cv_prog_ac_ct_STRIP="strip"
   2783     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2784     break 2
   2785   fi
   2786 done
   2787   done
   2788 IFS=$as_save_IFS
   2789 
   2790 fi
   2791 fi
   2792 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2793 if test -n "$ac_ct_STRIP"; then
   2794   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2795 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2796 else
   2797   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2798 printf "%s\n" "no" >&6; }
   2799 fi
   2800 
   2801   if test "x$ac_ct_STRIP" = x; then
   2802     STRIP=":"
   2803   else
   2804     case $cross_compiling:$ac_tool_warned in
   2805 yes:)
   2806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2807 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2808 ac_tool_warned=yes ;;
   2809 esac
   2810     STRIP=$ac_ct_STRIP
   2811   fi
   2812 else
   2813   STRIP="$ac_cv_prog_STRIP"
   2814 fi
   2815 
   2816 fi
   2817 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2818 
   2819 
   2820   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2821 printf %s "checking for a race-free mkdir -p... " >&6; }
   2822 if test -z "$MKDIR_P"; then
   2823   if test ${ac_cv_path_mkdir+y}
   2824 then :
   2825   printf %s "(cached) " >&6
   2826 else $as_nop
   2827   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2828 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2829 do
   2830   IFS=$as_save_IFS
   2831   case $as_dir in #(((
   2832     '') as_dir=./ ;;
   2833     */) ;;
   2834     *) as_dir=$as_dir/ ;;
   2835   esac
   2836     for ac_prog in mkdir gmkdir; do
   2837 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2838 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2839 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2840 	     'mkdir ('*'coreutils) '* | \
   2841 	     'BusyBox '* | \
   2842 	     'mkdir (fileutils) '4.1*)
   2843 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2844 	       break 3;;
   2845 	   esac
   2846 	 done
   2847        done
   2848   done
   2849 IFS=$as_save_IFS
   2850 
   2851 fi
   2852 
   2853   test -d ./--version && rmdir ./--version
   2854   if test ${ac_cv_path_mkdir+y}; then
   2855     MKDIR_P="$ac_cv_path_mkdir -p"
   2856   else
   2857     # As a last resort, use the slow shell script.  Don't cache a
   2858     # value for MKDIR_P within a source directory, because that will
   2859     # break other packages using the cache if that directory is
   2860     # removed, or if the value is a relative name.
   2861     MKDIR_P="$ac_install_sh -d"
   2862   fi
   2863 fi
   2864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2865 printf "%s\n" "$MKDIR_P" >&6; }
   2866 
   2867 for ac_prog in gawk mawk nawk awk
   2868 do
   2869   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2870 set dummy $ac_prog; ac_word=$2
   2871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2872 printf %s "checking for $ac_word... " >&6; }
   2873 if test ${ac_cv_prog_AWK+y}
   2874 then :
   2875   printf %s "(cached) " >&6
   2876 else $as_nop
   2877   if test -n "$AWK"; then
   2878   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2879 else
   2880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2881 for as_dir in $PATH
   2882 do
   2883   IFS=$as_save_IFS
   2884   case $as_dir in #(((
   2885     '') as_dir=./ ;;
   2886     */) ;;
   2887     *) as_dir=$as_dir/ ;;
   2888   esac
   2889     for ac_exec_ext in '' $ac_executable_extensions; do
   2890   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2891     ac_cv_prog_AWK="$ac_prog"
   2892     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2893     break 2
   2894   fi
   2895 done
   2896   done
   2897 IFS=$as_save_IFS
   2898 
   2899 fi
   2900 fi
   2901 AWK=$ac_cv_prog_AWK
   2902 if test -n "$AWK"; then
   2903   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2904 printf "%s\n" "$AWK" >&6; }
   2905 else
   2906   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2907 printf "%s\n" "no" >&6; }
   2908 fi
   2909 
   2910 
   2911   test -n "$AWK" && break
   2912 done
   2913 
   2914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2915 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2916 set x ${MAKE-make}
   2917 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2918 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   2919 then :
   2920   printf %s "(cached) " >&6
   2921 else $as_nop
   2922   cat >conftest.make <<\_ACEOF
   2923 SHELL = /bin/sh
   2924 all:
   2925 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2926 _ACEOF
   2927 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2928 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2929   *@@@%%%=?*=@@@%%%*)
   2930     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2931   *)
   2932     eval ac_cv_prog_make_${ac_make}_set=no;;
   2933 esac
   2934 rm -f conftest.make
   2935 fi
   2936 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2937   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2938 printf "%s\n" "yes" >&6; }
   2939   SET_MAKE=
   2940 else
   2941   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2942 printf "%s\n" "no" >&6; }
   2943   SET_MAKE="MAKE=${MAKE-make}"
   2944 fi
   2945 
   2946 rm -rf .tst 2>/dev/null
   2947 mkdir .tst 2>/dev/null
   2948 if test -d .tst; then
   2949   am__leading_dot=.
   2950 else
   2951   am__leading_dot=_
   2952 fi
   2953 rmdir .tst 2>/dev/null
   2954 
   2955 # Check whether --enable-silent-rules was given.
   2956 if test ${enable_silent_rules+y}
   2957 then :
   2958   enableval=$enable_silent_rules;
   2959 fi
   2960 
   2961 case $enable_silent_rules in # (((
   2962   yes) AM_DEFAULT_VERBOSITY=0;;
   2963    no) AM_DEFAULT_VERBOSITY=1;;
   2964     *) AM_DEFAULT_VERBOSITY=1;;
   2965 esac
   2966 am_make=${MAKE-make}
   2967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2968 printf %s "checking whether $am_make supports nested variables... " >&6; }
   2969 if test ${am_cv_make_support_nested_variables+y}
   2970 then :
   2971   printf %s "(cached) " >&6
   2972 else $as_nop
   2973   if printf "%s\n" 'TRUE=$(BAR$(V))
   2974 BAR0=false
   2975 BAR1=true
   2976 V=1
   2977 am__doit:
   2978 	@$(TRUE)
   2979 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2980   am_cv_make_support_nested_variables=yes
   2981 else
   2982   am_cv_make_support_nested_variables=no
   2983 fi
   2984 fi
   2985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2986 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   2987 if test $am_cv_make_support_nested_variables = yes; then
   2988     AM_V='$(V)'
   2989   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2990 else
   2991   AM_V=$AM_DEFAULT_VERBOSITY
   2992   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2993 fi
   2994 AM_BACKSLASH='\'
   2995 
   2996 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2997   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2998   # is not polluted with repeated "-I."
   2999   am__isrc=' -I$(srcdir)'
   3000   # test to see if srcdir already configured
   3001   if test -f $srcdir/config.status; then
   3002     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3003   fi
   3004 fi
   3005 
   3006 # test whether we have cygpath
   3007 if test -z "$CYGPATH_W"; then
   3008   if (cygpath --version) >/dev/null 2>/dev/null; then
   3009     CYGPATH_W='cygpath -w'
   3010   else
   3011     CYGPATH_W=echo
   3012   fi
   3013 fi
   3014 
   3015 
   3016 # Define the identity of the package.
   3017  PACKAGE='xprop'
   3018  VERSION='1.2.6'
   3019 
   3020 
   3021 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3022 
   3023 
   3024 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3025 
   3026 # Some tools Automake needs.
   3027 
   3028 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3029 
   3030 
   3031 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3032 
   3033 
   3034 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3035 
   3036 
   3037 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3038 
   3039 
   3040 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3041 
   3042 # For better backward compatibility.  To be removed once Automake 1.9.x
   3043 # dies out for good.  For more background, see:
   3044 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3045 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3046 mkdir_p='$(MKDIR_P)'
   3047 
   3048 # We need awk for the "check" target (and possibly the TAP driver).  The
   3049 # system "awk" is bad on some platforms.
   3050 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3051 # in the wild :-(  We should find a proper way to deprecate it ...
   3052 AMTAR='$${TAR-tar}'
   3053 
   3054 
   3055 # We'll loop over all known methods to create a tar archive until one works.
   3056 _am_tools='gnutar  pax cpio none'
   3057 
   3058 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3059 
   3060 
   3061 
   3062 
   3063 
   3064 # Variables for tags utilities; see am/tags.am
   3065 if test -z "$CTAGS"; then
   3066   CTAGS=ctags
   3067 fi
   3068 
   3069 if test -z "$ETAGS"; then
   3070   ETAGS=etags
   3071 fi
   3072 
   3073 if test -z "$CSCOPE"; then
   3074   CSCOPE=cscope
   3075 fi
   3076 
   3077 
   3078 
   3079 # POSIX will say in a future version that running "rm -f" with no argument
   3080 # is OK; and we want to be able to make that assumption in our Makefile
   3081 # recipes.  So use an aggressive probe to check that the usage we want is
   3082 # actually supported "in the wild" to an acceptable degree.
   3083 # See automake bug#10828.
   3084 # To make any issue more visible, cause the running configure to be aborted
   3085 # by default if the 'rm' program in use doesn't match our expectations; the
   3086 # user can still override this though.
   3087 if rm -f && rm -fr && rm -rf; then : OK; else
   3088   cat >&2 <<'END'
   3089 Oops!
   3090 
   3091 Your 'rm' program seems unable to run without file operands specified
   3092 on the command line, even when the '-f' option is present.  This is contrary
   3093 to the behaviour of most rm programs out there, and not conforming with
   3094 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3095 
   3096 Please tell bug-automake@gnu.org about your system, including the value
   3097 of your $PATH and any error possibly output before this message.  This
   3098 can help us improve future automake versions.
   3099 
   3100 END
   3101   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3102     echo 'Configuration will proceed anyway, since you have set the' >&2
   3103     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3104     echo >&2
   3105   else
   3106     cat >&2 <<'END'
   3107 Aborting the configuration process, to ensure you take notice of the issue.
   3108 
   3109 You can download and install GNU coreutils to get an 'rm' implementation
   3110 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3111 
   3112 If you want to complete the configuration process using your problematic
   3113 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3114 to "yes", and re-run configure.
   3115 
   3116 END
   3117     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3118   fi
   3119 fi
   3120 
   3121 
   3122 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3123 
   3124 
   3125 
   3126 
   3127 
   3128 
   3129 
   3130 
   3131 
   3132 
   3133 
   3134 
   3135 
   3136 
   3137 
   3138 
   3139 
   3140 
   3141 
   3142 
   3143 DEPDIR="${am__leading_dot}deps"
   3144 
   3145 ac_config_commands="$ac_config_commands depfiles"
   3146 
   3147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3148 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3149 cat > confinc.mk << 'END'
   3150 am__doit:
   3151 	@echo this is the am__doit target >confinc.out
   3152 .PHONY: am__doit
   3153 END
   3154 am__include="#"
   3155 am__quote=
   3156 # BSD make does it like this.
   3157 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3158 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3159 echo 'include confinc.mk # ignored' > confmf.GNU
   3160 _am_result=no
   3161 for s in GNU BSD; do
   3162   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3163    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3164    ac_status=$?
   3165    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3166    (exit $ac_status); }
   3167   case $?:`cat confinc.out 2>/dev/null` in #(
   3168   '0:this is the am__doit target') :
   3169     case $s in #(
   3170   BSD) :
   3171     am__include='.include' am__quote='"' ;; #(
   3172   *) :
   3173     am__include='include' am__quote='' ;;
   3174 esac ;; #(
   3175   *) :
   3176      ;;
   3177 esac
   3178   if test "$am__include" != "#"; then
   3179     _am_result="yes ($s style)"
   3180     break
   3181   fi
   3182 done
   3183 rm -f confinc.* confmf.*
   3184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3185 printf "%s\n" "${_am_result}" >&6; }
   3186 
   3187 # Check whether --enable-dependency-tracking was given.
   3188 if test ${enable_dependency_tracking+y}
   3189 then :
   3190   enableval=$enable_dependency_tracking;
   3191 fi
   3192 
   3193 if test "x$enable_dependency_tracking" != xno; then
   3194   am_depcomp="$ac_aux_dir/depcomp"
   3195   AMDEPBACKSLASH='\'
   3196   am__nodep='_no'
   3197 fi
   3198  if test "x$enable_dependency_tracking" != xno; then
   3199   AMDEP_TRUE=
   3200   AMDEP_FALSE='#'
   3201 else
   3202   AMDEP_TRUE='#'
   3203   AMDEP_FALSE=
   3204 fi
   3205 
   3206 
   3207 ac_ext=c
   3208 ac_cpp='$CPP $CPPFLAGS'
   3209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3212 if test -n "$ac_tool_prefix"; then
   3213   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3214 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3216 printf %s "checking for $ac_word... " >&6; }
   3217 if test ${ac_cv_prog_CC+y}
   3218 then :
   3219   printf %s "(cached) " >&6
   3220 else $as_nop
   3221   if test -n "$CC"; then
   3222   ac_cv_prog_CC="$CC" # Let the user override the test.
   3223 else
   3224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3225 for as_dir in $PATH
   3226 do
   3227   IFS=$as_save_IFS
   3228   case $as_dir in #(((
   3229     '') as_dir=./ ;;
   3230     */) ;;
   3231     *) as_dir=$as_dir/ ;;
   3232   esac
   3233     for ac_exec_ext in '' $ac_executable_extensions; do
   3234   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3235     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3236     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3237     break 2
   3238   fi
   3239 done
   3240   done
   3241 IFS=$as_save_IFS
   3242 
   3243 fi
   3244 fi
   3245 CC=$ac_cv_prog_CC
   3246 if test -n "$CC"; then
   3247   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3248 printf "%s\n" "$CC" >&6; }
   3249 else
   3250   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3251 printf "%s\n" "no" >&6; }
   3252 fi
   3253 
   3254 
   3255 fi
   3256 if test -z "$ac_cv_prog_CC"; then
   3257   ac_ct_CC=$CC
   3258   # Extract the first word of "gcc", so it can be a program name with args.
   3259 set dummy gcc; ac_word=$2
   3260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3261 printf %s "checking for $ac_word... " >&6; }
   3262 if test ${ac_cv_prog_ac_ct_CC+y}
   3263 then :
   3264   printf %s "(cached) " >&6
   3265 else $as_nop
   3266   if test -n "$ac_ct_CC"; then
   3267   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3268 else
   3269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3270 for as_dir in $PATH
   3271 do
   3272   IFS=$as_save_IFS
   3273   case $as_dir in #(((
   3274     '') as_dir=./ ;;
   3275     */) ;;
   3276     *) as_dir=$as_dir/ ;;
   3277   esac
   3278     for ac_exec_ext in '' $ac_executable_extensions; do
   3279   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3280     ac_cv_prog_ac_ct_CC="gcc"
   3281     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3282     break 2
   3283   fi
   3284 done
   3285   done
   3286 IFS=$as_save_IFS
   3287 
   3288 fi
   3289 fi
   3290 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3291 if test -n "$ac_ct_CC"; then
   3292   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3293 printf "%s\n" "$ac_ct_CC" >&6; }
   3294 else
   3295   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3296 printf "%s\n" "no" >&6; }
   3297 fi
   3298 
   3299   if test "x$ac_ct_CC" = x; then
   3300     CC=""
   3301   else
   3302     case $cross_compiling:$ac_tool_warned in
   3303 yes:)
   3304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3305 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3306 ac_tool_warned=yes ;;
   3307 esac
   3308     CC=$ac_ct_CC
   3309   fi
   3310 else
   3311   CC="$ac_cv_prog_CC"
   3312 fi
   3313 
   3314 if test -z "$CC"; then
   3315           if test -n "$ac_tool_prefix"; then
   3316     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3317 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3319 printf %s "checking for $ac_word... " >&6; }
   3320 if test ${ac_cv_prog_CC+y}
   3321 then :
   3322   printf %s "(cached) " >&6
   3323 else $as_nop
   3324   if test -n "$CC"; then
   3325   ac_cv_prog_CC="$CC" # Let the user override the test.
   3326 else
   3327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3328 for as_dir in $PATH
   3329 do
   3330   IFS=$as_save_IFS
   3331   case $as_dir in #(((
   3332     '') as_dir=./ ;;
   3333     */) ;;
   3334     *) as_dir=$as_dir/ ;;
   3335   esac
   3336     for ac_exec_ext in '' $ac_executable_extensions; do
   3337   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3338     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3339     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3340     break 2
   3341   fi
   3342 done
   3343   done
   3344 IFS=$as_save_IFS
   3345 
   3346 fi
   3347 fi
   3348 CC=$ac_cv_prog_CC
   3349 if test -n "$CC"; then
   3350   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3351 printf "%s\n" "$CC" >&6; }
   3352 else
   3353   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3354 printf "%s\n" "no" >&6; }
   3355 fi
   3356 
   3357 
   3358   fi
   3359 fi
   3360 if test -z "$CC"; then
   3361   # Extract the first word of "cc", so it can be a program name with args.
   3362 set dummy cc; ac_word=$2
   3363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3364 printf %s "checking for $ac_word... " >&6; }
   3365 if test ${ac_cv_prog_CC+y}
   3366 then :
   3367   printf %s "(cached) " >&6
   3368 else $as_nop
   3369   if test -n "$CC"; then
   3370   ac_cv_prog_CC="$CC" # Let the user override the test.
   3371 else
   3372   ac_prog_rejected=no
   3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3374 for as_dir in $PATH
   3375 do
   3376   IFS=$as_save_IFS
   3377   case $as_dir in #(((
   3378     '') as_dir=./ ;;
   3379     */) ;;
   3380     *) as_dir=$as_dir/ ;;
   3381   esac
   3382     for ac_exec_ext in '' $ac_executable_extensions; do
   3383   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3384     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3385        ac_prog_rejected=yes
   3386        continue
   3387      fi
   3388     ac_cv_prog_CC="cc"
   3389     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3390     break 2
   3391   fi
   3392 done
   3393   done
   3394 IFS=$as_save_IFS
   3395 
   3396 if test $ac_prog_rejected = yes; then
   3397   # We found a bogon in the path, so make sure we never use it.
   3398   set dummy $ac_cv_prog_CC
   3399   shift
   3400   if test $# != 0; then
   3401     # We chose a different compiler from the bogus one.
   3402     # However, it has the same basename, so the bogon will be chosen
   3403     # first if we set CC to just the basename; use the full file name.
   3404     shift
   3405     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3406   fi
   3407 fi
   3408 fi
   3409 fi
   3410 CC=$ac_cv_prog_CC
   3411 if test -n "$CC"; then
   3412   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3413 printf "%s\n" "$CC" >&6; }
   3414 else
   3415   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3416 printf "%s\n" "no" >&6; }
   3417 fi
   3418 
   3419 
   3420 fi
   3421 if test -z "$CC"; then
   3422   if test -n "$ac_tool_prefix"; then
   3423   for ac_prog in cl.exe
   3424   do
   3425     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3426 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3428 printf %s "checking for $ac_word... " >&6; }
   3429 if test ${ac_cv_prog_CC+y}
   3430 then :
   3431   printf %s "(cached) " >&6
   3432 else $as_nop
   3433   if test -n "$CC"; then
   3434   ac_cv_prog_CC="$CC" # Let the user override the test.
   3435 else
   3436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3437 for as_dir in $PATH
   3438 do
   3439   IFS=$as_save_IFS
   3440   case $as_dir in #(((
   3441     '') as_dir=./ ;;
   3442     */) ;;
   3443     *) as_dir=$as_dir/ ;;
   3444   esac
   3445     for ac_exec_ext in '' $ac_executable_extensions; do
   3446   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3447     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3448     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3449     break 2
   3450   fi
   3451 done
   3452   done
   3453 IFS=$as_save_IFS
   3454 
   3455 fi
   3456 fi
   3457 CC=$ac_cv_prog_CC
   3458 if test -n "$CC"; then
   3459   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3460 printf "%s\n" "$CC" >&6; }
   3461 else
   3462   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3463 printf "%s\n" "no" >&6; }
   3464 fi
   3465 
   3466 
   3467     test -n "$CC" && break
   3468   done
   3469 fi
   3470 if test -z "$CC"; then
   3471   ac_ct_CC=$CC
   3472   for ac_prog in cl.exe
   3473 do
   3474   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3475 set dummy $ac_prog; ac_word=$2
   3476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3477 printf %s "checking for $ac_word... " >&6; }
   3478 if test ${ac_cv_prog_ac_ct_CC+y}
   3479 then :
   3480   printf %s "(cached) " >&6
   3481 else $as_nop
   3482   if test -n "$ac_ct_CC"; then
   3483   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3484 else
   3485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3486 for as_dir in $PATH
   3487 do
   3488   IFS=$as_save_IFS
   3489   case $as_dir in #(((
   3490     '') as_dir=./ ;;
   3491     */) ;;
   3492     *) as_dir=$as_dir/ ;;
   3493   esac
   3494     for ac_exec_ext in '' $ac_executable_extensions; do
   3495   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3496     ac_cv_prog_ac_ct_CC="$ac_prog"
   3497     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3498     break 2
   3499   fi
   3500 done
   3501   done
   3502 IFS=$as_save_IFS
   3503 
   3504 fi
   3505 fi
   3506 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3507 if test -n "$ac_ct_CC"; then
   3508   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3509 printf "%s\n" "$ac_ct_CC" >&6; }
   3510 else
   3511   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3512 printf "%s\n" "no" >&6; }
   3513 fi
   3514 
   3515 
   3516   test -n "$ac_ct_CC" && break
   3517 done
   3518 
   3519   if test "x$ac_ct_CC" = x; then
   3520     CC=""
   3521   else
   3522     case $cross_compiling:$ac_tool_warned in
   3523 yes:)
   3524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3525 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3526 ac_tool_warned=yes ;;
   3527 esac
   3528     CC=$ac_ct_CC
   3529   fi
   3530 fi
   3531 
   3532 fi
   3533 if test -z "$CC"; then
   3534   if test -n "$ac_tool_prefix"; then
   3535   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3536 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3538 printf %s "checking for $ac_word... " >&6; }
   3539 if test ${ac_cv_prog_CC+y}
   3540 then :
   3541   printf %s "(cached) " >&6
   3542 else $as_nop
   3543   if test -n "$CC"; then
   3544   ac_cv_prog_CC="$CC" # Let the user override the test.
   3545 else
   3546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3547 for as_dir in $PATH
   3548 do
   3549   IFS=$as_save_IFS
   3550   case $as_dir in #(((
   3551     '') as_dir=./ ;;
   3552     */) ;;
   3553     *) as_dir=$as_dir/ ;;
   3554   esac
   3555     for ac_exec_ext in '' $ac_executable_extensions; do
   3556   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3557     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3558     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3559     break 2
   3560   fi
   3561 done
   3562   done
   3563 IFS=$as_save_IFS
   3564 
   3565 fi
   3566 fi
   3567 CC=$ac_cv_prog_CC
   3568 if test -n "$CC"; then
   3569   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3570 printf "%s\n" "$CC" >&6; }
   3571 else
   3572   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3573 printf "%s\n" "no" >&6; }
   3574 fi
   3575 
   3576 
   3577 fi
   3578 if test -z "$ac_cv_prog_CC"; then
   3579   ac_ct_CC=$CC
   3580   # Extract the first word of "clang", so it can be a program name with args.
   3581 set dummy clang; ac_word=$2
   3582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3583 printf %s "checking for $ac_word... " >&6; }
   3584 if test ${ac_cv_prog_ac_ct_CC+y}
   3585 then :
   3586   printf %s "(cached) " >&6
   3587 else $as_nop
   3588   if test -n "$ac_ct_CC"; then
   3589   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3590 else
   3591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3592 for as_dir in $PATH
   3593 do
   3594   IFS=$as_save_IFS
   3595   case $as_dir in #(((
   3596     '') as_dir=./ ;;
   3597     */) ;;
   3598     *) as_dir=$as_dir/ ;;
   3599   esac
   3600     for ac_exec_ext in '' $ac_executable_extensions; do
   3601   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3602     ac_cv_prog_ac_ct_CC="clang"
   3603     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3604     break 2
   3605   fi
   3606 done
   3607   done
   3608 IFS=$as_save_IFS
   3609 
   3610 fi
   3611 fi
   3612 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3613 if test -n "$ac_ct_CC"; then
   3614   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3615 printf "%s\n" "$ac_ct_CC" >&6; }
   3616 else
   3617   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3618 printf "%s\n" "no" >&6; }
   3619 fi
   3620 
   3621   if test "x$ac_ct_CC" = x; then
   3622     CC=""
   3623   else
   3624     case $cross_compiling:$ac_tool_warned in
   3625 yes:)
   3626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3627 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3628 ac_tool_warned=yes ;;
   3629 esac
   3630     CC=$ac_ct_CC
   3631   fi
   3632 else
   3633   CC="$ac_cv_prog_CC"
   3634 fi
   3635 
   3636 fi
   3637 
   3638 
   3639 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3640 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3641 as_fn_error $? "no acceptable C compiler found in \$PATH
   3642 See \`config.log' for more details" "$LINENO" 5; }
   3643 
   3644 # Provide some information about the compiler.
   3645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3646 set X $ac_compile
   3647 ac_compiler=$2
   3648 for ac_option in --version -v -V -qversion -version; do
   3649   { { ac_try="$ac_compiler $ac_option >&5"
   3650 case "(($ac_try" in
   3651   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3652   *) ac_try_echo=$ac_try;;
   3653 esac
   3654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3655 printf "%s\n" "$ac_try_echo"; } >&5
   3656   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3657   ac_status=$?
   3658   if test -s conftest.err; then
   3659     sed '10a\
   3660 ... rest of stderr output deleted ...
   3661          10q' conftest.err >conftest.er1
   3662     cat conftest.er1 >&5
   3663   fi
   3664   rm -f conftest.er1 conftest.err
   3665   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3666   test $ac_status = 0; }
   3667 done
   3668 
   3669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3670 /* end confdefs.h.  */
   3671 
   3672 int
   3673 main (void)
   3674 {
   3675 
   3676   ;
   3677   return 0;
   3678 }
   3679 _ACEOF
   3680 ac_clean_files_save=$ac_clean_files
   3681 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3682 # Try to create an executable without -o first, disregard a.out.
   3683 # It will help us diagnose broken compilers, and finding out an intuition
   3684 # of exeext.
   3685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3686 printf %s "checking whether the C compiler works... " >&6; }
   3687 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3688 
   3689 # The possible output files:
   3690 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3691 
   3692 ac_rmfiles=
   3693 for ac_file in $ac_files
   3694 do
   3695   case $ac_file in
   3696     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3697     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3698   esac
   3699 done
   3700 rm -f $ac_rmfiles
   3701 
   3702 if { { ac_try="$ac_link_default"
   3703 case "(($ac_try" in
   3704   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3705   *) ac_try_echo=$ac_try;;
   3706 esac
   3707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3708 printf "%s\n" "$ac_try_echo"; } >&5
   3709   (eval "$ac_link_default") 2>&5
   3710   ac_status=$?
   3711   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3712   test $ac_status = 0; }
   3713 then :
   3714   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3715 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3716 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3717 # so that the user can short-circuit this test for compilers unknown to
   3718 # Autoconf.
   3719 for ac_file in $ac_files ''
   3720 do
   3721   test -f "$ac_file" || continue
   3722   case $ac_file in
   3723     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3724 	;;
   3725     [ab].out )
   3726 	# We found the default executable, but exeext='' is most
   3727 	# certainly right.
   3728 	break;;
   3729     *.* )
   3730 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3731 	then :; else
   3732 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3733 	fi
   3734 	# We set ac_cv_exeext here because the later test for it is not
   3735 	# safe: cross compilers may not add the suffix if given an `-o'
   3736 	# argument, so we may need to know it at that point already.
   3737 	# Even if this section looks crufty: it has the advantage of
   3738 	# actually working.
   3739 	break;;
   3740     * )
   3741 	break;;
   3742   esac
   3743 done
   3744 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3745 
   3746 else $as_nop
   3747   ac_file=''
   3748 fi
   3749 if test -z "$ac_file"
   3750 then :
   3751   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3752 printf "%s\n" "no" >&6; }
   3753 printf "%s\n" "$as_me: failed program was:" >&5
   3754 sed 's/^/| /' conftest.$ac_ext >&5
   3755 
   3756 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3757 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3758 as_fn_error 77 "C compiler cannot create executables
   3759 See \`config.log' for more details" "$LINENO" 5; }
   3760 else $as_nop
   3761   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3762 printf "%s\n" "yes" >&6; }
   3763 fi
   3764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3765 printf %s "checking for C compiler default output file name... " >&6; }
   3766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3767 printf "%s\n" "$ac_file" >&6; }
   3768 ac_exeext=$ac_cv_exeext
   3769 
   3770 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3771 ac_clean_files=$ac_clean_files_save
   3772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3773 printf %s "checking for suffix of executables... " >&6; }
   3774 if { { ac_try="$ac_link"
   3775 case "(($ac_try" in
   3776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3777   *) ac_try_echo=$ac_try;;
   3778 esac
   3779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3780 printf "%s\n" "$ac_try_echo"; } >&5
   3781   (eval "$ac_link") 2>&5
   3782   ac_status=$?
   3783   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3784   test $ac_status = 0; }
   3785 then :
   3786   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3787 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3788 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3789 # `rm'.
   3790 for ac_file in conftest.exe conftest conftest.*; do
   3791   test -f "$ac_file" || continue
   3792   case $ac_file in
   3793     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3794     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3795 	  break;;
   3796     * ) break;;
   3797   esac
   3798 done
   3799 else $as_nop
   3800   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3801 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3802 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3803 See \`config.log' for more details" "$LINENO" 5; }
   3804 fi
   3805 rm -f conftest conftest$ac_cv_exeext
   3806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3807 printf "%s\n" "$ac_cv_exeext" >&6; }
   3808 
   3809 rm -f conftest.$ac_ext
   3810 EXEEXT=$ac_cv_exeext
   3811 ac_exeext=$EXEEXT
   3812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3813 /* end confdefs.h.  */
   3814 #include <stdio.h>
   3815 int
   3816 main (void)
   3817 {
   3818 FILE *f = fopen ("conftest.out", "w");
   3819  return ferror (f) || fclose (f) != 0;
   3820 
   3821   ;
   3822   return 0;
   3823 }
   3824 _ACEOF
   3825 ac_clean_files="$ac_clean_files conftest.out"
   3826 # Check that the compiler produces executables we can run.  If not, either
   3827 # the compiler is broken, or we cross compile.
   3828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3829 printf %s "checking whether we are cross compiling... " >&6; }
   3830 if test "$cross_compiling" != yes; then
   3831   { { ac_try="$ac_link"
   3832 case "(($ac_try" in
   3833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3834   *) ac_try_echo=$ac_try;;
   3835 esac
   3836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3837 printf "%s\n" "$ac_try_echo"; } >&5
   3838   (eval "$ac_link") 2>&5
   3839   ac_status=$?
   3840   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3841   test $ac_status = 0; }
   3842   if { ac_try='./conftest$ac_cv_exeext'
   3843   { { case "(($ac_try" in
   3844   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3845   *) ac_try_echo=$ac_try;;
   3846 esac
   3847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3848 printf "%s\n" "$ac_try_echo"; } >&5
   3849   (eval "$ac_try") 2>&5
   3850   ac_status=$?
   3851   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3852   test $ac_status = 0; }; }; then
   3853     cross_compiling=no
   3854   else
   3855     if test "$cross_compiling" = maybe; then
   3856 	cross_compiling=yes
   3857     else
   3858 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3859 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3860 as_fn_error 77 "cannot run C compiled programs.
   3861 If you meant to cross compile, use \`--host'.
   3862 See \`config.log' for more details" "$LINENO" 5; }
   3863     fi
   3864   fi
   3865 fi
   3866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3867 printf "%s\n" "$cross_compiling" >&6; }
   3868 
   3869 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3870 ac_clean_files=$ac_clean_files_save
   3871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3872 printf %s "checking for suffix of object files... " >&6; }
   3873 if test ${ac_cv_objext+y}
   3874 then :
   3875   printf %s "(cached) " >&6
   3876 else $as_nop
   3877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3878 /* end confdefs.h.  */
   3879 
   3880 int
   3881 main (void)
   3882 {
   3883 
   3884   ;
   3885   return 0;
   3886 }
   3887 _ACEOF
   3888 rm -f conftest.o conftest.obj
   3889 if { { ac_try="$ac_compile"
   3890 case "(($ac_try" in
   3891   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3892   *) ac_try_echo=$ac_try;;
   3893 esac
   3894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3895 printf "%s\n" "$ac_try_echo"; } >&5
   3896   (eval "$ac_compile") 2>&5
   3897   ac_status=$?
   3898   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3899   test $ac_status = 0; }
   3900 then :
   3901   for ac_file in conftest.o conftest.obj conftest.*; do
   3902   test -f "$ac_file" || continue;
   3903   case $ac_file in
   3904     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3905     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3906        break;;
   3907   esac
   3908 done
   3909 else $as_nop
   3910   printf "%s\n" "$as_me: failed program was:" >&5
   3911 sed 's/^/| /' conftest.$ac_ext >&5
   3912 
   3913 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3914 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3915 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3916 See \`config.log' for more details" "$LINENO" 5; }
   3917 fi
   3918 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3919 fi
   3920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3921 printf "%s\n" "$ac_cv_objext" >&6; }
   3922 OBJEXT=$ac_cv_objext
   3923 ac_objext=$OBJEXT
   3924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3925 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3926 if test ${ac_cv_c_compiler_gnu+y}
   3927 then :
   3928   printf %s "(cached) " >&6
   3929 else $as_nop
   3930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3931 /* end confdefs.h.  */
   3932 
   3933 int
   3934 main (void)
   3935 {
   3936 #ifndef __GNUC__
   3937        choke me
   3938 #endif
   3939 
   3940   ;
   3941   return 0;
   3942 }
   3943 _ACEOF
   3944 if ac_fn_c_try_compile "$LINENO"
   3945 then :
   3946   ac_compiler_gnu=yes
   3947 else $as_nop
   3948   ac_compiler_gnu=no
   3949 fi
   3950 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3951 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3952 
   3953 fi
   3954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3955 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3957 
   3958 if test $ac_compiler_gnu = yes; then
   3959   GCC=yes
   3960 else
   3961   GCC=
   3962 fi
   3963 ac_test_CFLAGS=${CFLAGS+y}
   3964 ac_save_CFLAGS=$CFLAGS
   3965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3966 printf %s "checking whether $CC accepts -g... " >&6; }
   3967 if test ${ac_cv_prog_cc_g+y}
   3968 then :
   3969   printf %s "(cached) " >&6
   3970 else $as_nop
   3971   ac_save_c_werror_flag=$ac_c_werror_flag
   3972    ac_c_werror_flag=yes
   3973    ac_cv_prog_cc_g=no
   3974    CFLAGS="-g"
   3975    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3976 /* end confdefs.h.  */
   3977 
   3978 int
   3979 main (void)
   3980 {
   3981 
   3982   ;
   3983   return 0;
   3984 }
   3985 _ACEOF
   3986 if ac_fn_c_try_compile "$LINENO"
   3987 then :
   3988   ac_cv_prog_cc_g=yes
   3989 else $as_nop
   3990   CFLAGS=""
   3991       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3992 /* end confdefs.h.  */
   3993 
   3994 int
   3995 main (void)
   3996 {
   3997 
   3998   ;
   3999   return 0;
   4000 }
   4001 _ACEOF
   4002 if ac_fn_c_try_compile "$LINENO"
   4003 then :
   4004 
   4005 else $as_nop
   4006   ac_c_werror_flag=$ac_save_c_werror_flag
   4007 	 CFLAGS="-g"
   4008 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4009 /* end confdefs.h.  */
   4010 
   4011 int
   4012 main (void)
   4013 {
   4014 
   4015   ;
   4016   return 0;
   4017 }
   4018 _ACEOF
   4019 if ac_fn_c_try_compile "$LINENO"
   4020 then :
   4021   ac_cv_prog_cc_g=yes
   4022 fi
   4023 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4024 fi
   4025 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4026 fi
   4027 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4028    ac_c_werror_flag=$ac_save_c_werror_flag
   4029 fi
   4030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4031 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4032 if test $ac_test_CFLAGS; then
   4033   CFLAGS=$ac_save_CFLAGS
   4034 elif test $ac_cv_prog_cc_g = yes; then
   4035   if test "$GCC" = yes; then
   4036     CFLAGS="-g -O2"
   4037   else
   4038     CFLAGS="-g"
   4039   fi
   4040 else
   4041   if test "$GCC" = yes; then
   4042     CFLAGS="-O2"
   4043   else
   4044     CFLAGS=
   4045   fi
   4046 fi
   4047 ac_prog_cc_stdc=no
   4048 if test x$ac_prog_cc_stdc = xno
   4049 then :
   4050   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4051 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4052 if test ${ac_cv_prog_cc_c11+y}
   4053 then :
   4054   printf %s "(cached) " >&6
   4055 else $as_nop
   4056   ac_cv_prog_cc_c11=no
   4057 ac_save_CC=$CC
   4058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4059 /* end confdefs.h.  */
   4060 $ac_c_conftest_c11_program
   4061 _ACEOF
   4062 for ac_arg in '' -std=gnu11
   4063 do
   4064   CC="$ac_save_CC $ac_arg"
   4065   if ac_fn_c_try_compile "$LINENO"
   4066 then :
   4067   ac_cv_prog_cc_c11=$ac_arg
   4068 fi
   4069 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4070   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4071 done
   4072 rm -f conftest.$ac_ext
   4073 CC=$ac_save_CC
   4074 fi
   4075 
   4076 if test "x$ac_cv_prog_cc_c11" = xno
   4077 then :
   4078   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4079 printf "%s\n" "unsupported" >&6; }
   4080 else $as_nop
   4081   if test "x$ac_cv_prog_cc_c11" = x
   4082 then :
   4083   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4084 printf "%s\n" "none needed" >&6; }
   4085 else $as_nop
   4086   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4087 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4088      CC="$CC $ac_cv_prog_cc_c11"
   4089 fi
   4090   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4091   ac_prog_cc_stdc=c11
   4092 fi
   4093 fi
   4094 if test x$ac_prog_cc_stdc = xno
   4095 then :
   4096   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4097 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4098 if test ${ac_cv_prog_cc_c99+y}
   4099 then :
   4100   printf %s "(cached) " >&6
   4101 else $as_nop
   4102   ac_cv_prog_cc_c99=no
   4103 ac_save_CC=$CC
   4104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4105 /* end confdefs.h.  */
   4106 $ac_c_conftest_c99_program
   4107 _ACEOF
   4108 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4109 do
   4110   CC="$ac_save_CC $ac_arg"
   4111   if ac_fn_c_try_compile "$LINENO"
   4112 then :
   4113   ac_cv_prog_cc_c99=$ac_arg
   4114 fi
   4115 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4116   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4117 done
   4118 rm -f conftest.$ac_ext
   4119 CC=$ac_save_CC
   4120 fi
   4121 
   4122 if test "x$ac_cv_prog_cc_c99" = xno
   4123 then :
   4124   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4125 printf "%s\n" "unsupported" >&6; }
   4126 else $as_nop
   4127   if test "x$ac_cv_prog_cc_c99" = x
   4128 then :
   4129   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4130 printf "%s\n" "none needed" >&6; }
   4131 else $as_nop
   4132   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4133 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4134      CC="$CC $ac_cv_prog_cc_c99"
   4135 fi
   4136   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4137   ac_prog_cc_stdc=c99
   4138 fi
   4139 fi
   4140 if test x$ac_prog_cc_stdc = xno
   4141 then :
   4142   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4143 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4144 if test ${ac_cv_prog_cc_c89+y}
   4145 then :
   4146   printf %s "(cached) " >&6
   4147 else $as_nop
   4148   ac_cv_prog_cc_c89=no
   4149 ac_save_CC=$CC
   4150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4151 /* end confdefs.h.  */
   4152 $ac_c_conftest_c89_program
   4153 _ACEOF
   4154 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4155 do
   4156   CC="$ac_save_CC $ac_arg"
   4157   if ac_fn_c_try_compile "$LINENO"
   4158 then :
   4159   ac_cv_prog_cc_c89=$ac_arg
   4160 fi
   4161 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4162   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4163 done
   4164 rm -f conftest.$ac_ext
   4165 CC=$ac_save_CC
   4166 fi
   4167 
   4168 if test "x$ac_cv_prog_cc_c89" = xno
   4169 then :
   4170   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4171 printf "%s\n" "unsupported" >&6; }
   4172 else $as_nop
   4173   if test "x$ac_cv_prog_cc_c89" = x
   4174 then :
   4175   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4176 printf "%s\n" "none needed" >&6; }
   4177 else $as_nop
   4178   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4179 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4180      CC="$CC $ac_cv_prog_cc_c89"
   4181 fi
   4182   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4183   ac_prog_cc_stdc=c89
   4184 fi
   4185 fi
   4186 
   4187 ac_ext=c
   4188 ac_cpp='$CPP $CPPFLAGS'
   4189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4192 
   4193 
   4194   ac_ext=c
   4195 ac_cpp='$CPP $CPPFLAGS'
   4196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4200 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4201 if test ${am_cv_prog_cc_c_o+y}
   4202 then :
   4203   printf %s "(cached) " >&6
   4204 else $as_nop
   4205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4206 /* end confdefs.h.  */
   4207 
   4208 int
   4209 main (void)
   4210 {
   4211 
   4212   ;
   4213   return 0;
   4214 }
   4215 _ACEOF
   4216   # Make sure it works both with $CC and with simple cc.
   4217   # Following AC_PROG_CC_C_O, we do the test twice because some
   4218   # compilers refuse to overwrite an existing .o file with -o,
   4219   # though they will create one.
   4220   am_cv_prog_cc_c_o=yes
   4221   for am_i in 1 2; do
   4222     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4223    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4224    ac_status=$?
   4225    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4226    (exit $ac_status); } \
   4227          && test -f conftest2.$ac_objext; then
   4228       : OK
   4229     else
   4230       am_cv_prog_cc_c_o=no
   4231       break
   4232     fi
   4233   done
   4234   rm -f core conftest*
   4235   unset am_i
   4236 fi
   4237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4238 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4239 if test "$am_cv_prog_cc_c_o" != yes; then
   4240    # Losing compiler, so override with the script.
   4241    # FIXME: It is wrong to rewrite CC.
   4242    # But if we don't then we get into trouble of one sort or another.
   4243    # A longer-term fix would be to have automake use am__CC in this case,
   4244    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4245    CC="$am_aux_dir/compile $CC"
   4246 fi
   4247 ac_ext=c
   4248 ac_cpp='$CPP $CPPFLAGS'
   4249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4252 
   4253 
   4254 depcc="$CC"   am_compiler_list=
   4255 
   4256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4257 printf %s "checking dependency style of $depcc... " >&6; }
   4258 if test ${am_cv_CC_dependencies_compiler_type+y}
   4259 then :
   4260   printf %s "(cached) " >&6
   4261 else $as_nop
   4262   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4263   # We make a subdir and do the tests there.  Otherwise we can end up
   4264   # making bogus files that we don't know about and never remove.  For
   4265   # instance it was reported that on HP-UX the gcc test will end up
   4266   # making a dummy file named 'D' -- because '-MD' means "put the output
   4267   # in D".
   4268   rm -rf conftest.dir
   4269   mkdir conftest.dir
   4270   # Copy depcomp to subdir because otherwise we won't find it if we're
   4271   # using a relative directory.
   4272   cp "$am_depcomp" conftest.dir
   4273   cd conftest.dir
   4274   # We will build objects and dependencies in a subdirectory because
   4275   # it helps to detect inapplicable dependency modes.  For instance
   4276   # both Tru64's cc and ICC support -MD to output dependencies as a
   4277   # side effect of compilation, but ICC will put the dependencies in
   4278   # the current directory while Tru64 will put them in the object
   4279   # directory.
   4280   mkdir sub
   4281 
   4282   am_cv_CC_dependencies_compiler_type=none
   4283   if test "$am_compiler_list" = ""; then
   4284      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4285   fi
   4286   am__universal=false
   4287   case " $depcc " in #(
   4288      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4289      esac
   4290 
   4291   for depmode in $am_compiler_list; do
   4292     # Setup a source with many dependencies, because some compilers
   4293     # like to wrap large dependency lists on column 80 (with \), and
   4294     # we should not choose a depcomp mode which is confused by this.
   4295     #
   4296     # We need to recreate these files for each test, as the compiler may
   4297     # overwrite some of them when testing with obscure command lines.
   4298     # This happens at least with the AIX C compiler.
   4299     : > sub/conftest.c
   4300     for i in 1 2 3 4 5 6; do
   4301       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4302       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4303       # Solaris 10 /bin/sh.
   4304       echo '/* dummy */' > sub/conftst$i.h
   4305     done
   4306     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4307 
   4308     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4309     # mode.  It turns out that the SunPro C++ compiler does not properly
   4310     # handle '-M -o', and we need to detect this.  Also, some Intel
   4311     # versions had trouble with output in subdirs.
   4312     am__obj=sub/conftest.${OBJEXT-o}
   4313     am__minus_obj="-o $am__obj"
   4314     case $depmode in
   4315     gcc)
   4316       # This depmode causes a compiler race in universal mode.
   4317       test "$am__universal" = false || continue
   4318       ;;
   4319     nosideeffect)
   4320       # After this tag, mechanisms are not by side-effect, so they'll
   4321       # only be used when explicitly requested.
   4322       if test "x$enable_dependency_tracking" = xyes; then
   4323 	continue
   4324       else
   4325 	break
   4326       fi
   4327       ;;
   4328     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4329       # This compiler won't grok '-c -o', but also, the minuso test has
   4330       # not run yet.  These depmodes are late enough in the game, and
   4331       # so weak that their functioning should not be impacted.
   4332       am__obj=conftest.${OBJEXT-o}
   4333       am__minus_obj=
   4334       ;;
   4335     none) break ;;
   4336     esac
   4337     if depmode=$depmode \
   4338        source=sub/conftest.c object=$am__obj \
   4339        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4340        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4341          >/dev/null 2>conftest.err &&
   4342        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4343        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4344        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4345        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4346       # icc doesn't choke on unknown options, it will just issue warnings
   4347       # or remarks (even with -Werror).  So we grep stderr for any message
   4348       # that says an option was ignored or not supported.
   4349       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4350       #   icc: Command line warning: ignoring option '-M'; no argument required
   4351       # The diagnosis changed in icc 8.0:
   4352       #   icc: Command line remark: option '-MP' not supported
   4353       if (grep 'ignoring option' conftest.err ||
   4354           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4355         am_cv_CC_dependencies_compiler_type=$depmode
   4356         break
   4357       fi
   4358     fi
   4359   done
   4360 
   4361   cd ..
   4362   rm -rf conftest.dir
   4363 else
   4364   am_cv_CC_dependencies_compiler_type=none
   4365 fi
   4366 
   4367 fi
   4368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4369 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4370 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4371 
   4372  if
   4373   test "x$enable_dependency_tracking" != xno \
   4374   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4375   am__fastdepCC_TRUE=
   4376   am__fastdepCC_FALSE='#'
   4377 else
   4378   am__fastdepCC_TRUE='#'
   4379   am__fastdepCC_FALSE=
   4380 fi
   4381 
   4382 
   4383 
   4384 
   4385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4386 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4387 if test ${ac_cv_c_undeclared_builtin_options+y}
   4388 then :
   4389   printf %s "(cached) " >&6
   4390 else $as_nop
   4391   ac_save_CFLAGS=$CFLAGS
   4392    ac_cv_c_undeclared_builtin_options='cannot detect'
   4393    for ac_arg in '' -fno-builtin; do
   4394      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4395      # This test program should *not* compile successfully.
   4396      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4397 /* end confdefs.h.  */
   4398 
   4399 int
   4400 main (void)
   4401 {
   4402 (void) strchr;
   4403   ;
   4404   return 0;
   4405 }
   4406 _ACEOF
   4407 if ac_fn_c_try_compile "$LINENO"
   4408 then :
   4409 
   4410 else $as_nop
   4411   # This test program should compile successfully.
   4412         # No library function is consistently available on
   4413         # freestanding implementations, so test against a dummy
   4414         # declaration.  Include always-available headers on the
   4415         # off chance that they somehow elicit warnings.
   4416         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4417 /* end confdefs.h.  */
   4418 #include <float.h>
   4419 #include <limits.h>
   4420 #include <stdarg.h>
   4421 #include <stddef.h>
   4422 extern void ac_decl (int, char *);
   4423 
   4424 int
   4425 main (void)
   4426 {
   4427 (void) ac_decl (0, (char *) 0);
   4428   (void) ac_decl;
   4429 
   4430   ;
   4431   return 0;
   4432 }
   4433 _ACEOF
   4434 if ac_fn_c_try_compile "$LINENO"
   4435 then :
   4436   if test x"$ac_arg" = x
   4437 then :
   4438   ac_cv_c_undeclared_builtin_options='none needed'
   4439 else $as_nop
   4440   ac_cv_c_undeclared_builtin_options=$ac_arg
   4441 fi
   4442           break
   4443 fi
   4444 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4445 fi
   4446 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4447     done
   4448     CFLAGS=$ac_save_CFLAGS
   4449 
   4450 fi
   4451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4452 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4453   case $ac_cv_c_undeclared_builtin_options in #(
   4454   'cannot detect') :
   4455     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4456 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4457 as_fn_error $? "cannot make $CC report undeclared builtins
   4458 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   4459   'none needed') :
   4460     ac_c_undeclared_builtin_options='' ;; #(
   4461   *) :
   4462     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4463 esac
   4464 
   4465 ac_header= ac_cache=
   4466 for ac_item in $ac_header_c_list
   4467 do
   4468   if test $ac_cache; then
   4469     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4470     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4471       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4472     fi
   4473     ac_header= ac_cache=
   4474   elif test $ac_header; then
   4475     ac_cache=$ac_item
   4476   else
   4477     ac_header=$ac_item
   4478   fi
   4479 done
   4480 
   4481 
   4482 
   4483 
   4484 
   4485 
   4486 
   4487 
   4488 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4489 then :
   4490 
   4491 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4492 
   4493 fi
   4494 
   4495 
   4496 
   4497 
   4498 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4499 if test "x$ac_cv_have_decl___clang__" = xyes
   4500 then :
   4501   CLANGCC="yes"
   4502 else $as_nop
   4503   CLANGCC="no"
   4504 fi
   4505 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4506 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4507 then :
   4508   INTELCC="yes"
   4509 else $as_nop
   4510   INTELCC="no"
   4511 fi
   4512 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4513 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4514 then :
   4515   SUNCC="yes"
   4516 else $as_nop
   4517   SUNCC="no"
   4518 fi
   4519 
   4520 
   4521 
   4522 
   4523 
   4524 
   4525 
   4526 
   4527 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4528 	if test -n "$ac_tool_prefix"; then
   4529   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4530 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4532 printf %s "checking for $ac_word... " >&6; }
   4533 if test ${ac_cv_path_PKG_CONFIG+y}
   4534 then :
   4535   printf %s "(cached) " >&6
   4536 else $as_nop
   4537   case $PKG_CONFIG in
   4538   [\\/]* | ?:[\\/]*)
   4539   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4540   ;;
   4541   *)
   4542   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4543 for as_dir in $PATH
   4544 do
   4545   IFS=$as_save_IFS
   4546   case $as_dir in #(((
   4547     '') as_dir=./ ;;
   4548     */) ;;
   4549     *) as_dir=$as_dir/ ;;
   4550   esac
   4551     for ac_exec_ext in '' $ac_executable_extensions; do
   4552   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4553     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4554     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4555     break 2
   4556   fi
   4557 done
   4558   done
   4559 IFS=$as_save_IFS
   4560 
   4561   ;;
   4562 esac
   4563 fi
   4564 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4565 if test -n "$PKG_CONFIG"; then
   4566   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4567 printf "%s\n" "$PKG_CONFIG" >&6; }
   4568 else
   4569   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4570 printf "%s\n" "no" >&6; }
   4571 fi
   4572 
   4573 
   4574 fi
   4575 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4576   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4577   # Extract the first word of "pkg-config", so it can be a program name with args.
   4578 set dummy pkg-config; ac_word=$2
   4579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4580 printf %s "checking for $ac_word... " >&6; }
   4581 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4582 then :
   4583   printf %s "(cached) " >&6
   4584 else $as_nop
   4585   case $ac_pt_PKG_CONFIG in
   4586   [\\/]* | ?:[\\/]*)
   4587   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4588   ;;
   4589   *)
   4590   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4591 for as_dir in $PATH
   4592 do
   4593   IFS=$as_save_IFS
   4594   case $as_dir in #(((
   4595     '') as_dir=./ ;;
   4596     */) ;;
   4597     *) as_dir=$as_dir/ ;;
   4598   esac
   4599     for ac_exec_ext in '' $ac_executable_extensions; do
   4600   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4601     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4602     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4603     break 2
   4604   fi
   4605 done
   4606   done
   4607 IFS=$as_save_IFS
   4608 
   4609   ;;
   4610 esac
   4611 fi
   4612 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4613 if test -n "$ac_pt_PKG_CONFIG"; then
   4614   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4615 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4616 else
   4617   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4618 printf "%s\n" "no" >&6; }
   4619 fi
   4620 
   4621   if test "x$ac_pt_PKG_CONFIG" = x; then
   4622     PKG_CONFIG=""
   4623   else
   4624     case $cross_compiling:$ac_tool_warned in
   4625 yes:)
   4626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4627 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4628 ac_tool_warned=yes ;;
   4629 esac
   4630     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4631   fi
   4632 else
   4633   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4634 fi
   4635 
   4636 fi
   4637 if test -n "$PKG_CONFIG"; then
   4638 	_pkg_min_version=0.9.0
   4639 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4640 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4641 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4642 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4643 printf "%s\n" "yes" >&6; }
   4644 	else
   4645 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4646 printf "%s\n" "no" >&6; }
   4647 		PKG_CONFIG=""
   4648 	fi
   4649 fi
   4650 
   4651 
   4652   # Make sure we can run config.sub.
   4653 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4654   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4655 
   4656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4657 printf %s "checking build system type... " >&6; }
   4658 if test ${ac_cv_build+y}
   4659 then :
   4660   printf %s "(cached) " >&6
   4661 else $as_nop
   4662   ac_build_alias=$build_alias
   4663 test "x$ac_build_alias" = x &&
   4664   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4665 test "x$ac_build_alias" = x &&
   4666   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4667 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4668   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4669 
   4670 fi
   4671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4672 printf "%s\n" "$ac_cv_build" >&6; }
   4673 case $ac_cv_build in
   4674 *-*-*) ;;
   4675 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4676 esac
   4677 build=$ac_cv_build
   4678 ac_save_IFS=$IFS; IFS='-'
   4679 set x $ac_cv_build
   4680 shift
   4681 build_cpu=$1
   4682 build_vendor=$2
   4683 shift; shift
   4684 # Remember, the first character of IFS is used to create $*,
   4685 # except with old shells:
   4686 build_os=$*
   4687 IFS=$ac_save_IFS
   4688 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4689 
   4690 
   4691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4692 printf %s "checking host system type... " >&6; }
   4693 if test ${ac_cv_host+y}
   4694 then :
   4695   printf %s "(cached) " >&6
   4696 else $as_nop
   4697   if test "x$host_alias" = x; then
   4698   ac_cv_host=$ac_cv_build
   4699 else
   4700   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4701     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4702 fi
   4703 
   4704 fi
   4705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4706 printf "%s\n" "$ac_cv_host" >&6; }
   4707 case $ac_cv_host in
   4708 *-*-*) ;;
   4709 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4710 esac
   4711 host=$ac_cv_host
   4712 ac_save_IFS=$IFS; IFS='-'
   4713 set x $ac_cv_host
   4714 shift
   4715 host_cpu=$1
   4716 host_vendor=$2
   4717 shift; shift
   4718 # Remember, the first character of IFS is used to create $*,
   4719 # except with old shells:
   4720 host_os=$*
   4721 IFS=$ac_save_IFS
   4722 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4723 
   4724 
   4725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4726 printf %s "checking for a sed that does not truncate output... " >&6; }
   4727 if test ${ac_cv_path_SED+y}
   4728 then :
   4729   printf %s "(cached) " >&6
   4730 else $as_nop
   4731             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4732      for ac_i in 1 2 3 4 5 6 7; do
   4733        ac_script="$ac_script$as_nl$ac_script"
   4734      done
   4735      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4736      { ac_script=; unset ac_script;}
   4737      if test -z "$SED"; then
   4738   ac_path_SED_found=false
   4739   # Loop through the user's path and test for each of PROGNAME-LIST
   4740   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4741 for as_dir in $PATH
   4742 do
   4743   IFS=$as_save_IFS
   4744   case $as_dir in #(((
   4745     '') as_dir=./ ;;
   4746     */) ;;
   4747     *) as_dir=$as_dir/ ;;
   4748   esac
   4749     for ac_prog in sed gsed
   4750    do
   4751     for ac_exec_ext in '' $ac_executable_extensions; do
   4752       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4753       as_fn_executable_p "$ac_path_SED" || continue
   4754 # Check for GNU ac_path_SED and select it if it is found.
   4755   # Check for GNU $ac_path_SED
   4756 case `"$ac_path_SED" --version 2>&1` in
   4757 *GNU*)
   4758   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4759 *)
   4760   ac_count=0
   4761   printf %s 0123456789 >"conftest.in"
   4762   while :
   4763   do
   4764     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4765     mv "conftest.tmp" "conftest.in"
   4766     cp "conftest.in" "conftest.nl"
   4767     printf "%s\n" '' >> "conftest.nl"
   4768     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4769     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4770     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4771     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4772       # Best one so far, save it but keep looking for a better one
   4773       ac_cv_path_SED="$ac_path_SED"
   4774       ac_path_SED_max=$ac_count
   4775     fi
   4776     # 10*(2^10) chars as input seems more than enough
   4777     test $ac_count -gt 10 && break
   4778   done
   4779   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4780 esac
   4781 
   4782       $ac_path_SED_found && break 3
   4783     done
   4784   done
   4785   done
   4786 IFS=$as_save_IFS
   4787   if test -z "$ac_cv_path_SED"; then
   4788     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4789   fi
   4790 else
   4791   ac_cv_path_SED=$SED
   4792 fi
   4793 
   4794 fi
   4795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4796 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4797  SED="$ac_cv_path_SED"
   4798   rm -f conftest.sed
   4799 
   4800 
   4801 
   4802 
   4803 
   4804 
   4805 # Check whether --enable-selective-werror was given.
   4806 if test ${enable_selective_werror+y}
   4807 then :
   4808   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4809 else $as_nop
   4810   SELECTIVE_WERROR=yes
   4811 fi
   4812 
   4813 
   4814 
   4815 
   4816 
   4817 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4818 if test "x$SUNCC" = "xyes"; then
   4819     BASE_CFLAGS="-v"
   4820 else
   4821     BASE_CFLAGS=""
   4822 fi
   4823 
   4824 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4825 
   4826 
   4827 
   4828 
   4829 
   4830 
   4831 
   4832 
   4833 
   4834 
   4835 
   4836 
   4837 
   4838 xorg_testset_save_CFLAGS="$CFLAGS"
   4839 
   4840 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4841 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4842 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4843 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4844 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4845 then :
   4846   printf %s "(cached) " >&6
   4847 else $as_nop
   4848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4849 /* end confdefs.h.  */
   4850 int i;
   4851 _ACEOF
   4852 if ac_fn_c_try_compile "$LINENO"
   4853 then :
   4854   xorg_cv_cc_flag_unknown_warning_option=yes
   4855 else $as_nop
   4856   xorg_cv_cc_flag_unknown_warning_option=no
   4857 fi
   4858 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4859 fi
   4860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4861 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4862 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4863 	CFLAGS="$xorg_testset_save_CFLAGS"
   4864 fi
   4865 
   4866 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4867 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4868 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4869 	fi
   4870 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4871 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4872 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4873 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   4874 then :
   4875   printf %s "(cached) " >&6
   4876 else $as_nop
   4877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4878 /* end confdefs.h.  */
   4879 int i;
   4880 _ACEOF
   4881 if ac_fn_c_try_compile "$LINENO"
   4882 then :
   4883   xorg_cv_cc_flag_unused_command_line_argument=yes
   4884 else $as_nop
   4885   xorg_cv_cc_flag_unused_command_line_argument=no
   4886 fi
   4887 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4888 fi
   4889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4890 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4891 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4892 	CFLAGS="$xorg_testset_save_CFLAGS"
   4893 fi
   4894 
   4895 found="no"
   4896 
   4897 	if test $found = "no" ; then
   4898 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4899 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4900 		fi
   4901 
   4902 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4903 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4904 		fi
   4905 
   4906 		CFLAGS="$CFLAGS -Wall"
   4907 
   4908 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4909 printf %s "checking if $CC supports -Wall... " >&6; }
   4910 		cacheid=xorg_cv_cc_flag__Wall
   4911 		if eval test \${$cacheid+y}
   4912 then :
   4913   printf %s "(cached) " >&6
   4914 else $as_nop
   4915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4916 /* end confdefs.h.  */
   4917 int i;
   4918 int
   4919 main (void)
   4920 {
   4921 
   4922   ;
   4923   return 0;
   4924 }
   4925 _ACEOF
   4926 if ac_fn_c_try_link "$LINENO"
   4927 then :
   4928   eval $cacheid=yes
   4929 else $as_nop
   4930   eval $cacheid=no
   4931 fi
   4932 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   4933     conftest$ac_exeext conftest.$ac_ext
   4934 fi
   4935 
   4936 
   4937 		CFLAGS="$xorg_testset_save_CFLAGS"
   4938 
   4939 		eval supported=\$$cacheid
   4940 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4941 printf "%s\n" "$supported" >&6; }
   4942 		if test "$supported" = "yes" ; then
   4943 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4944 			found="yes"
   4945 		fi
   4946 	fi
   4947 
   4948 
   4949 
   4950 
   4951 
   4952 
   4953 
   4954 
   4955 
   4956 
   4957 
   4958 
   4959 
   4960 
   4961 
   4962 xorg_testset_save_CFLAGS="$CFLAGS"
   4963 
   4964 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4965 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4966 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4967 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4968 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4969 then :
   4970   printf %s "(cached) " >&6
   4971 else $as_nop
   4972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4973 /* end confdefs.h.  */
   4974 int i;
   4975 _ACEOF
   4976 if ac_fn_c_try_compile "$LINENO"
   4977 then :
   4978   xorg_cv_cc_flag_unknown_warning_option=yes
   4979 else $as_nop
   4980   xorg_cv_cc_flag_unknown_warning_option=no
   4981 fi
   4982 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4983 fi
   4984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4985 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4986 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4987 	CFLAGS="$xorg_testset_save_CFLAGS"
   4988 fi
   4989 
   4990 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4991 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4992 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4993 	fi
   4994 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4995 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4996 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4997 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   4998 then :
   4999   printf %s "(cached) " >&6
   5000 else $as_nop
   5001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5002 /* end confdefs.h.  */
   5003 int i;
   5004 _ACEOF
   5005 if ac_fn_c_try_compile "$LINENO"
   5006 then :
   5007   xorg_cv_cc_flag_unused_command_line_argument=yes
   5008 else $as_nop
   5009   xorg_cv_cc_flag_unused_command_line_argument=no
   5010 fi
   5011 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5012 fi
   5013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5014 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5015 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5016 	CFLAGS="$xorg_testset_save_CFLAGS"
   5017 fi
   5018 
   5019 found="no"
   5020 
   5021 	if test $found = "no" ; then
   5022 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5023 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5024 		fi
   5025 
   5026 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5027 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5028 		fi
   5029 
   5030 		CFLAGS="$CFLAGS -Wpointer-arith"
   5031 
   5032 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5033 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5034 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5035 		if eval test \${$cacheid+y}
   5036 then :
   5037   printf %s "(cached) " >&6
   5038 else $as_nop
   5039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5040 /* end confdefs.h.  */
   5041 int i;
   5042 int
   5043 main (void)
   5044 {
   5045 
   5046   ;
   5047   return 0;
   5048 }
   5049 _ACEOF
   5050 if ac_fn_c_try_link "$LINENO"
   5051 then :
   5052   eval $cacheid=yes
   5053 else $as_nop
   5054   eval $cacheid=no
   5055 fi
   5056 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5057     conftest$ac_exeext conftest.$ac_ext
   5058 fi
   5059 
   5060 
   5061 		CFLAGS="$xorg_testset_save_CFLAGS"
   5062 
   5063 		eval supported=\$$cacheid
   5064 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5065 printf "%s\n" "$supported" >&6; }
   5066 		if test "$supported" = "yes" ; then
   5067 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5068 			found="yes"
   5069 		fi
   5070 	fi
   5071 
   5072 
   5073 
   5074 
   5075 
   5076 
   5077 
   5078 
   5079 
   5080 
   5081 
   5082 
   5083 
   5084 
   5085 
   5086 xorg_testset_save_CFLAGS="$CFLAGS"
   5087 
   5088 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5089 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5090 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5091 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5092 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5093 then :
   5094   printf %s "(cached) " >&6
   5095 else $as_nop
   5096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5097 /* end confdefs.h.  */
   5098 int i;
   5099 _ACEOF
   5100 if ac_fn_c_try_compile "$LINENO"
   5101 then :
   5102   xorg_cv_cc_flag_unknown_warning_option=yes
   5103 else $as_nop
   5104   xorg_cv_cc_flag_unknown_warning_option=no
   5105 fi
   5106 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5107 fi
   5108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5109 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5110 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5111 	CFLAGS="$xorg_testset_save_CFLAGS"
   5112 fi
   5113 
   5114 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5115 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5116 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5117 	fi
   5118 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5119 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5120 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5121 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5122 then :
   5123   printf %s "(cached) " >&6
   5124 else $as_nop
   5125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5126 /* end confdefs.h.  */
   5127 int i;
   5128 _ACEOF
   5129 if ac_fn_c_try_compile "$LINENO"
   5130 then :
   5131   xorg_cv_cc_flag_unused_command_line_argument=yes
   5132 else $as_nop
   5133   xorg_cv_cc_flag_unused_command_line_argument=no
   5134 fi
   5135 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5136 fi
   5137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5138 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5139 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5140 	CFLAGS="$xorg_testset_save_CFLAGS"
   5141 fi
   5142 
   5143 found="no"
   5144 
   5145 	if test $found = "no" ; then
   5146 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5147 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5148 		fi
   5149 
   5150 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5151 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5152 		fi
   5153 
   5154 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5155 
   5156 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5157 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5158 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5159 		if eval test \${$cacheid+y}
   5160 then :
   5161   printf %s "(cached) " >&6
   5162 else $as_nop
   5163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5164 /* end confdefs.h.  */
   5165 int i;
   5166 int
   5167 main (void)
   5168 {
   5169 
   5170   ;
   5171   return 0;
   5172 }
   5173 _ACEOF
   5174 if ac_fn_c_try_link "$LINENO"
   5175 then :
   5176   eval $cacheid=yes
   5177 else $as_nop
   5178   eval $cacheid=no
   5179 fi
   5180 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5181     conftest$ac_exeext conftest.$ac_ext
   5182 fi
   5183 
   5184 
   5185 		CFLAGS="$xorg_testset_save_CFLAGS"
   5186 
   5187 		eval supported=\$$cacheid
   5188 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5189 printf "%s\n" "$supported" >&6; }
   5190 		if test "$supported" = "yes" ; then
   5191 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5192 			found="yes"
   5193 		fi
   5194 	fi
   5195 
   5196 
   5197 
   5198 
   5199 
   5200 
   5201 
   5202 
   5203 
   5204 
   5205 
   5206 
   5207 
   5208 
   5209 
   5210 xorg_testset_save_CFLAGS="$CFLAGS"
   5211 
   5212 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5213 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5214 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5215 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5216 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5217 then :
   5218   printf %s "(cached) " >&6
   5219 else $as_nop
   5220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5221 /* end confdefs.h.  */
   5222 int i;
   5223 _ACEOF
   5224 if ac_fn_c_try_compile "$LINENO"
   5225 then :
   5226   xorg_cv_cc_flag_unknown_warning_option=yes
   5227 else $as_nop
   5228   xorg_cv_cc_flag_unknown_warning_option=no
   5229 fi
   5230 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5231 fi
   5232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5233 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5234 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5235 	CFLAGS="$xorg_testset_save_CFLAGS"
   5236 fi
   5237 
   5238 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5239 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5240 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5241 	fi
   5242 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5243 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5244 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5245 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5246 then :
   5247   printf %s "(cached) " >&6
   5248 else $as_nop
   5249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5250 /* end confdefs.h.  */
   5251 int i;
   5252 _ACEOF
   5253 if ac_fn_c_try_compile "$LINENO"
   5254 then :
   5255   xorg_cv_cc_flag_unused_command_line_argument=yes
   5256 else $as_nop
   5257   xorg_cv_cc_flag_unused_command_line_argument=no
   5258 fi
   5259 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5260 fi
   5261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5262 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5263 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5264 	CFLAGS="$xorg_testset_save_CFLAGS"
   5265 fi
   5266 
   5267 found="no"
   5268 
   5269 	if test $found = "no" ; then
   5270 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5271 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5272 		fi
   5273 
   5274 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5275 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5276 		fi
   5277 
   5278 		CFLAGS="$CFLAGS -Wformat=2"
   5279 
   5280 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5281 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5282 		cacheid=xorg_cv_cc_flag__Wformat_2
   5283 		if eval test \${$cacheid+y}
   5284 then :
   5285   printf %s "(cached) " >&6
   5286 else $as_nop
   5287   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5288 /* end confdefs.h.  */
   5289 int i;
   5290 int
   5291 main (void)
   5292 {
   5293 
   5294   ;
   5295   return 0;
   5296 }
   5297 _ACEOF
   5298 if ac_fn_c_try_link "$LINENO"
   5299 then :
   5300   eval $cacheid=yes
   5301 else $as_nop
   5302   eval $cacheid=no
   5303 fi
   5304 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5305     conftest$ac_exeext conftest.$ac_ext
   5306 fi
   5307 
   5308 
   5309 		CFLAGS="$xorg_testset_save_CFLAGS"
   5310 
   5311 		eval supported=\$$cacheid
   5312 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5313 printf "%s\n" "$supported" >&6; }
   5314 		if test "$supported" = "yes" ; then
   5315 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5316 			found="yes"
   5317 		fi
   5318 	fi
   5319 
   5320 	if test $found = "no" ; then
   5321 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5322 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5323 		fi
   5324 
   5325 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5326 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5327 		fi
   5328 
   5329 		CFLAGS="$CFLAGS -Wformat"
   5330 
   5331 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5332 printf %s "checking if $CC supports -Wformat... " >&6; }
   5333 		cacheid=xorg_cv_cc_flag__Wformat
   5334 		if eval test \${$cacheid+y}
   5335 then :
   5336   printf %s "(cached) " >&6
   5337 else $as_nop
   5338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5339 /* end confdefs.h.  */
   5340 int i;
   5341 int
   5342 main (void)
   5343 {
   5344 
   5345   ;
   5346   return 0;
   5347 }
   5348 _ACEOF
   5349 if ac_fn_c_try_link "$LINENO"
   5350 then :
   5351   eval $cacheid=yes
   5352 else $as_nop
   5353   eval $cacheid=no
   5354 fi
   5355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5356     conftest$ac_exeext conftest.$ac_ext
   5357 fi
   5358 
   5359 
   5360 		CFLAGS="$xorg_testset_save_CFLAGS"
   5361 
   5362 		eval supported=\$$cacheid
   5363 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5364 printf "%s\n" "$supported" >&6; }
   5365 		if test "$supported" = "yes" ; then
   5366 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5367 			found="yes"
   5368 		fi
   5369 	fi
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 
   5385 
   5386 
   5387 xorg_testset_save_CFLAGS="$CFLAGS"
   5388 
   5389 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5390 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5391 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5392 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5393 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5394 then :
   5395   printf %s "(cached) " >&6
   5396 else $as_nop
   5397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5398 /* end confdefs.h.  */
   5399 int i;
   5400 _ACEOF
   5401 if ac_fn_c_try_compile "$LINENO"
   5402 then :
   5403   xorg_cv_cc_flag_unknown_warning_option=yes
   5404 else $as_nop
   5405   xorg_cv_cc_flag_unknown_warning_option=no
   5406 fi
   5407 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5408 fi
   5409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5410 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5411 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5412 	CFLAGS="$xorg_testset_save_CFLAGS"
   5413 fi
   5414 
   5415 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5416 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5417 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5418 	fi
   5419 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5420 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5421 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5422 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5423 then :
   5424   printf %s "(cached) " >&6
   5425 else $as_nop
   5426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5427 /* end confdefs.h.  */
   5428 int i;
   5429 _ACEOF
   5430 if ac_fn_c_try_compile "$LINENO"
   5431 then :
   5432   xorg_cv_cc_flag_unused_command_line_argument=yes
   5433 else $as_nop
   5434   xorg_cv_cc_flag_unused_command_line_argument=no
   5435 fi
   5436 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5437 fi
   5438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5439 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5440 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5441 	CFLAGS="$xorg_testset_save_CFLAGS"
   5442 fi
   5443 
   5444 found="no"
   5445 
   5446 	if test $found = "no" ; then
   5447 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5448 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5449 		fi
   5450 
   5451 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5452 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5453 		fi
   5454 
   5455 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5456 
   5457 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5458 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5459 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5460 		if eval test \${$cacheid+y}
   5461 then :
   5462   printf %s "(cached) " >&6
   5463 else $as_nop
   5464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5465 /* end confdefs.h.  */
   5466 int i;
   5467 int
   5468 main (void)
   5469 {
   5470 
   5471   ;
   5472   return 0;
   5473 }
   5474 _ACEOF
   5475 if ac_fn_c_try_link "$LINENO"
   5476 then :
   5477   eval $cacheid=yes
   5478 else $as_nop
   5479   eval $cacheid=no
   5480 fi
   5481 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5482     conftest$ac_exeext conftest.$ac_ext
   5483 fi
   5484 
   5485 
   5486 		CFLAGS="$xorg_testset_save_CFLAGS"
   5487 
   5488 		eval supported=\$$cacheid
   5489 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5490 printf "%s\n" "$supported" >&6; }
   5491 		if test "$supported" = "yes" ; then
   5492 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5493 			found="yes"
   5494 		fi
   5495 	fi
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 
   5502 
   5503 
   5504 
   5505 
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 xorg_testset_save_CFLAGS="$CFLAGS"
   5512 
   5513 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5514 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5515 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5516 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5517 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5518 then :
   5519   printf %s "(cached) " >&6
   5520 else $as_nop
   5521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5522 /* end confdefs.h.  */
   5523 int i;
   5524 _ACEOF
   5525 if ac_fn_c_try_compile "$LINENO"
   5526 then :
   5527   xorg_cv_cc_flag_unknown_warning_option=yes
   5528 else $as_nop
   5529   xorg_cv_cc_flag_unknown_warning_option=no
   5530 fi
   5531 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5532 fi
   5533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5534 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5535 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5536 	CFLAGS="$xorg_testset_save_CFLAGS"
   5537 fi
   5538 
   5539 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5540 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5541 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5542 	fi
   5543 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5544 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5545 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5546 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5547 then :
   5548   printf %s "(cached) " >&6
   5549 else $as_nop
   5550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5551 /* end confdefs.h.  */
   5552 int i;
   5553 _ACEOF
   5554 if ac_fn_c_try_compile "$LINENO"
   5555 then :
   5556   xorg_cv_cc_flag_unused_command_line_argument=yes
   5557 else $as_nop
   5558   xorg_cv_cc_flag_unused_command_line_argument=no
   5559 fi
   5560 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5561 fi
   5562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5563 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5564 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5565 	CFLAGS="$xorg_testset_save_CFLAGS"
   5566 fi
   5567 
   5568 found="no"
   5569 
   5570 	if test $found = "no" ; then
   5571 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5572 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5573 		fi
   5574 
   5575 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5576 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5577 		fi
   5578 
   5579 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5580 
   5581 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5582 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5583 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5584 		if eval test \${$cacheid+y}
   5585 then :
   5586   printf %s "(cached) " >&6
   5587 else $as_nop
   5588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5589 /* end confdefs.h.  */
   5590 int i;
   5591 int
   5592 main (void)
   5593 {
   5594 
   5595   ;
   5596   return 0;
   5597 }
   5598 _ACEOF
   5599 if ac_fn_c_try_link "$LINENO"
   5600 then :
   5601   eval $cacheid=yes
   5602 else $as_nop
   5603   eval $cacheid=no
   5604 fi
   5605 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5606     conftest$ac_exeext conftest.$ac_ext
   5607 fi
   5608 
   5609 
   5610 		CFLAGS="$xorg_testset_save_CFLAGS"
   5611 
   5612 		eval supported=\$$cacheid
   5613 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5614 printf "%s\n" "$supported" >&6; }
   5615 		if test "$supported" = "yes" ; then
   5616 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5617 			found="yes"
   5618 		fi
   5619 	fi
   5620 
   5621 
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 xorg_testset_save_CFLAGS="$CFLAGS"
   5636 
   5637 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5638 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5639 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5640 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5641 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5642 then :
   5643   printf %s "(cached) " >&6
   5644 else $as_nop
   5645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5646 /* end confdefs.h.  */
   5647 int i;
   5648 _ACEOF
   5649 if ac_fn_c_try_compile "$LINENO"
   5650 then :
   5651   xorg_cv_cc_flag_unknown_warning_option=yes
   5652 else $as_nop
   5653   xorg_cv_cc_flag_unknown_warning_option=no
   5654 fi
   5655 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5656 fi
   5657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5658 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5659 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5660 	CFLAGS="$xorg_testset_save_CFLAGS"
   5661 fi
   5662 
   5663 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5664 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5665 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5666 	fi
   5667 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5668 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5669 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5670 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5671 then :
   5672   printf %s "(cached) " >&6
   5673 else $as_nop
   5674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5675 /* end confdefs.h.  */
   5676 int i;
   5677 _ACEOF
   5678 if ac_fn_c_try_compile "$LINENO"
   5679 then :
   5680   xorg_cv_cc_flag_unused_command_line_argument=yes
   5681 else $as_nop
   5682   xorg_cv_cc_flag_unused_command_line_argument=no
   5683 fi
   5684 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5685 fi
   5686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5687 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5688 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5689 	CFLAGS="$xorg_testset_save_CFLAGS"
   5690 fi
   5691 
   5692 found="no"
   5693 
   5694 	if test $found = "no" ; then
   5695 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5696 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5697 		fi
   5698 
   5699 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5700 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5701 		fi
   5702 
   5703 		CFLAGS="$CFLAGS -Wnested-externs"
   5704 
   5705 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5706 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5707 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5708 		if eval test \${$cacheid+y}
   5709 then :
   5710   printf %s "(cached) " >&6
   5711 else $as_nop
   5712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5713 /* end confdefs.h.  */
   5714 int i;
   5715 int
   5716 main (void)
   5717 {
   5718 
   5719   ;
   5720   return 0;
   5721 }
   5722 _ACEOF
   5723 if ac_fn_c_try_link "$LINENO"
   5724 then :
   5725   eval $cacheid=yes
   5726 else $as_nop
   5727   eval $cacheid=no
   5728 fi
   5729 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5730     conftest$ac_exeext conftest.$ac_ext
   5731 fi
   5732 
   5733 
   5734 		CFLAGS="$xorg_testset_save_CFLAGS"
   5735 
   5736 		eval supported=\$$cacheid
   5737 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5738 printf "%s\n" "$supported" >&6; }
   5739 		if test "$supported" = "yes" ; then
   5740 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5741 			found="yes"
   5742 		fi
   5743 	fi
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 xorg_testset_save_CFLAGS="$CFLAGS"
   5760 
   5761 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5762 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5763 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5764 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5765 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5766 then :
   5767   printf %s "(cached) " >&6
   5768 else $as_nop
   5769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5770 /* end confdefs.h.  */
   5771 int i;
   5772 _ACEOF
   5773 if ac_fn_c_try_compile "$LINENO"
   5774 then :
   5775   xorg_cv_cc_flag_unknown_warning_option=yes
   5776 else $as_nop
   5777   xorg_cv_cc_flag_unknown_warning_option=no
   5778 fi
   5779 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5780 fi
   5781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5782 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5783 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5784 	CFLAGS="$xorg_testset_save_CFLAGS"
   5785 fi
   5786 
   5787 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5788 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5789 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5790 	fi
   5791 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5792 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5793 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5794 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5795 then :
   5796   printf %s "(cached) " >&6
   5797 else $as_nop
   5798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5799 /* end confdefs.h.  */
   5800 int i;
   5801 _ACEOF
   5802 if ac_fn_c_try_compile "$LINENO"
   5803 then :
   5804   xorg_cv_cc_flag_unused_command_line_argument=yes
   5805 else $as_nop
   5806   xorg_cv_cc_flag_unused_command_line_argument=no
   5807 fi
   5808 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5809 fi
   5810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5811 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5812 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5813 	CFLAGS="$xorg_testset_save_CFLAGS"
   5814 fi
   5815 
   5816 found="no"
   5817 
   5818 	if test $found = "no" ; then
   5819 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5820 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5821 		fi
   5822 
   5823 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5824 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5825 		fi
   5826 
   5827 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5828 
   5829 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5830 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   5831 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5832 		if eval test \${$cacheid+y}
   5833 then :
   5834   printf %s "(cached) " >&6
   5835 else $as_nop
   5836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5837 /* end confdefs.h.  */
   5838 int i;
   5839 int
   5840 main (void)
   5841 {
   5842 
   5843   ;
   5844   return 0;
   5845 }
   5846 _ACEOF
   5847 if ac_fn_c_try_link "$LINENO"
   5848 then :
   5849   eval $cacheid=yes
   5850 else $as_nop
   5851   eval $cacheid=no
   5852 fi
   5853 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5854     conftest$ac_exeext conftest.$ac_ext
   5855 fi
   5856 
   5857 
   5858 		CFLAGS="$xorg_testset_save_CFLAGS"
   5859 
   5860 		eval supported=\$$cacheid
   5861 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5862 printf "%s\n" "$supported" >&6; }
   5863 		if test "$supported" = "yes" ; then
   5864 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5865 			found="yes"
   5866 		fi
   5867 	fi
   5868 
   5869 
   5870 
   5871 
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 xorg_testset_save_CFLAGS="$CFLAGS"
   5884 
   5885 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5886 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5887 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5888 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5889 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5890 then :
   5891   printf %s "(cached) " >&6
   5892 else $as_nop
   5893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5894 /* end confdefs.h.  */
   5895 int i;
   5896 _ACEOF
   5897 if ac_fn_c_try_compile "$LINENO"
   5898 then :
   5899   xorg_cv_cc_flag_unknown_warning_option=yes
   5900 else $as_nop
   5901   xorg_cv_cc_flag_unknown_warning_option=no
   5902 fi
   5903 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5904 fi
   5905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5906 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5907 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5908 	CFLAGS="$xorg_testset_save_CFLAGS"
   5909 fi
   5910 
   5911 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5912 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5913 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5914 	fi
   5915 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5916 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5917 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5918 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5919 then :
   5920   printf %s "(cached) " >&6
   5921 else $as_nop
   5922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5923 /* end confdefs.h.  */
   5924 int i;
   5925 _ACEOF
   5926 if ac_fn_c_try_compile "$LINENO"
   5927 then :
   5928   xorg_cv_cc_flag_unused_command_line_argument=yes
   5929 else $as_nop
   5930   xorg_cv_cc_flag_unused_command_line_argument=no
   5931 fi
   5932 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5933 fi
   5934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5935 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5936 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5937 	CFLAGS="$xorg_testset_save_CFLAGS"
   5938 fi
   5939 
   5940 found="no"
   5941 
   5942 	if test $found = "no" ; then
   5943 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5944 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5945 		fi
   5946 
   5947 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5948 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5949 		fi
   5950 
   5951 		CFLAGS="$CFLAGS -Wold-style-definition"
   5952 
   5953 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5954 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   5955 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5956 		if eval test \${$cacheid+y}
   5957 then :
   5958   printf %s "(cached) " >&6
   5959 else $as_nop
   5960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5961 /* end confdefs.h.  */
   5962 int i;
   5963 int
   5964 main (void)
   5965 {
   5966 
   5967   ;
   5968   return 0;
   5969 }
   5970 _ACEOF
   5971 if ac_fn_c_try_link "$LINENO"
   5972 then :
   5973   eval $cacheid=yes
   5974 else $as_nop
   5975   eval $cacheid=no
   5976 fi
   5977 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5978     conftest$ac_exeext conftest.$ac_ext
   5979 fi
   5980 
   5981 
   5982 		CFLAGS="$xorg_testset_save_CFLAGS"
   5983 
   5984 		eval supported=\$$cacheid
   5985 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5986 printf "%s\n" "$supported" >&6; }
   5987 		if test "$supported" = "yes" ; then
   5988 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5989 			found="yes"
   5990 		fi
   5991 	fi
   5992 
   5993 	if test $found = "no" ; then
   5994 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5995 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5996 		fi
   5997 
   5998 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5999 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6000 		fi
   6001 
   6002 		CFLAGS="$CFLAGS -fd"
   6003 
   6004 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6005 printf %s "checking if $CC supports -fd... " >&6; }
   6006 		cacheid=xorg_cv_cc_flag__fd
   6007 		if eval test \${$cacheid+y}
   6008 then :
   6009   printf %s "(cached) " >&6
   6010 else $as_nop
   6011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6012 /* end confdefs.h.  */
   6013 int i;
   6014 int
   6015 main (void)
   6016 {
   6017 
   6018   ;
   6019   return 0;
   6020 }
   6021 _ACEOF
   6022 if ac_fn_c_try_link "$LINENO"
   6023 then :
   6024   eval $cacheid=yes
   6025 else $as_nop
   6026   eval $cacheid=no
   6027 fi
   6028 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6029     conftest$ac_exeext conftest.$ac_ext
   6030 fi
   6031 
   6032 
   6033 		CFLAGS="$xorg_testset_save_CFLAGS"
   6034 
   6035 		eval supported=\$$cacheid
   6036 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6037 printf "%s\n" "$supported" >&6; }
   6038 		if test "$supported" = "yes" ; then
   6039 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6040 			found="yes"
   6041 		fi
   6042 	fi
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 
   6051 
   6052 
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 xorg_testset_save_CFLAGS="$CFLAGS"
   6059 
   6060 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6061 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6062 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6063 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6064 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6065 then :
   6066   printf %s "(cached) " >&6
   6067 else $as_nop
   6068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6069 /* end confdefs.h.  */
   6070 int i;
   6071 _ACEOF
   6072 if ac_fn_c_try_compile "$LINENO"
   6073 then :
   6074   xorg_cv_cc_flag_unknown_warning_option=yes
   6075 else $as_nop
   6076   xorg_cv_cc_flag_unknown_warning_option=no
   6077 fi
   6078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6079 fi
   6080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6081 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6082 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6083 	CFLAGS="$xorg_testset_save_CFLAGS"
   6084 fi
   6085 
   6086 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6087 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6088 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6089 	fi
   6090 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6091 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6092 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6093 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6094 then :
   6095   printf %s "(cached) " >&6
   6096 else $as_nop
   6097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6098 /* end confdefs.h.  */
   6099 int i;
   6100 _ACEOF
   6101 if ac_fn_c_try_compile "$LINENO"
   6102 then :
   6103   xorg_cv_cc_flag_unused_command_line_argument=yes
   6104 else $as_nop
   6105   xorg_cv_cc_flag_unused_command_line_argument=no
   6106 fi
   6107 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6108 fi
   6109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6110 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6111 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6112 	CFLAGS="$xorg_testset_save_CFLAGS"
   6113 fi
   6114 
   6115 found="no"
   6116 
   6117 	if test $found = "no" ; then
   6118 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6119 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6120 		fi
   6121 
   6122 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6123 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6124 		fi
   6125 
   6126 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6127 
   6128 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6129 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6130 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6131 		if eval test \${$cacheid+y}
   6132 then :
   6133   printf %s "(cached) " >&6
   6134 else $as_nop
   6135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6136 /* end confdefs.h.  */
   6137 int i;
   6138 int
   6139 main (void)
   6140 {
   6141 
   6142   ;
   6143   return 0;
   6144 }
   6145 _ACEOF
   6146 if ac_fn_c_try_link "$LINENO"
   6147 then :
   6148   eval $cacheid=yes
   6149 else $as_nop
   6150   eval $cacheid=no
   6151 fi
   6152 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6153     conftest$ac_exeext conftest.$ac_ext
   6154 fi
   6155 
   6156 
   6157 		CFLAGS="$xorg_testset_save_CFLAGS"
   6158 
   6159 		eval supported=\$$cacheid
   6160 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6161 printf "%s\n" "$supported" >&6; }
   6162 		if test "$supported" = "yes" ; then
   6163 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6164 			found="yes"
   6165 		fi
   6166 	fi
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 # This chunk adds additional warnings that could catch undesired effects.
   6173 
   6174 
   6175 
   6176 
   6177 
   6178 
   6179 
   6180 
   6181 
   6182 
   6183 
   6184 
   6185 
   6186 xorg_testset_save_CFLAGS="$CFLAGS"
   6187 
   6188 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6189 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6190 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6191 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6192 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6193 then :
   6194   printf %s "(cached) " >&6
   6195 else $as_nop
   6196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6197 /* end confdefs.h.  */
   6198 int i;
   6199 _ACEOF
   6200 if ac_fn_c_try_compile "$LINENO"
   6201 then :
   6202   xorg_cv_cc_flag_unknown_warning_option=yes
   6203 else $as_nop
   6204   xorg_cv_cc_flag_unknown_warning_option=no
   6205 fi
   6206 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6207 fi
   6208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6209 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6210 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6211 	CFLAGS="$xorg_testset_save_CFLAGS"
   6212 fi
   6213 
   6214 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6215 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6216 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6217 	fi
   6218 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6219 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6220 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6221 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6222 then :
   6223   printf %s "(cached) " >&6
   6224 else $as_nop
   6225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6226 /* end confdefs.h.  */
   6227 int i;
   6228 _ACEOF
   6229 if ac_fn_c_try_compile "$LINENO"
   6230 then :
   6231   xorg_cv_cc_flag_unused_command_line_argument=yes
   6232 else $as_nop
   6233   xorg_cv_cc_flag_unused_command_line_argument=no
   6234 fi
   6235 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6236 fi
   6237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6238 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6239 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6240 	CFLAGS="$xorg_testset_save_CFLAGS"
   6241 fi
   6242 
   6243 found="no"
   6244 
   6245 	if test $found = "no" ; then
   6246 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6247 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6248 		fi
   6249 
   6250 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6251 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6252 		fi
   6253 
   6254 		CFLAGS="$CFLAGS -Wunused"
   6255 
   6256 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6257 printf %s "checking if $CC supports -Wunused... " >&6; }
   6258 		cacheid=xorg_cv_cc_flag__Wunused
   6259 		if eval test \${$cacheid+y}
   6260 then :
   6261   printf %s "(cached) " >&6
   6262 else $as_nop
   6263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6264 /* end confdefs.h.  */
   6265 int i;
   6266 int
   6267 main (void)
   6268 {
   6269 
   6270   ;
   6271   return 0;
   6272 }
   6273 _ACEOF
   6274 if ac_fn_c_try_link "$LINENO"
   6275 then :
   6276   eval $cacheid=yes
   6277 else $as_nop
   6278   eval $cacheid=no
   6279 fi
   6280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6281     conftest$ac_exeext conftest.$ac_ext
   6282 fi
   6283 
   6284 
   6285 		CFLAGS="$xorg_testset_save_CFLAGS"
   6286 
   6287 		eval supported=\$$cacheid
   6288 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6289 printf "%s\n" "$supported" >&6; }
   6290 		if test "$supported" = "yes" ; then
   6291 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6292 			found="yes"
   6293 		fi
   6294 	fi
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 
   6301 
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 xorg_testset_save_CFLAGS="$CFLAGS"
   6311 
   6312 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6313 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6314 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6315 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6316 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6317 then :
   6318   printf %s "(cached) " >&6
   6319 else $as_nop
   6320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6321 /* end confdefs.h.  */
   6322 int i;
   6323 _ACEOF
   6324 if ac_fn_c_try_compile "$LINENO"
   6325 then :
   6326   xorg_cv_cc_flag_unknown_warning_option=yes
   6327 else $as_nop
   6328   xorg_cv_cc_flag_unknown_warning_option=no
   6329 fi
   6330 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6331 fi
   6332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6333 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6334 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6335 	CFLAGS="$xorg_testset_save_CFLAGS"
   6336 fi
   6337 
   6338 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6339 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6340 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6341 	fi
   6342 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6343 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6344 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6345 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6346 then :
   6347   printf %s "(cached) " >&6
   6348 else $as_nop
   6349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6350 /* end confdefs.h.  */
   6351 int i;
   6352 _ACEOF
   6353 if ac_fn_c_try_compile "$LINENO"
   6354 then :
   6355   xorg_cv_cc_flag_unused_command_line_argument=yes
   6356 else $as_nop
   6357   xorg_cv_cc_flag_unused_command_line_argument=no
   6358 fi
   6359 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6360 fi
   6361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6362 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6363 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6364 	CFLAGS="$xorg_testset_save_CFLAGS"
   6365 fi
   6366 
   6367 found="no"
   6368 
   6369 	if test $found = "no" ; then
   6370 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6371 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6372 		fi
   6373 
   6374 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6375 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6376 		fi
   6377 
   6378 		CFLAGS="$CFLAGS -Wuninitialized"
   6379 
   6380 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6381 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6382 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6383 		if eval test \${$cacheid+y}
   6384 then :
   6385   printf %s "(cached) " >&6
   6386 else $as_nop
   6387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6388 /* end confdefs.h.  */
   6389 int i;
   6390 int
   6391 main (void)
   6392 {
   6393 
   6394   ;
   6395   return 0;
   6396 }
   6397 _ACEOF
   6398 if ac_fn_c_try_link "$LINENO"
   6399 then :
   6400   eval $cacheid=yes
   6401 else $as_nop
   6402   eval $cacheid=no
   6403 fi
   6404 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6405     conftest$ac_exeext conftest.$ac_ext
   6406 fi
   6407 
   6408 
   6409 		CFLAGS="$xorg_testset_save_CFLAGS"
   6410 
   6411 		eval supported=\$$cacheid
   6412 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6413 printf "%s\n" "$supported" >&6; }
   6414 		if test "$supported" = "yes" ; then
   6415 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6416 			found="yes"
   6417 		fi
   6418 	fi
   6419 
   6420 
   6421 
   6422 
   6423 
   6424 
   6425 
   6426 
   6427 
   6428 
   6429 
   6430 
   6431 
   6432 
   6433 
   6434 xorg_testset_save_CFLAGS="$CFLAGS"
   6435 
   6436 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6437 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6438 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6439 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6440 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6441 then :
   6442   printf %s "(cached) " >&6
   6443 else $as_nop
   6444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6445 /* end confdefs.h.  */
   6446 int i;
   6447 _ACEOF
   6448 if ac_fn_c_try_compile "$LINENO"
   6449 then :
   6450   xorg_cv_cc_flag_unknown_warning_option=yes
   6451 else $as_nop
   6452   xorg_cv_cc_flag_unknown_warning_option=no
   6453 fi
   6454 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6455 fi
   6456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6457 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6458 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6459 	CFLAGS="$xorg_testset_save_CFLAGS"
   6460 fi
   6461 
   6462 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6463 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6464 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6465 	fi
   6466 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6467 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6468 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6469 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6470 then :
   6471   printf %s "(cached) " >&6
   6472 else $as_nop
   6473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6474 /* end confdefs.h.  */
   6475 int i;
   6476 _ACEOF
   6477 if ac_fn_c_try_compile "$LINENO"
   6478 then :
   6479   xorg_cv_cc_flag_unused_command_line_argument=yes
   6480 else $as_nop
   6481   xorg_cv_cc_flag_unused_command_line_argument=no
   6482 fi
   6483 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6484 fi
   6485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6486 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6487 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6488 	CFLAGS="$xorg_testset_save_CFLAGS"
   6489 fi
   6490 
   6491 found="no"
   6492 
   6493 	if test $found = "no" ; then
   6494 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6495 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6496 		fi
   6497 
   6498 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6499 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6500 		fi
   6501 
   6502 		CFLAGS="$CFLAGS -Wshadow"
   6503 
   6504 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6505 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6506 		cacheid=xorg_cv_cc_flag__Wshadow
   6507 		if eval test \${$cacheid+y}
   6508 then :
   6509   printf %s "(cached) " >&6
   6510 else $as_nop
   6511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6512 /* end confdefs.h.  */
   6513 int i;
   6514 int
   6515 main (void)
   6516 {
   6517 
   6518   ;
   6519   return 0;
   6520 }
   6521 _ACEOF
   6522 if ac_fn_c_try_link "$LINENO"
   6523 then :
   6524   eval $cacheid=yes
   6525 else $as_nop
   6526   eval $cacheid=no
   6527 fi
   6528 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6529     conftest$ac_exeext conftest.$ac_ext
   6530 fi
   6531 
   6532 
   6533 		CFLAGS="$xorg_testset_save_CFLAGS"
   6534 
   6535 		eval supported=\$$cacheid
   6536 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6537 printf "%s\n" "$supported" >&6; }
   6538 		if test "$supported" = "yes" ; then
   6539 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6540 			found="yes"
   6541 		fi
   6542 	fi
   6543 
   6544 
   6545 
   6546 
   6547 
   6548 
   6549 
   6550 
   6551 
   6552 
   6553 
   6554 
   6555 
   6556 
   6557 
   6558 xorg_testset_save_CFLAGS="$CFLAGS"
   6559 
   6560 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6561 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6562 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6563 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6564 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6565 then :
   6566   printf %s "(cached) " >&6
   6567 else $as_nop
   6568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6569 /* end confdefs.h.  */
   6570 int i;
   6571 _ACEOF
   6572 if ac_fn_c_try_compile "$LINENO"
   6573 then :
   6574   xorg_cv_cc_flag_unknown_warning_option=yes
   6575 else $as_nop
   6576   xorg_cv_cc_flag_unknown_warning_option=no
   6577 fi
   6578 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6579 fi
   6580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6581 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6582 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6583 	CFLAGS="$xorg_testset_save_CFLAGS"
   6584 fi
   6585 
   6586 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6587 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6588 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6589 	fi
   6590 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6591 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6592 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6593 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6594 then :
   6595   printf %s "(cached) " >&6
   6596 else $as_nop
   6597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6598 /* end confdefs.h.  */
   6599 int i;
   6600 _ACEOF
   6601 if ac_fn_c_try_compile "$LINENO"
   6602 then :
   6603   xorg_cv_cc_flag_unused_command_line_argument=yes
   6604 else $as_nop
   6605   xorg_cv_cc_flag_unused_command_line_argument=no
   6606 fi
   6607 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6608 fi
   6609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6610 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6611 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6612 	CFLAGS="$xorg_testset_save_CFLAGS"
   6613 fi
   6614 
   6615 found="no"
   6616 
   6617 	if test $found = "no" ; then
   6618 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6619 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6620 		fi
   6621 
   6622 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6623 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6624 		fi
   6625 
   6626 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6627 
   6628 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6629 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6630 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6631 		if eval test \${$cacheid+y}
   6632 then :
   6633   printf %s "(cached) " >&6
   6634 else $as_nop
   6635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6636 /* end confdefs.h.  */
   6637 int i;
   6638 int
   6639 main (void)
   6640 {
   6641 
   6642   ;
   6643   return 0;
   6644 }
   6645 _ACEOF
   6646 if ac_fn_c_try_link "$LINENO"
   6647 then :
   6648   eval $cacheid=yes
   6649 else $as_nop
   6650   eval $cacheid=no
   6651 fi
   6652 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6653     conftest$ac_exeext conftest.$ac_ext
   6654 fi
   6655 
   6656 
   6657 		CFLAGS="$xorg_testset_save_CFLAGS"
   6658 
   6659 		eval supported=\$$cacheid
   6660 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6661 printf "%s\n" "$supported" >&6; }
   6662 		if test "$supported" = "yes" ; then
   6663 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6664 			found="yes"
   6665 		fi
   6666 	fi
   6667 
   6668 
   6669 
   6670 
   6671 
   6672 
   6673 
   6674 
   6675 
   6676 
   6677 
   6678 
   6679 
   6680 
   6681 
   6682 xorg_testset_save_CFLAGS="$CFLAGS"
   6683 
   6684 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6685 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6686 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6687 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6688 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6689 then :
   6690   printf %s "(cached) " >&6
   6691 else $as_nop
   6692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6693 /* end confdefs.h.  */
   6694 int i;
   6695 _ACEOF
   6696 if ac_fn_c_try_compile "$LINENO"
   6697 then :
   6698   xorg_cv_cc_flag_unknown_warning_option=yes
   6699 else $as_nop
   6700   xorg_cv_cc_flag_unknown_warning_option=no
   6701 fi
   6702 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6703 fi
   6704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6705 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6706 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6707 	CFLAGS="$xorg_testset_save_CFLAGS"
   6708 fi
   6709 
   6710 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6711 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6712 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6713 	fi
   6714 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6715 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6716 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6717 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6718 then :
   6719   printf %s "(cached) " >&6
   6720 else $as_nop
   6721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6722 /* end confdefs.h.  */
   6723 int i;
   6724 _ACEOF
   6725 if ac_fn_c_try_compile "$LINENO"
   6726 then :
   6727   xorg_cv_cc_flag_unused_command_line_argument=yes
   6728 else $as_nop
   6729   xorg_cv_cc_flag_unused_command_line_argument=no
   6730 fi
   6731 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6732 fi
   6733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6734 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6735 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6736 	CFLAGS="$xorg_testset_save_CFLAGS"
   6737 fi
   6738 
   6739 found="no"
   6740 
   6741 	if test $found = "no" ; then
   6742 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6743 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6744 		fi
   6745 
   6746 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6747 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6748 		fi
   6749 
   6750 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6751 
   6752 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6753 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6754 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6755 		if eval test \${$cacheid+y}
   6756 then :
   6757   printf %s "(cached) " >&6
   6758 else $as_nop
   6759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6760 /* end confdefs.h.  */
   6761 int i;
   6762 int
   6763 main (void)
   6764 {
   6765 
   6766   ;
   6767   return 0;
   6768 }
   6769 _ACEOF
   6770 if ac_fn_c_try_link "$LINENO"
   6771 then :
   6772   eval $cacheid=yes
   6773 else $as_nop
   6774   eval $cacheid=no
   6775 fi
   6776 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6777     conftest$ac_exeext conftest.$ac_ext
   6778 fi
   6779 
   6780 
   6781 		CFLAGS="$xorg_testset_save_CFLAGS"
   6782 
   6783 		eval supported=\$$cacheid
   6784 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6785 printf "%s\n" "$supported" >&6; }
   6786 		if test "$supported" = "yes" ; then
   6787 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6788 			found="yes"
   6789 		fi
   6790 	fi
   6791 
   6792 
   6793 
   6794 
   6795 
   6796 
   6797 
   6798 
   6799 
   6800 
   6801 
   6802 
   6803 
   6804 
   6805 
   6806 xorg_testset_save_CFLAGS="$CFLAGS"
   6807 
   6808 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6809 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6810 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6811 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6812 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6813 then :
   6814   printf %s "(cached) " >&6
   6815 else $as_nop
   6816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6817 /* end confdefs.h.  */
   6818 int i;
   6819 _ACEOF
   6820 if ac_fn_c_try_compile "$LINENO"
   6821 then :
   6822   xorg_cv_cc_flag_unknown_warning_option=yes
   6823 else $as_nop
   6824   xorg_cv_cc_flag_unknown_warning_option=no
   6825 fi
   6826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6827 fi
   6828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6829 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6830 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6831 	CFLAGS="$xorg_testset_save_CFLAGS"
   6832 fi
   6833 
   6834 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6835 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6836 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6837 	fi
   6838 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6839 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6840 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6841 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6842 then :
   6843   printf %s "(cached) " >&6
   6844 else $as_nop
   6845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6846 /* end confdefs.h.  */
   6847 int i;
   6848 _ACEOF
   6849 if ac_fn_c_try_compile "$LINENO"
   6850 then :
   6851   xorg_cv_cc_flag_unused_command_line_argument=yes
   6852 else $as_nop
   6853   xorg_cv_cc_flag_unused_command_line_argument=no
   6854 fi
   6855 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6856 fi
   6857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6858 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6859 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6860 	CFLAGS="$xorg_testset_save_CFLAGS"
   6861 fi
   6862 
   6863 found="no"
   6864 
   6865 	if test $found = "no" ; then
   6866 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6867 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6868 		fi
   6869 
   6870 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6871 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6872 		fi
   6873 
   6874 		CFLAGS="$CFLAGS -Wredundant-decls"
   6875 
   6876 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6877 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   6878 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6879 		if eval test \${$cacheid+y}
   6880 then :
   6881   printf %s "(cached) " >&6
   6882 else $as_nop
   6883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6884 /* end confdefs.h.  */
   6885 int i;
   6886 int
   6887 main (void)
   6888 {
   6889 
   6890   ;
   6891   return 0;
   6892 }
   6893 _ACEOF
   6894 if ac_fn_c_try_link "$LINENO"
   6895 then :
   6896   eval $cacheid=yes
   6897 else $as_nop
   6898   eval $cacheid=no
   6899 fi
   6900 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6901     conftest$ac_exeext conftest.$ac_ext
   6902 fi
   6903 
   6904 
   6905 		CFLAGS="$xorg_testset_save_CFLAGS"
   6906 
   6907 		eval supported=\$$cacheid
   6908 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6909 printf "%s\n" "$supported" >&6; }
   6910 		if test "$supported" = "yes" ; then
   6911 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6912 			found="yes"
   6913 		fi
   6914 	fi
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 
   6929 
   6930 xorg_testset_save_CFLAGS="$CFLAGS"
   6931 
   6932 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6933 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6934 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6935 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6936 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6937 then :
   6938   printf %s "(cached) " >&6
   6939 else $as_nop
   6940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6941 /* end confdefs.h.  */
   6942 int i;
   6943 _ACEOF
   6944 if ac_fn_c_try_compile "$LINENO"
   6945 then :
   6946   xorg_cv_cc_flag_unknown_warning_option=yes
   6947 else $as_nop
   6948   xorg_cv_cc_flag_unknown_warning_option=no
   6949 fi
   6950 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6951 fi
   6952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6953 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6954 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6955 	CFLAGS="$xorg_testset_save_CFLAGS"
   6956 fi
   6957 
   6958 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6959 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6960 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6961 	fi
   6962 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6963 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6964 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6965 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6966 then :
   6967   printf %s "(cached) " >&6
   6968 else $as_nop
   6969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6970 /* end confdefs.h.  */
   6971 int i;
   6972 _ACEOF
   6973 if ac_fn_c_try_compile "$LINENO"
   6974 then :
   6975   xorg_cv_cc_flag_unused_command_line_argument=yes
   6976 else $as_nop
   6977   xorg_cv_cc_flag_unused_command_line_argument=no
   6978 fi
   6979 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6980 fi
   6981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6982 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6983 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6984 	CFLAGS="$xorg_testset_save_CFLAGS"
   6985 fi
   6986 
   6987 found="no"
   6988 
   6989 	if test $found = "no" ; then
   6990 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6991 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6992 		fi
   6993 
   6994 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6995 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6996 		fi
   6997 
   6998 		CFLAGS="$CFLAGS -Wlogical-op"
   6999 
   7000 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7001 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7002 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7003 		if eval test \${$cacheid+y}
   7004 then :
   7005   printf %s "(cached) " >&6
   7006 else $as_nop
   7007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7008 /* end confdefs.h.  */
   7009 int i;
   7010 int
   7011 main (void)
   7012 {
   7013 
   7014   ;
   7015   return 0;
   7016 }
   7017 _ACEOF
   7018 if ac_fn_c_try_link "$LINENO"
   7019 then :
   7020   eval $cacheid=yes
   7021 else $as_nop
   7022   eval $cacheid=no
   7023 fi
   7024 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7025     conftest$ac_exeext conftest.$ac_ext
   7026 fi
   7027 
   7028 
   7029 		CFLAGS="$xorg_testset_save_CFLAGS"
   7030 
   7031 		eval supported=\$$cacheid
   7032 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7033 printf "%s\n" "$supported" >&6; }
   7034 		if test "$supported" = "yes" ; then
   7035 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7036 			found="yes"
   7037 		fi
   7038 	fi
   7039 
   7040 
   7041 
   7042 # These are currently disabled because they are noisy.  They will be enabled
   7043 # in the future once the codebase is sufficiently modernized to silence
   7044 # them.  For now, I don't want them to drown out the other warnings.
   7045 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7046 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7047 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7048 
   7049 # Turn some warnings into errors, so we don't accidently get successful builds
   7050 # when there are problems that should be fixed.
   7051 
   7052 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7053 
   7054 
   7055 
   7056 
   7057 
   7058 
   7059 
   7060 
   7061 
   7062 
   7063 
   7064 
   7065 
   7066 xorg_testset_save_CFLAGS="$CFLAGS"
   7067 
   7068 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7069 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7070 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7071 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7072 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7073 then :
   7074   printf %s "(cached) " >&6
   7075 else $as_nop
   7076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7077 /* end confdefs.h.  */
   7078 int i;
   7079 _ACEOF
   7080 if ac_fn_c_try_compile "$LINENO"
   7081 then :
   7082   xorg_cv_cc_flag_unknown_warning_option=yes
   7083 else $as_nop
   7084   xorg_cv_cc_flag_unknown_warning_option=no
   7085 fi
   7086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7087 fi
   7088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7089 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7090 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7091 	CFLAGS="$xorg_testset_save_CFLAGS"
   7092 fi
   7093 
   7094 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7095 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7096 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7097 	fi
   7098 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7099 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7100 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7101 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7102 then :
   7103   printf %s "(cached) " >&6
   7104 else $as_nop
   7105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7106 /* end confdefs.h.  */
   7107 int i;
   7108 _ACEOF
   7109 if ac_fn_c_try_compile "$LINENO"
   7110 then :
   7111   xorg_cv_cc_flag_unused_command_line_argument=yes
   7112 else $as_nop
   7113   xorg_cv_cc_flag_unused_command_line_argument=no
   7114 fi
   7115 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7116 fi
   7117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7118 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7119 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7120 	CFLAGS="$xorg_testset_save_CFLAGS"
   7121 fi
   7122 
   7123 found="no"
   7124 
   7125 	if test $found = "no" ; then
   7126 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7127 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7128 		fi
   7129 
   7130 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7131 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7132 		fi
   7133 
   7134 		CFLAGS="$CFLAGS -Werror=implicit"
   7135 
   7136 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7137 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7138 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7139 		if eval test \${$cacheid+y}
   7140 then :
   7141   printf %s "(cached) " >&6
   7142 else $as_nop
   7143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7144 /* end confdefs.h.  */
   7145 int i;
   7146 int
   7147 main (void)
   7148 {
   7149 
   7150   ;
   7151   return 0;
   7152 }
   7153 _ACEOF
   7154 if ac_fn_c_try_link "$LINENO"
   7155 then :
   7156   eval $cacheid=yes
   7157 else $as_nop
   7158   eval $cacheid=no
   7159 fi
   7160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7161     conftest$ac_exeext conftest.$ac_ext
   7162 fi
   7163 
   7164 
   7165 		CFLAGS="$xorg_testset_save_CFLAGS"
   7166 
   7167 		eval supported=\$$cacheid
   7168 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7169 printf "%s\n" "$supported" >&6; }
   7170 		if test "$supported" = "yes" ; then
   7171 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7172 			found="yes"
   7173 		fi
   7174 	fi
   7175 
   7176 	if test $found = "no" ; then
   7177 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7178 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7179 		fi
   7180 
   7181 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7182 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7183 		fi
   7184 
   7185 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7186 
   7187 		{ 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
   7188 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7189 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7190 		if eval test \${$cacheid+y}
   7191 then :
   7192   printf %s "(cached) " >&6
   7193 else $as_nop
   7194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7195 /* end confdefs.h.  */
   7196 int i;
   7197 int
   7198 main (void)
   7199 {
   7200 
   7201   ;
   7202   return 0;
   7203 }
   7204 _ACEOF
   7205 if ac_fn_c_try_link "$LINENO"
   7206 then :
   7207   eval $cacheid=yes
   7208 else $as_nop
   7209   eval $cacheid=no
   7210 fi
   7211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7212     conftest$ac_exeext conftest.$ac_ext
   7213 fi
   7214 
   7215 
   7216 		CFLAGS="$xorg_testset_save_CFLAGS"
   7217 
   7218 		eval supported=\$$cacheid
   7219 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7220 printf "%s\n" "$supported" >&6; }
   7221 		if test "$supported" = "yes" ; then
   7222 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7223 			found="yes"
   7224 		fi
   7225 	fi
   7226 
   7227 
   7228 
   7229 
   7230 
   7231 
   7232 
   7233 
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 xorg_testset_save_CFLAGS="$CFLAGS"
   7242 
   7243 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7244 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7245 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7246 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7247 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7248 then :
   7249   printf %s "(cached) " >&6
   7250 else $as_nop
   7251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7252 /* end confdefs.h.  */
   7253 int i;
   7254 _ACEOF
   7255 if ac_fn_c_try_compile "$LINENO"
   7256 then :
   7257   xorg_cv_cc_flag_unknown_warning_option=yes
   7258 else $as_nop
   7259   xorg_cv_cc_flag_unknown_warning_option=no
   7260 fi
   7261 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7262 fi
   7263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7264 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7265 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7266 	CFLAGS="$xorg_testset_save_CFLAGS"
   7267 fi
   7268 
   7269 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7270 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7271 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7272 	fi
   7273 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7274 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7275 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7276 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7277 then :
   7278   printf %s "(cached) " >&6
   7279 else $as_nop
   7280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7281 /* end confdefs.h.  */
   7282 int i;
   7283 _ACEOF
   7284 if ac_fn_c_try_compile "$LINENO"
   7285 then :
   7286   xorg_cv_cc_flag_unused_command_line_argument=yes
   7287 else $as_nop
   7288   xorg_cv_cc_flag_unused_command_line_argument=no
   7289 fi
   7290 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7291 fi
   7292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7293 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7294 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7295 	CFLAGS="$xorg_testset_save_CFLAGS"
   7296 fi
   7297 
   7298 found="no"
   7299 
   7300 	if test $found = "no" ; then
   7301 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7302 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7303 		fi
   7304 
   7305 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7306 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7307 		fi
   7308 
   7309 		CFLAGS="$CFLAGS -Werror=nonnull"
   7310 
   7311 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7312 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7313 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7314 		if eval test \${$cacheid+y}
   7315 then :
   7316   printf %s "(cached) " >&6
   7317 else $as_nop
   7318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7319 /* end confdefs.h.  */
   7320 int i;
   7321 int
   7322 main (void)
   7323 {
   7324 
   7325   ;
   7326   return 0;
   7327 }
   7328 _ACEOF
   7329 if ac_fn_c_try_link "$LINENO"
   7330 then :
   7331   eval $cacheid=yes
   7332 else $as_nop
   7333   eval $cacheid=no
   7334 fi
   7335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7336     conftest$ac_exeext conftest.$ac_ext
   7337 fi
   7338 
   7339 
   7340 		CFLAGS="$xorg_testset_save_CFLAGS"
   7341 
   7342 		eval supported=\$$cacheid
   7343 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7344 printf "%s\n" "$supported" >&6; }
   7345 		if test "$supported" = "yes" ; then
   7346 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7347 			found="yes"
   7348 		fi
   7349 	fi
   7350 
   7351 
   7352 
   7353 
   7354 
   7355 
   7356 
   7357 
   7358 
   7359 
   7360 
   7361 
   7362 
   7363 
   7364 
   7365 xorg_testset_save_CFLAGS="$CFLAGS"
   7366 
   7367 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7368 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7369 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7370 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7371 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7372 then :
   7373   printf %s "(cached) " >&6
   7374 else $as_nop
   7375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7376 /* end confdefs.h.  */
   7377 int i;
   7378 _ACEOF
   7379 if ac_fn_c_try_compile "$LINENO"
   7380 then :
   7381   xorg_cv_cc_flag_unknown_warning_option=yes
   7382 else $as_nop
   7383   xorg_cv_cc_flag_unknown_warning_option=no
   7384 fi
   7385 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7386 fi
   7387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7388 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7389 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7390 	CFLAGS="$xorg_testset_save_CFLAGS"
   7391 fi
   7392 
   7393 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7394 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7395 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7396 	fi
   7397 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7398 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7399 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7400 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7401 then :
   7402   printf %s "(cached) " >&6
   7403 else $as_nop
   7404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7405 /* end confdefs.h.  */
   7406 int i;
   7407 _ACEOF
   7408 if ac_fn_c_try_compile "$LINENO"
   7409 then :
   7410   xorg_cv_cc_flag_unused_command_line_argument=yes
   7411 else $as_nop
   7412   xorg_cv_cc_flag_unused_command_line_argument=no
   7413 fi
   7414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7415 fi
   7416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7417 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7418 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7419 	CFLAGS="$xorg_testset_save_CFLAGS"
   7420 fi
   7421 
   7422 found="no"
   7423 
   7424 	if test $found = "no" ; then
   7425 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7426 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7427 		fi
   7428 
   7429 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7430 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7431 		fi
   7432 
   7433 		CFLAGS="$CFLAGS -Werror=init-self"
   7434 
   7435 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7436 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7437 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7438 		if eval test \${$cacheid+y}
   7439 then :
   7440   printf %s "(cached) " >&6
   7441 else $as_nop
   7442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7443 /* end confdefs.h.  */
   7444 int i;
   7445 int
   7446 main (void)
   7447 {
   7448 
   7449   ;
   7450   return 0;
   7451 }
   7452 _ACEOF
   7453 if ac_fn_c_try_link "$LINENO"
   7454 then :
   7455   eval $cacheid=yes
   7456 else $as_nop
   7457   eval $cacheid=no
   7458 fi
   7459 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7460     conftest$ac_exeext conftest.$ac_ext
   7461 fi
   7462 
   7463 
   7464 		CFLAGS="$xorg_testset_save_CFLAGS"
   7465 
   7466 		eval supported=\$$cacheid
   7467 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7468 printf "%s\n" "$supported" >&6; }
   7469 		if test "$supported" = "yes" ; then
   7470 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7471 			found="yes"
   7472 		fi
   7473 	fi
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 xorg_testset_save_CFLAGS="$CFLAGS"
   7490 
   7491 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7492 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7493 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7494 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7495 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7496 then :
   7497   printf %s "(cached) " >&6
   7498 else $as_nop
   7499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7500 /* end confdefs.h.  */
   7501 int i;
   7502 _ACEOF
   7503 if ac_fn_c_try_compile "$LINENO"
   7504 then :
   7505   xorg_cv_cc_flag_unknown_warning_option=yes
   7506 else $as_nop
   7507   xorg_cv_cc_flag_unknown_warning_option=no
   7508 fi
   7509 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7510 fi
   7511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7512 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7513 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7514 	CFLAGS="$xorg_testset_save_CFLAGS"
   7515 fi
   7516 
   7517 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7518 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7519 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7520 	fi
   7521 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7522 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7523 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7524 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7525 then :
   7526   printf %s "(cached) " >&6
   7527 else $as_nop
   7528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7529 /* end confdefs.h.  */
   7530 int i;
   7531 _ACEOF
   7532 if ac_fn_c_try_compile "$LINENO"
   7533 then :
   7534   xorg_cv_cc_flag_unused_command_line_argument=yes
   7535 else $as_nop
   7536   xorg_cv_cc_flag_unused_command_line_argument=no
   7537 fi
   7538 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7539 fi
   7540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7541 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7542 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7543 	CFLAGS="$xorg_testset_save_CFLAGS"
   7544 fi
   7545 
   7546 found="no"
   7547 
   7548 	if test $found = "no" ; then
   7549 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7550 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7551 		fi
   7552 
   7553 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7554 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7555 		fi
   7556 
   7557 		CFLAGS="$CFLAGS -Werror=main"
   7558 
   7559 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7560 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7561 		cacheid=xorg_cv_cc_flag__Werror_main
   7562 		if eval test \${$cacheid+y}
   7563 then :
   7564   printf %s "(cached) " >&6
   7565 else $as_nop
   7566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7567 /* end confdefs.h.  */
   7568 int i;
   7569 int
   7570 main (void)
   7571 {
   7572 
   7573   ;
   7574   return 0;
   7575 }
   7576 _ACEOF
   7577 if ac_fn_c_try_link "$LINENO"
   7578 then :
   7579   eval $cacheid=yes
   7580 else $as_nop
   7581   eval $cacheid=no
   7582 fi
   7583 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7584     conftest$ac_exeext conftest.$ac_ext
   7585 fi
   7586 
   7587 
   7588 		CFLAGS="$xorg_testset_save_CFLAGS"
   7589 
   7590 		eval supported=\$$cacheid
   7591 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7592 printf "%s\n" "$supported" >&6; }
   7593 		if test "$supported" = "yes" ; then
   7594 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7595 			found="yes"
   7596 		fi
   7597 	fi
   7598 
   7599 
   7600 
   7601 
   7602 
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 
   7612 
   7613 xorg_testset_save_CFLAGS="$CFLAGS"
   7614 
   7615 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7616 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7617 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7618 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7619 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7620 then :
   7621   printf %s "(cached) " >&6
   7622 else $as_nop
   7623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7624 /* end confdefs.h.  */
   7625 int i;
   7626 _ACEOF
   7627 if ac_fn_c_try_compile "$LINENO"
   7628 then :
   7629   xorg_cv_cc_flag_unknown_warning_option=yes
   7630 else $as_nop
   7631   xorg_cv_cc_flag_unknown_warning_option=no
   7632 fi
   7633 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7634 fi
   7635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7636 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7637 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7638 	CFLAGS="$xorg_testset_save_CFLAGS"
   7639 fi
   7640 
   7641 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7642 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7643 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7644 	fi
   7645 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7646 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7647 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7648 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7649 then :
   7650   printf %s "(cached) " >&6
   7651 else $as_nop
   7652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7653 /* end confdefs.h.  */
   7654 int i;
   7655 _ACEOF
   7656 if ac_fn_c_try_compile "$LINENO"
   7657 then :
   7658   xorg_cv_cc_flag_unused_command_line_argument=yes
   7659 else $as_nop
   7660   xorg_cv_cc_flag_unused_command_line_argument=no
   7661 fi
   7662 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7663 fi
   7664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7665 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7666 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7667 	CFLAGS="$xorg_testset_save_CFLAGS"
   7668 fi
   7669 
   7670 found="no"
   7671 
   7672 	if test $found = "no" ; then
   7673 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7674 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7675 		fi
   7676 
   7677 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7678 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7679 		fi
   7680 
   7681 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7682 
   7683 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7684 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7685 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7686 		if eval test \${$cacheid+y}
   7687 then :
   7688   printf %s "(cached) " >&6
   7689 else $as_nop
   7690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7691 /* end confdefs.h.  */
   7692 int i;
   7693 int
   7694 main (void)
   7695 {
   7696 
   7697   ;
   7698   return 0;
   7699 }
   7700 _ACEOF
   7701 if ac_fn_c_try_link "$LINENO"
   7702 then :
   7703   eval $cacheid=yes
   7704 else $as_nop
   7705   eval $cacheid=no
   7706 fi
   7707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7708     conftest$ac_exeext conftest.$ac_ext
   7709 fi
   7710 
   7711 
   7712 		CFLAGS="$xorg_testset_save_CFLAGS"
   7713 
   7714 		eval supported=\$$cacheid
   7715 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7716 printf "%s\n" "$supported" >&6; }
   7717 		if test "$supported" = "yes" ; then
   7718 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7719 			found="yes"
   7720 		fi
   7721 	fi
   7722 
   7723 
   7724 
   7725 
   7726 
   7727 
   7728 
   7729 
   7730 
   7731 
   7732 
   7733 
   7734 
   7735 
   7736 
   7737 xorg_testset_save_CFLAGS="$CFLAGS"
   7738 
   7739 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7740 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7741 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7742 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7743 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7744 then :
   7745   printf %s "(cached) " >&6
   7746 else $as_nop
   7747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7748 /* end confdefs.h.  */
   7749 int i;
   7750 _ACEOF
   7751 if ac_fn_c_try_compile "$LINENO"
   7752 then :
   7753   xorg_cv_cc_flag_unknown_warning_option=yes
   7754 else $as_nop
   7755   xorg_cv_cc_flag_unknown_warning_option=no
   7756 fi
   7757 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7758 fi
   7759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7760 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7761 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7762 	CFLAGS="$xorg_testset_save_CFLAGS"
   7763 fi
   7764 
   7765 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7766 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7767 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7768 	fi
   7769 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7770 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7771 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7772 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7773 then :
   7774   printf %s "(cached) " >&6
   7775 else $as_nop
   7776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7777 /* end confdefs.h.  */
   7778 int i;
   7779 _ACEOF
   7780 if ac_fn_c_try_compile "$LINENO"
   7781 then :
   7782   xorg_cv_cc_flag_unused_command_line_argument=yes
   7783 else $as_nop
   7784   xorg_cv_cc_flag_unused_command_line_argument=no
   7785 fi
   7786 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7787 fi
   7788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7789 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7790 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7791 	CFLAGS="$xorg_testset_save_CFLAGS"
   7792 fi
   7793 
   7794 found="no"
   7795 
   7796 	if test $found = "no" ; then
   7797 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7798 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7799 		fi
   7800 
   7801 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7802 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7803 		fi
   7804 
   7805 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7806 
   7807 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7808 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   7809 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7810 		if eval test \${$cacheid+y}
   7811 then :
   7812   printf %s "(cached) " >&6
   7813 else $as_nop
   7814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7815 /* end confdefs.h.  */
   7816 int i;
   7817 int
   7818 main (void)
   7819 {
   7820 
   7821   ;
   7822   return 0;
   7823 }
   7824 _ACEOF
   7825 if ac_fn_c_try_link "$LINENO"
   7826 then :
   7827   eval $cacheid=yes
   7828 else $as_nop
   7829   eval $cacheid=no
   7830 fi
   7831 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7832     conftest$ac_exeext conftest.$ac_ext
   7833 fi
   7834 
   7835 
   7836 		CFLAGS="$xorg_testset_save_CFLAGS"
   7837 
   7838 		eval supported=\$$cacheid
   7839 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7840 printf "%s\n" "$supported" >&6; }
   7841 		if test "$supported" = "yes" ; then
   7842 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7843 			found="yes"
   7844 		fi
   7845 	fi
   7846 
   7847 
   7848 
   7849 
   7850 
   7851 
   7852 
   7853 
   7854 
   7855 
   7856 
   7857 
   7858 
   7859 
   7860 
   7861 xorg_testset_save_CFLAGS="$CFLAGS"
   7862 
   7863 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7864 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7865 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7866 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7867 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7868 then :
   7869   printf %s "(cached) " >&6
   7870 else $as_nop
   7871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7872 /* end confdefs.h.  */
   7873 int i;
   7874 _ACEOF
   7875 if ac_fn_c_try_compile "$LINENO"
   7876 then :
   7877   xorg_cv_cc_flag_unknown_warning_option=yes
   7878 else $as_nop
   7879   xorg_cv_cc_flag_unknown_warning_option=no
   7880 fi
   7881 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7882 fi
   7883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7884 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7885 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7886 	CFLAGS="$xorg_testset_save_CFLAGS"
   7887 fi
   7888 
   7889 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7890 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7891 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7892 	fi
   7893 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7894 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7895 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7896 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7897 then :
   7898   printf %s "(cached) " >&6
   7899 else $as_nop
   7900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7901 /* end confdefs.h.  */
   7902 int i;
   7903 _ACEOF
   7904 if ac_fn_c_try_compile "$LINENO"
   7905 then :
   7906   xorg_cv_cc_flag_unused_command_line_argument=yes
   7907 else $as_nop
   7908   xorg_cv_cc_flag_unused_command_line_argument=no
   7909 fi
   7910 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7911 fi
   7912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7913 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7914 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7915 	CFLAGS="$xorg_testset_save_CFLAGS"
   7916 fi
   7917 
   7918 found="no"
   7919 
   7920 	if test $found = "no" ; then
   7921 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7922 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7923 		fi
   7924 
   7925 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7926 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7927 		fi
   7928 
   7929 		CFLAGS="$CFLAGS -Werror=return-type"
   7930 
   7931 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7932 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   7933 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7934 		if eval test \${$cacheid+y}
   7935 then :
   7936   printf %s "(cached) " >&6
   7937 else $as_nop
   7938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7939 /* end confdefs.h.  */
   7940 int i;
   7941 int
   7942 main (void)
   7943 {
   7944 
   7945   ;
   7946   return 0;
   7947 }
   7948 _ACEOF
   7949 if ac_fn_c_try_link "$LINENO"
   7950 then :
   7951   eval $cacheid=yes
   7952 else $as_nop
   7953   eval $cacheid=no
   7954 fi
   7955 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7956     conftest$ac_exeext conftest.$ac_ext
   7957 fi
   7958 
   7959 
   7960 		CFLAGS="$xorg_testset_save_CFLAGS"
   7961 
   7962 		eval supported=\$$cacheid
   7963 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7964 printf "%s\n" "$supported" >&6; }
   7965 		if test "$supported" = "yes" ; then
   7966 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7967 			found="yes"
   7968 		fi
   7969 	fi
   7970 
   7971 	if test $found = "no" ; then
   7972 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7973 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7974 		fi
   7975 
   7976 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7977 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7978 		fi
   7979 
   7980 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7981 
   7982 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7983 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7984 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7985 		if eval test \${$cacheid+y}
   7986 then :
   7987   printf %s "(cached) " >&6
   7988 else $as_nop
   7989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7990 /* end confdefs.h.  */
   7991 int i;
   7992 int
   7993 main (void)
   7994 {
   7995 
   7996   ;
   7997   return 0;
   7998 }
   7999 _ACEOF
   8000 if ac_fn_c_try_link "$LINENO"
   8001 then :
   8002   eval $cacheid=yes
   8003 else $as_nop
   8004   eval $cacheid=no
   8005 fi
   8006 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8007     conftest$ac_exeext conftest.$ac_ext
   8008 fi
   8009 
   8010 
   8011 		CFLAGS="$xorg_testset_save_CFLAGS"
   8012 
   8013 		eval supported=\$$cacheid
   8014 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8015 printf "%s\n" "$supported" >&6; }
   8016 		if test "$supported" = "yes" ; then
   8017 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8018 			found="yes"
   8019 		fi
   8020 	fi
   8021 
   8022 
   8023 
   8024 
   8025 
   8026 
   8027 
   8028 
   8029 
   8030 
   8031 
   8032 
   8033 
   8034 
   8035 
   8036 xorg_testset_save_CFLAGS="$CFLAGS"
   8037 
   8038 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8039 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8040 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8041 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8042 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8043 then :
   8044   printf %s "(cached) " >&6
   8045 else $as_nop
   8046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8047 /* end confdefs.h.  */
   8048 int i;
   8049 _ACEOF
   8050 if ac_fn_c_try_compile "$LINENO"
   8051 then :
   8052   xorg_cv_cc_flag_unknown_warning_option=yes
   8053 else $as_nop
   8054   xorg_cv_cc_flag_unknown_warning_option=no
   8055 fi
   8056 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8057 fi
   8058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8059 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8060 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8061 	CFLAGS="$xorg_testset_save_CFLAGS"
   8062 fi
   8063 
   8064 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8065 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8066 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8067 	fi
   8068 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8069 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8070 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8071 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8072 then :
   8073   printf %s "(cached) " >&6
   8074 else $as_nop
   8075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8076 /* end confdefs.h.  */
   8077 int i;
   8078 _ACEOF
   8079 if ac_fn_c_try_compile "$LINENO"
   8080 then :
   8081   xorg_cv_cc_flag_unused_command_line_argument=yes
   8082 else $as_nop
   8083   xorg_cv_cc_flag_unused_command_line_argument=no
   8084 fi
   8085 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8086 fi
   8087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8088 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8089 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8090 	CFLAGS="$xorg_testset_save_CFLAGS"
   8091 fi
   8092 
   8093 found="no"
   8094 
   8095 	if test $found = "no" ; then
   8096 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8097 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8098 		fi
   8099 
   8100 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8101 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8102 		fi
   8103 
   8104 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8105 
   8106 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8107 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8108 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8109 		if eval test \${$cacheid+y}
   8110 then :
   8111   printf %s "(cached) " >&6
   8112 else $as_nop
   8113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8114 /* end confdefs.h.  */
   8115 int i;
   8116 int
   8117 main (void)
   8118 {
   8119 
   8120   ;
   8121   return 0;
   8122 }
   8123 _ACEOF
   8124 if ac_fn_c_try_link "$LINENO"
   8125 then :
   8126   eval $cacheid=yes
   8127 else $as_nop
   8128   eval $cacheid=no
   8129 fi
   8130 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8131     conftest$ac_exeext conftest.$ac_ext
   8132 fi
   8133 
   8134 
   8135 		CFLAGS="$xorg_testset_save_CFLAGS"
   8136 
   8137 		eval supported=\$$cacheid
   8138 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8139 printf "%s\n" "$supported" >&6; }
   8140 		if test "$supported" = "yes" ; then
   8141 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8142 			found="yes"
   8143 		fi
   8144 	fi
   8145 
   8146 
   8147 
   8148 
   8149 
   8150 
   8151 
   8152 
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 
   8160 xorg_testset_save_CFLAGS="$CFLAGS"
   8161 
   8162 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8163 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8164 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8165 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8166 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8167 then :
   8168   printf %s "(cached) " >&6
   8169 else $as_nop
   8170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8171 /* end confdefs.h.  */
   8172 int i;
   8173 _ACEOF
   8174 if ac_fn_c_try_compile "$LINENO"
   8175 then :
   8176   xorg_cv_cc_flag_unknown_warning_option=yes
   8177 else $as_nop
   8178   xorg_cv_cc_flag_unknown_warning_option=no
   8179 fi
   8180 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8181 fi
   8182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8183 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8184 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8185 	CFLAGS="$xorg_testset_save_CFLAGS"
   8186 fi
   8187 
   8188 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8189 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8190 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8191 	fi
   8192 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8193 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8194 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8195 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8196 then :
   8197   printf %s "(cached) " >&6
   8198 else $as_nop
   8199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8200 /* end confdefs.h.  */
   8201 int i;
   8202 _ACEOF
   8203 if ac_fn_c_try_compile "$LINENO"
   8204 then :
   8205   xorg_cv_cc_flag_unused_command_line_argument=yes
   8206 else $as_nop
   8207   xorg_cv_cc_flag_unused_command_line_argument=no
   8208 fi
   8209 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8210 fi
   8211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8212 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8213 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8214 	CFLAGS="$xorg_testset_save_CFLAGS"
   8215 fi
   8216 
   8217 found="no"
   8218 
   8219 	if test $found = "no" ; then
   8220 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8221 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8222 		fi
   8223 
   8224 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8225 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8226 		fi
   8227 
   8228 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8229 
   8230 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8231 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8232 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8233 		if eval test \${$cacheid+y}
   8234 then :
   8235   printf %s "(cached) " >&6
   8236 else $as_nop
   8237   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8238 /* end confdefs.h.  */
   8239 int i;
   8240 int
   8241 main (void)
   8242 {
   8243 
   8244   ;
   8245   return 0;
   8246 }
   8247 _ACEOF
   8248 if ac_fn_c_try_link "$LINENO"
   8249 then :
   8250   eval $cacheid=yes
   8251 else $as_nop
   8252   eval $cacheid=no
   8253 fi
   8254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8255     conftest$ac_exeext conftest.$ac_ext
   8256 fi
   8257 
   8258 
   8259 		CFLAGS="$xorg_testset_save_CFLAGS"
   8260 
   8261 		eval supported=\$$cacheid
   8262 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8263 printf "%s\n" "$supported" >&6; }
   8264 		if test "$supported" = "yes" ; then
   8265 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8266 			found="yes"
   8267 		fi
   8268 	fi
   8269 
   8270 
   8271 
   8272 
   8273 
   8274 
   8275 
   8276 
   8277 
   8278 
   8279 
   8280 
   8281 
   8282 
   8283 
   8284 xorg_testset_save_CFLAGS="$CFLAGS"
   8285 
   8286 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8287 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8288 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8289 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8290 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8291 then :
   8292   printf %s "(cached) " >&6
   8293 else $as_nop
   8294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8295 /* end confdefs.h.  */
   8296 int i;
   8297 _ACEOF
   8298 if ac_fn_c_try_compile "$LINENO"
   8299 then :
   8300   xorg_cv_cc_flag_unknown_warning_option=yes
   8301 else $as_nop
   8302   xorg_cv_cc_flag_unknown_warning_option=no
   8303 fi
   8304 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8305 fi
   8306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8307 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8308 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8309 	CFLAGS="$xorg_testset_save_CFLAGS"
   8310 fi
   8311 
   8312 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8313 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8314 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8315 	fi
   8316 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8317 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8318 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8319 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8320 then :
   8321   printf %s "(cached) " >&6
   8322 else $as_nop
   8323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8324 /* end confdefs.h.  */
   8325 int i;
   8326 _ACEOF
   8327 if ac_fn_c_try_compile "$LINENO"
   8328 then :
   8329   xorg_cv_cc_flag_unused_command_line_argument=yes
   8330 else $as_nop
   8331   xorg_cv_cc_flag_unused_command_line_argument=no
   8332 fi
   8333 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8334 fi
   8335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8336 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8337 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8338 	CFLAGS="$xorg_testset_save_CFLAGS"
   8339 fi
   8340 
   8341 found="no"
   8342 
   8343 	if test $found = "no" ; then
   8344 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8345 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8346 		fi
   8347 
   8348 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8349 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8350 		fi
   8351 
   8352 		CFLAGS="$CFLAGS -Werror=write-strings"
   8353 
   8354 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8355 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8356 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8357 		if eval test \${$cacheid+y}
   8358 then :
   8359   printf %s "(cached) " >&6
   8360 else $as_nop
   8361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8362 /* end confdefs.h.  */
   8363 int i;
   8364 int
   8365 main (void)
   8366 {
   8367 
   8368   ;
   8369   return 0;
   8370 }
   8371 _ACEOF
   8372 if ac_fn_c_try_link "$LINENO"
   8373 then :
   8374   eval $cacheid=yes
   8375 else $as_nop
   8376   eval $cacheid=no
   8377 fi
   8378 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8379     conftest$ac_exeext conftest.$ac_ext
   8380 fi
   8381 
   8382 
   8383 		CFLAGS="$xorg_testset_save_CFLAGS"
   8384 
   8385 		eval supported=\$$cacheid
   8386 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8387 printf "%s\n" "$supported" >&6; }
   8388 		if test "$supported" = "yes" ; then
   8389 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8390 			found="yes"
   8391 		fi
   8392 	fi
   8393 
   8394 
   8395 
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 xorg_testset_save_CFLAGS="$CFLAGS"
   8409 
   8410 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8411 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8412 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8413 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8414 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8415 then :
   8416   printf %s "(cached) " >&6
   8417 else $as_nop
   8418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8419 /* end confdefs.h.  */
   8420 int i;
   8421 _ACEOF
   8422 if ac_fn_c_try_compile "$LINENO"
   8423 then :
   8424   xorg_cv_cc_flag_unknown_warning_option=yes
   8425 else $as_nop
   8426   xorg_cv_cc_flag_unknown_warning_option=no
   8427 fi
   8428 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8429 fi
   8430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8431 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8432 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8433 	CFLAGS="$xorg_testset_save_CFLAGS"
   8434 fi
   8435 
   8436 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8437 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8438 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8439 	fi
   8440 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8441 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8442 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8443 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8444 then :
   8445   printf %s "(cached) " >&6
   8446 else $as_nop
   8447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8448 /* end confdefs.h.  */
   8449 int i;
   8450 _ACEOF
   8451 if ac_fn_c_try_compile "$LINENO"
   8452 then :
   8453   xorg_cv_cc_flag_unused_command_line_argument=yes
   8454 else $as_nop
   8455   xorg_cv_cc_flag_unused_command_line_argument=no
   8456 fi
   8457 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8458 fi
   8459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8460 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8461 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8462 	CFLAGS="$xorg_testset_save_CFLAGS"
   8463 fi
   8464 
   8465 found="no"
   8466 
   8467 	if test $found = "no" ; then
   8468 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8469 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8470 		fi
   8471 
   8472 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8473 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8474 		fi
   8475 
   8476 		CFLAGS="$CFLAGS -Werror=address"
   8477 
   8478 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8479 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8480 		cacheid=xorg_cv_cc_flag__Werror_address
   8481 		if eval test \${$cacheid+y}
   8482 then :
   8483   printf %s "(cached) " >&6
   8484 else $as_nop
   8485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8486 /* end confdefs.h.  */
   8487 int i;
   8488 int
   8489 main (void)
   8490 {
   8491 
   8492   ;
   8493   return 0;
   8494 }
   8495 _ACEOF
   8496 if ac_fn_c_try_link "$LINENO"
   8497 then :
   8498   eval $cacheid=yes
   8499 else $as_nop
   8500   eval $cacheid=no
   8501 fi
   8502 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8503     conftest$ac_exeext conftest.$ac_ext
   8504 fi
   8505 
   8506 
   8507 		CFLAGS="$xorg_testset_save_CFLAGS"
   8508 
   8509 		eval supported=\$$cacheid
   8510 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8511 printf "%s\n" "$supported" >&6; }
   8512 		if test "$supported" = "yes" ; then
   8513 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8514 			found="yes"
   8515 		fi
   8516 	fi
   8517 
   8518 
   8519 
   8520 
   8521 
   8522 
   8523 
   8524 
   8525 
   8526 
   8527 
   8528 
   8529 
   8530 
   8531 
   8532 xorg_testset_save_CFLAGS="$CFLAGS"
   8533 
   8534 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8535 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8536 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8537 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8538 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8539 then :
   8540   printf %s "(cached) " >&6
   8541 else $as_nop
   8542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8543 /* end confdefs.h.  */
   8544 int i;
   8545 _ACEOF
   8546 if ac_fn_c_try_compile "$LINENO"
   8547 then :
   8548   xorg_cv_cc_flag_unknown_warning_option=yes
   8549 else $as_nop
   8550   xorg_cv_cc_flag_unknown_warning_option=no
   8551 fi
   8552 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8553 fi
   8554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8555 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8556 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8557 	CFLAGS="$xorg_testset_save_CFLAGS"
   8558 fi
   8559 
   8560 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8561 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8562 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8563 	fi
   8564 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8565 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8566 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8567 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8568 then :
   8569   printf %s "(cached) " >&6
   8570 else $as_nop
   8571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8572 /* end confdefs.h.  */
   8573 int i;
   8574 _ACEOF
   8575 if ac_fn_c_try_compile "$LINENO"
   8576 then :
   8577   xorg_cv_cc_flag_unused_command_line_argument=yes
   8578 else $as_nop
   8579   xorg_cv_cc_flag_unused_command_line_argument=no
   8580 fi
   8581 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8582 fi
   8583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8584 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8585 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8586 	CFLAGS="$xorg_testset_save_CFLAGS"
   8587 fi
   8588 
   8589 found="no"
   8590 
   8591 	if test $found = "no" ; then
   8592 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8593 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8594 		fi
   8595 
   8596 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8597 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8598 		fi
   8599 
   8600 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8601 
   8602 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8603 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8604 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8605 		if eval test \${$cacheid+y}
   8606 then :
   8607   printf %s "(cached) " >&6
   8608 else $as_nop
   8609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8610 /* end confdefs.h.  */
   8611 int i;
   8612 int
   8613 main (void)
   8614 {
   8615 
   8616   ;
   8617   return 0;
   8618 }
   8619 _ACEOF
   8620 if ac_fn_c_try_link "$LINENO"
   8621 then :
   8622   eval $cacheid=yes
   8623 else $as_nop
   8624   eval $cacheid=no
   8625 fi
   8626 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8627     conftest$ac_exeext conftest.$ac_ext
   8628 fi
   8629 
   8630 
   8631 		CFLAGS="$xorg_testset_save_CFLAGS"
   8632 
   8633 		eval supported=\$$cacheid
   8634 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8635 printf "%s\n" "$supported" >&6; }
   8636 		if test "$supported" = "yes" ; then
   8637 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8638 			found="yes"
   8639 		fi
   8640 	fi
   8641 
   8642 	if test $found = "no" ; then
   8643 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8644 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8645 		fi
   8646 
   8647 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8648 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8649 		fi
   8650 
   8651 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8652 
   8653 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8654 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8655 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8656 		if eval test \${$cacheid+y}
   8657 then :
   8658   printf %s "(cached) " >&6
   8659 else $as_nop
   8660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8661 /* end confdefs.h.  */
   8662 int i;
   8663 int
   8664 main (void)
   8665 {
   8666 
   8667   ;
   8668   return 0;
   8669 }
   8670 _ACEOF
   8671 if ac_fn_c_try_link "$LINENO"
   8672 then :
   8673   eval $cacheid=yes
   8674 else $as_nop
   8675   eval $cacheid=no
   8676 fi
   8677 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8678     conftest$ac_exeext conftest.$ac_ext
   8679 fi
   8680 
   8681 
   8682 		CFLAGS="$xorg_testset_save_CFLAGS"
   8683 
   8684 		eval supported=\$$cacheid
   8685 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8686 printf "%s\n" "$supported" >&6; }
   8687 		if test "$supported" = "yes" ; then
   8688 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8689 			found="yes"
   8690 		fi
   8691 	fi
   8692 
   8693 
   8694 
   8695 
   8696 
   8697 
   8698 
   8699 
   8700 
   8701 
   8702 
   8703 
   8704 
   8705 
   8706 
   8707 xorg_testset_save_CFLAGS="$CFLAGS"
   8708 
   8709 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8710 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8711 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8712 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8713 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8714 then :
   8715   printf %s "(cached) " >&6
   8716 else $as_nop
   8717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8718 /* end confdefs.h.  */
   8719 int i;
   8720 _ACEOF
   8721 if ac_fn_c_try_compile "$LINENO"
   8722 then :
   8723   xorg_cv_cc_flag_unknown_warning_option=yes
   8724 else $as_nop
   8725   xorg_cv_cc_flag_unknown_warning_option=no
   8726 fi
   8727 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8728 fi
   8729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8730 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8731 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8732 	CFLAGS="$xorg_testset_save_CFLAGS"
   8733 fi
   8734 
   8735 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8736 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8737 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8738 	fi
   8739 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8740 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8741 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8742 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8743 then :
   8744   printf %s "(cached) " >&6
   8745 else $as_nop
   8746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8747 /* end confdefs.h.  */
   8748 int i;
   8749 _ACEOF
   8750 if ac_fn_c_try_compile "$LINENO"
   8751 then :
   8752   xorg_cv_cc_flag_unused_command_line_argument=yes
   8753 else $as_nop
   8754   xorg_cv_cc_flag_unused_command_line_argument=no
   8755 fi
   8756 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8757 fi
   8758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8759 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8760 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8761 	CFLAGS="$xorg_testset_save_CFLAGS"
   8762 fi
   8763 
   8764 found="no"
   8765 
   8766 	if test $found = "no" ; then
   8767 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8768 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8769 		fi
   8770 
   8771 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8772 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8773 		fi
   8774 
   8775 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8776 
   8777 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8778 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8779 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8780 		if eval test \${$cacheid+y}
   8781 then :
   8782   printf %s "(cached) " >&6
   8783 else $as_nop
   8784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8785 /* end confdefs.h.  */
   8786 int i;
   8787 int
   8788 main (void)
   8789 {
   8790 
   8791   ;
   8792   return 0;
   8793 }
   8794 _ACEOF
   8795 if ac_fn_c_try_link "$LINENO"
   8796 then :
   8797   eval $cacheid=yes
   8798 else $as_nop
   8799   eval $cacheid=no
   8800 fi
   8801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8802     conftest$ac_exeext conftest.$ac_ext
   8803 fi
   8804 
   8805 
   8806 		CFLAGS="$xorg_testset_save_CFLAGS"
   8807 
   8808 		eval supported=\$$cacheid
   8809 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8810 printf "%s\n" "$supported" >&6; }
   8811 		if test "$supported" = "yes" ; then
   8812 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8813 			found="yes"
   8814 		fi
   8815 	fi
   8816 
   8817  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8818 else
   8819 { 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
   8820 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;}
   8821 
   8822 
   8823 
   8824 
   8825 
   8826 
   8827 
   8828 
   8829 
   8830 
   8831 
   8832 
   8833 
   8834 xorg_testset_save_CFLAGS="$CFLAGS"
   8835 
   8836 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8837 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8838 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8839 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8840 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8841 then :
   8842   printf %s "(cached) " >&6
   8843 else $as_nop
   8844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8845 /* end confdefs.h.  */
   8846 int i;
   8847 _ACEOF
   8848 if ac_fn_c_try_compile "$LINENO"
   8849 then :
   8850   xorg_cv_cc_flag_unknown_warning_option=yes
   8851 else $as_nop
   8852   xorg_cv_cc_flag_unknown_warning_option=no
   8853 fi
   8854 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8855 fi
   8856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8857 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8858 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8859 	CFLAGS="$xorg_testset_save_CFLAGS"
   8860 fi
   8861 
   8862 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8863 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8864 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8865 	fi
   8866 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8867 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8868 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8869 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8870 then :
   8871   printf %s "(cached) " >&6
   8872 else $as_nop
   8873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8874 /* end confdefs.h.  */
   8875 int i;
   8876 _ACEOF
   8877 if ac_fn_c_try_compile "$LINENO"
   8878 then :
   8879   xorg_cv_cc_flag_unused_command_line_argument=yes
   8880 else $as_nop
   8881   xorg_cv_cc_flag_unused_command_line_argument=no
   8882 fi
   8883 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8884 fi
   8885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8886 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8887 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8888 	CFLAGS="$xorg_testset_save_CFLAGS"
   8889 fi
   8890 
   8891 found="no"
   8892 
   8893 	if test $found = "no" ; then
   8894 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8895 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8896 		fi
   8897 
   8898 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8899 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8900 		fi
   8901 
   8902 		CFLAGS="$CFLAGS -Wimplicit"
   8903 
   8904 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8905 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   8906 		cacheid=xorg_cv_cc_flag__Wimplicit
   8907 		if eval test \${$cacheid+y}
   8908 then :
   8909   printf %s "(cached) " >&6
   8910 else $as_nop
   8911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8912 /* end confdefs.h.  */
   8913 int i;
   8914 int
   8915 main (void)
   8916 {
   8917 
   8918   ;
   8919   return 0;
   8920 }
   8921 _ACEOF
   8922 if ac_fn_c_try_link "$LINENO"
   8923 then :
   8924   eval $cacheid=yes
   8925 else $as_nop
   8926   eval $cacheid=no
   8927 fi
   8928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8929     conftest$ac_exeext conftest.$ac_ext
   8930 fi
   8931 
   8932 
   8933 		CFLAGS="$xorg_testset_save_CFLAGS"
   8934 
   8935 		eval supported=\$$cacheid
   8936 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8937 printf "%s\n" "$supported" >&6; }
   8938 		if test "$supported" = "yes" ; then
   8939 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8940 			found="yes"
   8941 		fi
   8942 	fi
   8943 
   8944 
   8945 
   8946 
   8947 
   8948 
   8949 
   8950 
   8951 
   8952 
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 xorg_testset_save_CFLAGS="$CFLAGS"
   8959 
   8960 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8961 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8962 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8963 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8964 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8965 then :
   8966   printf %s "(cached) " >&6
   8967 else $as_nop
   8968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8969 /* end confdefs.h.  */
   8970 int i;
   8971 _ACEOF
   8972 if ac_fn_c_try_compile "$LINENO"
   8973 then :
   8974   xorg_cv_cc_flag_unknown_warning_option=yes
   8975 else $as_nop
   8976   xorg_cv_cc_flag_unknown_warning_option=no
   8977 fi
   8978 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8979 fi
   8980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8981 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8982 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8983 	CFLAGS="$xorg_testset_save_CFLAGS"
   8984 fi
   8985 
   8986 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8987 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8988 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8989 	fi
   8990 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8991 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8992 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8993 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8994 then :
   8995   printf %s "(cached) " >&6
   8996 else $as_nop
   8997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8998 /* end confdefs.h.  */
   8999 int i;
   9000 _ACEOF
   9001 if ac_fn_c_try_compile "$LINENO"
   9002 then :
   9003   xorg_cv_cc_flag_unused_command_line_argument=yes
   9004 else $as_nop
   9005   xorg_cv_cc_flag_unused_command_line_argument=no
   9006 fi
   9007 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9008 fi
   9009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9010 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9011 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9012 	CFLAGS="$xorg_testset_save_CFLAGS"
   9013 fi
   9014 
   9015 found="no"
   9016 
   9017 	if test $found = "no" ; then
   9018 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9019 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9020 		fi
   9021 
   9022 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9023 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9024 		fi
   9025 
   9026 		CFLAGS="$CFLAGS -Wnonnull"
   9027 
   9028 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9029 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9030 		cacheid=xorg_cv_cc_flag__Wnonnull
   9031 		if eval test \${$cacheid+y}
   9032 then :
   9033   printf %s "(cached) " >&6
   9034 else $as_nop
   9035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9036 /* end confdefs.h.  */
   9037 int i;
   9038 int
   9039 main (void)
   9040 {
   9041 
   9042   ;
   9043   return 0;
   9044 }
   9045 _ACEOF
   9046 if ac_fn_c_try_link "$LINENO"
   9047 then :
   9048   eval $cacheid=yes
   9049 else $as_nop
   9050   eval $cacheid=no
   9051 fi
   9052 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9053     conftest$ac_exeext conftest.$ac_ext
   9054 fi
   9055 
   9056 
   9057 		CFLAGS="$xorg_testset_save_CFLAGS"
   9058 
   9059 		eval supported=\$$cacheid
   9060 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9061 printf "%s\n" "$supported" >&6; }
   9062 		if test "$supported" = "yes" ; then
   9063 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9064 			found="yes"
   9065 		fi
   9066 	fi
   9067 
   9068 
   9069 
   9070 
   9071 
   9072 
   9073 
   9074 
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 
   9081 
   9082 xorg_testset_save_CFLAGS="$CFLAGS"
   9083 
   9084 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9085 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9086 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9087 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9088 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9089 then :
   9090   printf %s "(cached) " >&6
   9091 else $as_nop
   9092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9093 /* end confdefs.h.  */
   9094 int i;
   9095 _ACEOF
   9096 if ac_fn_c_try_compile "$LINENO"
   9097 then :
   9098   xorg_cv_cc_flag_unknown_warning_option=yes
   9099 else $as_nop
   9100   xorg_cv_cc_flag_unknown_warning_option=no
   9101 fi
   9102 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9103 fi
   9104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9105 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9106 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9107 	CFLAGS="$xorg_testset_save_CFLAGS"
   9108 fi
   9109 
   9110 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9111 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9112 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9113 	fi
   9114 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9115 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9116 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9117 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9118 then :
   9119   printf %s "(cached) " >&6
   9120 else $as_nop
   9121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9122 /* end confdefs.h.  */
   9123 int i;
   9124 _ACEOF
   9125 if ac_fn_c_try_compile "$LINENO"
   9126 then :
   9127   xorg_cv_cc_flag_unused_command_line_argument=yes
   9128 else $as_nop
   9129   xorg_cv_cc_flag_unused_command_line_argument=no
   9130 fi
   9131 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9132 fi
   9133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9134 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9135 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9136 	CFLAGS="$xorg_testset_save_CFLAGS"
   9137 fi
   9138 
   9139 found="no"
   9140 
   9141 	if test $found = "no" ; then
   9142 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9143 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9144 		fi
   9145 
   9146 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9147 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9148 		fi
   9149 
   9150 		CFLAGS="$CFLAGS -Winit-self"
   9151 
   9152 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9153 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9154 		cacheid=xorg_cv_cc_flag__Winit_self
   9155 		if eval test \${$cacheid+y}
   9156 then :
   9157   printf %s "(cached) " >&6
   9158 else $as_nop
   9159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9160 /* end confdefs.h.  */
   9161 int i;
   9162 int
   9163 main (void)
   9164 {
   9165 
   9166   ;
   9167   return 0;
   9168 }
   9169 _ACEOF
   9170 if ac_fn_c_try_link "$LINENO"
   9171 then :
   9172   eval $cacheid=yes
   9173 else $as_nop
   9174   eval $cacheid=no
   9175 fi
   9176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9177     conftest$ac_exeext conftest.$ac_ext
   9178 fi
   9179 
   9180 
   9181 		CFLAGS="$xorg_testset_save_CFLAGS"
   9182 
   9183 		eval supported=\$$cacheid
   9184 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9185 printf "%s\n" "$supported" >&6; }
   9186 		if test "$supported" = "yes" ; then
   9187 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9188 			found="yes"
   9189 		fi
   9190 	fi
   9191 
   9192 
   9193 
   9194 
   9195 
   9196 
   9197 
   9198 
   9199 
   9200 
   9201 
   9202 
   9203 
   9204 
   9205 
   9206 xorg_testset_save_CFLAGS="$CFLAGS"
   9207 
   9208 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9209 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9210 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9211 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9212 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9213 then :
   9214   printf %s "(cached) " >&6
   9215 else $as_nop
   9216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9217 /* end confdefs.h.  */
   9218 int i;
   9219 _ACEOF
   9220 if ac_fn_c_try_compile "$LINENO"
   9221 then :
   9222   xorg_cv_cc_flag_unknown_warning_option=yes
   9223 else $as_nop
   9224   xorg_cv_cc_flag_unknown_warning_option=no
   9225 fi
   9226 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9227 fi
   9228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9229 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9230 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9231 	CFLAGS="$xorg_testset_save_CFLAGS"
   9232 fi
   9233 
   9234 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9235 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9236 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9237 	fi
   9238 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9239 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9240 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9241 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9242 then :
   9243   printf %s "(cached) " >&6
   9244 else $as_nop
   9245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9246 /* end confdefs.h.  */
   9247 int i;
   9248 _ACEOF
   9249 if ac_fn_c_try_compile "$LINENO"
   9250 then :
   9251   xorg_cv_cc_flag_unused_command_line_argument=yes
   9252 else $as_nop
   9253   xorg_cv_cc_flag_unused_command_line_argument=no
   9254 fi
   9255 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9256 fi
   9257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9258 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9259 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9260 	CFLAGS="$xorg_testset_save_CFLAGS"
   9261 fi
   9262 
   9263 found="no"
   9264 
   9265 	if test $found = "no" ; then
   9266 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9267 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9268 		fi
   9269 
   9270 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9271 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9272 		fi
   9273 
   9274 		CFLAGS="$CFLAGS -Wmain"
   9275 
   9276 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9277 printf %s "checking if $CC supports -Wmain... " >&6; }
   9278 		cacheid=xorg_cv_cc_flag__Wmain
   9279 		if eval test \${$cacheid+y}
   9280 then :
   9281   printf %s "(cached) " >&6
   9282 else $as_nop
   9283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9284 /* end confdefs.h.  */
   9285 int i;
   9286 int
   9287 main (void)
   9288 {
   9289 
   9290   ;
   9291   return 0;
   9292 }
   9293 _ACEOF
   9294 if ac_fn_c_try_link "$LINENO"
   9295 then :
   9296   eval $cacheid=yes
   9297 else $as_nop
   9298   eval $cacheid=no
   9299 fi
   9300 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9301     conftest$ac_exeext conftest.$ac_ext
   9302 fi
   9303 
   9304 
   9305 		CFLAGS="$xorg_testset_save_CFLAGS"
   9306 
   9307 		eval supported=\$$cacheid
   9308 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9309 printf "%s\n" "$supported" >&6; }
   9310 		if test "$supported" = "yes" ; then
   9311 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9312 			found="yes"
   9313 		fi
   9314 	fi
   9315 
   9316 
   9317 
   9318 
   9319 
   9320 
   9321 
   9322 
   9323 
   9324 
   9325 
   9326 
   9327 
   9328 
   9329 
   9330 xorg_testset_save_CFLAGS="$CFLAGS"
   9331 
   9332 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9333 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9334 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9335 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9336 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9337 then :
   9338   printf %s "(cached) " >&6
   9339 else $as_nop
   9340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9341 /* end confdefs.h.  */
   9342 int i;
   9343 _ACEOF
   9344 if ac_fn_c_try_compile "$LINENO"
   9345 then :
   9346   xorg_cv_cc_flag_unknown_warning_option=yes
   9347 else $as_nop
   9348   xorg_cv_cc_flag_unknown_warning_option=no
   9349 fi
   9350 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9351 fi
   9352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9353 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9354 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9355 	CFLAGS="$xorg_testset_save_CFLAGS"
   9356 fi
   9357 
   9358 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9359 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9360 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9361 	fi
   9362 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9363 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9364 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9365 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9366 then :
   9367   printf %s "(cached) " >&6
   9368 else $as_nop
   9369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9370 /* end confdefs.h.  */
   9371 int i;
   9372 _ACEOF
   9373 if ac_fn_c_try_compile "$LINENO"
   9374 then :
   9375   xorg_cv_cc_flag_unused_command_line_argument=yes
   9376 else $as_nop
   9377   xorg_cv_cc_flag_unused_command_line_argument=no
   9378 fi
   9379 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9380 fi
   9381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9382 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9383 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9384 	CFLAGS="$xorg_testset_save_CFLAGS"
   9385 fi
   9386 
   9387 found="no"
   9388 
   9389 	if test $found = "no" ; then
   9390 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9391 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9392 		fi
   9393 
   9394 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9395 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9396 		fi
   9397 
   9398 		CFLAGS="$CFLAGS -Wmissing-braces"
   9399 
   9400 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9401 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9402 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9403 		if eval test \${$cacheid+y}
   9404 then :
   9405   printf %s "(cached) " >&6
   9406 else $as_nop
   9407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9408 /* end confdefs.h.  */
   9409 int i;
   9410 int
   9411 main (void)
   9412 {
   9413 
   9414   ;
   9415   return 0;
   9416 }
   9417 _ACEOF
   9418 if ac_fn_c_try_link "$LINENO"
   9419 then :
   9420   eval $cacheid=yes
   9421 else $as_nop
   9422   eval $cacheid=no
   9423 fi
   9424 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9425     conftest$ac_exeext conftest.$ac_ext
   9426 fi
   9427 
   9428 
   9429 		CFLAGS="$xorg_testset_save_CFLAGS"
   9430 
   9431 		eval supported=\$$cacheid
   9432 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9433 printf "%s\n" "$supported" >&6; }
   9434 		if test "$supported" = "yes" ; then
   9435 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9436 			found="yes"
   9437 		fi
   9438 	fi
   9439 
   9440 
   9441 
   9442 
   9443 
   9444 
   9445 
   9446 
   9447 
   9448 
   9449 
   9450 
   9451 
   9452 
   9453 
   9454 xorg_testset_save_CFLAGS="$CFLAGS"
   9455 
   9456 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9457 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9458 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9459 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9460 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9461 then :
   9462   printf %s "(cached) " >&6
   9463 else $as_nop
   9464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9465 /* end confdefs.h.  */
   9466 int i;
   9467 _ACEOF
   9468 if ac_fn_c_try_compile "$LINENO"
   9469 then :
   9470   xorg_cv_cc_flag_unknown_warning_option=yes
   9471 else $as_nop
   9472   xorg_cv_cc_flag_unknown_warning_option=no
   9473 fi
   9474 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9475 fi
   9476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9477 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9478 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9479 	CFLAGS="$xorg_testset_save_CFLAGS"
   9480 fi
   9481 
   9482 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9483 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9484 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9485 	fi
   9486 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9487 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9488 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9489 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9490 then :
   9491   printf %s "(cached) " >&6
   9492 else $as_nop
   9493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9494 /* end confdefs.h.  */
   9495 int i;
   9496 _ACEOF
   9497 if ac_fn_c_try_compile "$LINENO"
   9498 then :
   9499   xorg_cv_cc_flag_unused_command_line_argument=yes
   9500 else $as_nop
   9501   xorg_cv_cc_flag_unused_command_line_argument=no
   9502 fi
   9503 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9504 fi
   9505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9506 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9507 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9508 	CFLAGS="$xorg_testset_save_CFLAGS"
   9509 fi
   9510 
   9511 found="no"
   9512 
   9513 	if test $found = "no" ; then
   9514 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9515 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9516 		fi
   9517 
   9518 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9519 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9520 		fi
   9521 
   9522 		CFLAGS="$CFLAGS -Wsequence-point"
   9523 
   9524 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9525 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9526 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9527 		if eval test \${$cacheid+y}
   9528 then :
   9529   printf %s "(cached) " >&6
   9530 else $as_nop
   9531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9532 /* end confdefs.h.  */
   9533 int i;
   9534 int
   9535 main (void)
   9536 {
   9537 
   9538   ;
   9539   return 0;
   9540 }
   9541 _ACEOF
   9542 if ac_fn_c_try_link "$LINENO"
   9543 then :
   9544   eval $cacheid=yes
   9545 else $as_nop
   9546   eval $cacheid=no
   9547 fi
   9548 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9549     conftest$ac_exeext conftest.$ac_ext
   9550 fi
   9551 
   9552 
   9553 		CFLAGS="$xorg_testset_save_CFLAGS"
   9554 
   9555 		eval supported=\$$cacheid
   9556 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9557 printf "%s\n" "$supported" >&6; }
   9558 		if test "$supported" = "yes" ; then
   9559 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9560 			found="yes"
   9561 		fi
   9562 	fi
   9563 
   9564 
   9565 
   9566 
   9567 
   9568 
   9569 
   9570 
   9571 
   9572 
   9573 
   9574 
   9575 
   9576 
   9577 
   9578 xorg_testset_save_CFLAGS="$CFLAGS"
   9579 
   9580 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9581 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9582 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9583 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9584 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9585 then :
   9586   printf %s "(cached) " >&6
   9587 else $as_nop
   9588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9589 /* end confdefs.h.  */
   9590 int i;
   9591 _ACEOF
   9592 if ac_fn_c_try_compile "$LINENO"
   9593 then :
   9594   xorg_cv_cc_flag_unknown_warning_option=yes
   9595 else $as_nop
   9596   xorg_cv_cc_flag_unknown_warning_option=no
   9597 fi
   9598 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9599 fi
   9600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9601 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9602 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9603 	CFLAGS="$xorg_testset_save_CFLAGS"
   9604 fi
   9605 
   9606 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9607 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9608 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9609 	fi
   9610 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9611 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9612 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9613 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9614 then :
   9615   printf %s "(cached) " >&6
   9616 else $as_nop
   9617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9618 /* end confdefs.h.  */
   9619 int i;
   9620 _ACEOF
   9621 if ac_fn_c_try_compile "$LINENO"
   9622 then :
   9623   xorg_cv_cc_flag_unused_command_line_argument=yes
   9624 else $as_nop
   9625   xorg_cv_cc_flag_unused_command_line_argument=no
   9626 fi
   9627 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9628 fi
   9629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9630 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9631 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9632 	CFLAGS="$xorg_testset_save_CFLAGS"
   9633 fi
   9634 
   9635 found="no"
   9636 
   9637 	if test $found = "no" ; then
   9638 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9639 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9640 		fi
   9641 
   9642 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9643 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9644 		fi
   9645 
   9646 		CFLAGS="$CFLAGS -Wreturn-type"
   9647 
   9648 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9649 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9650 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9651 		if eval test \${$cacheid+y}
   9652 then :
   9653   printf %s "(cached) " >&6
   9654 else $as_nop
   9655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9656 /* end confdefs.h.  */
   9657 int i;
   9658 int
   9659 main (void)
   9660 {
   9661 
   9662   ;
   9663   return 0;
   9664 }
   9665 _ACEOF
   9666 if ac_fn_c_try_link "$LINENO"
   9667 then :
   9668   eval $cacheid=yes
   9669 else $as_nop
   9670   eval $cacheid=no
   9671 fi
   9672 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9673     conftest$ac_exeext conftest.$ac_ext
   9674 fi
   9675 
   9676 
   9677 		CFLAGS="$xorg_testset_save_CFLAGS"
   9678 
   9679 		eval supported=\$$cacheid
   9680 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9681 printf "%s\n" "$supported" >&6; }
   9682 		if test "$supported" = "yes" ; then
   9683 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9684 			found="yes"
   9685 		fi
   9686 	fi
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 xorg_testset_save_CFLAGS="$CFLAGS"
   9703 
   9704 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9705 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9706 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9707 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9708 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9709 then :
   9710   printf %s "(cached) " >&6
   9711 else $as_nop
   9712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9713 /* end confdefs.h.  */
   9714 int i;
   9715 _ACEOF
   9716 if ac_fn_c_try_compile "$LINENO"
   9717 then :
   9718   xorg_cv_cc_flag_unknown_warning_option=yes
   9719 else $as_nop
   9720   xorg_cv_cc_flag_unknown_warning_option=no
   9721 fi
   9722 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9723 fi
   9724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9725 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9726 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9727 	CFLAGS="$xorg_testset_save_CFLAGS"
   9728 fi
   9729 
   9730 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9731 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9732 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9733 	fi
   9734 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9735 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9736 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9737 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9738 then :
   9739   printf %s "(cached) " >&6
   9740 else $as_nop
   9741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9742 /* end confdefs.h.  */
   9743 int i;
   9744 _ACEOF
   9745 if ac_fn_c_try_compile "$LINENO"
   9746 then :
   9747   xorg_cv_cc_flag_unused_command_line_argument=yes
   9748 else $as_nop
   9749   xorg_cv_cc_flag_unused_command_line_argument=no
   9750 fi
   9751 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9752 fi
   9753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9754 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9755 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9756 	CFLAGS="$xorg_testset_save_CFLAGS"
   9757 fi
   9758 
   9759 found="no"
   9760 
   9761 	if test $found = "no" ; then
   9762 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9763 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9764 		fi
   9765 
   9766 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9767 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9768 		fi
   9769 
   9770 		CFLAGS="$CFLAGS -Wtrigraphs"
   9771 
   9772 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9773 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   9774 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9775 		if eval test \${$cacheid+y}
   9776 then :
   9777   printf %s "(cached) " >&6
   9778 else $as_nop
   9779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9780 /* end confdefs.h.  */
   9781 int i;
   9782 int
   9783 main (void)
   9784 {
   9785 
   9786   ;
   9787   return 0;
   9788 }
   9789 _ACEOF
   9790 if ac_fn_c_try_link "$LINENO"
   9791 then :
   9792   eval $cacheid=yes
   9793 else $as_nop
   9794   eval $cacheid=no
   9795 fi
   9796 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9797     conftest$ac_exeext conftest.$ac_ext
   9798 fi
   9799 
   9800 
   9801 		CFLAGS="$xorg_testset_save_CFLAGS"
   9802 
   9803 		eval supported=\$$cacheid
   9804 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9805 printf "%s\n" "$supported" >&6; }
   9806 		if test "$supported" = "yes" ; then
   9807 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9808 			found="yes"
   9809 		fi
   9810 	fi
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 xorg_testset_save_CFLAGS="$CFLAGS"
   9827 
   9828 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9829 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9830 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9831 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9832 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9833 then :
   9834   printf %s "(cached) " >&6
   9835 else $as_nop
   9836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9837 /* end confdefs.h.  */
   9838 int i;
   9839 _ACEOF
   9840 if ac_fn_c_try_compile "$LINENO"
   9841 then :
   9842   xorg_cv_cc_flag_unknown_warning_option=yes
   9843 else $as_nop
   9844   xorg_cv_cc_flag_unknown_warning_option=no
   9845 fi
   9846 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9847 fi
   9848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9849 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9850 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9851 	CFLAGS="$xorg_testset_save_CFLAGS"
   9852 fi
   9853 
   9854 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9855 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9856 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9857 	fi
   9858 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9859 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9860 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9861 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9862 then :
   9863   printf %s "(cached) " >&6
   9864 else $as_nop
   9865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9866 /* end confdefs.h.  */
   9867 int i;
   9868 _ACEOF
   9869 if ac_fn_c_try_compile "$LINENO"
   9870 then :
   9871   xorg_cv_cc_flag_unused_command_line_argument=yes
   9872 else $as_nop
   9873   xorg_cv_cc_flag_unused_command_line_argument=no
   9874 fi
   9875 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9876 fi
   9877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9878 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9879 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9880 	CFLAGS="$xorg_testset_save_CFLAGS"
   9881 fi
   9882 
   9883 found="no"
   9884 
   9885 	if test $found = "no" ; then
   9886 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9887 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9888 		fi
   9889 
   9890 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9891 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9892 		fi
   9893 
   9894 		CFLAGS="$CFLAGS -Warray-bounds"
   9895 
   9896 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9897 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   9898 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9899 		if eval test \${$cacheid+y}
   9900 then :
   9901   printf %s "(cached) " >&6
   9902 else $as_nop
   9903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9904 /* end confdefs.h.  */
   9905 int i;
   9906 int
   9907 main (void)
   9908 {
   9909 
   9910   ;
   9911   return 0;
   9912 }
   9913 _ACEOF
   9914 if ac_fn_c_try_link "$LINENO"
   9915 then :
   9916   eval $cacheid=yes
   9917 else $as_nop
   9918   eval $cacheid=no
   9919 fi
   9920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9921     conftest$ac_exeext conftest.$ac_ext
   9922 fi
   9923 
   9924 
   9925 		CFLAGS="$xorg_testset_save_CFLAGS"
   9926 
   9927 		eval supported=\$$cacheid
   9928 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9929 printf "%s\n" "$supported" >&6; }
   9930 		if test "$supported" = "yes" ; then
   9931 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9932 			found="yes"
   9933 		fi
   9934 	fi
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 xorg_testset_save_CFLAGS="$CFLAGS"
   9951 
   9952 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9953 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9954 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9955 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9956 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9957 then :
   9958   printf %s "(cached) " >&6
   9959 else $as_nop
   9960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9961 /* end confdefs.h.  */
   9962 int i;
   9963 _ACEOF
   9964 if ac_fn_c_try_compile "$LINENO"
   9965 then :
   9966   xorg_cv_cc_flag_unknown_warning_option=yes
   9967 else $as_nop
   9968   xorg_cv_cc_flag_unknown_warning_option=no
   9969 fi
   9970 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9971 fi
   9972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9973 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9974 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9975 	CFLAGS="$xorg_testset_save_CFLAGS"
   9976 fi
   9977 
   9978 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9979 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9980 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9981 	fi
   9982 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9983 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9984 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9985 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9986 then :
   9987   printf %s "(cached) " >&6
   9988 else $as_nop
   9989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9990 /* end confdefs.h.  */
   9991 int i;
   9992 _ACEOF
   9993 if ac_fn_c_try_compile "$LINENO"
   9994 then :
   9995   xorg_cv_cc_flag_unused_command_line_argument=yes
   9996 else $as_nop
   9997   xorg_cv_cc_flag_unused_command_line_argument=no
   9998 fi
   9999 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10000 fi
   10001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10002 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10003 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10004 	CFLAGS="$xorg_testset_save_CFLAGS"
   10005 fi
   10006 
   10007 found="no"
   10008 
   10009 	if test $found = "no" ; then
   10010 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10011 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10012 		fi
   10013 
   10014 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10015 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10016 		fi
   10017 
   10018 		CFLAGS="$CFLAGS -Wwrite-strings"
   10019 
   10020 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10021 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10022 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10023 		if eval test \${$cacheid+y}
   10024 then :
   10025   printf %s "(cached) " >&6
   10026 else $as_nop
   10027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10028 /* end confdefs.h.  */
   10029 int i;
   10030 int
   10031 main (void)
   10032 {
   10033 
   10034   ;
   10035   return 0;
   10036 }
   10037 _ACEOF
   10038 if ac_fn_c_try_link "$LINENO"
   10039 then :
   10040   eval $cacheid=yes
   10041 else $as_nop
   10042   eval $cacheid=no
   10043 fi
   10044 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10045     conftest$ac_exeext conftest.$ac_ext
   10046 fi
   10047 
   10048 
   10049 		CFLAGS="$xorg_testset_save_CFLAGS"
   10050 
   10051 		eval supported=\$$cacheid
   10052 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10053 printf "%s\n" "$supported" >&6; }
   10054 		if test "$supported" = "yes" ; then
   10055 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10056 			found="yes"
   10057 		fi
   10058 	fi
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 xorg_testset_save_CFLAGS="$CFLAGS"
   10075 
   10076 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10077 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10078 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10079 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10080 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10081 then :
   10082   printf %s "(cached) " >&6
   10083 else $as_nop
   10084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10085 /* end confdefs.h.  */
   10086 int i;
   10087 _ACEOF
   10088 if ac_fn_c_try_compile "$LINENO"
   10089 then :
   10090   xorg_cv_cc_flag_unknown_warning_option=yes
   10091 else $as_nop
   10092   xorg_cv_cc_flag_unknown_warning_option=no
   10093 fi
   10094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10095 fi
   10096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10097 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10098 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10099 	CFLAGS="$xorg_testset_save_CFLAGS"
   10100 fi
   10101 
   10102 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10103 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10104 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10105 	fi
   10106 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10107 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10108 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10109 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10110 then :
   10111   printf %s "(cached) " >&6
   10112 else $as_nop
   10113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10114 /* end confdefs.h.  */
   10115 int i;
   10116 _ACEOF
   10117 if ac_fn_c_try_compile "$LINENO"
   10118 then :
   10119   xorg_cv_cc_flag_unused_command_line_argument=yes
   10120 else $as_nop
   10121   xorg_cv_cc_flag_unused_command_line_argument=no
   10122 fi
   10123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10124 fi
   10125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10126 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10127 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10128 	CFLAGS="$xorg_testset_save_CFLAGS"
   10129 fi
   10130 
   10131 found="no"
   10132 
   10133 	if test $found = "no" ; then
   10134 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10135 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10136 		fi
   10137 
   10138 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10139 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10140 		fi
   10141 
   10142 		CFLAGS="$CFLAGS -Waddress"
   10143 
   10144 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10145 printf %s "checking if $CC supports -Waddress... " >&6; }
   10146 		cacheid=xorg_cv_cc_flag__Waddress
   10147 		if eval test \${$cacheid+y}
   10148 then :
   10149   printf %s "(cached) " >&6
   10150 else $as_nop
   10151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10152 /* end confdefs.h.  */
   10153 int i;
   10154 int
   10155 main (void)
   10156 {
   10157 
   10158   ;
   10159   return 0;
   10160 }
   10161 _ACEOF
   10162 if ac_fn_c_try_link "$LINENO"
   10163 then :
   10164   eval $cacheid=yes
   10165 else $as_nop
   10166   eval $cacheid=no
   10167 fi
   10168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10169     conftest$ac_exeext conftest.$ac_ext
   10170 fi
   10171 
   10172 
   10173 		CFLAGS="$xorg_testset_save_CFLAGS"
   10174 
   10175 		eval supported=\$$cacheid
   10176 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10177 printf "%s\n" "$supported" >&6; }
   10178 		if test "$supported" = "yes" ; then
   10179 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10180 			found="yes"
   10181 		fi
   10182 	fi
   10183 
   10184 
   10185 
   10186 
   10187 
   10188 
   10189 
   10190 
   10191 
   10192 
   10193 
   10194 
   10195 
   10196 
   10197 
   10198 xorg_testset_save_CFLAGS="$CFLAGS"
   10199 
   10200 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10201 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10202 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10203 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10204 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10205 then :
   10206   printf %s "(cached) " >&6
   10207 else $as_nop
   10208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10209 /* end confdefs.h.  */
   10210 int i;
   10211 _ACEOF
   10212 if ac_fn_c_try_compile "$LINENO"
   10213 then :
   10214   xorg_cv_cc_flag_unknown_warning_option=yes
   10215 else $as_nop
   10216   xorg_cv_cc_flag_unknown_warning_option=no
   10217 fi
   10218 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10219 fi
   10220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10221 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10222 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10223 	CFLAGS="$xorg_testset_save_CFLAGS"
   10224 fi
   10225 
   10226 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10227 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10228 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10229 	fi
   10230 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10231 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10232 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10233 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10234 then :
   10235   printf %s "(cached) " >&6
   10236 else $as_nop
   10237   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10238 /* end confdefs.h.  */
   10239 int i;
   10240 _ACEOF
   10241 if ac_fn_c_try_compile "$LINENO"
   10242 then :
   10243   xorg_cv_cc_flag_unused_command_line_argument=yes
   10244 else $as_nop
   10245   xorg_cv_cc_flag_unused_command_line_argument=no
   10246 fi
   10247 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10248 fi
   10249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10250 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10251 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10252 	CFLAGS="$xorg_testset_save_CFLAGS"
   10253 fi
   10254 
   10255 found="no"
   10256 
   10257 	if test $found = "no" ; then
   10258 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10259 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10260 		fi
   10261 
   10262 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10263 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10264 		fi
   10265 
   10266 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10267 
   10268 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10269 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10270 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10271 		if eval test \${$cacheid+y}
   10272 then :
   10273   printf %s "(cached) " >&6
   10274 else $as_nop
   10275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10276 /* end confdefs.h.  */
   10277 int i;
   10278 int
   10279 main (void)
   10280 {
   10281 
   10282   ;
   10283   return 0;
   10284 }
   10285 _ACEOF
   10286 if ac_fn_c_try_link "$LINENO"
   10287 then :
   10288   eval $cacheid=yes
   10289 else $as_nop
   10290   eval $cacheid=no
   10291 fi
   10292 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10293     conftest$ac_exeext conftest.$ac_ext
   10294 fi
   10295 
   10296 
   10297 		CFLAGS="$xorg_testset_save_CFLAGS"
   10298 
   10299 		eval supported=\$$cacheid
   10300 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10301 printf "%s\n" "$supported" >&6; }
   10302 		if test "$supported" = "yes" ; then
   10303 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10304 			found="yes"
   10305 		fi
   10306 	fi
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 xorg_testset_save_CFLAGS="$CFLAGS"
   10323 
   10324 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10325 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10326 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10327 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10328 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10329 then :
   10330   printf %s "(cached) " >&6
   10331 else $as_nop
   10332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10333 /* end confdefs.h.  */
   10334 int i;
   10335 _ACEOF
   10336 if ac_fn_c_try_compile "$LINENO"
   10337 then :
   10338   xorg_cv_cc_flag_unknown_warning_option=yes
   10339 else $as_nop
   10340   xorg_cv_cc_flag_unknown_warning_option=no
   10341 fi
   10342 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10343 fi
   10344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10345 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10346 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10347 	CFLAGS="$xorg_testset_save_CFLAGS"
   10348 fi
   10349 
   10350 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10351 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10352 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10353 	fi
   10354 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10355 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10356 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10357 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10358 then :
   10359   printf %s "(cached) " >&6
   10360 else $as_nop
   10361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10362 /* end confdefs.h.  */
   10363 int i;
   10364 _ACEOF
   10365 if ac_fn_c_try_compile "$LINENO"
   10366 then :
   10367   xorg_cv_cc_flag_unused_command_line_argument=yes
   10368 else $as_nop
   10369   xorg_cv_cc_flag_unused_command_line_argument=no
   10370 fi
   10371 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10372 fi
   10373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10374 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10375 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10376 	CFLAGS="$xorg_testset_save_CFLAGS"
   10377 fi
   10378 
   10379 found="no"
   10380 
   10381 	if test $found = "no" ; then
   10382 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10383 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10384 		fi
   10385 
   10386 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10387 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10388 		fi
   10389 
   10390 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10391 
   10392 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10393 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10394 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10395 		if eval test \${$cacheid+y}
   10396 then :
   10397   printf %s "(cached) " >&6
   10398 else $as_nop
   10399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10400 /* end confdefs.h.  */
   10401 int i;
   10402 int
   10403 main (void)
   10404 {
   10405 
   10406   ;
   10407   return 0;
   10408 }
   10409 _ACEOF
   10410 if ac_fn_c_try_link "$LINENO"
   10411 then :
   10412   eval $cacheid=yes
   10413 else $as_nop
   10414   eval $cacheid=no
   10415 fi
   10416 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10417     conftest$ac_exeext conftest.$ac_ext
   10418 fi
   10419 
   10420 
   10421 		CFLAGS="$xorg_testset_save_CFLAGS"
   10422 
   10423 		eval supported=\$$cacheid
   10424 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10425 printf "%s\n" "$supported" >&6; }
   10426 		if test "$supported" = "yes" ; then
   10427 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10428 			found="yes"
   10429 		fi
   10430 	fi
   10431 
   10432 
   10433 fi
   10434 
   10435 
   10436 
   10437 
   10438 
   10439 
   10440 
   10441 		CWARNFLAGS="$BASE_CFLAGS"
   10442 		if  test "x$GCC" = xyes ; then
   10443 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10444 		fi
   10445 
   10446 
   10447 
   10448 
   10449 
   10450 
   10451 
   10452 
   10453 # Check whether --enable-strict-compilation was given.
   10454 if test ${enable_strict_compilation+y}
   10455 then :
   10456   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10457 else $as_nop
   10458   STRICT_COMPILE=no
   10459 fi
   10460 
   10461 
   10462 
   10463 
   10464 
   10465 
   10466 STRICT_CFLAGS=""
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 
   10475 
   10476 
   10477 
   10478 
   10479 
   10480 xorg_testset_save_CFLAGS="$CFLAGS"
   10481 
   10482 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10483 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10484 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10485 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10486 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10487 then :
   10488   printf %s "(cached) " >&6
   10489 else $as_nop
   10490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10491 /* end confdefs.h.  */
   10492 int i;
   10493 _ACEOF
   10494 if ac_fn_c_try_compile "$LINENO"
   10495 then :
   10496   xorg_cv_cc_flag_unknown_warning_option=yes
   10497 else $as_nop
   10498   xorg_cv_cc_flag_unknown_warning_option=no
   10499 fi
   10500 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10501 fi
   10502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10503 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10504 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10505 	CFLAGS="$xorg_testset_save_CFLAGS"
   10506 fi
   10507 
   10508 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10509 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10510 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10511 	fi
   10512 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10513 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10514 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10515 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10516 then :
   10517   printf %s "(cached) " >&6
   10518 else $as_nop
   10519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10520 /* end confdefs.h.  */
   10521 int i;
   10522 _ACEOF
   10523 if ac_fn_c_try_compile "$LINENO"
   10524 then :
   10525   xorg_cv_cc_flag_unused_command_line_argument=yes
   10526 else $as_nop
   10527   xorg_cv_cc_flag_unused_command_line_argument=no
   10528 fi
   10529 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10530 fi
   10531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10532 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10533 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10534 	CFLAGS="$xorg_testset_save_CFLAGS"
   10535 fi
   10536 
   10537 found="no"
   10538 
   10539 	if test $found = "no" ; then
   10540 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10541 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10542 		fi
   10543 
   10544 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10545 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10546 		fi
   10547 
   10548 		CFLAGS="$CFLAGS -pedantic"
   10549 
   10550 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10551 printf %s "checking if $CC supports -pedantic... " >&6; }
   10552 		cacheid=xorg_cv_cc_flag__pedantic
   10553 		if eval test \${$cacheid+y}
   10554 then :
   10555   printf %s "(cached) " >&6
   10556 else $as_nop
   10557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10558 /* end confdefs.h.  */
   10559 int i;
   10560 int
   10561 main (void)
   10562 {
   10563 
   10564   ;
   10565   return 0;
   10566 }
   10567 _ACEOF
   10568 if ac_fn_c_try_link "$LINENO"
   10569 then :
   10570   eval $cacheid=yes
   10571 else $as_nop
   10572   eval $cacheid=no
   10573 fi
   10574 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10575     conftest$ac_exeext conftest.$ac_ext
   10576 fi
   10577 
   10578 
   10579 		CFLAGS="$xorg_testset_save_CFLAGS"
   10580 
   10581 		eval supported=\$$cacheid
   10582 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10583 printf "%s\n" "$supported" >&6; }
   10584 		if test "$supported" = "yes" ; then
   10585 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10586 			found="yes"
   10587 		fi
   10588 	fi
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 xorg_testset_save_CFLAGS="$CFLAGS"
   10605 
   10606 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10607 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10608 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10609 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10610 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10611 then :
   10612   printf %s "(cached) " >&6
   10613 else $as_nop
   10614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10615 /* end confdefs.h.  */
   10616 int i;
   10617 _ACEOF
   10618 if ac_fn_c_try_compile "$LINENO"
   10619 then :
   10620   xorg_cv_cc_flag_unknown_warning_option=yes
   10621 else $as_nop
   10622   xorg_cv_cc_flag_unknown_warning_option=no
   10623 fi
   10624 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10625 fi
   10626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10627 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10628 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10629 	CFLAGS="$xorg_testset_save_CFLAGS"
   10630 fi
   10631 
   10632 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10633 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10634 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10635 	fi
   10636 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10637 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10638 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10639 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10640 then :
   10641   printf %s "(cached) " >&6
   10642 else $as_nop
   10643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10644 /* end confdefs.h.  */
   10645 int i;
   10646 _ACEOF
   10647 if ac_fn_c_try_compile "$LINENO"
   10648 then :
   10649   xorg_cv_cc_flag_unused_command_line_argument=yes
   10650 else $as_nop
   10651   xorg_cv_cc_flag_unused_command_line_argument=no
   10652 fi
   10653 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10654 fi
   10655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10656 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10657 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10658 	CFLAGS="$xorg_testset_save_CFLAGS"
   10659 fi
   10660 
   10661 found="no"
   10662 
   10663 	if test $found = "no" ; then
   10664 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10665 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10666 		fi
   10667 
   10668 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10669 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10670 		fi
   10671 
   10672 		CFLAGS="$CFLAGS -Werror"
   10673 
   10674 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10675 printf %s "checking if $CC supports -Werror... " >&6; }
   10676 		cacheid=xorg_cv_cc_flag__Werror
   10677 		if eval test \${$cacheid+y}
   10678 then :
   10679   printf %s "(cached) " >&6
   10680 else $as_nop
   10681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10682 /* end confdefs.h.  */
   10683 int i;
   10684 int
   10685 main (void)
   10686 {
   10687 
   10688   ;
   10689   return 0;
   10690 }
   10691 _ACEOF
   10692 if ac_fn_c_try_link "$LINENO"
   10693 then :
   10694   eval $cacheid=yes
   10695 else $as_nop
   10696   eval $cacheid=no
   10697 fi
   10698 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10699     conftest$ac_exeext conftest.$ac_ext
   10700 fi
   10701 
   10702 
   10703 		CFLAGS="$xorg_testset_save_CFLAGS"
   10704 
   10705 		eval supported=\$$cacheid
   10706 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10707 printf "%s\n" "$supported" >&6; }
   10708 		if test "$supported" = "yes" ; then
   10709 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10710 			found="yes"
   10711 		fi
   10712 	fi
   10713 
   10714 	if test $found = "no" ; then
   10715 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10716 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10717 		fi
   10718 
   10719 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10720 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10721 		fi
   10722 
   10723 		CFLAGS="$CFLAGS -errwarn"
   10724 
   10725 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10726 printf %s "checking if $CC supports -errwarn... " >&6; }
   10727 		cacheid=xorg_cv_cc_flag__errwarn
   10728 		if eval test \${$cacheid+y}
   10729 then :
   10730   printf %s "(cached) " >&6
   10731 else $as_nop
   10732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10733 /* end confdefs.h.  */
   10734 int i;
   10735 int
   10736 main (void)
   10737 {
   10738 
   10739   ;
   10740   return 0;
   10741 }
   10742 _ACEOF
   10743 if ac_fn_c_try_link "$LINENO"
   10744 then :
   10745   eval $cacheid=yes
   10746 else $as_nop
   10747   eval $cacheid=no
   10748 fi
   10749 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10750     conftest$ac_exeext conftest.$ac_ext
   10751 fi
   10752 
   10753 
   10754 		CFLAGS="$xorg_testset_save_CFLAGS"
   10755 
   10756 		eval supported=\$$cacheid
   10757 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10758 printf "%s\n" "$supported" >&6; }
   10759 		if test "$supported" = "yes" ; then
   10760 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10761 			found="yes"
   10762 		fi
   10763 	fi
   10764 
   10765 
   10766 
   10767 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10768 # activate it with -Werror, so we add it here explicitly.
   10769 
   10770 
   10771 
   10772 
   10773 
   10774 
   10775 
   10776 
   10777 
   10778 
   10779 
   10780 
   10781 
   10782 xorg_testset_save_CFLAGS="$CFLAGS"
   10783 
   10784 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10785 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10786 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10787 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10788 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10789 then :
   10790   printf %s "(cached) " >&6
   10791 else $as_nop
   10792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10793 /* end confdefs.h.  */
   10794 int i;
   10795 _ACEOF
   10796 if ac_fn_c_try_compile "$LINENO"
   10797 then :
   10798   xorg_cv_cc_flag_unknown_warning_option=yes
   10799 else $as_nop
   10800   xorg_cv_cc_flag_unknown_warning_option=no
   10801 fi
   10802 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10803 fi
   10804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10805 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10806 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10807 	CFLAGS="$xorg_testset_save_CFLAGS"
   10808 fi
   10809 
   10810 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10811 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10812 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10813 	fi
   10814 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10815 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10816 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10817 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10818 then :
   10819   printf %s "(cached) " >&6
   10820 else $as_nop
   10821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10822 /* end confdefs.h.  */
   10823 int i;
   10824 _ACEOF
   10825 if ac_fn_c_try_compile "$LINENO"
   10826 then :
   10827   xorg_cv_cc_flag_unused_command_line_argument=yes
   10828 else $as_nop
   10829   xorg_cv_cc_flag_unused_command_line_argument=no
   10830 fi
   10831 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10832 fi
   10833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10834 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10835 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10836 	CFLAGS="$xorg_testset_save_CFLAGS"
   10837 fi
   10838 
   10839 found="no"
   10840 
   10841 	if test $found = "no" ; then
   10842 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10843 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10844 		fi
   10845 
   10846 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10847 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10848 		fi
   10849 
   10850 		CFLAGS="$CFLAGS -Werror=attributes"
   10851 
   10852 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10853 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   10854 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10855 		if eval test \${$cacheid+y}
   10856 then :
   10857   printf %s "(cached) " >&6
   10858 else $as_nop
   10859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10860 /* end confdefs.h.  */
   10861 int i;
   10862 int
   10863 main (void)
   10864 {
   10865 
   10866   ;
   10867   return 0;
   10868 }
   10869 _ACEOF
   10870 if ac_fn_c_try_link "$LINENO"
   10871 then :
   10872   eval $cacheid=yes
   10873 else $as_nop
   10874   eval $cacheid=no
   10875 fi
   10876 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10877     conftest$ac_exeext conftest.$ac_ext
   10878 fi
   10879 
   10880 
   10881 		CFLAGS="$xorg_testset_save_CFLAGS"
   10882 
   10883 		eval supported=\$$cacheid
   10884 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10885 printf "%s\n" "$supported" >&6; }
   10886 		if test "$supported" = "yes" ; then
   10887 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10888 			found="yes"
   10889 		fi
   10890 	fi
   10891 
   10892 
   10893 
   10894 if test "x$STRICT_COMPILE" = "xyes"; then
   10895     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10896     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10897 fi
   10898 
   10899 
   10900 
   10901 
   10902 
   10903 
   10904 cat >>confdefs.h <<_ACEOF
   10905 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10906 _ACEOF
   10907 
   10908 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10909 	if test "x$PVM" = "x"; then
   10910 		PVM="0"
   10911 	fi
   10912 
   10913 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   10914 
   10915 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10916 	if test "x$PVP" = "x"; then
   10917 		PVP="0"
   10918 	fi
   10919 
   10920 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   10921 
   10922 
   10923 
   10924 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   10925 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10926 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   10927 touch \$(top_srcdir)/ChangeLog; \
   10928 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   10929 
   10930 
   10931 
   10932 
   10933 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10934 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10935 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10936 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   10937 touch \$(top_srcdir)/INSTALL; \
   10938 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   10939 
   10940 
   10941 
   10942 
   10943 
   10944 
   10945 case $host_os in
   10946     solaris*)
   10947         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   10948         # check for a man page file found in later versions that use
   10949         # traditional section numbers instead
   10950         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   10951 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   10952 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   10953 then :
   10954   printf %s "(cached) " >&6
   10955 else $as_nop
   10956   test "$cross_compiling" = yes &&
   10957   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   10958 if test -r "/usr/share/man/man7/attributes.7"; then
   10959   ac_cv_file__usr_share_man_man7_attributes_7=yes
   10960 else
   10961   ac_cv_file__usr_share_man_man7_attributes_7=no
   10962 fi
   10963 fi
   10964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   10965 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   10966 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   10967 then :
   10968   SYSV_MAN_SECTIONS=false
   10969 else $as_nop
   10970   SYSV_MAN_SECTIONS=true
   10971 fi
   10972 
   10973         ;;
   10974     *) SYSV_MAN_SECTIONS=false ;;
   10975 esac
   10976 
   10977 if test x$APP_MAN_SUFFIX = x    ; then
   10978     APP_MAN_SUFFIX=1
   10979 fi
   10980 if test x$APP_MAN_DIR = x    ; then
   10981     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10982 fi
   10983 
   10984 if test x$LIB_MAN_SUFFIX = x    ; then
   10985     LIB_MAN_SUFFIX=3
   10986 fi
   10987 if test x$LIB_MAN_DIR = x    ; then
   10988     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10989 fi
   10990 
   10991 if test x$FILE_MAN_SUFFIX = x    ; then
   10992     case $SYSV_MAN_SECTIONS in
   10993 	true)				FILE_MAN_SUFFIX=4  ;;
   10994 	*)				FILE_MAN_SUFFIX=5  ;;
   10995     esac
   10996 fi
   10997 if test x$FILE_MAN_DIR = x    ; then
   10998     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10999 fi
   11000 
   11001 if test x$MISC_MAN_SUFFIX = x    ; then
   11002     case $SYSV_MAN_SECTIONS in
   11003 	true)				MISC_MAN_SUFFIX=5  ;;
   11004 	*)				MISC_MAN_SUFFIX=7  ;;
   11005     esac
   11006 fi
   11007 if test x$MISC_MAN_DIR = x    ; then
   11008     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11009 fi
   11010 
   11011 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11012     case $SYSV_MAN_SECTIONS in
   11013 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11014 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11015     esac
   11016 fi
   11017 if test x$DRIVER_MAN_DIR = x    ; then
   11018     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11019 fi
   11020 
   11021 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11022     case $SYSV_MAN_SECTIONS in
   11023 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11024 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11025     esac
   11026 fi
   11027 if test x$ADMIN_MAN_DIR = x    ; then
   11028     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11029 fi
   11030 
   11031 
   11032 
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 
   11044 
   11045 XORG_MAN_PAGE="X Version 11"
   11046 
   11047 MAN_SUBSTS="\
   11048 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11049 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11050 	-e 's|__xservername__|Xorg|g' \
   11051 	-e 's|__xconfigfile__|xorg.conf|g' \
   11052 	-e 's|__projectroot__|\$(prefix)|g' \
   11053 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11054 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11055 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11056 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11057 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11058 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11059 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11060 
   11061 
   11062 
   11063 # Check whether --enable-silent-rules was given.
   11064 if test ${enable_silent_rules+y}
   11065 then :
   11066   enableval=$enable_silent_rules;
   11067 fi
   11068 
   11069 case $enable_silent_rules in # (((
   11070   yes) AM_DEFAULT_VERBOSITY=0;;
   11071    no) AM_DEFAULT_VERBOSITY=1;;
   11072     *) AM_DEFAULT_VERBOSITY=0;;
   11073 esac
   11074 am_make=${MAKE-make}
   11075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11076 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11077 if test ${am_cv_make_support_nested_variables+y}
   11078 then :
   11079   printf %s "(cached) " >&6
   11080 else $as_nop
   11081   if printf "%s\n" 'TRUE=$(BAR$(V))
   11082 BAR0=false
   11083 BAR1=true
   11084 V=1
   11085 am__doit:
   11086 	@$(TRUE)
   11087 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11088   am_cv_make_support_nested_variables=yes
   11089 else
   11090   am_cv_make_support_nested_variables=no
   11091 fi
   11092 fi
   11093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11094 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11095 if test $am_cv_make_support_nested_variables = yes; then
   11096     AM_V='$(V)'
   11097   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11098 else
   11099   AM_V=$AM_DEFAULT_VERBOSITY
   11100   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11101 fi
   11102 AM_BACKSLASH='\'
   11103 
   11104 
   11105 
   11106 ac_fn_c_check_header_compile "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
   11107 if test "x$ac_cv_header_wchar_h" = xyes
   11108 then :
   11109   printf "%s\n" "#define HAVE_WCHAR_H 1" >>confdefs.h
   11110 
   11111 fi
   11112 ac_fn_c_check_header_compile "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
   11113 if test "x$ac_cv_header_wctype_h" = xyes
   11114 then :
   11115   printf "%s\n" "#define HAVE_WCTYPE_H 1" >>confdefs.h
   11116 
   11117 fi
   11118 ac_fn_c_check_header_compile "$LINENO" "langinfo.h" "ac_cv_header_langinfo_h" "$ac_includes_default"
   11119 if test "x$ac_cv_header_langinfo_h" = xyes
   11120 then :
   11121   printf "%s\n" "#define HAVE_LANGINFO_H 1" >>confdefs.h
   11122 
   11123 fi
   11124 
   11125 
   11126 # Checks for pkg-config packages
   11127 
   11128 pkg_failed=no
   11129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XPROP" >&5
   11130 printf %s "checking for XPROP... " >&6; }
   11131 
   11132 if test -n "$XPROP_CFLAGS"; then
   11133     pkg_cv_XPROP_CFLAGS="$XPROP_CFLAGS"
   11134  elif test -n "$PKG_CONFIG"; then
   11135     if test -n "$PKG_CONFIG" && \
   11136     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.25\""; } >&5
   11137   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.25") 2>&5
   11138   ac_status=$?
   11139   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11140   test $ac_status = 0; }; then
   11141   pkg_cv_XPROP_CFLAGS=`$PKG_CONFIG --cflags "x11 xproto >= 7.0.25" 2>/dev/null`
   11142 		      test "x$?" != "x0" && pkg_failed=yes
   11143 else
   11144   pkg_failed=yes
   11145 fi
   11146  else
   11147     pkg_failed=untried
   11148 fi
   11149 if test -n "$XPROP_LIBS"; then
   11150     pkg_cv_XPROP_LIBS="$XPROP_LIBS"
   11151  elif test -n "$PKG_CONFIG"; then
   11152     if test -n "$PKG_CONFIG" && \
   11153     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.25\""; } >&5
   11154   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.25") 2>&5
   11155   ac_status=$?
   11156   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11157   test $ac_status = 0; }; then
   11158   pkg_cv_XPROP_LIBS=`$PKG_CONFIG --libs "x11 xproto >= 7.0.25" 2>/dev/null`
   11159 		      test "x$?" != "x0" && pkg_failed=yes
   11160 else
   11161   pkg_failed=yes
   11162 fi
   11163  else
   11164     pkg_failed=untried
   11165 fi
   11166 
   11167 
   11168 
   11169 if test $pkg_failed = yes; then
   11170    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11171 printf "%s\n" "no" >&6; }
   11172 
   11173 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11174         _pkg_short_errors_supported=yes
   11175 else
   11176         _pkg_short_errors_supported=no
   11177 fi
   11178         if test $_pkg_short_errors_supported = yes; then
   11179 	        XPROP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xproto >= 7.0.25" 2>&1`
   11180         else
   11181 	        XPROP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xproto >= 7.0.25" 2>&1`
   11182         fi
   11183 	# Put the nasty error message in config.log where it belongs
   11184 	echo "$XPROP_PKG_ERRORS" >&5
   11185 
   11186 	as_fn_error $? "Package requirements (x11 xproto >= 7.0.25) were not met:
   11187 
   11188 $XPROP_PKG_ERRORS
   11189 
   11190 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11191 installed software in a non-standard prefix.
   11192 
   11193 Alternatively, you may set the environment variables XPROP_CFLAGS
   11194 and XPROP_LIBS to avoid the need to call pkg-config.
   11195 See the pkg-config man page for more details." "$LINENO" 5
   11196 elif test $pkg_failed = untried; then
   11197      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11198 printf "%s\n" "no" >&6; }
   11199 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11200 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   11201 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11202 is in your PATH or set the PKG_CONFIG environment variable to the full
   11203 path to pkg-config.
   11204 
   11205 Alternatively, you may set the environment variables XPROP_CFLAGS
   11206 and XPROP_LIBS to avoid the need to call pkg-config.
   11207 See the pkg-config man page for more details.
   11208 
   11209 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11210 See \`config.log' for more details" "$LINENO" 5; }
   11211 else
   11212 	XPROP_CFLAGS=$pkg_cv_XPROP_CFLAGS
   11213 	XPROP_LIBS=$pkg_cv_XPROP_LIBS
   11214         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11215 printf "%s\n" "yes" >&6; }
   11216 
   11217 fi
   11218 
   11219 
   11220 
   11221 
   11222 
   11223 
   11224 # Check whether --with-lint was given.
   11225 if test ${with_lint+y}
   11226 then :
   11227   withval=$with_lint; use_lint=$withval
   11228 else $as_nop
   11229   use_lint=no
   11230 fi
   11231 
   11232 
   11233 # Obtain platform specific info like program name and options
   11234 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   11235 case $host_os in
   11236   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   11237 	lint_name=splint
   11238 	lint_options="-badflag"
   11239 	;;
   11240   *freebsd* | *netbsd*)
   11241 	lint_name=lint
   11242 	lint_options="-u -b"
   11243 	;;
   11244   *solaris*)
   11245 	lint_name=lint
   11246 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   11247 	;;
   11248 esac
   11249 
   11250 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   11251 if test "x$use_lint" = x"yes" ; then
   11252    # Extract the first word of "$lint_name", so it can be a program name with args.
   11253 set dummy $lint_name; ac_word=$2
   11254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11255 printf %s "checking for $ac_word... " >&6; }
   11256 if test ${ac_cv_path_LINT+y}
   11257 then :
   11258   printf %s "(cached) " >&6
   11259 else $as_nop
   11260   case $LINT in
   11261   [\\/]* | ?:[\\/]*)
   11262   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   11263   ;;
   11264   *)
   11265   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11266 for as_dir in $PATH
   11267 do
   11268   IFS=$as_save_IFS
   11269   case $as_dir in #(((
   11270     '') as_dir=./ ;;
   11271     */) ;;
   11272     *) as_dir=$as_dir/ ;;
   11273   esac
   11274     for ac_exec_ext in '' $ac_executable_extensions; do
   11275   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11276     ac_cv_path_LINT="$as_dir$ac_word$ac_exec_ext"
   11277     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11278     break 2
   11279   fi
   11280 done
   11281   done
   11282 IFS=$as_save_IFS
   11283 
   11284   ;;
   11285 esac
   11286 fi
   11287 LINT=$ac_cv_path_LINT
   11288 if test -n "$LINT"; then
   11289   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   11290 printf "%s\n" "$LINT" >&6; }
   11291 else
   11292   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11293 printf "%s\n" "no" >&6; }
   11294 fi
   11295 
   11296 
   11297    if test "x$LINT" = "x"; then
   11298         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   11299    fi
   11300 elif test "x$use_lint" = x"no" ; then
   11301    if test "x$LINT" != "x"; then
   11302       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   11303 printf "%s\n" "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   11304    fi
   11305 else
   11306    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   11307 fi
   11308 
   11309 # User supplied flags override default flags
   11310 if test "x$LINT_FLAGS" != "x"; then
   11311    lint_options=$LINT_FLAGS
   11312 fi
   11313 
   11314 LINT_FLAGS=$lint_options
   11315 
   11316  if test "x$LINT" != x; then
   11317   LINT_TRUE=
   11318   LINT_FALSE='#'
   11319 else
   11320   LINT_TRUE='#'
   11321   LINT_FALSE=
   11322 fi
   11323 
   11324 
   11325 
   11326 
   11327 ac_config_files="$ac_config_files Makefile man/Makefile"
   11328 
   11329 cat >confcache <<\_ACEOF
   11330 # This file is a shell script that caches the results of configure
   11331 # tests run on this system so they can be shared between configure
   11332 # scripts and configure runs, see configure's option --config-cache.
   11333 # It is not useful on other systems.  If it contains results you don't
   11334 # want to keep, you may remove or edit it.
   11335 #
   11336 # config.status only pays attention to the cache file if you give it
   11337 # the --recheck option to rerun configure.
   11338 #
   11339 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11340 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11341 # following values.
   11342 
   11343 _ACEOF
   11344 
   11345 # The following way of writing the cache mishandles newlines in values,
   11346 # but we know of no workaround that is simple, portable, and efficient.
   11347 # So, we kill variables containing newlines.
   11348 # Ultrix sh set writes to stderr and can't be redirected directly,
   11349 # and sets the high bit in the cache file unless we assign to the vars.
   11350 (
   11351   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11352     eval ac_val=\$$ac_var
   11353     case $ac_val in #(
   11354     *${as_nl}*)
   11355       case $ac_var in #(
   11356       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11357 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11358       esac
   11359       case $ac_var in #(
   11360       _ | IFS | as_nl) ;; #(
   11361       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11362       *) { eval $ac_var=; unset $ac_var;} ;;
   11363       esac ;;
   11364     esac
   11365   done
   11366 
   11367   (set) 2>&1 |
   11368     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11369     *${as_nl}ac_space=\ *)
   11370       # `set' does not quote correctly, so add quotes: double-quote
   11371       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11372       sed -n \
   11373 	"s/'/'\\\\''/g;
   11374 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11375       ;; #(
   11376     *)
   11377       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11378       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11379       ;;
   11380     esac |
   11381     sort
   11382 ) |
   11383   sed '
   11384      /^ac_cv_env_/b end
   11385      t clear
   11386      :clear
   11387      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11388      t end
   11389      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11390      :end' >>confcache
   11391 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11392   if test -w "$cache_file"; then
   11393     if test "x$cache_file" != "x/dev/null"; then
   11394       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11395 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11396       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11397 	cat confcache >"$cache_file"
   11398       else
   11399         case $cache_file in #(
   11400         */* | ?:*)
   11401 	  mv -f confcache "$cache_file"$$ &&
   11402 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11403         *)
   11404 	  mv -f confcache "$cache_file" ;;
   11405 	esac
   11406       fi
   11407     fi
   11408   else
   11409     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11410 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11411   fi
   11412 fi
   11413 rm -f confcache
   11414 
   11415 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11416 # Let make expand exec_prefix.
   11417 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11418 
   11419 DEFS=-DHAVE_CONFIG_H
   11420 
   11421 ac_libobjs=
   11422 ac_ltlibobjs=
   11423 U=
   11424 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11425   # 1. Remove the extension, and $U if already installed.
   11426   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11427   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   11428   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11429   #    will be set to the directory where LIBOBJS objects are built.
   11430   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11431   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11432 done
   11433 LIBOBJS=$ac_libobjs
   11434 
   11435 LTLIBOBJS=$ac_ltlibobjs
   11436 
   11437 
   11438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11439 printf %s "checking that generated files are newer than configure... " >&6; }
   11440    if test -n "$am_sleep_pid"; then
   11441      # Hide warnings about reused PIDs.
   11442      wait $am_sleep_pid 2>/dev/null
   11443    fi
   11444    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11445 printf "%s\n" "done" >&6; }
   11446  if test -n "$EXEEXT"; then
   11447   am__EXEEXT_TRUE=
   11448   am__EXEEXT_FALSE='#'
   11449 else
   11450   am__EXEEXT_TRUE='#'
   11451   am__EXEEXT_FALSE=
   11452 fi
   11453 
   11454 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11455   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11457 fi
   11458 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11459   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11461 fi
   11462 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   11463   as_fn_error $? "conditional \"LINT\" was never defined.
   11464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11465 fi
   11466 
   11467 : "${CONFIG_STATUS=./config.status}"
   11468 ac_write_fail=0
   11469 ac_clean_files_save=$ac_clean_files
   11470 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11472 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   11473 as_write_fail=0
   11474 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11475 #! $SHELL
   11476 # Generated by $as_me.
   11477 # Run this file to recreate the current configuration.
   11478 # Compiler output produced by configure, useful for debugging
   11479 # configure, is in config.log if it exists.
   11480 
   11481 debug=false
   11482 ac_cs_recheck=false
   11483 ac_cs_silent=false
   11484 
   11485 SHELL=\${CONFIG_SHELL-$SHELL}
   11486 export SHELL
   11487 _ASEOF
   11488 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11489 ## -------------------- ##
   11490 ## M4sh Initialization. ##
   11491 ## -------------------- ##
   11492 
   11493 # Be more Bourne compatible
   11494 DUALCASE=1; export DUALCASE # for MKS sh
   11495 as_nop=:
   11496 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   11497 then :
   11498   emulate sh
   11499   NULLCMD=:
   11500   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11501   # is contrary to our usage.  Disable this feature.
   11502   alias -g '${1+"$@"}'='"$@"'
   11503   setopt NO_GLOB_SUBST
   11504 else $as_nop
   11505   case `(set -o) 2>/dev/null` in #(
   11506   *posix*) :
   11507     set -o posix ;; #(
   11508   *) :
   11509      ;;
   11510 esac
   11511 fi
   11512 
   11513 
   11514 
   11515 # Reset variables that may have inherited troublesome values from
   11516 # the environment.
   11517 
   11518 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   11519 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   11520 # side effect of setting IFS to empty, thus disabling word splitting.)
   11521 # Quoting is to prevent editors from complaining about space-tab.
   11522 as_nl='
   11523 '
   11524 export as_nl
   11525 IFS=" ""	$as_nl"
   11526 
   11527 PS1='$ '
   11528 PS2='> '
   11529 PS4='+ '
   11530 
   11531 # Ensure predictable behavior from utilities with locale-dependent output.
   11532 LC_ALL=C
   11533 export LC_ALL
   11534 LANGUAGE=C
   11535 export LANGUAGE
   11536 
   11537 # We cannot yet rely on "unset" to work, but we need these variables
   11538 # to be unset--not just set to an empty or harmless value--now, to
   11539 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   11540 # also avoids known problems related to "unset" and subshell syntax
   11541 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   11542 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   11543 do eval test \${$as_var+y} \
   11544   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11545 done
   11546 
   11547 # Ensure that fds 0, 1, and 2 are open.
   11548 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   11549 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   11550 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   11551 
   11552 # The user is always right.
   11553 if ${PATH_SEPARATOR+false} :; then
   11554   PATH_SEPARATOR=:
   11555   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11556     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11557       PATH_SEPARATOR=';'
   11558   }
   11559 fi
   11560 
   11561 
   11562 # Find who we are.  Look in the path if we contain no directory separator.
   11563 as_myself=
   11564 case $0 in #((
   11565   *[\\/]* ) as_myself=$0 ;;
   11566   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11567 for as_dir in $PATH
   11568 do
   11569   IFS=$as_save_IFS
   11570   case $as_dir in #(((
   11571     '') as_dir=./ ;;
   11572     */) ;;
   11573     *) as_dir=$as_dir/ ;;
   11574   esac
   11575     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   11576   done
   11577 IFS=$as_save_IFS
   11578 
   11579      ;;
   11580 esac
   11581 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11582 # in which case we are not to be found in the path.
   11583 if test "x$as_myself" = x; then
   11584   as_myself=$0
   11585 fi
   11586 if test ! -f "$as_myself"; then
   11587   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11588   exit 1
   11589 fi
   11590 
   11591 
   11592 
   11593 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11594 # ----------------------------------------
   11595 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11596 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11597 # script with STATUS, using 1 if that was 0.
   11598 as_fn_error ()
   11599 {
   11600   as_status=$1; test $as_status -eq 0 && as_status=1
   11601   if test "$4"; then
   11602     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11603     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11604   fi
   11605   printf "%s\n" "$as_me: error: $2" >&2
   11606   as_fn_exit $as_status
   11607 } # as_fn_error
   11608 
   11609 
   11610 
   11611 # as_fn_set_status STATUS
   11612 # -----------------------
   11613 # Set $? to STATUS, without forking.
   11614 as_fn_set_status ()
   11615 {
   11616   return $1
   11617 } # as_fn_set_status
   11618 
   11619 # as_fn_exit STATUS
   11620 # -----------------
   11621 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11622 as_fn_exit ()
   11623 {
   11624   set +e
   11625   as_fn_set_status $1
   11626   exit $1
   11627 } # as_fn_exit
   11628 
   11629 # as_fn_unset VAR
   11630 # ---------------
   11631 # Portably unset VAR.
   11632 as_fn_unset ()
   11633 {
   11634   { eval $1=; unset $1;}
   11635 }
   11636 as_unset=as_fn_unset
   11637 
   11638 # as_fn_append VAR VALUE
   11639 # ----------------------
   11640 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11641 # advantage of any shell optimizations that allow amortized linear growth over
   11642 # repeated appends, instead of the typical quadratic growth present in naive
   11643 # implementations.
   11644 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   11645 then :
   11646   eval 'as_fn_append ()
   11647   {
   11648     eval $1+=\$2
   11649   }'
   11650 else $as_nop
   11651   as_fn_append ()
   11652   {
   11653     eval $1=\$$1\$2
   11654   }
   11655 fi # as_fn_append
   11656 
   11657 # as_fn_arith ARG...
   11658 # ------------------
   11659 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11660 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11661 # must be portable across $(()) and expr.
   11662 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   11663 then :
   11664   eval 'as_fn_arith ()
   11665   {
   11666     as_val=$(( $* ))
   11667   }'
   11668 else $as_nop
   11669   as_fn_arith ()
   11670   {
   11671     as_val=`expr "$@" || test $? -eq 1`
   11672   }
   11673 fi # as_fn_arith
   11674 
   11675 
   11676 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11677    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11678   as_expr=expr
   11679 else
   11680   as_expr=false
   11681 fi
   11682 
   11683 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11684   as_basename=basename
   11685 else
   11686   as_basename=false
   11687 fi
   11688 
   11689 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11690   as_dirname=dirname
   11691 else
   11692   as_dirname=false
   11693 fi
   11694 
   11695 as_me=`$as_basename -- "$0" ||
   11696 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11697 	 X"$0" : 'X\(//\)$' \| \
   11698 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11699 printf "%s\n" X/"$0" |
   11700     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11701 	    s//\1/
   11702 	    q
   11703 	  }
   11704 	  /^X\/\(\/\/\)$/{
   11705 	    s//\1/
   11706 	    q
   11707 	  }
   11708 	  /^X\/\(\/\).*/{
   11709 	    s//\1/
   11710 	    q
   11711 	  }
   11712 	  s/.*/./; q'`
   11713 
   11714 # Avoid depending upon Character Ranges.
   11715 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11716 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11717 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11718 as_cr_digits='0123456789'
   11719 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11720 
   11721 
   11722 # Determine whether it's possible to make 'echo' print without a newline.
   11723 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   11724 # for compatibility with existing Makefiles.
   11725 ECHO_C= ECHO_N= ECHO_T=
   11726 case `echo -n x` in #(((((
   11727 -n*)
   11728   case `echo 'xy\c'` in
   11729   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11730   xy)  ECHO_C='\c';;
   11731   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11732        ECHO_T='	';;
   11733   esac;;
   11734 *)
   11735   ECHO_N='-n';;
   11736 esac
   11737 
   11738 # For backward compatibility with old third-party macros, we provide
   11739 # the shell variables $as_echo and $as_echo_n.  New code should use
   11740 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   11741 as_echo='printf %s\n'
   11742 as_echo_n='printf %s'
   11743 
   11744 rm -f conf$$ conf$$.exe conf$$.file
   11745 if test -d conf$$.dir; then
   11746   rm -f conf$$.dir/conf$$.file
   11747 else
   11748   rm -f conf$$.dir
   11749   mkdir conf$$.dir 2>/dev/null
   11750 fi
   11751 if (echo >conf$$.file) 2>/dev/null; then
   11752   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11753     as_ln_s='ln -s'
   11754     # ... but there are two gotchas:
   11755     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11756     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11757     # In both cases, we have to default to `cp -pR'.
   11758     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11759       as_ln_s='cp -pR'
   11760   elif ln conf$$.file conf$$ 2>/dev/null; then
   11761     as_ln_s=ln
   11762   else
   11763     as_ln_s='cp -pR'
   11764   fi
   11765 else
   11766   as_ln_s='cp -pR'
   11767 fi
   11768 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11769 rmdir conf$$.dir 2>/dev/null
   11770 
   11771 
   11772 # as_fn_mkdir_p
   11773 # -------------
   11774 # Create "$as_dir" as a directory, including parents if necessary.
   11775 as_fn_mkdir_p ()
   11776 {
   11777 
   11778   case $as_dir in #(
   11779   -*) as_dir=./$as_dir;;
   11780   esac
   11781   test -d "$as_dir" || eval $as_mkdir_p || {
   11782     as_dirs=
   11783     while :; do
   11784       case $as_dir in #(
   11785       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11786       *) as_qdir=$as_dir;;
   11787       esac
   11788       as_dirs="'$as_qdir' $as_dirs"
   11789       as_dir=`$as_dirname -- "$as_dir" ||
   11790 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11791 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11792 	 X"$as_dir" : 'X\(//\)$' \| \
   11793 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11794 printf "%s\n" X"$as_dir" |
   11795     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11796 	    s//\1/
   11797 	    q
   11798 	  }
   11799 	  /^X\(\/\/\)[^/].*/{
   11800 	    s//\1/
   11801 	    q
   11802 	  }
   11803 	  /^X\(\/\/\)$/{
   11804 	    s//\1/
   11805 	    q
   11806 	  }
   11807 	  /^X\(\/\).*/{
   11808 	    s//\1/
   11809 	    q
   11810 	  }
   11811 	  s/.*/./; q'`
   11812       test -d "$as_dir" && break
   11813     done
   11814     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11815   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11816 
   11817 
   11818 } # as_fn_mkdir_p
   11819 if mkdir -p . 2>/dev/null; then
   11820   as_mkdir_p='mkdir -p "$as_dir"'
   11821 else
   11822   test -d ./-p && rmdir ./-p
   11823   as_mkdir_p=false
   11824 fi
   11825 
   11826 
   11827 # as_fn_executable_p FILE
   11828 # -----------------------
   11829 # Test if FILE is an executable regular file.
   11830 as_fn_executable_p ()
   11831 {
   11832   test -f "$1" && test -x "$1"
   11833 } # as_fn_executable_p
   11834 as_test_x='test -x'
   11835 as_executable_p=as_fn_executable_p
   11836 
   11837 # Sed expression to map a string onto a valid CPP name.
   11838 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11839 
   11840 # Sed expression to map a string onto a valid variable name.
   11841 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11842 
   11843 
   11844 exec 6>&1
   11845 ## ----------------------------------- ##
   11846 ## Main body of $CONFIG_STATUS script. ##
   11847 ## ----------------------------------- ##
   11848 _ASEOF
   11849 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11850 
   11851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11852 # Save the log message, to keep $0 and so on meaningful, and to
   11853 # report actual input values of CONFIG_FILES etc. instead of their
   11854 # values after options handling.
   11855 ac_log="
   11856 This file was extended by xprop $as_me 1.2.6, which was
   11857 generated by GNU Autoconf 2.71.  Invocation command line was
   11858 
   11859   CONFIG_FILES    = $CONFIG_FILES
   11860   CONFIG_HEADERS  = $CONFIG_HEADERS
   11861   CONFIG_LINKS    = $CONFIG_LINKS
   11862   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11863   $ $0 $@
   11864 
   11865 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11866 "
   11867 
   11868 _ACEOF
   11869 
   11870 case $ac_config_files in *"
   11871 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11872 esac
   11873 
   11874 case $ac_config_headers in *"
   11875 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11876 esac
   11877 
   11878 
   11879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11880 # Files that config.status was made for.
   11881 config_files="$ac_config_files"
   11882 config_headers="$ac_config_headers"
   11883 config_commands="$ac_config_commands"
   11884 
   11885 _ACEOF
   11886 
   11887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11888 ac_cs_usage="\
   11889 \`$as_me' instantiates files and other configuration actions
   11890 from templates according to the current configuration.  Unless the files
   11891 and actions are specified as TAGs, all are instantiated by default.
   11892 
   11893 Usage: $0 [OPTION]... [TAG]...
   11894 
   11895   -h, --help       print this help, then exit
   11896   -V, --version    print version number and configuration settings, then exit
   11897       --config     print configuration, then exit
   11898   -q, --quiet, --silent
   11899                    do not print progress messages
   11900   -d, --debug      don't remove temporary files
   11901       --recheck    update $as_me by reconfiguring in the same conditions
   11902       --file=FILE[:TEMPLATE]
   11903                    instantiate the configuration file FILE
   11904       --header=FILE[:TEMPLATE]
   11905                    instantiate the configuration header FILE
   11906 
   11907 Configuration files:
   11908 $config_files
   11909 
   11910 Configuration headers:
   11911 $config_headers
   11912 
   11913 Configuration commands:
   11914 $config_commands
   11915 
   11916 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xprop/-/issues>."
   11917 
   11918 _ACEOF
   11919 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   11920 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   11921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11922 ac_cs_config='$ac_cs_config_escaped'
   11923 ac_cs_version="\\
   11924 xprop config.status 1.2.6
   11925 configured by $0, generated by GNU Autoconf 2.71,
   11926   with options \\"\$ac_cs_config\\"
   11927 
   11928 Copyright (C) 2021 Free Software Foundation, Inc.
   11929 This config.status script is free software; the Free Software Foundation
   11930 gives unlimited permission to copy, distribute and modify it."
   11931 
   11932 ac_pwd='$ac_pwd'
   11933 srcdir='$srcdir'
   11934 INSTALL='$INSTALL'
   11935 MKDIR_P='$MKDIR_P'
   11936 AWK='$AWK'
   11937 test -n "\$AWK" || AWK=awk
   11938 _ACEOF
   11939 
   11940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11941 # The default lists apply if the user does not specify any file.
   11942 ac_need_defaults=:
   11943 while test $# != 0
   11944 do
   11945   case $1 in
   11946   --*=?*)
   11947     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11948     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11949     ac_shift=:
   11950     ;;
   11951   --*=)
   11952     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11953     ac_optarg=
   11954     ac_shift=:
   11955     ;;
   11956   *)
   11957     ac_option=$1
   11958     ac_optarg=$2
   11959     ac_shift=shift
   11960     ;;
   11961   esac
   11962 
   11963   case $ac_option in
   11964   # Handling of the options.
   11965   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11966     ac_cs_recheck=: ;;
   11967   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11968     printf "%s\n" "$ac_cs_version"; exit ;;
   11969   --config | --confi | --conf | --con | --co | --c )
   11970     printf "%s\n" "$ac_cs_config"; exit ;;
   11971   --debug | --debu | --deb | --de | --d | -d )
   11972     debug=: ;;
   11973   --file | --fil | --fi | --f )
   11974     $ac_shift
   11975     case $ac_optarg in
   11976     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11977     '') as_fn_error $? "missing file argument" ;;
   11978     esac
   11979     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11980     ac_need_defaults=false;;
   11981   --header | --heade | --head | --hea )
   11982     $ac_shift
   11983     case $ac_optarg in
   11984     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11985     esac
   11986     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11987     ac_need_defaults=false;;
   11988   --he | --h)
   11989     # Conflict between --help and --header
   11990     as_fn_error $? "ambiguous option: \`$1'
   11991 Try \`$0 --help' for more information.";;
   11992   --help | --hel | -h )
   11993     printf "%s\n" "$ac_cs_usage"; exit ;;
   11994   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11995   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11996     ac_cs_silent=: ;;
   11997 
   11998   # This is an error.
   11999   -*) as_fn_error $? "unrecognized option: \`$1'
   12000 Try \`$0 --help' for more information." ;;
   12001 
   12002   *) as_fn_append ac_config_targets " $1"
   12003      ac_need_defaults=false ;;
   12004 
   12005   esac
   12006   shift
   12007 done
   12008 
   12009 ac_configure_extra_args=
   12010 
   12011 if $ac_cs_silent; then
   12012   exec 6>/dev/null
   12013   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12014 fi
   12015 
   12016 _ACEOF
   12017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12018 if \$ac_cs_recheck; then
   12019   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12020   shift
   12021   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12022   CONFIG_SHELL='$SHELL'
   12023   export CONFIG_SHELL
   12024   exec "\$@"
   12025 fi
   12026 
   12027 _ACEOF
   12028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12029 exec 5>>config.log
   12030 {
   12031   echo
   12032   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12033 ## Running $as_me. ##
   12034 _ASBOX
   12035   printf "%s\n" "$ac_log"
   12036 } >&5
   12037 
   12038 _ACEOF
   12039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12040 #
   12041 # INIT-COMMANDS
   12042 #
   12043 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12044 
   12045 _ACEOF
   12046 
   12047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12048 
   12049 # Handling of arguments.
   12050 for ac_config_target in $ac_config_targets
   12051 do
   12052   case $ac_config_target in
   12053     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12054     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12055     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12056     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12057 
   12058   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12059   esac
   12060 done
   12061 
   12062 
   12063 # If the user did not use the arguments to specify the items to instantiate,
   12064 # then the envvar interface is used.  Set only those that are not.
   12065 # We use the long form for the default assignment because of an extremely
   12066 # bizarre bug on SunOS 4.1.3.
   12067 if $ac_need_defaults; then
   12068   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12069   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12070   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12071 fi
   12072 
   12073 # Have a temporary directory for convenience.  Make it in the build tree
   12074 # simply because there is no reason against having it here, and in addition,
   12075 # creating and moving files from /tmp can sometimes cause problems.
   12076 # Hook for its removal unless debugging.
   12077 # Note that there is a small window in which the directory will not be cleaned:
   12078 # after its creation but before its name has been assigned to `$tmp'.
   12079 $debug ||
   12080 {
   12081   tmp= ac_tmp=
   12082   trap 'exit_status=$?
   12083   : "${ac_tmp:=$tmp}"
   12084   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12085 ' 0
   12086   trap 'as_fn_exit 1' 1 2 13 15
   12087 }
   12088 # Create a (secure) tmp directory for tmp files.
   12089 
   12090 {
   12091   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12092   test -d "$tmp"
   12093 }  ||
   12094 {
   12095   tmp=./conf$$-$RANDOM
   12096   (umask 077 && mkdir "$tmp")
   12097 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12098 ac_tmp=$tmp
   12099 
   12100 # Set up the scripts for CONFIG_FILES section.
   12101 # No need to generate them if there are no CONFIG_FILES.
   12102 # This happens for instance with `./config.status config.h'.
   12103 if test -n "$CONFIG_FILES"; then
   12104 
   12105 
   12106 ac_cr=`echo X | tr X '\015'`
   12107 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12108 # But we know of no other shell where ac_cr would be empty at this
   12109 # point, so we can use a bashism as a fallback.
   12110 if test "x$ac_cr" = x; then
   12111   eval ac_cr=\$\'\\r\'
   12112 fi
   12113 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12114 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12115   ac_cs_awk_cr='\\r'
   12116 else
   12117   ac_cs_awk_cr=$ac_cr
   12118 fi
   12119 
   12120 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12121 _ACEOF
   12122 
   12123 
   12124 {
   12125   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12126   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12127   echo "_ACEOF"
   12128 } >conf$$subs.sh ||
   12129   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12130 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12131 ac_delim='%!_!# '
   12132 for ac_last_try in false false false false false :; do
   12133   . ./conf$$subs.sh ||
   12134     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12135 
   12136   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12137   if test $ac_delim_n = $ac_delim_num; then
   12138     break
   12139   elif $ac_last_try; then
   12140     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12141   else
   12142     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12143   fi
   12144 done
   12145 rm -f conf$$subs.sh
   12146 
   12147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12148 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12149 _ACEOF
   12150 sed -n '
   12151 h
   12152 s/^/S["/; s/!.*/"]=/
   12153 p
   12154 g
   12155 s/^[^!]*!//
   12156 :repl
   12157 t repl
   12158 s/'"$ac_delim"'$//
   12159 t delim
   12160 :nl
   12161 h
   12162 s/\(.\{148\}\)..*/\1/
   12163 t more1
   12164 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12165 p
   12166 n
   12167 b repl
   12168 :more1
   12169 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12170 p
   12171 g
   12172 s/.\{148\}//
   12173 t nl
   12174 :delim
   12175 h
   12176 s/\(.\{148\}\)..*/\1/
   12177 t more2
   12178 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12179 p
   12180 b
   12181 :more2
   12182 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12183 p
   12184 g
   12185 s/.\{148\}//
   12186 t delim
   12187 ' <conf$$subs.awk | sed '
   12188 /^[^""]/{
   12189   N
   12190   s/\n//
   12191 }
   12192 ' >>$CONFIG_STATUS || ac_write_fail=1
   12193 rm -f conf$$subs.awk
   12194 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12195 _ACAWK
   12196 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12197   for (key in S) S_is_set[key] = 1
   12198   FS = ""
   12199 
   12200 }
   12201 {
   12202   line = $ 0
   12203   nfields = split(line, field, "@")
   12204   substed = 0
   12205   len = length(field[1])
   12206   for (i = 2; i < nfields; i++) {
   12207     key = field[i]
   12208     keylen = length(key)
   12209     if (S_is_set[key]) {
   12210       value = S[key]
   12211       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12212       len += length(value) + length(field[++i])
   12213       substed = 1
   12214     } else
   12215       len += 1 + keylen
   12216   }
   12217 
   12218   print line
   12219 }
   12220 
   12221 _ACAWK
   12222 _ACEOF
   12223 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12224 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12225   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12226 else
   12227   cat
   12228 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12229   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12230 _ACEOF
   12231 
   12232 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12233 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12234 # trailing colons and then remove the whole line if VPATH becomes empty
   12235 # (actually we leave an empty line to preserve line numbers).
   12236 if test "x$srcdir" = x.; then
   12237   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12238 h
   12239 s///
   12240 s/^/:/
   12241 s/[	 ]*$/:/
   12242 s/:\$(srcdir):/:/g
   12243 s/:\${srcdir}:/:/g
   12244 s/:@srcdir@:/:/g
   12245 s/^:*//
   12246 s/:*$//
   12247 x
   12248 s/\(=[	 ]*\).*/\1/
   12249 G
   12250 s/\n//
   12251 s/^[^=]*=[	 ]*$//
   12252 }'
   12253 fi
   12254 
   12255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12256 fi # test -n "$CONFIG_FILES"
   12257 
   12258 # Set up the scripts for CONFIG_HEADERS section.
   12259 # No need to generate them if there are no CONFIG_HEADERS.
   12260 # This happens for instance with `./config.status Makefile'.
   12261 if test -n "$CONFIG_HEADERS"; then
   12262 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12263 BEGIN {
   12264 _ACEOF
   12265 
   12266 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12267 # here-document in config.status, that substitutes the proper values into
   12268 # config.h.in to produce config.h.
   12269 
   12270 # Create a delimiter string that does not exist in confdefs.h, to ease
   12271 # handling of long lines.
   12272 ac_delim='%!_!# '
   12273 for ac_last_try in false false :; do
   12274   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12275   if test -z "$ac_tt"; then
   12276     break
   12277   elif $ac_last_try; then
   12278     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12279   else
   12280     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12281   fi
   12282 done
   12283 
   12284 # For the awk script, D is an array of macro values keyed by name,
   12285 # likewise P contains macro parameters if any.  Preserve backslash
   12286 # newline sequences.
   12287 
   12288 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12289 sed -n '
   12290 s/.\{148\}/&'"$ac_delim"'/g
   12291 t rset
   12292 :rset
   12293 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12294 t def
   12295 d
   12296 :def
   12297 s/\\$//
   12298 t bsnl
   12299 s/["\\]/\\&/g
   12300 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12301 D["\1"]=" \3"/p
   12302 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12303 d
   12304 :bsnl
   12305 s/["\\]/\\&/g
   12306 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12307 D["\1"]=" \3\\\\\\n"\\/p
   12308 t cont
   12309 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12310 t cont
   12311 d
   12312 :cont
   12313 n
   12314 s/.\{148\}/&'"$ac_delim"'/g
   12315 t clear
   12316 :clear
   12317 s/\\$//
   12318 t bsnlc
   12319 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12320 d
   12321 :bsnlc
   12322 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12323 b cont
   12324 ' <confdefs.h | sed '
   12325 s/'"$ac_delim"'/"\\\
   12326 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12327 
   12328 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12329   for (key in D) D_is_set[key] = 1
   12330   FS = ""
   12331 }
   12332 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12333   line = \$ 0
   12334   split(line, arg, " ")
   12335   if (arg[1] == "#") {
   12336     defundef = arg[2]
   12337     mac1 = arg[3]
   12338   } else {
   12339     defundef = substr(arg[1], 2)
   12340     mac1 = arg[2]
   12341   }
   12342   split(mac1, mac2, "(") #)
   12343   macro = mac2[1]
   12344   prefix = substr(line, 1, index(line, defundef) - 1)
   12345   if (D_is_set[macro]) {
   12346     # Preserve the white space surrounding the "#".
   12347     print prefix "define", macro P[macro] D[macro]
   12348     next
   12349   } else {
   12350     # Replace #undef with comments.  This is necessary, for example,
   12351     # in the case of _POSIX_SOURCE, which is predefined and required
   12352     # on some systems where configure will not decide to define it.
   12353     if (defundef == "undef") {
   12354       print "/*", prefix defundef, macro, "*/"
   12355       next
   12356     }
   12357   }
   12358 }
   12359 { print }
   12360 _ACAWK
   12361 _ACEOF
   12362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12363   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12364 fi # test -n "$CONFIG_HEADERS"
   12365 
   12366 
   12367 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12368 shift
   12369 for ac_tag
   12370 do
   12371   case $ac_tag in
   12372   :[FHLC]) ac_mode=$ac_tag; continue;;
   12373   esac
   12374   case $ac_mode$ac_tag in
   12375   :[FHL]*:*);;
   12376   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12377   :[FH]-) ac_tag=-:-;;
   12378   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12379   esac
   12380   ac_save_IFS=$IFS
   12381   IFS=:
   12382   set x $ac_tag
   12383   IFS=$ac_save_IFS
   12384   shift
   12385   ac_file=$1
   12386   shift
   12387 
   12388   case $ac_mode in
   12389   :L) ac_source=$1;;
   12390   :[FH])
   12391     ac_file_inputs=
   12392     for ac_f
   12393     do
   12394       case $ac_f in
   12395       -) ac_f="$ac_tmp/stdin";;
   12396       *) # Look for the file first in the build tree, then in the source tree
   12397 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12398 	 # because $ac_f cannot contain `:'.
   12399 	 test -f "$ac_f" ||
   12400 	   case $ac_f in
   12401 	   [\\/$]*) false;;
   12402 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12403 	   esac ||
   12404 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12405       esac
   12406       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12407       as_fn_append ac_file_inputs " '$ac_f'"
   12408     done
   12409 
   12410     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12411     # use $as_me), people would be surprised to read:
   12412     #    /* config.h.  Generated by config.status.  */
   12413     configure_input='Generated from '`
   12414 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12415 	`' by configure.'
   12416     if test x"$ac_file" != x-; then
   12417       configure_input="$ac_file.  $configure_input"
   12418       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12419 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   12420     fi
   12421     # Neutralize special characters interpreted by sed in replacement strings.
   12422     case $configure_input in #(
   12423     *\&* | *\|* | *\\* )
   12424        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   12425        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12426     *) ac_sed_conf_input=$configure_input;;
   12427     esac
   12428 
   12429     case $ac_tag in
   12430     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12431       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12432     esac
   12433     ;;
   12434   esac
   12435 
   12436   ac_dir=`$as_dirname -- "$ac_file" ||
   12437 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12438 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12439 	 X"$ac_file" : 'X\(//\)$' \| \
   12440 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12441 printf "%s\n" X"$ac_file" |
   12442     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12443 	    s//\1/
   12444 	    q
   12445 	  }
   12446 	  /^X\(\/\/\)[^/].*/{
   12447 	    s//\1/
   12448 	    q
   12449 	  }
   12450 	  /^X\(\/\/\)$/{
   12451 	    s//\1/
   12452 	    q
   12453 	  }
   12454 	  /^X\(\/\).*/{
   12455 	    s//\1/
   12456 	    q
   12457 	  }
   12458 	  s/.*/./; q'`
   12459   as_dir="$ac_dir"; as_fn_mkdir_p
   12460   ac_builddir=.
   12461 
   12462 case "$ac_dir" in
   12463 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12464 *)
   12465   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   12466   # A ".." for each directory in $ac_dir_suffix.
   12467   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12468   case $ac_top_builddir_sub in
   12469   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12470   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12471   esac ;;
   12472 esac
   12473 ac_abs_top_builddir=$ac_pwd
   12474 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12475 # for backward compatibility:
   12476 ac_top_builddir=$ac_top_build_prefix
   12477 
   12478 case $srcdir in
   12479   .)  # We are building in place.
   12480     ac_srcdir=.
   12481     ac_top_srcdir=$ac_top_builddir_sub
   12482     ac_abs_top_srcdir=$ac_pwd ;;
   12483   [\\/]* | ?:[\\/]* )  # Absolute name.
   12484     ac_srcdir=$srcdir$ac_dir_suffix;
   12485     ac_top_srcdir=$srcdir
   12486     ac_abs_top_srcdir=$srcdir ;;
   12487   *) # Relative name.
   12488     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12489     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12490     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12491 esac
   12492 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12493 
   12494 
   12495   case $ac_mode in
   12496   :F)
   12497   #
   12498   # CONFIG_FILE
   12499   #
   12500 
   12501   case $INSTALL in
   12502   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12503   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12504   esac
   12505   ac_MKDIR_P=$MKDIR_P
   12506   case $MKDIR_P in
   12507   [\\/$]* | ?:[\\/]* ) ;;
   12508   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12509   esac
   12510 _ACEOF
   12511 
   12512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12513 # If the template does not know about datarootdir, expand it.
   12514 # FIXME: This hack should be removed a few years after 2.60.
   12515 ac_datarootdir_hack=; ac_datarootdir_seen=
   12516 ac_sed_dataroot='
   12517 /datarootdir/ {
   12518   p
   12519   q
   12520 }
   12521 /@datadir@/p
   12522 /@docdir@/p
   12523 /@infodir@/p
   12524 /@localedir@/p
   12525 /@mandir@/p'
   12526 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12527 *datarootdir*) ac_datarootdir_seen=yes;;
   12528 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12529   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12530 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12531 _ACEOF
   12532 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12533   ac_datarootdir_hack='
   12534   s&@datadir@&$datadir&g
   12535   s&@docdir@&$docdir&g
   12536   s&@infodir@&$infodir&g
   12537   s&@localedir@&$localedir&g
   12538   s&@mandir@&$mandir&g
   12539   s&\\\${datarootdir}&$datarootdir&g' ;;
   12540 esac
   12541 _ACEOF
   12542 
   12543 # Neutralize VPATH when `$srcdir' = `.'.
   12544 # Shell code in configure.ac might set extrasub.
   12545 # FIXME: do we really want to maintain this feature?
   12546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12547 ac_sed_extra="$ac_vpsub
   12548 $extrasub
   12549 _ACEOF
   12550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12551 :t
   12552 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12553 s|@configure_input@|$ac_sed_conf_input|;t t
   12554 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12555 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12556 s&@srcdir@&$ac_srcdir&;t t
   12557 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12558 s&@top_srcdir@&$ac_top_srcdir&;t t
   12559 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12560 s&@builddir@&$ac_builddir&;t t
   12561 s&@abs_builddir@&$ac_abs_builddir&;t t
   12562 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12563 s&@INSTALL@&$ac_INSTALL&;t t
   12564 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12565 $ac_datarootdir_hack
   12566 "
   12567 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12568   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12569 
   12570 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12571   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12572   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12573       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12574   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12575 which seems to be undefined.  Please make sure it is defined" >&5
   12576 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12577 which seems to be undefined.  Please make sure it is defined" >&2;}
   12578 
   12579   rm -f "$ac_tmp/stdin"
   12580   case $ac_file in
   12581   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12582   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12583   esac \
   12584   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12585  ;;
   12586   :H)
   12587   #
   12588   # CONFIG_HEADER
   12589   #
   12590   if test x"$ac_file" != x-; then
   12591     {
   12592       printf "%s\n" "/* $configure_input  */" >&1 \
   12593       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12594     } >"$ac_tmp/config.h" \
   12595       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12596     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12597       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12598 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   12599     else
   12600       rm -f "$ac_file"
   12601       mv "$ac_tmp/config.h" "$ac_file" \
   12602 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12603     fi
   12604   else
   12605     printf "%s\n" "/* $configure_input  */" >&1 \
   12606       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12607       || as_fn_error $? "could not create -" "$LINENO" 5
   12608   fi
   12609 # Compute "$ac_file"'s index in $config_headers.
   12610 _am_arg="$ac_file"
   12611 _am_stamp_count=1
   12612 for _am_header in $config_headers :; do
   12613   case $_am_header in
   12614     $_am_arg | $_am_arg:* )
   12615       break ;;
   12616     * )
   12617       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12618   esac
   12619 done
   12620 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12621 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12622 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12623 	 X"$_am_arg" : 'X\(//\)$' \| \
   12624 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12625 printf "%s\n" X"$_am_arg" |
   12626     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12627 	    s//\1/
   12628 	    q
   12629 	  }
   12630 	  /^X\(\/\/\)[^/].*/{
   12631 	    s//\1/
   12632 	    q
   12633 	  }
   12634 	  /^X\(\/\/\)$/{
   12635 	    s//\1/
   12636 	    q
   12637 	  }
   12638 	  /^X\(\/\).*/{
   12639 	    s//\1/
   12640 	    q
   12641 	  }
   12642 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12643  ;;
   12644 
   12645   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12646 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   12647  ;;
   12648   esac
   12649 
   12650 
   12651   case $ac_file$ac_mode in
   12652     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12653   # Older Autoconf quotes --file arguments for eval, but not when files
   12654   # are listed without --file.  Let's play safe and only enable the eval
   12655   # if we detect the quoting.
   12656   # TODO: see whether this extra hack can be removed once we start
   12657   # requiring Autoconf 2.70 or later.
   12658   case $CONFIG_FILES in #(
   12659   *\'*) :
   12660     eval set x "$CONFIG_FILES" ;; #(
   12661   *) :
   12662     set x $CONFIG_FILES ;; #(
   12663   *) :
   12664      ;;
   12665 esac
   12666   shift
   12667   # Used to flag and report bootstrapping failures.
   12668   am_rc=0
   12669   for am_mf
   12670   do
   12671     # Strip MF so we end up with the name of the file.
   12672     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   12673     # Check whether this is an Automake generated Makefile which includes
   12674     # dependency-tracking related rules and includes.
   12675     # Grep'ing the whole file directly is not great: AIX grep has a line
   12676     # limit of 2048, but all sed's we know have understand at least 4000.
   12677     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   12678       || continue
   12679     am_dirpart=`$as_dirname -- "$am_mf" ||
   12680 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12681 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   12682 	 X"$am_mf" : 'X\(//\)$' \| \
   12683 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12684 printf "%s\n" X"$am_mf" |
   12685     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12686 	    s//\1/
   12687 	    q
   12688 	  }
   12689 	  /^X\(\/\/\)[^/].*/{
   12690 	    s//\1/
   12691 	    q
   12692 	  }
   12693 	  /^X\(\/\/\)$/{
   12694 	    s//\1/
   12695 	    q
   12696 	  }
   12697 	  /^X\(\/\).*/{
   12698 	    s//\1/
   12699 	    q
   12700 	  }
   12701 	  s/.*/./; q'`
   12702     am_filepart=`$as_basename -- "$am_mf" ||
   12703 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   12704 	 X"$am_mf" : 'X\(//\)$' \| \
   12705 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12706 printf "%s\n" X/"$am_mf" |
   12707     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12708 	    s//\1/
   12709 	    q
   12710 	  }
   12711 	  /^X\/\(\/\/\)$/{
   12712 	    s//\1/
   12713 	    q
   12714 	  }
   12715 	  /^X\/\(\/\).*/{
   12716 	    s//\1/
   12717 	    q
   12718 	  }
   12719 	  s/.*/./; q'`
   12720     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   12721       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12722         | $MAKE -f - am--depfiles" >&5
   12723    (cd "$am_dirpart" \
   12724       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12725         | $MAKE -f - am--depfiles) >&5 2>&5
   12726    ac_status=$?
   12727    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12728    (exit $ac_status); } || am_rc=$?
   12729   done
   12730   if test $am_rc -ne 0; then
   12731     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12732 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12733 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   12734     for automatic dependency tracking.  If GNU make was not used, consider
   12735     re-running the configure script with MAKE=\"gmake\" (or whatever is
   12736     necessary).  You can also try re-running configure with the
   12737     '--disable-dependency-tracking' option to at least be able to build
   12738     the package (albeit without support for automatic dependency tracking).
   12739 See \`config.log' for more details" "$LINENO" 5; }
   12740   fi
   12741   { am_dirpart=; unset am_dirpart;}
   12742   { am_filepart=; unset am_filepart;}
   12743   { am_mf=; unset am_mf;}
   12744   { am_rc=; unset am_rc;}
   12745   rm -f conftest-deps.mk
   12746 }
   12747  ;;
   12748 
   12749   esac
   12750 done # for ac_tag
   12751 
   12752 
   12753 as_fn_exit 0
   12754 _ACEOF
   12755 ac_clean_files=$ac_clean_files_save
   12756 
   12757 test $ac_write_fail = 0 ||
   12758   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12759 
   12760 
   12761 # configure is writing to config.log, and then calls config.status.
   12762 # config.status does its own redirection, appending to config.log.
   12763 # Unfortunately, on DOS this fails, as config.log is still kept open
   12764 # by configure, so config.status won't be able to write to it; its
   12765 # output is simply discarded.  So we exec the FD to /dev/null,
   12766 # effectively closing config.log, so it can be properly (re)opened and
   12767 # appended to by config.status.  When coming back to configure, we
   12768 # need to make the FD available again.
   12769 if test "$no_create" != yes; then
   12770   ac_cs_success=:
   12771   ac_config_status_args=
   12772   test "$silent" = yes &&
   12773     ac_config_status_args="$ac_config_status_args --quiet"
   12774   exec 5>/dev/null
   12775   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12776   exec 5>>config.log
   12777   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12778   # would make configure fail if this is the last instruction.
   12779   $ac_cs_success || as_fn_exit 1
   12780 fi
   12781 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12782   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12783 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12784 fi
   12785 
   12786 
   12787