Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for xeyes 1.3.1.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xeyes/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 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 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     21 then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else case e in #(
     29   e) case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac ;;
     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="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    144 then :
    145   emulate sh
    146   NULLCMD=:
    147   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    148   # is contrary to our usage.  Disable this feature.
    149   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    150   setopt NO_GLOB_SUBST
    151 else case e in #(
    152   e) case \`(set -o) 2>/dev/null\` in #(
    153   *posix*) :
    154     set -o posix ;; #(
    155   *) :
    156      ;;
    157 esac ;;
    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 case e in #(
    176   e) exitcode=1; echo positional parameters were not saved. ;;
    177 esac
    178 fi
    179 test x\$exitcode = x0 || exit 1
    180 blah=\$(echo \$(echo blah))
    181 test x\"\$blah\" = xblah || exit 1
    182 test -x / || exit 1"
    183   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    184   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    185   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    186   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    187 test \$(( 1 + 1 )) = 2 || exit 1"
    188   if (eval "$as_required") 2>/dev/null
    189 then :
    190   as_have_required=yes
    191 else case e in #(
    192   e) as_have_required=no ;;
    193 esac
    194 fi
    195   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    196 then :
    197 
    198 else case e in #(
    199   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    200 as_found=false
    201 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    202 do
    203   IFS=$as_save_IFS
    204   case $as_dir in #(((
    205     '') as_dir=./ ;;
    206     */) ;;
    207     *) as_dir=$as_dir/ ;;
    208   esac
    209   as_found=:
    210   case $as_dir in #(
    211 	 /*)
    212 	   for as_base in sh bash ksh sh5; do
    213 	     # Try only shells that exist, to save several forks.
    214 	     as_shell=$as_dir$as_base
    215 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    216 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    217 then :
    218   CONFIG_SHELL=$as_shell as_have_required=yes
    219 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    220 then :
    221   break 2
    222 fi
    223 fi
    224 	   done;;
    225        esac
    226   as_found=false
    227 done
    228 IFS=$as_save_IFS
    229 if $as_found
    230 then :
    231 
    232 else case e in #(
    233   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    235 then :
    236   CONFIG_SHELL=$SHELL as_have_required=yes
    237 fi ;;
    238 esac
    239 fi
    240 
    241 
    242       if test "x$CONFIG_SHELL" != x
    243 then :
    244   export CONFIG_SHELL
    245              # We cannot yet assume a decent shell, so we have to provide a
    246 # neutralization value for shells without unset; and this also
    247 # works around shells that cannot unset nonexistent variables.
    248 # Preserve -v and -x to the replacement shell.
    249 BASH_ENV=/dev/null
    250 ENV=/dev/null
    251 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    252 case $- in # ((((
    253   *v*x* | *x*v* ) as_opts=-vx ;;
    254   *v* ) as_opts=-v ;;
    255   *x* ) as_opts=-x ;;
    256   * ) as_opts= ;;
    257 esac
    258 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    259 # Admittedly, this is quite paranoid, since all the known shells bail
    260 # out after a failed 'exec'.
    261 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    262 exit 255
    263 fi
    264 
    265     if test x$as_have_required = xno
    266 then :
    267   printf "%s\n" "$0: This script requires a shell more modern than all"
    268   printf "%s\n" "$0: the shells that I found on your system."
    269   if test ${ZSH_VERSION+y} ; then
    270     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    271     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    272   else
    273     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    274 $0: https://gitlab.freedesktop.org/xorg/app/xeyes/-/issues
    275 $0: about your system, including any error possibly output
    276 $0: before this message. Then install a modern shell, or
    277 $0: manually run the script under such a shell if you do
    278 $0: have one."
    279   fi
    280   exit 1
    281 fi ;;
    282 esac
    283 fi
    284 fi
    285 SHELL=${CONFIG_SHELL-/bin/sh}
    286 export SHELL
    287 # Unset more variables known to interfere with behavior of common tools.
    288 CLICOLOR_FORCE= GREP_OPTIONS=
    289 unset CLICOLOR_FORCE GREP_OPTIONS
    290 
    291 ## --------------------- ##
    292 ## M4sh Shell Functions. ##
    293 ## --------------------- ##
    294 # as_fn_unset VAR
    295 # ---------------
    296 # Portably unset VAR.
    297 as_fn_unset ()
    298 {
    299   { eval $1=; unset $1;}
    300 }
    301 as_unset=as_fn_unset
    302 
    303 
    304 # as_fn_set_status STATUS
    305 # -----------------------
    306 # Set $? to STATUS, without forking.
    307 as_fn_set_status ()
    308 {
    309   return $1
    310 } # as_fn_set_status
    311 
    312 # as_fn_exit STATUS
    313 # -----------------
    314 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    315 as_fn_exit ()
    316 {
    317   set +e
    318   as_fn_set_status $1
    319   exit $1
    320 } # as_fn_exit
    321 
    322 # as_fn_mkdir_p
    323 # -------------
    324 # Create "$as_dir" as a directory, including parents if necessary.
    325 as_fn_mkdir_p ()
    326 {
    327 
    328   case $as_dir in #(
    329   -*) as_dir=./$as_dir;;
    330   esac
    331   test -d "$as_dir" || eval $as_mkdir_p || {
    332     as_dirs=
    333     while :; do
    334       case $as_dir in #(
    335       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    336       *) as_qdir=$as_dir;;
    337       esac
    338       as_dirs="'$as_qdir' $as_dirs"
    339       as_dir=`$as_dirname -- "$as_dir" ||
    340 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    341 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    342 	 X"$as_dir" : 'X\(//\)$' \| \
    343 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    344 printf "%s\n" X"$as_dir" |
    345     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    346 	    s//\1/
    347 	    q
    348 	  }
    349 	  /^X\(\/\/\)[^/].*/{
    350 	    s//\1/
    351 	    q
    352 	  }
    353 	  /^X\(\/\/\)$/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\).*/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  s/.*/./; q'`
    362       test -d "$as_dir" && break
    363     done
    364     test -z "$as_dirs" || eval "mkdir $as_dirs"
    365   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    366 
    367 
    368 } # as_fn_mkdir_p
    369 
    370 # as_fn_executable_p FILE
    371 # -----------------------
    372 # Test if FILE is an executable regular file.
    373 as_fn_executable_p ()
    374 {
    375   test -f "$1" && test -x "$1"
    376 } # as_fn_executable_p
    377 # as_fn_append VAR VALUE
    378 # ----------------------
    379 # Append the text in VALUE to the end of the definition contained in VAR. Take
    380 # advantage of any shell optimizations that allow amortized linear growth over
    381 # repeated appends, instead of the typical quadratic growth present in naive
    382 # implementations.
    383 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    384 then :
    385   eval 'as_fn_append ()
    386   {
    387     eval $1+=\$2
    388   }'
    389 else case e in #(
    390   e) as_fn_append ()
    391   {
    392     eval $1=\$$1\$2
    393   } ;;
    394 esac
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    403 then :
    404   eval 'as_fn_arith ()
    405   {
    406     as_val=$(( $* ))
    407   }'
    408 else case e in #(
    409   e) as_fn_arith ()
    410   {
    411     as_val=`expr "$@" || test $? -eq 1`
    412   } ;;
    413 esac
    414 fi # as_fn_arith
    415 
    416 
    417 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    418 # ----------------------------------------
    419 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    420 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    421 # script with STATUS, using 1 if that was 0.
    422 as_fn_error ()
    423 {
    424   as_status=$1; test $as_status -eq 0 && as_status=1
    425   if test "$4"; then
    426     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    427     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    428   fi
    429   printf "%s\n" "$as_me: error: $2" >&2
    430   as_fn_exit $as_status
    431 } # as_fn_error
    432 
    433 if expr a : '\(a\)' >/dev/null 2>&1 &&
    434    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    435   as_expr=expr
    436 else
    437   as_expr=false
    438 fi
    439 
    440 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    441   as_basename=basename
    442 else
    443   as_basename=false
    444 fi
    445 
    446 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    447   as_dirname=dirname
    448 else
    449   as_dirname=false
    450 fi
    451 
    452 as_me=`$as_basename -- "$0" ||
    453 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    454 	 X"$0" : 'X\(//\)$' \| \
    455 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    456 printf "%s\n" X/"$0" |
    457     sed '/^.*\/\([^/][^/]*\)\/*$/{
    458 	    s//\1/
    459 	    q
    460 	  }
    461 	  /^X\/\(\/\/\)$/{
    462 	    s//\1/
    463 	    q
    464 	  }
    465 	  /^X\/\(\/\).*/{
    466 	    s//\1/
    467 	    q
    468 	  }
    469 	  s/.*/./; q'`
    470 
    471 # Avoid depending upon Character Ranges.
    472 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    473 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    474 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    475 as_cr_digits='0123456789'
    476 as_cr_alnum=$as_cr_Letters$as_cr_digits
    477 
    478 
    479   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    480   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    481   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    482   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    483   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    484   sed -n '
    485     p
    486     /[$]LINENO/=
    487   ' <$as_myself |
    488     sed '
    489       t clear
    490       :clear
    491       s/[$]LINENO.*/&-/
    492       t lineno
    493       b
    494       :lineno
    495       N
    496       :loop
    497       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    498       t loop
    499       s/-\n.*//
    500     ' >$as_me.lineno &&
    501   chmod +x "$as_me.lineno" ||
    502     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    503 
    504   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    505   # already done that, so ensure we don't try to do so again and fall
    506   # in an infinite loop.  This has already happened in practice.
    507   _as_can_reexec=no; export _as_can_reexec
    508   # Don't try to exec as it changes $[0], causing all sort of problems
    509   # (the dirname of $[0] is not the place where we might find the
    510   # original and so on.  Autoconf is especially sensitive to this).
    511   . "./$as_me.lineno"
    512   # Exit status is that of the last command.
    513   exit
    514 }
    515 
    516 
    517 # Determine whether it's possible to make 'echo' print without a newline.
    518 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    519 # for compatibility with existing Makefiles.
    520 ECHO_C= ECHO_N= ECHO_T=
    521 case `echo -n x` in #(((((
    522 -n*)
    523   case `echo 'xy\c'` in
    524   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    525   xy)  ECHO_C='\c';;
    526   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    527        ECHO_T='	';;
    528   esac;;
    529 *)
    530   ECHO_N='-n';;
    531 esac
    532 
    533 # For backward compatibility with old third-party macros, we provide
    534 # the shell variables $as_echo and $as_echo_n.  New code should use
    535 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    536 as_echo='printf %s\n'
    537 as_echo_n='printf %s'
    538 
    539 rm -f conf$$ conf$$.exe conf$$.file
    540 if test -d conf$$.dir; then
    541   rm -f conf$$.dir/conf$$.file
    542 else
    543   rm -f conf$$.dir
    544   mkdir conf$$.dir 2>/dev/null
    545 fi
    546 if (echo >conf$$.file) 2>/dev/null; then
    547   if ln -s conf$$.file conf$$ 2>/dev/null; then
    548     as_ln_s='ln -s'
    549     # ... but there are two gotchas:
    550     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    551     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    552     # In both cases, we have to default to 'cp -pR'.
    553     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    554       as_ln_s='cp -pR'
    555   elif ln conf$$.file conf$$ 2>/dev/null; then
    556     as_ln_s=ln
    557   else
    558     as_ln_s='cp -pR'
    559   fi
    560 else
    561   as_ln_s='cp -pR'
    562 fi
    563 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    564 rmdir conf$$.dir 2>/dev/null
    565 
    566 if mkdir -p . 2>/dev/null; then
    567   as_mkdir_p='mkdir -p "$as_dir"'
    568 else
    569   test -d ./-p && rmdir ./-p
    570   as_mkdir_p=false
    571 fi
    572 
    573 as_test_x='test -x'
    574 as_executable_p=as_fn_executable_p
    575 
    576 # Sed expression to map a string onto a valid CPP name.
    577 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    578 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    579 
    580 # Sed expression to map a string onto a valid variable name.
    581 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    582 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    583 
    584 
    585 test -n "$DJDIR" || exec 7<&0 </dev/null
    586 exec 6>&1
    587 
    588 # Name of the host.
    589 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    590 # so uname gets run too.
    591 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    592 
    593 #
    594 # Initializations.
    595 #
    596 ac_default_prefix=/usr/local
    597 ac_clean_files=
    598 ac_config_libobj_dir=.
    599 LIBOBJS=
    600 cross_compiling=no
    601 subdirs=
    602 MFLAGS=
    603 MAKEFLAGS=
    604 
    605 # Identity of this package.
    606 PACKAGE_NAME='xeyes'
    607 PACKAGE_TARNAME='xeyes'
    608 PACKAGE_VERSION='1.3.1'
    609 PACKAGE_STRING='xeyes 1.3.1'
    610 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xeyes/-/issues'
    611 PACKAGE_URL=''
    612 
    613 ac_unique_file="Makefile.am"
    614 # Factoring default headers for most tests.
    615 ac_includes_default="\
    616 #include <stddef.h>
    617 #ifdef HAVE_STDIO_H
    618 # include <stdio.h>
    619 #endif
    620 #ifdef HAVE_STDLIB_H
    621 # include <stdlib.h>
    622 #endif
    623 #ifdef HAVE_STRING_H
    624 # include <string.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_STRINGS_H
    633 # include <strings.h>
    634 #endif
    635 #ifdef HAVE_SYS_TYPES_H
    636 # include <sys/types.h>
    637 #endif
    638 #ifdef HAVE_SYS_STAT_H
    639 # include <sys/stat.h>
    640 #endif
    641 #ifdef HAVE_UNISTD_H
    642 # include <unistd.h>
    643 #endif"
    644 
    645 ac_header_c_list=
    646 ac_subst_vars='am__EXEEXT_FALSE
    647 am__EXEEXT_TRUE
    648 LTLIBOBJS
    649 LIBOBJS
    650 PRESENT_LIBS
    651 PRESENT_CFLAGS
    652 XRENDER_LIBS
    653 XRENDER_CFLAGS
    654 XEYES_LIBS
    655 XEYES_CFLAGS
    656 MAN_SUBSTS
    657 XORG_MAN_PAGE
    658 ADMIN_MAN_DIR
    659 DRIVER_MAN_DIR
    660 MISC_MAN_DIR
    661 FILE_MAN_DIR
    662 LIB_MAN_DIR
    663 APP_MAN_DIR
    664 ADMIN_MAN_SUFFIX
    665 DRIVER_MAN_SUFFIX
    666 MISC_MAN_SUFFIX
    667 FILE_MAN_SUFFIX
    668 LIB_MAN_SUFFIX
    669 APP_MAN_SUFFIX
    670 SED
    671 host_os
    672 host_vendor
    673 host_cpu
    674 host
    675 build_os
    676 build_vendor
    677 build_cpu
    678 build
    679 INSTALL_CMD
    680 PKG_CONFIG_LIBDIR
    681 PKG_CONFIG_PATH
    682 PKG_CONFIG
    683 CHANGELOG_CMD
    684 STRICT_CFLAGS
    685 CWARNFLAGS
    686 BASE_CFLAGS
    687 am__fastdepCC_FALSE
    688 am__fastdepCC_TRUE
    689 CCDEPMODE
    690 am__nodep
    691 AMDEPBACKSLASH
    692 AMDEP_FALSE
    693 AMDEP_TRUE
    694 am__include
    695 DEPDIR
    696 OBJEXT
    697 EXEEXT
    698 ac_ct_CC
    699 CPPFLAGS
    700 LDFLAGS
    701 CFLAGS
    702 CC
    703 am__xargs_n
    704 am__rm_f_notfound
    705 AM_BACKSLASH
    706 AM_DEFAULT_VERBOSITY
    707 AM_DEFAULT_V
    708 AM_V
    709 CSCOPE
    710 ETAGS
    711 CTAGS
    712 am__untar
    713 am__tar
    714 AMTAR
    715 am__leading_dot
    716 SET_MAKE
    717 AWK
    718 mkdir_p
    719 MKDIR_P
    720 INSTALL_STRIP_PROGRAM
    721 STRIP
    722 install_sh
    723 MAKEINFO
    724 AUTOHEADER
    725 AUTOMAKE
    726 AUTOCONF
    727 ACLOCAL
    728 VERSION
    729 PACKAGE
    730 CYGPATH_W
    731 am__isrc
    732 INSTALL_DATA
    733 INSTALL_SCRIPT
    734 INSTALL_PROGRAM
    735 target_alias
    736 host_alias
    737 build_alias
    738 LIBS
    739 ECHO_T
    740 ECHO_N
    741 ECHO_C
    742 DEFS
    743 mandir
    744 localedir
    745 libdir
    746 psdir
    747 pdfdir
    748 dvidir
    749 htmldir
    750 infodir
    751 docdir
    752 oldincludedir
    753 includedir
    754 runstatedir
    755 localstatedir
    756 sharedstatedir
    757 sysconfdir
    758 datadir
    759 datarootdir
    760 libexecdir
    761 sbindir
    762 bindir
    763 program_transform_name
    764 prefix
    765 exec_prefix
    766 PACKAGE_URL
    767 PACKAGE_BUGREPORT
    768 PACKAGE_STRING
    769 PACKAGE_VERSION
    770 PACKAGE_TARNAME
    771 PACKAGE_NAME
    772 PATH_SEPARATOR
    773 SHELL
    774 am__quote'
    775 ac_subst_files=''
    776 ac_user_opts='
    777 enable_option_checking
    778 enable_silent_rules
    779 enable_dependency_tracking
    780 enable_selective_werror
    781 enable_strict_compilation
    782 with_xrender
    783 with_present
    784 '
    785       ac_precious_vars='build_alias
    786 host_alias
    787 target_alias
    788 CC
    789 CFLAGS
    790 LDFLAGS
    791 LIBS
    792 CPPFLAGS
    793 PKG_CONFIG
    794 PKG_CONFIG_PATH
    795 PKG_CONFIG_LIBDIR
    796 XEYES_CFLAGS
    797 XEYES_LIBS
    798 XRENDER_CFLAGS
    799 XRENDER_LIBS
    800 PRESENT_CFLAGS
    801 PRESENT_LIBS'
    802 
    803 
    804 # Initialize some variables set by options.
    805 ac_init_help=
    806 ac_init_version=false
    807 ac_unrecognized_opts=
    808 ac_unrecognized_sep=
    809 # The variables have the same names as the options, with
    810 # dashes changed to underlines.
    811 cache_file=/dev/null
    812 exec_prefix=NONE
    813 no_create=
    814 no_recursion=
    815 prefix=NONE
    816 program_prefix=NONE
    817 program_suffix=NONE
    818 program_transform_name=s,x,x,
    819 silent=
    820 site=
    821 srcdir=
    822 verbose=
    823 x_includes=NONE
    824 x_libraries=NONE
    825 
    826 # Installation directory options.
    827 # These are left unexpanded so users can "make install exec_prefix=/foo"
    828 # and all the variables that are supposed to be based on exec_prefix
    829 # by default will actually change.
    830 # Use braces instead of parens because sh, perl, etc. also accept them.
    831 # (The list follows the same order as the GNU Coding Standards.)
    832 bindir='${exec_prefix}/bin'
    833 sbindir='${exec_prefix}/sbin'
    834 libexecdir='${exec_prefix}/libexec'
    835 datarootdir='${prefix}/share'
    836 datadir='${datarootdir}'
    837 sysconfdir='${prefix}/etc'
    838 sharedstatedir='${prefix}/com'
    839 localstatedir='${prefix}/var'
    840 runstatedir='${localstatedir}/run'
    841 includedir='${prefix}/include'
    842 oldincludedir='/usr/include'
    843 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    844 infodir='${datarootdir}/info'
    845 htmldir='${docdir}'
    846 dvidir='${docdir}'
    847 pdfdir='${docdir}'
    848 psdir='${docdir}'
    849 libdir='${exec_prefix}/lib'
    850 localedir='${datarootdir}/locale'
    851 mandir='${datarootdir}/man'
    852 
    853 ac_prev=
    854 ac_dashdash=
    855 for ac_option
    856 do
    857   # If the previous option needs an argument, assign it.
    858   if test -n "$ac_prev"; then
    859     eval $ac_prev=\$ac_option
    860     ac_prev=
    861     continue
    862   fi
    863 
    864   case $ac_option in
    865   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    866   *=)   ac_optarg= ;;
    867   *)    ac_optarg=yes ;;
    868   esac
    869 
    870   case $ac_dashdash$ac_option in
    871   --)
    872     ac_dashdash=yes ;;
    873 
    874   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    875     ac_prev=bindir ;;
    876   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    877     bindir=$ac_optarg ;;
    878 
    879   -build | --build | --buil | --bui | --bu)
    880     ac_prev=build_alias ;;
    881   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    882     build_alias=$ac_optarg ;;
    883 
    884   -cache-file | --cache-file | --cache-fil | --cache-fi \
    885   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    886     ac_prev=cache_file ;;
    887   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    888   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    889     cache_file=$ac_optarg ;;
    890 
    891   --config-cache | -C)
    892     cache_file=config.cache ;;
    893 
    894   -datadir | --datadir | --datadi | --datad)
    895     ac_prev=datadir ;;
    896   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    897     datadir=$ac_optarg ;;
    898 
    899   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    900   | --dataroo | --dataro | --datar)
    901     ac_prev=datarootdir ;;
    902   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    903   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    904     datarootdir=$ac_optarg ;;
    905 
    906   -disable-* | --disable-*)
    907     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    908     # Reject names that are not valid shell variable names.
    909     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    910       as_fn_error $? "invalid feature name: '$ac_useropt'"
    911     ac_useropt_orig=$ac_useropt
    912     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    913     case $ac_user_opts in
    914       *"
    915 "enable_$ac_useropt"
    916 "*) ;;
    917       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    918 	 ac_unrecognized_sep=', ';;
    919     esac
    920     eval enable_$ac_useropt=no ;;
    921 
    922   -docdir | --docdir | --docdi | --doc | --do)
    923     ac_prev=docdir ;;
    924   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    925     docdir=$ac_optarg ;;
    926 
    927   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    928     ac_prev=dvidir ;;
    929   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    930     dvidir=$ac_optarg ;;
    931 
    932   -enable-* | --enable-*)
    933     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    934     # Reject names that are not valid shell variable names.
    935     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    936       as_fn_error $? "invalid feature name: '$ac_useropt'"
    937     ac_useropt_orig=$ac_useropt
    938     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    939     case $ac_user_opts in
    940       *"
    941 "enable_$ac_useropt"
    942 "*) ;;
    943       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    944 	 ac_unrecognized_sep=', ';;
    945     esac
    946     eval enable_$ac_useropt=\$ac_optarg ;;
    947 
    948   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    949   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    950   | --exec | --exe | --ex)
    951     ac_prev=exec_prefix ;;
    952   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    953   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    954   | --exec=* | --exe=* | --ex=*)
    955     exec_prefix=$ac_optarg ;;
    956 
    957   -gas | --gas | --ga | --g)
    958     # Obsolete; use --with-gas.
    959     with_gas=yes ;;
    960 
    961   -help | --help | --hel | --he | -h)
    962     ac_init_help=long ;;
    963   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    964     ac_init_help=recursive ;;
    965   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    966     ac_init_help=short ;;
    967 
    968   -host | --host | --hos | --ho)
    969     ac_prev=host_alias ;;
    970   -host=* | --host=* | --hos=* | --ho=*)
    971     host_alias=$ac_optarg ;;
    972 
    973   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    974     ac_prev=htmldir ;;
    975   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    976   | --ht=*)
    977     htmldir=$ac_optarg ;;
    978 
    979   -includedir | --includedir | --includedi | --included | --include \
    980   | --includ | --inclu | --incl | --inc)
    981     ac_prev=includedir ;;
    982   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    983   | --includ=* | --inclu=* | --incl=* | --inc=*)
    984     includedir=$ac_optarg ;;
    985 
    986   -infodir | --infodir | --infodi | --infod | --info | --inf)
    987     ac_prev=infodir ;;
    988   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    989     infodir=$ac_optarg ;;
    990 
    991   -libdir | --libdir | --libdi | --libd)
    992     ac_prev=libdir ;;
    993   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    994     libdir=$ac_optarg ;;
    995 
    996   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    997   | --libexe | --libex | --libe)
    998     ac_prev=libexecdir ;;
    999   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1000   | --libexe=* | --libex=* | --libe=*)
   1001     libexecdir=$ac_optarg ;;
   1002 
   1003   -localedir | --localedir | --localedi | --localed | --locale)
   1004     ac_prev=localedir ;;
   1005   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1006     localedir=$ac_optarg ;;
   1007 
   1008   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1009   | --localstate | --localstat | --localsta | --localst | --locals)
   1010     ac_prev=localstatedir ;;
   1011   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1012   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1013     localstatedir=$ac_optarg ;;
   1014 
   1015   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1016     ac_prev=mandir ;;
   1017   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1018     mandir=$ac_optarg ;;
   1019 
   1020   -nfp | --nfp | --nf)
   1021     # Obsolete; use --without-fp.
   1022     with_fp=no ;;
   1023 
   1024   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1025   | --no-cr | --no-c | -n)
   1026     no_create=yes ;;
   1027 
   1028   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1029   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1030     no_recursion=yes ;;
   1031 
   1032   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1033   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1034   | --oldin | --oldi | --old | --ol | --o)
   1035     ac_prev=oldincludedir ;;
   1036   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1037   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1038   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1039     oldincludedir=$ac_optarg ;;
   1040 
   1041   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1042     ac_prev=prefix ;;
   1043   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1044     prefix=$ac_optarg ;;
   1045 
   1046   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1047   | --program-pre | --program-pr | --program-p)
   1048     ac_prev=program_prefix ;;
   1049   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1050   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1051     program_prefix=$ac_optarg ;;
   1052 
   1053   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1054   | --program-suf | --program-su | --program-s)
   1055     ac_prev=program_suffix ;;
   1056   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1057   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1058     program_suffix=$ac_optarg ;;
   1059 
   1060   -program-transform-name | --program-transform-name \
   1061   | --program-transform-nam | --program-transform-na \
   1062   | --program-transform-n | --program-transform- \
   1063   | --program-transform | --program-transfor \
   1064   | --program-transfo | --program-transf \
   1065   | --program-trans | --program-tran \
   1066   | --progr-tra | --program-tr | --program-t)
   1067     ac_prev=program_transform_name ;;
   1068   -program-transform-name=* | --program-transform-name=* \
   1069   | --program-transform-nam=* | --program-transform-na=* \
   1070   | --program-transform-n=* | --program-transform-=* \
   1071   | --program-transform=* | --program-transfor=* \
   1072   | --program-transfo=* | --program-transf=* \
   1073   | --program-trans=* | --program-tran=* \
   1074   | --progr-tra=* | --program-tr=* | --program-t=*)
   1075     program_transform_name=$ac_optarg ;;
   1076 
   1077   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1078     ac_prev=pdfdir ;;
   1079   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1080     pdfdir=$ac_optarg ;;
   1081 
   1082   -psdir | --psdir | --psdi | --psd | --ps)
   1083     ac_prev=psdir ;;
   1084   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1085     psdir=$ac_optarg ;;
   1086 
   1087   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1088   | -silent | --silent | --silen | --sile | --sil)
   1089     silent=yes ;;
   1090 
   1091   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1092   | --runstate | --runstat | --runsta | --runst | --runs \
   1093   | --run | --ru | --r)
   1094     ac_prev=runstatedir ;;
   1095   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1096   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1097   | --run=* | --ru=* | --r=*)
   1098     runstatedir=$ac_optarg ;;
   1099 
   1100   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1101     ac_prev=sbindir ;;
   1102   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1103   | --sbi=* | --sb=*)
   1104     sbindir=$ac_optarg ;;
   1105 
   1106   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1107   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1108   | --sharedst | --shareds | --shared | --share | --shar \
   1109   | --sha | --sh)
   1110     ac_prev=sharedstatedir ;;
   1111   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1112   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1113   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1114   | --sha=* | --sh=*)
   1115     sharedstatedir=$ac_optarg ;;
   1116 
   1117   -site | --site | --sit)
   1118     ac_prev=site ;;
   1119   -site=* | --site=* | --sit=*)
   1120     site=$ac_optarg ;;
   1121 
   1122   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1123     ac_prev=srcdir ;;
   1124   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1125     srcdir=$ac_optarg ;;
   1126 
   1127   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1128   | --syscon | --sysco | --sysc | --sys | --sy)
   1129     ac_prev=sysconfdir ;;
   1130   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1131   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1132     sysconfdir=$ac_optarg ;;
   1133 
   1134   -target | --target | --targe | --targ | --tar | --ta | --t)
   1135     ac_prev=target_alias ;;
   1136   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1137     target_alias=$ac_optarg ;;
   1138 
   1139   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1140     verbose=yes ;;
   1141 
   1142   -version | --version | --versio | --versi | --vers | -V)
   1143     ac_init_version=: ;;
   1144 
   1145   -with-* | --with-*)
   1146     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1147     # Reject names that are not valid shell variable names.
   1148     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1149       as_fn_error $? "invalid package name: '$ac_useropt'"
   1150     ac_useropt_orig=$ac_useropt
   1151     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1152     case $ac_user_opts in
   1153       *"
   1154 "with_$ac_useropt"
   1155 "*) ;;
   1156       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1157 	 ac_unrecognized_sep=', ';;
   1158     esac
   1159     eval with_$ac_useropt=\$ac_optarg ;;
   1160 
   1161   -without-* | --without-*)
   1162     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1163     # Reject names that are not valid shell variable names.
   1164     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1165       as_fn_error $? "invalid package name: '$ac_useropt'"
   1166     ac_useropt_orig=$ac_useropt
   1167     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1168     case $ac_user_opts in
   1169       *"
   1170 "with_$ac_useropt"
   1171 "*) ;;
   1172       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1173 	 ac_unrecognized_sep=', ';;
   1174     esac
   1175     eval with_$ac_useropt=no ;;
   1176 
   1177   --x)
   1178     # Obsolete; use --with-x.
   1179     with_x=yes ;;
   1180 
   1181   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1182   | --x-incl | --x-inc | --x-in | --x-i)
   1183     ac_prev=x_includes ;;
   1184   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1185   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1186     x_includes=$ac_optarg ;;
   1187 
   1188   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1189   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1190     ac_prev=x_libraries ;;
   1191   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1192   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1193     x_libraries=$ac_optarg ;;
   1194 
   1195   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1196 Try '$0 --help' for more information"
   1197     ;;
   1198 
   1199   *=*)
   1200     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1201     # Reject names that are not valid shell variable names.
   1202     case $ac_envvar in #(
   1203       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1204       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1205     esac
   1206     eval $ac_envvar=\$ac_optarg
   1207     export $ac_envvar ;;
   1208 
   1209   *)
   1210     # FIXME: should be removed in autoconf 3.0.
   1211     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1212     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1213       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1214     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1215     ;;
   1216 
   1217   esac
   1218 done
   1219 
   1220 if test -n "$ac_prev"; then
   1221   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1222   as_fn_error $? "missing argument to $ac_option"
   1223 fi
   1224 
   1225 if test -n "$ac_unrecognized_opts"; then
   1226   case $enable_option_checking in
   1227     no) ;;
   1228     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1229     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1230   esac
   1231 fi
   1232 
   1233 # Check all directory arguments for consistency.
   1234 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1235 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1236 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1237 		libdir localedir mandir runstatedir
   1238 do
   1239   eval ac_val=\$$ac_var
   1240   # Remove trailing slashes.
   1241   case $ac_val in
   1242     */ )
   1243       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1244       eval $ac_var=\$ac_val;;
   1245   esac
   1246   # Be sure to have absolute directory names.
   1247   case $ac_val in
   1248     [\\/$]* | ?:[\\/]* )  continue;;
   1249     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1250   esac
   1251   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1252 done
   1253 
   1254 # There might be people who depend on the old broken behavior: '$host'
   1255 # used to hold the argument of --host etc.
   1256 # FIXME: To remove some day.
   1257 build=$build_alias
   1258 host=$host_alias
   1259 target=$target_alias
   1260 
   1261 # FIXME: To remove some day.
   1262 if test "x$host_alias" != x; then
   1263   if test "x$build_alias" = x; then
   1264     cross_compiling=maybe
   1265   elif test "x$build_alias" != "x$host_alias"; then
   1266     cross_compiling=yes
   1267   fi
   1268 fi
   1269 
   1270 ac_tool_prefix=
   1271 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1272 
   1273 test "$silent" = yes && exec 6>/dev/null
   1274 
   1275 
   1276 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1277 ac_ls_di=`ls -di .` &&
   1278 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1279   as_fn_error $? "working directory cannot be determined"
   1280 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1281   as_fn_error $? "pwd does not report name of working directory"
   1282 
   1283 
   1284 # Find the source files, if location was not specified.
   1285 if test -z "$srcdir"; then
   1286   ac_srcdir_defaulted=yes
   1287   # Try the directory containing this script, then the parent directory.
   1288   ac_confdir=`$as_dirname -- "$as_myself" ||
   1289 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1290 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1291 	 X"$as_myself" : 'X\(//\)$' \| \
   1292 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1293 printf "%s\n" X"$as_myself" |
   1294     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1295 	    s//\1/
   1296 	    q
   1297 	  }
   1298 	  /^X\(\/\/\)[^/].*/{
   1299 	    s//\1/
   1300 	    q
   1301 	  }
   1302 	  /^X\(\/\/\)$/{
   1303 	    s//\1/
   1304 	    q
   1305 	  }
   1306 	  /^X\(\/\).*/{
   1307 	    s//\1/
   1308 	    q
   1309 	  }
   1310 	  s/.*/./; q'`
   1311   srcdir=$ac_confdir
   1312   if test ! -r "$srcdir/$ac_unique_file"; then
   1313     srcdir=..
   1314   fi
   1315 else
   1316   ac_srcdir_defaulted=no
   1317 fi
   1318 if test ! -r "$srcdir/$ac_unique_file"; then
   1319   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1320   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1321 fi
   1322 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1323 ac_abs_confdir=`(
   1324 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1325 	pwd)`
   1326 # When building in place, set srcdir=.
   1327 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1328   srcdir=.
   1329 fi
   1330 # Remove unnecessary trailing slashes from srcdir.
   1331 # Double slashes in file names in object file debugging info
   1332 # mess up M-x gdb in Emacs.
   1333 case $srcdir in
   1334 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1335 esac
   1336 for ac_var in $ac_precious_vars; do
   1337   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1338   eval ac_env_${ac_var}_value=\$${ac_var}
   1339   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1340   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1341 done
   1342 
   1343 #
   1344 # Report the --help message.
   1345 #
   1346 if test "$ac_init_help" = "long"; then
   1347   # Omit some internal or obsolete options to make the list less imposing.
   1348   # This message is too long to be a string in the A/UX 3.1 sh.
   1349   cat <<_ACEOF
   1350 'configure' configures xeyes 1.3.1 to adapt to many kinds of systems.
   1351 
   1352 Usage: $0 [OPTION]... [VAR=VALUE]...
   1353 
   1354 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1355 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1356 
   1357 Defaults for the options are specified in brackets.
   1358 
   1359 Configuration:
   1360   -h, --help              display this help and exit
   1361       --help=short        display options specific to this package
   1362       --help=recursive    display the short help of all the included packages
   1363   -V, --version           display version information and exit
   1364   -q, --quiet, --silent   do not print 'checking ...' messages
   1365       --cache-file=FILE   cache test results in FILE [disabled]
   1366   -C, --config-cache      alias for '--cache-file=config.cache'
   1367   -n, --no-create         do not create output files
   1368       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1369 
   1370 Installation directories:
   1371   --prefix=PREFIX         install architecture-independent files in PREFIX
   1372                           [$ac_default_prefix]
   1373   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1374                           [PREFIX]
   1375 
   1376 By default, 'make install' will install all the files in
   1377 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1378 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1379 for instance '--prefix=\$HOME'.
   1380 
   1381 For better control, use the options below.
   1382 
   1383 Fine tuning of the installation directories:
   1384   --bindir=DIR            user executables [EPREFIX/bin]
   1385   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1386   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1387   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1388   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1389   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1390   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1391   --libdir=DIR            object code libraries [EPREFIX/lib]
   1392   --includedir=DIR        C header files [PREFIX/include]
   1393   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1394   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1395   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1396   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1397   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1398   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1399   --docdir=DIR            documentation root [DATAROOTDIR/doc/xeyes]
   1400   --htmldir=DIR           html documentation [DOCDIR]
   1401   --dvidir=DIR            dvi documentation [DOCDIR]
   1402   --pdfdir=DIR            pdf documentation [DOCDIR]
   1403   --psdir=DIR             ps documentation [DOCDIR]
   1404 _ACEOF
   1405 
   1406   cat <<\_ACEOF
   1407 
   1408 Program names:
   1409   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1410   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1411   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1412 
   1413 System types:
   1414   --build=BUILD     configure for building on BUILD [guessed]
   1415   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1416 _ACEOF
   1417 fi
   1418 
   1419 if test -n "$ac_init_help"; then
   1420   case $ac_init_help in
   1421      short | recursive ) echo "Configuration of xeyes 1.3.1:";;
   1422    esac
   1423   cat <<\_ACEOF
   1424 
   1425 Optional Features:
   1426   --disable-option-checking  ignore unrecognized --enable/--with options
   1427   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1428   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1429   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1430   --disable-silent-rules  verbose build output (undo: "make V=0")
   1431   --enable-dependency-tracking
   1432                           do not reject slow dependency extractors
   1433   --disable-dependency-tracking
   1434                           speeds up one-time build
   1435   --disable-selective-werror
   1436                           Turn off selective compiler errors. (default:
   1437                           enabled)
   1438   --enable-strict-compilation
   1439                           Enable all warnings from compiler and make them
   1440                           errors (default: disabled)
   1441 
   1442 Optional Packages:
   1443   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1444   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1445   --with-xrender          Use Xrender for rendering (Default is YES)
   1446   --with-present          Use Present for updates (Default is AUTO)
   1447 
   1448 Some influential environment variables:
   1449   CC          C compiler command
   1450   CFLAGS      C compiler flags
   1451   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1452               nonstandard directory <lib dir>
   1453   LIBS        libraries to pass to the linker, e.g. -l<library>
   1454   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1455               you have headers in a nonstandard directory <include dir>
   1456   PKG_CONFIG  path to pkg-config utility
   1457   PKG_CONFIG_PATH
   1458               directories to add to pkg-config's search path
   1459   PKG_CONFIG_LIBDIR
   1460               path overriding pkg-config's built-in search path
   1461   XEYES_CFLAGS
   1462               C compiler flags for XEYES, overriding pkg-config
   1463   XEYES_LIBS  linker flags for XEYES, overriding pkg-config
   1464   XRENDER_CFLAGS
   1465               C compiler flags for XRENDER, overriding pkg-config
   1466   XRENDER_LIBS
   1467               linker flags for XRENDER, overriding pkg-config
   1468   PRESENT_CFLAGS
   1469               C compiler flags for PRESENT, overriding pkg-config
   1470   PRESENT_LIBS
   1471               linker flags for PRESENT, overriding pkg-config
   1472 
   1473 Use these variables to override the choices made by 'configure' or to help
   1474 it to find libraries and programs with nonstandard names/locations.
   1475 
   1476 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xeyes/-/issues>.
   1477 _ACEOF
   1478 ac_status=$?
   1479 fi
   1480 
   1481 if test "$ac_init_help" = "recursive"; then
   1482   # If there are subdirs, report their specific --help.
   1483   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1484     test -d "$ac_dir" ||
   1485       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1486       continue
   1487     ac_builddir=.
   1488 
   1489 case "$ac_dir" in
   1490 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1491 *)
   1492   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1493   # A ".." for each directory in $ac_dir_suffix.
   1494   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1495   case $ac_top_builddir_sub in
   1496   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1497   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1498   esac ;;
   1499 esac
   1500 ac_abs_top_builddir=$ac_pwd
   1501 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1502 # for backward compatibility:
   1503 ac_top_builddir=$ac_top_build_prefix
   1504 
   1505 case $srcdir in
   1506   .)  # We are building in place.
   1507     ac_srcdir=.
   1508     ac_top_srcdir=$ac_top_builddir_sub
   1509     ac_abs_top_srcdir=$ac_pwd ;;
   1510   [\\/]* | ?:[\\/]* )  # Absolute name.
   1511     ac_srcdir=$srcdir$ac_dir_suffix;
   1512     ac_top_srcdir=$srcdir
   1513     ac_abs_top_srcdir=$srcdir ;;
   1514   *) # Relative name.
   1515     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1516     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1517     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1518 esac
   1519 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1520 
   1521     cd "$ac_dir" || { ac_status=$?; continue; }
   1522     # Check for configure.gnu first; this name is used for a wrapper for
   1523     # Metaconfig's "Configure" on case-insensitive file systems.
   1524     if test -f "$ac_srcdir/configure.gnu"; then
   1525       echo &&
   1526       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1527     elif test -f "$ac_srcdir/configure"; then
   1528       echo &&
   1529       $SHELL "$ac_srcdir/configure" --help=recursive
   1530     else
   1531       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1532     fi || ac_status=$?
   1533     cd "$ac_pwd" || { ac_status=$?; break; }
   1534   done
   1535 fi
   1536 
   1537 test -n "$ac_init_help" && exit $ac_status
   1538 if $ac_init_version; then
   1539   cat <<\_ACEOF
   1540 xeyes configure 1.3.1
   1541 generated by GNU Autoconf 2.72
   1542 
   1543 Copyright (C) 2023 Free Software Foundation, Inc.
   1544 This configure script is free software; the Free Software Foundation
   1545 gives unlimited permission to copy, distribute and modify it.
   1546 _ACEOF
   1547   exit
   1548 fi
   1549 
   1550 ## ------------------------ ##
   1551 ## Autoconf initialization. ##
   1552 ## ------------------------ ##
   1553 
   1554 # ac_fn_c_try_compile LINENO
   1555 # --------------------------
   1556 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1557 ac_fn_c_try_compile ()
   1558 {
   1559   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1560   rm -f conftest.$ac_objext conftest.beam
   1561   if { { ac_try="$ac_compile"
   1562 case "(($ac_try" in
   1563   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1564   *) ac_try_echo=$ac_try;;
   1565 esac
   1566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1567 printf "%s\n" "$ac_try_echo"; } >&5
   1568   (eval "$ac_compile") 2>conftest.err
   1569   ac_status=$?
   1570   if test -s conftest.err; then
   1571     grep -v '^ *+' conftest.err >conftest.er1
   1572     cat conftest.er1 >&5
   1573     mv -f conftest.er1 conftest.err
   1574   fi
   1575   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1576   test $ac_status = 0; } && {
   1577 	 test -z "$ac_c_werror_flag" ||
   1578 	 test ! -s conftest.err
   1579        } && test -s conftest.$ac_objext
   1580 then :
   1581   ac_retval=0
   1582 else case e in #(
   1583   e) printf "%s\n" "$as_me: failed program was:" >&5
   1584 sed 's/^/| /' conftest.$ac_ext >&5
   1585 
   1586 	ac_retval=1 ;;
   1587 esac
   1588 fi
   1589   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1590   as_fn_set_status $ac_retval
   1591 
   1592 } # ac_fn_c_try_compile
   1593 
   1594 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1595 # ------------------------------------------------------------------
   1596 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1597 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1598 ac_fn_check_decl ()
   1599 {
   1600   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1601   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1602   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1603 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1604 if eval test \${$3+y}
   1605 then :
   1606   printf %s "(cached) " >&6
   1607 else case e in #(
   1608   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1609   eval ac_save_FLAGS=\$$6
   1610   as_fn_append $6 " $5"
   1611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1612 /* end confdefs.h.  */
   1613 $4
   1614 int
   1615 main (void)
   1616 {
   1617 #ifndef $as_decl_name
   1618 #ifdef __cplusplus
   1619   (void) $as_decl_use;
   1620 #else
   1621   (void) $as_decl_name;
   1622 #endif
   1623 #endif
   1624 
   1625   ;
   1626   return 0;
   1627 }
   1628 _ACEOF
   1629 if ac_fn_c_try_compile "$LINENO"
   1630 then :
   1631   eval "$3=yes"
   1632 else case e in #(
   1633   e) eval "$3=no" ;;
   1634 esac
   1635 fi
   1636 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1637   eval $6=\$ac_save_FLAGS
   1638  ;;
   1639 esac
   1640 fi
   1641 eval ac_res=\$$3
   1642 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1643 printf "%s\n" "$ac_res" >&6; }
   1644   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1645 
   1646 } # ac_fn_check_decl
   1647 
   1648 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1649 # -------------------------------------------------------
   1650 # Tests whether HEADER exists and can be compiled using the include files in
   1651 # INCLUDES, setting the cache variable VAR accordingly.
   1652 ac_fn_c_check_header_compile ()
   1653 {
   1654   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1655   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1656 printf %s "checking for $2... " >&6; }
   1657 if eval test \${$3+y}
   1658 then :
   1659   printf %s "(cached) " >&6
   1660 else case e in #(
   1661   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1662 /* end confdefs.h.  */
   1663 $4
   1664 #include <$2>
   1665 _ACEOF
   1666 if ac_fn_c_try_compile "$LINENO"
   1667 then :
   1668   eval "$3=yes"
   1669 else case e in #(
   1670   e) eval "$3=no" ;;
   1671 esac
   1672 fi
   1673 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1674 esac
   1675 fi
   1676 eval ac_res=\$$3
   1677 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1678 printf "%s\n" "$ac_res" >&6; }
   1679   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1680 
   1681 } # ac_fn_c_check_header_compile
   1682 
   1683 # ac_fn_c_try_link LINENO
   1684 # -----------------------
   1685 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1686 ac_fn_c_try_link ()
   1687 {
   1688   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1689   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1690   if { { ac_try="$ac_link"
   1691 case "(($ac_try" in
   1692   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1693   *) ac_try_echo=$ac_try;;
   1694 esac
   1695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1696 printf "%s\n" "$ac_try_echo"; } >&5
   1697   (eval "$ac_link") 2>conftest.err
   1698   ac_status=$?
   1699   if test -s conftest.err; then
   1700     grep -v '^ *+' conftest.err >conftest.er1
   1701     cat conftest.er1 >&5
   1702     mv -f conftest.er1 conftest.err
   1703   fi
   1704   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1705   test $ac_status = 0; } && {
   1706 	 test -z "$ac_c_werror_flag" ||
   1707 	 test ! -s conftest.err
   1708        } && test -s conftest$ac_exeext && {
   1709 	 test "$cross_compiling" = yes ||
   1710 	 test -x conftest$ac_exeext
   1711        }
   1712 then :
   1713   ac_retval=0
   1714 else case e in #(
   1715   e) printf "%s\n" "$as_me: failed program was:" >&5
   1716 sed 's/^/| /' conftest.$ac_ext >&5
   1717 
   1718 	ac_retval=1 ;;
   1719 esac
   1720 fi
   1721   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1722   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1723   # interfere with the next link command; also delete a directory that is
   1724   # left behind by Apple's compiler.  We do this before executing the actions.
   1725   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1726   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1727   as_fn_set_status $ac_retval
   1728 
   1729 } # ac_fn_c_try_link
   1730 ac_configure_args_raw=
   1731 for ac_arg
   1732 do
   1733   case $ac_arg in
   1734   *\'*)
   1735     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1736   esac
   1737   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1738 done
   1739 
   1740 case $ac_configure_args_raw in
   1741   *$as_nl*)
   1742     ac_safe_unquote= ;;
   1743   *)
   1744     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1745     ac_unsafe_a="$ac_unsafe_z#~"
   1746     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1747     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1748 esac
   1749 
   1750 cat >config.log <<_ACEOF
   1751 This file contains any messages produced by compilers while
   1752 running configure, to aid debugging if configure makes a mistake.
   1753 
   1754 It was created by xeyes $as_me 1.3.1, which was
   1755 generated by GNU Autoconf 2.72.  Invocation command line was
   1756 
   1757   $ $0$ac_configure_args_raw
   1758 
   1759 _ACEOF
   1760 exec 5>>config.log
   1761 {
   1762 cat <<_ASUNAME
   1763 ## --------- ##
   1764 ## Platform. ##
   1765 ## --------- ##
   1766 
   1767 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1768 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1769 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1770 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1771 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1772 
   1773 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1774 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1775 
   1776 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1777 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1778 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1779 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1780 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1781 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1782 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1783 
   1784 _ASUNAME
   1785 
   1786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1787 for as_dir in $PATH
   1788 do
   1789   IFS=$as_save_IFS
   1790   case $as_dir in #(((
   1791     '') as_dir=./ ;;
   1792     */) ;;
   1793     *) as_dir=$as_dir/ ;;
   1794   esac
   1795     printf "%s\n" "PATH: $as_dir"
   1796   done
   1797 IFS=$as_save_IFS
   1798 
   1799 } >&5
   1800 
   1801 cat >&5 <<_ACEOF
   1802 
   1803 
   1804 ## ----------- ##
   1805 ## Core tests. ##
   1806 ## ----------- ##
   1807 
   1808 _ACEOF
   1809 
   1810 
   1811 # Keep a trace of the command line.
   1812 # Strip out --no-create and --no-recursion so they do not pile up.
   1813 # Strip out --silent because we don't want to record it for future runs.
   1814 # Also quote any args containing shell meta-characters.
   1815 # Make two passes to allow for proper duplicate-argument suppression.
   1816 ac_configure_args=
   1817 ac_configure_args0=
   1818 ac_configure_args1=
   1819 ac_must_keep_next=false
   1820 for ac_pass in 1 2
   1821 do
   1822   for ac_arg
   1823   do
   1824     case $ac_arg in
   1825     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1826     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1827     | -silent | --silent | --silen | --sile | --sil)
   1828       continue ;;
   1829     *\'*)
   1830       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1831     esac
   1832     case $ac_pass in
   1833     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1834     2)
   1835       as_fn_append ac_configure_args1 " '$ac_arg'"
   1836       if test $ac_must_keep_next = true; then
   1837 	ac_must_keep_next=false # Got value, back to normal.
   1838       else
   1839 	case $ac_arg in
   1840 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1841 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1842 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1843 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1844 	    case "$ac_configure_args0 " in
   1845 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1846 	    esac
   1847 	    ;;
   1848 	  -* ) ac_must_keep_next=true ;;
   1849 	esac
   1850       fi
   1851       as_fn_append ac_configure_args " '$ac_arg'"
   1852       ;;
   1853     esac
   1854   done
   1855 done
   1856 { ac_configure_args0=; unset ac_configure_args0;}
   1857 { ac_configure_args1=; unset ac_configure_args1;}
   1858 
   1859 # When interrupted or exit'd, cleanup temporary files, and complete
   1860 # config.log.  We remove comments because anyway the quotes in there
   1861 # would cause problems or look ugly.
   1862 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1863 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1864 trap 'exit_status=$?
   1865   # Sanitize IFS.
   1866   IFS=" ""	$as_nl"
   1867   # Save into config.log some information that might help in debugging.
   1868   {
   1869     echo
   1870 
   1871     printf "%s\n" "## ---------------- ##
   1872 ## Cache variables. ##
   1873 ## ---------------- ##"
   1874     echo
   1875     # The following way of writing the cache mishandles newlines in values,
   1876 (
   1877   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1878     eval ac_val=\$$ac_var
   1879     case $ac_val in #(
   1880     *${as_nl}*)
   1881       case $ac_var in #(
   1882       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1883 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1884       esac
   1885       case $ac_var in #(
   1886       _ | IFS | as_nl) ;; #(
   1887       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1888       *) { eval $ac_var=; unset $ac_var;} ;;
   1889       esac ;;
   1890     esac
   1891   done
   1892   (set) 2>&1 |
   1893     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1894     *${as_nl}ac_space=\ *)
   1895       sed -n \
   1896 	"s/'\''/'\''\\\\'\'''\''/g;
   1897 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1898       ;; #(
   1899     *)
   1900       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1901       ;;
   1902     esac |
   1903     sort
   1904 )
   1905     echo
   1906 
   1907     printf "%s\n" "## ----------------- ##
   1908 ## Output variables. ##
   1909 ## ----------------- ##"
   1910     echo
   1911     for ac_var in $ac_subst_vars
   1912     do
   1913       eval ac_val=\$$ac_var
   1914       case $ac_val in
   1915       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1916       esac
   1917       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1918     done | sort
   1919     echo
   1920 
   1921     if test -n "$ac_subst_files"; then
   1922       printf "%s\n" "## ------------------- ##
   1923 ## File substitutions. ##
   1924 ## ------------------- ##"
   1925       echo
   1926       for ac_var in $ac_subst_files
   1927       do
   1928 	eval ac_val=\$$ac_var
   1929 	case $ac_val in
   1930 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1931 	esac
   1932 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1933       done | sort
   1934       echo
   1935     fi
   1936 
   1937     if test -s confdefs.h; then
   1938       printf "%s\n" "## ----------- ##
   1939 ## confdefs.h. ##
   1940 ## ----------- ##"
   1941       echo
   1942       cat confdefs.h
   1943       echo
   1944     fi
   1945     test "$ac_signal" != 0 &&
   1946       printf "%s\n" "$as_me: caught signal $ac_signal"
   1947     printf "%s\n" "$as_me: exit $exit_status"
   1948   } >&5
   1949   rm -f core *.core core.conftest.* &&
   1950     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1951     exit $exit_status
   1952 ' 0
   1953 for ac_signal in 1 2 13 15; do
   1954   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1955 done
   1956 ac_signal=0
   1957 
   1958 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1959 rm -f -r conftest* confdefs.h
   1960 
   1961 printf "%s\n" "/* confdefs.h */" > confdefs.h
   1962 
   1963 # Predefined preprocessor variables.
   1964 
   1965 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   1966 
   1967 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   1968 
   1969 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   1970 
   1971 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   1972 
   1973 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   1974 
   1975 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   1976 
   1977 
   1978 # Let the site file select an alternate cache file if it wants to.
   1979 # Prefer an explicitly selected file to automatically selected ones.
   1980 if test -n "$CONFIG_SITE"; then
   1981   ac_site_files="$CONFIG_SITE"
   1982 elif test "x$prefix" != xNONE; then
   1983   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   1984 else
   1985   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1986 fi
   1987 
   1988 for ac_site_file in $ac_site_files
   1989 do
   1990   case $ac_site_file in #(
   1991   */*) :
   1992      ;; #(
   1993   *) :
   1994     ac_site_file=./$ac_site_file ;;
   1995 esac
   1996   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   1997     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1998 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   1999     sed 's/^/| /' "$ac_site_file" >&5
   2000     . "$ac_site_file" \
   2001       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2002 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2003 as_fn_error $? "failed to load site script $ac_site_file
   2004 See 'config.log' for more details" "$LINENO" 5; }
   2005   fi
   2006 done
   2007 
   2008 if test -r "$cache_file"; then
   2009   # Some versions of bash will fail to source /dev/null (special files
   2010   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2011   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2012     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2013 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2014     case $cache_file in
   2015       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2016       *)                      . "./$cache_file";;
   2017     esac
   2018   fi
   2019 else
   2020   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2021 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2022   >$cache_file
   2023 fi
   2024 
   2025 # Test code for whether the C compiler supports C89 (global declarations)
   2026 ac_c_conftest_c89_globals='
   2027 /* Does the compiler advertise C89 conformance?
   2028    Do not test the value of __STDC__, because some compilers set it to 0
   2029    while being otherwise adequately conformant. */
   2030 #if !defined __STDC__
   2031 # error "Compiler does not advertise C89 conformance"
   2032 #endif
   2033 
   2034 #include <stddef.h>
   2035 #include <stdarg.h>
   2036 struct stat;
   2037 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2038 struct buf { int x; };
   2039 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2040 static char *e (char **p, int i)
   2041 {
   2042   return p[i];
   2043 }
   2044 static char *f (char * (*g) (char **, int), char **p, ...)
   2045 {
   2046   char *s;
   2047   va_list v;
   2048   va_start (v,p);
   2049   s = g (p, va_arg (v,int));
   2050   va_end (v);
   2051   return s;
   2052 }
   2053 
   2054 /* C89 style stringification. */
   2055 #define noexpand_stringify(a) #a
   2056 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2057 
   2058 /* C89 style token pasting.  Exercises some of the corner cases that
   2059    e.g. old MSVC gets wrong, but not very hard. */
   2060 #define noexpand_concat(a,b) a##b
   2061 #define expand_concat(a,b) noexpand_concat(a,b)
   2062 extern int vA;
   2063 extern int vbee;
   2064 #define aye A
   2065 #define bee B
   2066 int *pvA = &expand_concat(v,aye);
   2067 int *pvbee = &noexpand_concat(v,bee);
   2068 
   2069 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2070    function prototypes and stuff, but not \xHH hex character constants.
   2071    These do not provoke an error unfortunately, instead are silently treated
   2072    as an "x".  The following induces an error, until -std is added to get
   2073    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2074    array size at least.  It is necessary to write \x00 == 0 to get something
   2075    that is true only with -std.  */
   2076 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2077 
   2078 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2079    inside strings and character constants.  */
   2080 #define FOO(x) '\''x'\''
   2081 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2082 
   2083 int test (int i, double x);
   2084 struct s1 {int (*f) (int a);};
   2085 struct s2 {int (*f) (double a);};
   2086 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2087                int, int);'
   2088 
   2089 # Test code for whether the C compiler supports C89 (body of main).
   2090 ac_c_conftest_c89_main='
   2091 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2092 '
   2093 
   2094 # Test code for whether the C compiler supports C99 (global declarations)
   2095 ac_c_conftest_c99_globals='
   2096 /* Does the compiler advertise C99 conformance? */
   2097 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2098 # error "Compiler does not advertise C99 conformance"
   2099 #endif
   2100 
   2101 // See if C++-style comments work.
   2102 
   2103 #include <stdbool.h>
   2104 extern int puts (const char *);
   2105 extern int printf (const char *, ...);
   2106 extern int dprintf (int, const char *, ...);
   2107 extern void *malloc (size_t);
   2108 extern void free (void *);
   2109 
   2110 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2111 // dprintf is used instead of fprintf to avoid needing to declare
   2112 // FILE and stderr.
   2113 #define debug(...) dprintf (2, __VA_ARGS__)
   2114 #define showlist(...) puts (#__VA_ARGS__)
   2115 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2116 static void
   2117 test_varargs_macros (void)
   2118 {
   2119   int x = 1234;
   2120   int y = 5678;
   2121   debug ("Flag");
   2122   debug ("X = %d\n", x);
   2123   showlist (The first, second, and third items.);
   2124   report (x>y, "x is %d but y is %d", x, y);
   2125 }
   2126 
   2127 // Check long long types.
   2128 #define BIG64 18446744073709551615ull
   2129 #define BIG32 4294967295ul
   2130 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2131 #if !BIG_OK
   2132   #error "your preprocessor is broken"
   2133 #endif
   2134 #if BIG_OK
   2135 #else
   2136   #error "your preprocessor is broken"
   2137 #endif
   2138 static long long int bignum = -9223372036854775807LL;
   2139 static unsigned long long int ubignum = BIG64;
   2140 
   2141 struct incomplete_array
   2142 {
   2143   int datasize;
   2144   double data[];
   2145 };
   2146 
   2147 struct named_init {
   2148   int number;
   2149   const wchar_t *name;
   2150   double average;
   2151 };
   2152 
   2153 typedef const char *ccp;
   2154 
   2155 static inline int
   2156 test_restrict (ccp restrict text)
   2157 {
   2158   // Iterate through items via the restricted pointer.
   2159   // Also check for declarations in for loops.
   2160   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2161     continue;
   2162   return 0;
   2163 }
   2164 
   2165 // Check varargs and va_copy.
   2166 static bool
   2167 test_varargs (const char *format, ...)
   2168 {
   2169   va_list args;
   2170   va_start (args, format);
   2171   va_list args_copy;
   2172   va_copy (args_copy, args);
   2173 
   2174   const char *str = "";
   2175   int number = 0;
   2176   float fnumber = 0;
   2177 
   2178   while (*format)
   2179     {
   2180       switch (*format++)
   2181 	{
   2182 	case '\''s'\'': // string
   2183 	  str = va_arg (args_copy, const char *);
   2184 	  break;
   2185 	case '\''d'\'': // int
   2186 	  number = va_arg (args_copy, int);
   2187 	  break;
   2188 	case '\''f'\'': // float
   2189 	  fnumber = va_arg (args_copy, double);
   2190 	  break;
   2191 	default:
   2192 	  break;
   2193 	}
   2194     }
   2195   va_end (args_copy);
   2196   va_end (args);
   2197 
   2198   return *str && number && fnumber;
   2199 }
   2200 '
   2201 
   2202 # Test code for whether the C compiler supports C99 (body of main).
   2203 ac_c_conftest_c99_main='
   2204   // Check bool.
   2205   _Bool success = false;
   2206   success |= (argc != 0);
   2207 
   2208   // Check restrict.
   2209   if (test_restrict ("String literal") == 0)
   2210     success = true;
   2211   char *restrict newvar = "Another string";
   2212 
   2213   // Check varargs.
   2214   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2215   test_varargs_macros ();
   2216 
   2217   // Check flexible array members.
   2218   struct incomplete_array *ia =
   2219     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2220   ia->datasize = 10;
   2221   for (int i = 0; i < ia->datasize; ++i)
   2222     ia->data[i] = i * 1.234;
   2223   // Work around memory leak warnings.
   2224   free (ia);
   2225 
   2226   // Check named initializers.
   2227   struct named_init ni = {
   2228     .number = 34,
   2229     .name = L"Test wide string",
   2230     .average = 543.34343,
   2231   };
   2232 
   2233   ni.number = 58;
   2234 
   2235   int dynamic_array[ni.number];
   2236   dynamic_array[0] = argv[0][0];
   2237   dynamic_array[ni.number - 1] = 543;
   2238 
   2239   // work around unused variable warnings
   2240   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2241 	 || dynamic_array[ni.number - 1] != 543);
   2242 '
   2243 
   2244 # Test code for whether the C compiler supports C11 (global declarations)
   2245 ac_c_conftest_c11_globals='
   2246 /* Does the compiler advertise C11 conformance? */
   2247 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2248 # error "Compiler does not advertise C11 conformance"
   2249 #endif
   2250 
   2251 // Check _Alignas.
   2252 char _Alignas (double) aligned_as_double;
   2253 char _Alignas (0) no_special_alignment;
   2254 extern char aligned_as_int;
   2255 char _Alignas (0) _Alignas (int) aligned_as_int;
   2256 
   2257 // Check _Alignof.
   2258 enum
   2259 {
   2260   int_alignment = _Alignof (int),
   2261   int_array_alignment = _Alignof (int[100]),
   2262   char_alignment = _Alignof (char)
   2263 };
   2264 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2265 
   2266 // Check _Noreturn.
   2267 int _Noreturn does_not_return (void) { for (;;) continue; }
   2268 
   2269 // Check _Static_assert.
   2270 struct test_static_assert
   2271 {
   2272   int x;
   2273   _Static_assert (sizeof (int) <= sizeof (long int),
   2274                   "_Static_assert does not work in struct");
   2275   long int y;
   2276 };
   2277 
   2278 // Check UTF-8 literals.
   2279 #define u8 syntax error!
   2280 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2281 
   2282 // Check duplicate typedefs.
   2283 typedef long *long_ptr;
   2284 typedef long int *long_ptr;
   2285 typedef long_ptr long_ptr;
   2286 
   2287 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2288 struct anonymous
   2289 {
   2290   union {
   2291     struct { int i; int j; };
   2292     struct { int k; long int l; } w;
   2293   };
   2294   int m;
   2295 } v1;
   2296 '
   2297 
   2298 # Test code for whether the C compiler supports C11 (body of main).
   2299 ac_c_conftest_c11_main='
   2300   _Static_assert ((offsetof (struct anonymous, i)
   2301 		   == offsetof (struct anonymous, w.k)),
   2302 		  "Anonymous union alignment botch");
   2303   v1.i = 2;
   2304   v1.w.k = 5;
   2305   ok |= v1.i != 5;
   2306 '
   2307 
   2308 # Test code for whether the C compiler supports C11 (complete).
   2309 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2310 ${ac_c_conftest_c99_globals}
   2311 ${ac_c_conftest_c11_globals}
   2312 
   2313 int
   2314 main (int argc, char **argv)
   2315 {
   2316   int ok = 0;
   2317   ${ac_c_conftest_c89_main}
   2318   ${ac_c_conftest_c99_main}
   2319   ${ac_c_conftest_c11_main}
   2320   return ok;
   2321 }
   2322 "
   2323 
   2324 # Test code for whether the C compiler supports C99 (complete).
   2325 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2326 ${ac_c_conftest_c99_globals}
   2327 
   2328 int
   2329 main (int argc, char **argv)
   2330 {
   2331   int ok = 0;
   2332   ${ac_c_conftest_c89_main}
   2333   ${ac_c_conftest_c99_main}
   2334   return ok;
   2335 }
   2336 "
   2337 
   2338 # Test code for whether the C compiler supports C89 (complete).
   2339 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2340 
   2341 int
   2342 main (int argc, char **argv)
   2343 {
   2344   int ok = 0;
   2345   ${ac_c_conftest_c89_main}
   2346   return ok;
   2347 }
   2348 "
   2349 
   2350 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2351 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2352 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2353 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2354 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2355 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2356 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2357 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2358 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2359 
   2360 # Auxiliary files required by this configure script.
   2361 ac_aux_files="config.guess config.sub compile missing install-sh"
   2362 
   2363 # Locations in which to look for auxiliary files.
   2364 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2365 
   2366 # Search for a directory containing all of the required auxiliary files,
   2367 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2368 # If we don't find one directory that contains all the files we need,
   2369 # we report the set of missing files from the *first* directory in
   2370 # $ac_aux_dir_candidates and give up.
   2371 ac_missing_aux_files=""
   2372 ac_first_candidate=:
   2373 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2375 as_found=false
   2376 for as_dir in $ac_aux_dir_candidates
   2377 do
   2378   IFS=$as_save_IFS
   2379   case $as_dir in #(((
   2380     '') as_dir=./ ;;
   2381     */) ;;
   2382     *) as_dir=$as_dir/ ;;
   2383   esac
   2384   as_found=:
   2385 
   2386   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2387   ac_aux_dir_found=yes
   2388   ac_install_sh=
   2389   for ac_aux in $ac_aux_files
   2390   do
   2391     # As a special case, if "install-sh" is required, that requirement
   2392     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2393     # and $ac_install_sh is set appropriately for whichever one is found.
   2394     if test x"$ac_aux" = x"install-sh"
   2395     then
   2396       if test -f "${as_dir}install-sh"; then
   2397         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2398         ac_install_sh="${as_dir}install-sh -c"
   2399       elif test -f "${as_dir}install.sh"; then
   2400         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2401         ac_install_sh="${as_dir}install.sh -c"
   2402       elif test -f "${as_dir}shtool"; then
   2403         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2404         ac_install_sh="${as_dir}shtool install -c"
   2405       else
   2406         ac_aux_dir_found=no
   2407         if $ac_first_candidate; then
   2408           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2409         else
   2410           break
   2411         fi
   2412       fi
   2413     else
   2414       if test -f "${as_dir}${ac_aux}"; then
   2415         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2416       else
   2417         ac_aux_dir_found=no
   2418         if $ac_first_candidate; then
   2419           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2420         else
   2421           break
   2422         fi
   2423       fi
   2424     fi
   2425   done
   2426   if test "$ac_aux_dir_found" = yes; then
   2427     ac_aux_dir="$as_dir"
   2428     break
   2429   fi
   2430   ac_first_candidate=false
   2431 
   2432   as_found=false
   2433 done
   2434 IFS=$as_save_IFS
   2435 if $as_found
   2436 then :
   2437 
   2438 else case e in #(
   2439   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2440 esac
   2441 fi
   2442 
   2443 
   2444 # These three variables are undocumented and unsupported,
   2445 # and are intended to be withdrawn in a future Autoconf release.
   2446 # They can cause serious problems if a builder's source tree is in a directory
   2447 # whose full name contains unusual characters.
   2448 if test -f "${ac_aux_dir}config.guess"; then
   2449   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2450 fi
   2451 if test -f "${ac_aux_dir}config.sub"; then
   2452   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2453 fi
   2454 if test -f "$ac_aux_dir/configure"; then
   2455   ac_configure="$SHELL ${ac_aux_dir}configure"
   2456 fi
   2457 
   2458 # Check that the precious variables saved in the cache have kept the same
   2459 # value.
   2460 ac_cache_corrupted=false
   2461 for ac_var in $ac_precious_vars; do
   2462   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2463   eval ac_new_set=\$ac_env_${ac_var}_set
   2464   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2465   eval ac_new_val=\$ac_env_${ac_var}_value
   2466   case $ac_old_set,$ac_new_set in
   2467     set,)
   2468       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2469 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2470       ac_cache_corrupted=: ;;
   2471     ,set)
   2472       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2473 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2474       ac_cache_corrupted=: ;;
   2475     ,);;
   2476     *)
   2477       if test "x$ac_old_val" != "x$ac_new_val"; then
   2478 	# differences in whitespace do not lead to failure.
   2479 	ac_old_val_w=`echo x $ac_old_val`
   2480 	ac_new_val_w=`echo x $ac_new_val`
   2481 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2482 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2483 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2484 	  ac_cache_corrupted=:
   2485 	else
   2486 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2487 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2488 	  eval $ac_var=\$ac_old_val
   2489 	fi
   2490 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2491 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2492 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2493 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2494       fi;;
   2495   esac
   2496   # Pass precious variables to config.status.
   2497   if test "$ac_new_set" = set; then
   2498     case $ac_new_val in
   2499     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2500     *) ac_arg=$ac_var=$ac_new_val ;;
   2501     esac
   2502     case " $ac_configure_args " in
   2503       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2504       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2505     esac
   2506   fi
   2507 done
   2508 if $ac_cache_corrupted; then
   2509   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2510 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2511   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2512 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2513   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2514 	    and start over" "$LINENO" 5
   2515 fi
   2516 ## -------------------- ##
   2517 ## Main body of script. ##
   2518 ## -------------------- ##
   2519 
   2520 ac_ext=c
   2521 ac_cpp='$CPP $CPPFLAGS'
   2522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2525 
   2526 
   2527 
   2528 ac_config_headers="$ac_config_headers config.h"
   2529 
   2530 
   2531 # Initialize Automake
   2532 am__api_version='1.18'
   2533 
   2534 
   2535 
   2536   # Find a good install program.  We prefer a C program (faster),
   2537 # so one script is as good as another.  But avoid the broken or
   2538 # incompatible versions:
   2539 # SysV /etc/install, /usr/sbin/install
   2540 # SunOS /usr/etc/install
   2541 # IRIX /sbin/install
   2542 # AIX /bin/install
   2543 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2544 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2545 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2546 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2547 # OS/2's system install, which has a completely different semantic
   2548 # ./install, which can be erroneously created by make from ./install.sh.
   2549 # Reject install programs that cannot install multiple files.
   2550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2551 printf %s "checking for a BSD-compatible install... " >&6; }
   2552 if test -z "$INSTALL"; then
   2553 if test ${ac_cv_path_install+y}
   2554 then :
   2555   printf %s "(cached) " >&6
   2556 else case e in #(
   2557   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2558 for as_dir in $PATH
   2559 do
   2560   IFS=$as_save_IFS
   2561   case $as_dir in #(((
   2562     '') as_dir=./ ;;
   2563     */) ;;
   2564     *) as_dir=$as_dir/ ;;
   2565   esac
   2566     # Account for fact that we put trailing slashes in our PATH walk.
   2567 case $as_dir in #((
   2568   ./ | /[cC]/* | \
   2569   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2570   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2571   /usr/ucb/* ) ;;
   2572   *)
   2573     # OSF1 and SCO ODT 3.0 have their own names for install.
   2574     # Don't use installbsd from OSF since it installs stuff as root
   2575     # by default.
   2576     for ac_prog in ginstall scoinst install; do
   2577       for ac_exec_ext in '' $ac_executable_extensions; do
   2578 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2579 	  if test $ac_prog = install &&
   2580 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2581 	    # AIX install.  It has an incompatible calling convention.
   2582 	    :
   2583 	  elif test $ac_prog = install &&
   2584 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2585 	    # program-specific install script used by HP pwplus--don't use.
   2586 	    :
   2587 	  else
   2588 	    rm -rf conftest.one conftest.two conftest.dir
   2589 	    echo one > conftest.one
   2590 	    echo two > conftest.two
   2591 	    mkdir conftest.dir
   2592 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2593 	      test -s conftest.one && test -s conftest.two &&
   2594 	      test -s conftest.dir/conftest.one &&
   2595 	      test -s conftest.dir/conftest.two
   2596 	    then
   2597 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2598 	      break 3
   2599 	    fi
   2600 	  fi
   2601 	fi
   2602       done
   2603     done
   2604     ;;
   2605 esac
   2606 
   2607   done
   2608 IFS=$as_save_IFS
   2609 
   2610 rm -rf conftest.one conftest.two conftest.dir
   2611  ;;
   2612 esac
   2613 fi
   2614   if test ${ac_cv_path_install+y}; then
   2615     INSTALL=$ac_cv_path_install
   2616   else
   2617     # As a last resort, use the slow shell script.  Don't cache a
   2618     # value for INSTALL within a source directory, because that will
   2619     # break other packages using the cache if that directory is
   2620     # removed, or if the value is a relative name.
   2621     INSTALL=$ac_install_sh
   2622   fi
   2623 fi
   2624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2625 printf "%s\n" "$INSTALL" >&6; }
   2626 
   2627 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2628 # It thinks the first close brace ends the variable substitution.
   2629 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2630 
   2631 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2632 
   2633 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2634 
   2635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   2636 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   2637 if test ${am_cv_sleep_fractional_seconds+y}
   2638 then :
   2639   printf %s "(cached) " >&6
   2640 else case e in #(
   2641   e) if sleep 0.001 2>/dev/null
   2642 then :
   2643   am_cv_sleep_fractional_seconds=yes
   2644 else case e in #(
   2645   e) am_cv_sleep_fractional_seconds=no ;;
   2646 esac
   2647 fi
   2648  ;;
   2649 esac
   2650 fi
   2651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   2652 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   2653 
   2654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   2655 printf %s "checking filesystem timestamp resolution... " >&6; }
   2656 if test ${am_cv_filesystem_timestamp_resolution+y}
   2657 then :
   2658   printf %s "(cached) " >&6
   2659 else case e in #(
   2660   e) # Default to the worst case.
   2661 am_cv_filesystem_timestamp_resolution=2
   2662 
   2663 # Only try to go finer than 1 sec if sleep can do it.
   2664 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   2665 # - 1 sec is not much of a win compared to 2 sec, and
   2666 # - it takes 2 seconds to perform the test whether 1 sec works.
   2667 #
   2668 # Instead, just use the default 2s on platforms that have 1s resolution,
   2669 # accept the extra 1s delay when using $sleep in the Automake tests, in
   2670 # exchange for not incurring the 2s delay for running the test for all
   2671 # packages.
   2672 #
   2673 am_try_resolutions=
   2674 if test "$am_cv_sleep_fractional_seconds" = yes; then
   2675   # Even a millisecond often causes a bunch of false positives,
   2676   # so just try a hundredth of a second. The time saved between .001 and
   2677   # .01 is not terribly consequential.
   2678   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   2679 fi
   2680 
   2681 # In order to catch current-generation FAT out, we must *modify* files
   2682 # that already exist; the *creation* timestamp is finer.  Use names
   2683 # that make ls -t sort them differently when they have equal
   2684 # timestamps than when they have distinct timestamps, keeping
   2685 # in mind that ls -t prints the *newest* file first.
   2686 rm -f conftest.ts?
   2687 : > conftest.ts1
   2688 : > conftest.ts2
   2689 : > conftest.ts3
   2690 
   2691 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   2692 # clobber the current shell's arguments. (Outer-level square brackets
   2693 # are removed by m4; they're present so that m4 does not expand
   2694 # <dollar><star>; be careful, easy to get confused.)
   2695 if (
   2696      set X `ls -t conftest.ts[12]` &&
   2697      {
   2698        test "$*" != "X conftest.ts1 conftest.ts2" ||
   2699        test "$*" != "X conftest.ts2 conftest.ts1";
   2700      }
   2701 ); then :; else
   2702   # If neither matched, then we have a broken ls.  This can happen
   2703   # if, for instance, CONFIG_SHELL is bash and it inherits a
   2704   # broken ls alias from the environment.  This has actually
   2705   # happened.  Such a system could not be considered "sane".
   2706   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   2707   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2708 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2709 as_fn_error $? "ls -t produces unexpected output.
   2710 Make sure there is not a broken ls alias in your environment.
   2711 See 'config.log' for more details" "$LINENO" 5; }
   2712 fi
   2713 
   2714 for am_try_res in $am_try_resolutions; do
   2715   # Any one fine-grained sleep might happen to cross the boundary
   2716   # between two values of a coarser actual resolution, but if we do
   2717   # two fine-grained sleeps in a row, at least one of them will fall
   2718   # entirely within a coarse interval.
   2719   echo alpha > conftest.ts1
   2720   sleep $am_try_res
   2721   echo beta > conftest.ts2
   2722   sleep $am_try_res
   2723   echo gamma > conftest.ts3
   2724 
   2725   # We assume that 'ls -t' will make use of high-resolution
   2726   # timestamps if the operating system supports them at all.
   2727   if (set X `ls -t conftest.ts?` &&
   2728       test "$2" = conftest.ts3 &&
   2729       test "$3" = conftest.ts2 &&
   2730       test "$4" = conftest.ts1); then
   2731     #
   2732     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   2733     # because we don't need to test make.
   2734     make_ok=true
   2735     if test $am_try_res != 1; then
   2736       # But if we've succeeded so far with a subsecond resolution, we
   2737       # have one more thing to check: make. It can happen that
   2738       # everything else supports the subsecond mtimes, but make doesn't;
   2739       # notably on macOS, which ships make 3.81 from 2006 (the last one
   2740       # released under GPLv2). https://bugs.gnu.org/68808
   2741       #
   2742       # We test $MAKE if it is defined in the environment, else "make".
   2743       # It might get overridden later, but our hope is that in practice
   2744       # it does not matter: it is the system "make" which is (by far)
   2745       # the most likely to be broken, whereas if the user overrides it,
   2746       # probably they did so with a better, or at least not worse, make.
   2747       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   2748       #
   2749       # Create a Makefile (real tab character here):
   2750       rm -f conftest.mk
   2751       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   2752       echo '	touch conftest.ts2' >>conftest.mk
   2753       #
   2754       # Now, running
   2755       #   touch conftest.ts1; touch conftest.ts2; make
   2756       # should touch ts1 because ts2 is newer. This could happen by luck,
   2757       # but most often, it will fail if make's support is insufficient. So
   2758       # test for several consecutive successes.
   2759       #
   2760       # (We reuse conftest.ts[12] because we still want to modify existing
   2761       # files, not create new ones, per above.)
   2762       n=0
   2763       make=${MAKE-make}
   2764       until test $n -eq 3; do
   2765         echo one > conftest.ts1
   2766         sleep $am_try_res
   2767         echo two > conftest.ts2 # ts2 should now be newer than ts1
   2768         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   2769           make_ok=false
   2770           break # out of $n loop
   2771         fi
   2772         n=`expr $n + 1`
   2773       done
   2774     fi
   2775     #
   2776     if $make_ok; then
   2777       # Everything we know to check worked out, so call this resolution good.
   2778       am_cv_filesystem_timestamp_resolution=$am_try_res
   2779       break # out of $am_try_res loop
   2780     fi
   2781     # Otherwise, we'll go on to check the next resolution.
   2782   fi
   2783 done
   2784 rm -f conftest.ts?
   2785 # (end _am_filesystem_timestamp_resolution)
   2786  ;;
   2787 esac
   2788 fi
   2789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   2790 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   2791 
   2792 # This check should not be cached, as it may vary across builds of
   2793 # different projects.
   2794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2795 printf %s "checking whether build environment is sane... " >&6; }
   2796 # Reject unsafe characters in $srcdir or the absolute working directory
   2797 # name.  Accept space and tab only in the latter.
   2798 am_lf='
   2799 '
   2800 case `pwd` in
   2801   *[\\\"\#\$\&\'\`$am_lf]*)
   2802     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2803 printf "%s\n" "no" >&6; }
   2804     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2805 esac
   2806 case $srcdir in
   2807   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2808     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2809 printf "%s\n" "no" >&6; }
   2810     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2811 esac
   2812 
   2813 # Do 'set' in a subshell so we don't clobber the current shell's
   2814 # arguments.  Must try -L first in case configure is actually a
   2815 # symlink; some systems play weird games with the mod time of symlinks
   2816 # (eg FreeBSD returns the mod time of the symlink's containing
   2817 # directory).
   2818 am_build_env_is_sane=no
   2819 am_has_slept=no
   2820 rm -f conftest.file
   2821 for am_try in 1 2; do
   2822   echo "timestamp, slept: $am_has_slept" > conftest.file
   2823   if (
   2824     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2825     if test "$*" = "X"; then
   2826       # -L didn't work.
   2827       set X `ls -t "$srcdir/configure" conftest.file`
   2828     fi
   2829     test "$2" = conftest.file
   2830   ); then
   2831     am_build_env_is_sane=yes
   2832     break
   2833   fi
   2834   # Just in case.
   2835   sleep "$am_cv_filesystem_timestamp_resolution"
   2836   am_has_slept=yes
   2837 done
   2838 
   2839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   2840 printf "%s\n" "$am_build_env_is_sane" >&6; }
   2841 if test "$am_build_env_is_sane" = no; then
   2842   as_fn_error $? "newly created file is older than distributed files!
   2843 Check your system clock" "$LINENO" 5
   2844 fi
   2845 
   2846 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2847 # generated files are strictly newer.
   2848 am_sleep_pid=
   2849 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   2850 then :
   2851 
   2852 else case e in #(
   2853   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   2854   am_sleep_pid=$!
   2855  ;;
   2856 esac
   2857 fi
   2858 
   2859 rm -f conftest.file
   2860 
   2861 test "$program_prefix" != NONE &&
   2862   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2863 # Use a double $ so make ignores it.
   2864 test "$program_suffix" != NONE &&
   2865   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2866 # Double any \ or $.
   2867 # By default was 's,x,x', remove it if useless.
   2868 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2869 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2870 
   2871 
   2872 # Expand $ac_aux_dir to an absolute path.
   2873 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2874 
   2875 
   2876   if test x"${MISSING+set}" != xset; then
   2877   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2878 fi
   2879 # Use eval to expand $SHELL
   2880 if eval "$MISSING --is-lightweight"; then
   2881   am_missing_run="$MISSING "
   2882 else
   2883   am_missing_run=
   2884   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2885 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2886 fi
   2887 
   2888 if test x"${install_sh+set}" != xset; then
   2889   case $am_aux_dir in
   2890   *\ * | *\	*)
   2891     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2892   *)
   2893     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2894   esac
   2895 fi
   2896 
   2897 # Installed binaries are usually stripped using 'strip' when the user
   2898 # run "make install-strip".  However 'strip' might not be the right
   2899 # tool to use in cross-compilation environments, therefore Automake
   2900 # will honor the 'STRIP' environment variable to overrule this program.
   2901 if test "$cross_compiling" != no; then
   2902   if test -n "$ac_tool_prefix"; then
   2903   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2904 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2906 printf %s "checking for $ac_word... " >&6; }
   2907 if test ${ac_cv_prog_STRIP+y}
   2908 then :
   2909   printf %s "(cached) " >&6
   2910 else case e in #(
   2911   e) if test -n "$STRIP"; then
   2912   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2913 else
   2914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2915 for as_dir in $PATH
   2916 do
   2917   IFS=$as_save_IFS
   2918   case $as_dir in #(((
   2919     '') as_dir=./ ;;
   2920     */) ;;
   2921     *) as_dir=$as_dir/ ;;
   2922   esac
   2923     for ac_exec_ext in '' $ac_executable_extensions; do
   2924   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2925     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2926     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2927     break 2
   2928   fi
   2929 done
   2930   done
   2931 IFS=$as_save_IFS
   2932 
   2933 fi ;;
   2934 esac
   2935 fi
   2936 STRIP=$ac_cv_prog_STRIP
   2937 if test -n "$STRIP"; then
   2938   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2939 printf "%s\n" "$STRIP" >&6; }
   2940 else
   2941   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2942 printf "%s\n" "no" >&6; }
   2943 fi
   2944 
   2945 
   2946 fi
   2947 if test -z "$ac_cv_prog_STRIP"; then
   2948   ac_ct_STRIP=$STRIP
   2949   # Extract the first word of "strip", so it can be a program name with args.
   2950 set dummy strip; ac_word=$2
   2951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2952 printf %s "checking for $ac_word... " >&6; }
   2953 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2954 then :
   2955   printf %s "(cached) " >&6
   2956 else case e in #(
   2957   e) if test -n "$ac_ct_STRIP"; then
   2958   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2959 else
   2960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2961 for as_dir in $PATH
   2962 do
   2963   IFS=$as_save_IFS
   2964   case $as_dir in #(((
   2965     '') as_dir=./ ;;
   2966     */) ;;
   2967     *) as_dir=$as_dir/ ;;
   2968   esac
   2969     for ac_exec_ext in '' $ac_executable_extensions; do
   2970   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2971     ac_cv_prog_ac_ct_STRIP="strip"
   2972     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2973     break 2
   2974   fi
   2975 done
   2976   done
   2977 IFS=$as_save_IFS
   2978 
   2979 fi ;;
   2980 esac
   2981 fi
   2982 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2983 if test -n "$ac_ct_STRIP"; then
   2984   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2985 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2986 else
   2987   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2988 printf "%s\n" "no" >&6; }
   2989 fi
   2990 
   2991   if test "x$ac_ct_STRIP" = x; then
   2992     STRIP=":"
   2993   else
   2994     case $cross_compiling:$ac_tool_warned in
   2995 yes:)
   2996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2997 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2998 ac_tool_warned=yes ;;
   2999 esac
   3000     STRIP=$ac_ct_STRIP
   3001   fi
   3002 else
   3003   STRIP="$ac_cv_prog_STRIP"
   3004 fi
   3005 
   3006 fi
   3007 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3008 
   3009 
   3010   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3011 printf %s "checking for a race-free mkdir -p... " >&6; }
   3012 if test -z "$MKDIR_P"; then
   3013   if test ${ac_cv_path_mkdir+y}
   3014 then :
   3015   printf %s "(cached) " >&6
   3016 else case e in #(
   3017   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3018 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3019 do
   3020   IFS=$as_save_IFS
   3021   case $as_dir in #(((
   3022     '') as_dir=./ ;;
   3023     */) ;;
   3024     *) as_dir=$as_dir/ ;;
   3025   esac
   3026     for ac_prog in mkdir gmkdir; do
   3027 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3028 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3029 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3030 	     'mkdir ('*'coreutils) '* | \
   3031 	     *'BusyBox '* | \
   3032 	     'mkdir (fileutils) '4.1*)
   3033 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3034 	       break 3;;
   3035 	   esac
   3036 	 done
   3037        done
   3038   done
   3039 IFS=$as_save_IFS
   3040  ;;
   3041 esac
   3042 fi
   3043 
   3044   test -d ./--version && rmdir ./--version
   3045   if test ${ac_cv_path_mkdir+y}; then
   3046     MKDIR_P="$ac_cv_path_mkdir -p"
   3047   else
   3048     # As a last resort, use plain mkdir -p,
   3049     # in the hope it doesn't have the bugs of ancient mkdir.
   3050     MKDIR_P='mkdir -p'
   3051   fi
   3052 fi
   3053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3054 printf "%s\n" "$MKDIR_P" >&6; }
   3055 
   3056 for ac_prog in gawk mawk nawk awk
   3057 do
   3058   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3059 set dummy $ac_prog; ac_word=$2
   3060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3061 printf %s "checking for $ac_word... " >&6; }
   3062 if test ${ac_cv_prog_AWK+y}
   3063 then :
   3064   printf %s "(cached) " >&6
   3065 else case e in #(
   3066   e) if test -n "$AWK"; then
   3067   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3068 else
   3069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3070 for as_dir in $PATH
   3071 do
   3072   IFS=$as_save_IFS
   3073   case $as_dir in #(((
   3074     '') as_dir=./ ;;
   3075     */) ;;
   3076     *) as_dir=$as_dir/ ;;
   3077   esac
   3078     for ac_exec_ext in '' $ac_executable_extensions; do
   3079   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3080     ac_cv_prog_AWK="$ac_prog"
   3081     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3082     break 2
   3083   fi
   3084 done
   3085   done
   3086 IFS=$as_save_IFS
   3087 
   3088 fi ;;
   3089 esac
   3090 fi
   3091 AWK=$ac_cv_prog_AWK
   3092 if test -n "$AWK"; then
   3093   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3094 printf "%s\n" "$AWK" >&6; }
   3095 else
   3096   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3097 printf "%s\n" "no" >&6; }
   3098 fi
   3099 
   3100 
   3101   test -n "$AWK" && break
   3102 done
   3103 
   3104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3105 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3106 set x ${MAKE-make}
   3107 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3108 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3109 then :
   3110   printf %s "(cached) " >&6
   3111 else case e in #(
   3112   e) cat >conftest.make <<\_ACEOF
   3113 SHELL = /bin/sh
   3114 all:
   3115 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3116 _ACEOF
   3117 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3118 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3119   *@@@%%%=?*=@@@%%%*)
   3120     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3121   *)
   3122     eval ac_cv_prog_make_${ac_make}_set=no;;
   3123 esac
   3124 rm -f conftest.make ;;
   3125 esac
   3126 fi
   3127 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3128   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3129 printf "%s\n" "yes" >&6; }
   3130   SET_MAKE=
   3131 else
   3132   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3133 printf "%s\n" "no" >&6; }
   3134   SET_MAKE="MAKE=${MAKE-make}"
   3135 fi
   3136 
   3137 rm -rf .tst 2>/dev/null
   3138 mkdir .tst 2>/dev/null
   3139 if test -d .tst; then
   3140   am__leading_dot=.
   3141 else
   3142   am__leading_dot=_
   3143 fi
   3144 rmdir .tst 2>/dev/null
   3145 
   3146 AM_DEFAULT_VERBOSITY=1
   3147 # Check whether --enable-silent-rules was given.
   3148 if test ${enable_silent_rules+y}
   3149 then :
   3150   enableval=$enable_silent_rules;
   3151 fi
   3152 
   3153 am_make=${MAKE-make}
   3154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3155 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3156 if test ${am_cv_make_support_nested_variables+y}
   3157 then :
   3158   printf %s "(cached) " >&6
   3159 else case e in #(
   3160   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3161 BAR0=false
   3162 BAR1=true
   3163 V=1
   3164 am__doit:
   3165 	@$(TRUE)
   3166 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3167   am_cv_make_support_nested_variables=yes
   3168 else
   3169   am_cv_make_support_nested_variables=no
   3170 fi ;;
   3171 esac
   3172 fi
   3173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3174 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3175 AM_BACKSLASH='\'
   3176 
   3177 am__rm_f_notfound=
   3178 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3179 then :
   3180 
   3181 else case e in #(
   3182   e) am__rm_f_notfound='""' ;;
   3183 esac
   3184 fi
   3185 
   3186 
   3187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3188 printf %s "checking xargs -n works... " >&6; }
   3189 if test ${am_cv_xargs_n_works+y}
   3190 then :
   3191   printf %s "(cached) " >&6
   3192 else case e in #(
   3193   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3194 3"
   3195 then :
   3196   am_cv_xargs_n_works=yes
   3197 else case e in #(
   3198   e) am_cv_xargs_n_works=no ;;
   3199 esac
   3200 fi ;;
   3201 esac
   3202 fi
   3203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3204 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   3205 if test "$am_cv_xargs_n_works" = yes
   3206 then :
   3207   am__xargs_n='xargs -n'
   3208 else case e in #(
   3209   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3210  ;;
   3211 esac
   3212 fi
   3213 
   3214 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3215   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3216   # is not polluted with repeated "-I."
   3217   am__isrc=' -I$(srcdir)'
   3218   # test to see if srcdir already configured
   3219   if test -f $srcdir/config.status; then
   3220     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3221   fi
   3222 fi
   3223 
   3224 # test whether we have cygpath
   3225 if test -z "$CYGPATH_W"; then
   3226   if (cygpath --version) >/dev/null 2>/dev/null; then
   3227     CYGPATH_W='cygpath -w'
   3228   else
   3229     CYGPATH_W=echo
   3230   fi
   3231 fi
   3232 
   3233 
   3234 # Define the identity of the package.
   3235  PACKAGE='xeyes'
   3236  VERSION='1.3.1'
   3237 
   3238 
   3239 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3240 
   3241 
   3242 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3243 
   3244 # Some tools Automake needs.
   3245 
   3246 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3247 
   3248 
   3249 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3250 
   3251 
   3252 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3253 
   3254 
   3255 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3256 
   3257 
   3258 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3259 
   3260 # For better backward compatibility.  To be removed once Automake 1.9.x
   3261 # dies out for good.  For more background, see:
   3262 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3263 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3264 mkdir_p='$(MKDIR_P)'
   3265 
   3266 # We need awk for the "check" target (and possibly the TAP driver).  The
   3267 # system "awk" is bad on some platforms.
   3268 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3269 # in the wild :-(  We should find a proper way to deprecate it ...
   3270 AMTAR='$${TAR-tar}'
   3271 
   3272 
   3273 # We'll loop over all known methods to create a tar archive until one works.
   3274 _am_tools='gnutar plaintar pax cpio none'
   3275 
   3276 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   3277       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   3278       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   3279       # and bug#13588).
   3280       am_max_uid=2097151 # 2^21 - 1
   3281       am_max_gid=$am_max_uid
   3282       # The $UID and $GID variables are not portable, so we need to resort
   3283       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   3284       # below are definitely unexpected, so allow the users to see them
   3285       # (that is, avoid stderr redirection).
   3286       am_uid=`id -u || echo unknown`
   3287       am_gid=`id -g || echo unknown`
   3288       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   3289 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   3290       if test x$am_uid = xunknown; then
   3291         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
   3292 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
   3293       elif test $am_uid -le $am_max_uid; then
   3294         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3295 printf "%s\n" "yes" >&6; }
   3296       else
   3297         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3298 printf "%s\n" "no" >&6; }
   3299         _am_tools=none
   3300       fi
   3301       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   3302 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   3303       if test x$gm_gid = xunknown; then
   3304         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
   3305 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
   3306       elif test $am_gid -le $am_max_gid; then
   3307         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3308 printf "%s\n" "yes" >&6; }
   3309       else
   3310         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3311 printf "%s\n" "no" >&6; }
   3312         _am_tools=none
   3313       fi
   3314 
   3315   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   3316 printf %s "checking how to create a ustar tar archive... " >&6; }
   3317 
   3318   # Go ahead even if we have the value already cached.  We do so because we
   3319   # need to set the values for the 'am__tar' and 'am__untar' variables.
   3320   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   3321 
   3322   for _am_tool in $_am_tools; do
   3323     case $_am_tool in
   3324     gnutar)
   3325       for _am_tar in tar gnutar gtar; do
   3326         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   3327    ($_am_tar --version) >&5 2>&5
   3328    ac_status=$?
   3329    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3330    (exit $ac_status); } && break
   3331       done
   3332       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   3333       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   3334       am__untar="$_am_tar -xf -"
   3335       ;;
   3336     plaintar)
   3337       # Must skip GNU tar: if it does not support --format= it doesn't create
   3338       # ustar tarball either.
   3339       (tar --version) >/dev/null 2>&1 && continue
   3340       am__tar='tar chf - "$$tardir"'
   3341       am__tar_='tar chf - "$tardir"'
   3342       am__untar='tar xf -'
   3343       ;;
   3344     pax)
   3345       am__tar='pax -L -x ustar -w "$$tardir"'
   3346       am__tar_='pax -L -x ustar -w "$tardir"'
   3347       am__untar='pax -r'
   3348       ;;
   3349     cpio)
   3350       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   3351       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   3352       am__untar='cpio -i -H ustar -d'
   3353       ;;
   3354     none)
   3355       am__tar=false
   3356       am__tar_=false
   3357       am__untar=false
   3358       ;;
   3359     esac
   3360 
   3361     # If the value was cached, stop now.  We just wanted to have am__tar
   3362     # and am__untar set.
   3363     test -n "${am_cv_prog_tar_ustar}" && break
   3364 
   3365     # tar/untar a dummy directory, and stop if the command works.
   3366     rm -rf conftest.dir
   3367     mkdir conftest.dir
   3368     echo GrepMe > conftest.dir/file
   3369     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   3370    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   3371    ac_status=$?
   3372    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3373    (exit $ac_status); }
   3374     rm -rf conftest.dir
   3375     if test -s conftest.tar; then
   3376       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   3377    ($am__untar <conftest.tar) >&5 2>&5
   3378    ac_status=$?
   3379    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3380    (exit $ac_status); }
   3381       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   3382    (cat conftest.dir/file) >&5 2>&5
   3383    ac_status=$?
   3384    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3385    (exit $ac_status); }
   3386       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   3387     fi
   3388   done
   3389   rm -rf conftest.dir
   3390 
   3391   if test ${am_cv_prog_tar_ustar+y}
   3392 then :
   3393   printf %s "(cached) " >&6
   3394 else case e in #(
   3395   e) am_cv_prog_tar_ustar=$_am_tool ;;
   3396 esac
   3397 fi
   3398 
   3399   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   3400 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
   3401 
   3402 
   3403 
   3404 
   3405 
   3406 # Variables for tags utilities; see am/tags.am
   3407 if test -z "$CTAGS"; then
   3408   CTAGS=ctags
   3409 fi
   3410 
   3411 if test -z "$ETAGS"; then
   3412   ETAGS=etags
   3413 fi
   3414 
   3415 if test -z "$CSCOPE"; then
   3416   CSCOPE=cscope
   3417 fi
   3418 
   3419 
   3420 
   3421 
   3422 
   3423 
   3424 
   3425 
   3426 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3427 
   3428 
   3429 
   3430 
   3431 
   3432 
   3433 
   3434 
   3435 
   3436 
   3437 
   3438 
   3439 
   3440 
   3441 
   3442 
   3443 
   3444 
   3445 
   3446 
   3447 DEPDIR="${am__leading_dot}deps"
   3448 
   3449 ac_config_commands="$ac_config_commands depfiles"
   3450 
   3451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3452 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3453 cat > confinc.mk << 'END'
   3454 am__doit:
   3455 	@echo this is the am__doit target >confinc.out
   3456 .PHONY: am__doit
   3457 END
   3458 am__include="#"
   3459 am__quote=
   3460 # BSD make does it like this.
   3461 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3462 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3463 echo 'include confinc.mk # ignored' > confmf.GNU
   3464 _am_result=no
   3465 for s in GNU BSD; do
   3466   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3467    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3468    ac_status=$?
   3469    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3470    (exit $ac_status); }
   3471   case $?:`cat confinc.out 2>/dev/null` in #(
   3472   '0:this is the am__doit target') :
   3473     case $s in #(
   3474   BSD) :
   3475     am__include='.include' am__quote='"' ;; #(
   3476   *) :
   3477     am__include='include' am__quote='' ;;
   3478 esac ;; #(
   3479   *) :
   3480      ;;
   3481 esac
   3482   if test "$am__include" != "#"; then
   3483     _am_result="yes ($s style)"
   3484     break
   3485   fi
   3486 done
   3487 rm -f confinc.* confmf.*
   3488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3489 printf "%s\n" "${_am_result}" >&6; }
   3490 
   3491 # Check whether --enable-dependency-tracking was given.
   3492 if test ${enable_dependency_tracking+y}
   3493 then :
   3494   enableval=$enable_dependency_tracking;
   3495 fi
   3496 
   3497 if test "x$enable_dependency_tracking" != xno; then
   3498   am_depcomp="$ac_aux_dir/depcomp"
   3499   AMDEPBACKSLASH='\'
   3500   am__nodep='_no'
   3501 fi
   3502  if test "x$enable_dependency_tracking" != xno; then
   3503   AMDEP_TRUE=
   3504   AMDEP_FALSE='#'
   3505 else
   3506   AMDEP_TRUE='#'
   3507   AMDEP_FALSE=
   3508 fi
   3509 
   3510 
   3511 ac_ext=c
   3512 ac_cpp='$CPP $CPPFLAGS'
   3513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3516 if test -n "$ac_tool_prefix"; then
   3517   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3518 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3520 printf %s "checking for $ac_word... " >&6; }
   3521 if test ${ac_cv_prog_CC+y}
   3522 then :
   3523   printf %s "(cached) " >&6
   3524 else case e in #(
   3525   e) if test -n "$CC"; then
   3526   ac_cv_prog_CC="$CC" # Let the user override the test.
   3527 else
   3528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3529 for as_dir in $PATH
   3530 do
   3531   IFS=$as_save_IFS
   3532   case $as_dir in #(((
   3533     '') as_dir=./ ;;
   3534     */) ;;
   3535     *) as_dir=$as_dir/ ;;
   3536   esac
   3537     for ac_exec_ext in '' $ac_executable_extensions; do
   3538   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3539     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3540     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3541     break 2
   3542   fi
   3543 done
   3544   done
   3545 IFS=$as_save_IFS
   3546 
   3547 fi ;;
   3548 esac
   3549 fi
   3550 CC=$ac_cv_prog_CC
   3551 if test -n "$CC"; then
   3552   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3553 printf "%s\n" "$CC" >&6; }
   3554 else
   3555   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3556 printf "%s\n" "no" >&6; }
   3557 fi
   3558 
   3559 
   3560 fi
   3561 if test -z "$ac_cv_prog_CC"; then
   3562   ac_ct_CC=$CC
   3563   # Extract the first word of "gcc", so it can be a program name with args.
   3564 set dummy gcc; ac_word=$2
   3565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3566 printf %s "checking for $ac_word... " >&6; }
   3567 if test ${ac_cv_prog_ac_ct_CC+y}
   3568 then :
   3569   printf %s "(cached) " >&6
   3570 else case e in #(
   3571   e) if test -n "$ac_ct_CC"; then
   3572   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3573 else
   3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3575 for as_dir in $PATH
   3576 do
   3577   IFS=$as_save_IFS
   3578   case $as_dir in #(((
   3579     '') as_dir=./ ;;
   3580     */) ;;
   3581     *) as_dir=$as_dir/ ;;
   3582   esac
   3583     for ac_exec_ext in '' $ac_executable_extensions; do
   3584   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3585     ac_cv_prog_ac_ct_CC="gcc"
   3586     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3587     break 2
   3588   fi
   3589 done
   3590   done
   3591 IFS=$as_save_IFS
   3592 
   3593 fi ;;
   3594 esac
   3595 fi
   3596 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3597 if test -n "$ac_ct_CC"; then
   3598   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3599 printf "%s\n" "$ac_ct_CC" >&6; }
   3600 else
   3601   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3602 printf "%s\n" "no" >&6; }
   3603 fi
   3604 
   3605   if test "x$ac_ct_CC" = x; then
   3606     CC=""
   3607   else
   3608     case $cross_compiling:$ac_tool_warned in
   3609 yes:)
   3610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3611 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3612 ac_tool_warned=yes ;;
   3613 esac
   3614     CC=$ac_ct_CC
   3615   fi
   3616 else
   3617   CC="$ac_cv_prog_CC"
   3618 fi
   3619 
   3620 if test -z "$CC"; then
   3621           if test -n "$ac_tool_prefix"; then
   3622     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3623 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3625 printf %s "checking for $ac_word... " >&6; }
   3626 if test ${ac_cv_prog_CC+y}
   3627 then :
   3628   printf %s "(cached) " >&6
   3629 else case e in #(
   3630   e) if test -n "$CC"; then
   3631   ac_cv_prog_CC="$CC" # Let the user override the test.
   3632 else
   3633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3634 for as_dir in $PATH
   3635 do
   3636   IFS=$as_save_IFS
   3637   case $as_dir in #(((
   3638     '') as_dir=./ ;;
   3639     */) ;;
   3640     *) as_dir=$as_dir/ ;;
   3641   esac
   3642     for ac_exec_ext in '' $ac_executable_extensions; do
   3643   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3644     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3645     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3646     break 2
   3647   fi
   3648 done
   3649   done
   3650 IFS=$as_save_IFS
   3651 
   3652 fi ;;
   3653 esac
   3654 fi
   3655 CC=$ac_cv_prog_CC
   3656 if test -n "$CC"; then
   3657   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3658 printf "%s\n" "$CC" >&6; }
   3659 else
   3660   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3661 printf "%s\n" "no" >&6; }
   3662 fi
   3663 
   3664 
   3665   fi
   3666 fi
   3667 if test -z "$CC"; then
   3668   # Extract the first word of "cc", so it can be a program name with args.
   3669 set dummy cc; ac_word=$2
   3670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3671 printf %s "checking for $ac_word... " >&6; }
   3672 if test ${ac_cv_prog_CC+y}
   3673 then :
   3674   printf %s "(cached) " >&6
   3675 else case e in #(
   3676   e) if test -n "$CC"; then
   3677   ac_cv_prog_CC="$CC" # Let the user override the test.
   3678 else
   3679   ac_prog_rejected=no
   3680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3681 for as_dir in $PATH
   3682 do
   3683   IFS=$as_save_IFS
   3684   case $as_dir in #(((
   3685     '') as_dir=./ ;;
   3686     */) ;;
   3687     *) as_dir=$as_dir/ ;;
   3688   esac
   3689     for ac_exec_ext in '' $ac_executable_extensions; do
   3690   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3691     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3692        ac_prog_rejected=yes
   3693        continue
   3694      fi
   3695     ac_cv_prog_CC="cc"
   3696     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3697     break 2
   3698   fi
   3699 done
   3700   done
   3701 IFS=$as_save_IFS
   3702 
   3703 if test $ac_prog_rejected = yes; then
   3704   # We found a bogon in the path, so make sure we never use it.
   3705   set dummy $ac_cv_prog_CC
   3706   shift
   3707   if test $# != 0; then
   3708     # We chose a different compiler from the bogus one.
   3709     # However, it has the same basename, so the bogon will be chosen
   3710     # first if we set CC to just the basename; use the full file name.
   3711     shift
   3712     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3713   fi
   3714 fi
   3715 fi ;;
   3716 esac
   3717 fi
   3718 CC=$ac_cv_prog_CC
   3719 if test -n "$CC"; then
   3720   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3721 printf "%s\n" "$CC" >&6; }
   3722 else
   3723   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3724 printf "%s\n" "no" >&6; }
   3725 fi
   3726 
   3727 
   3728 fi
   3729 if test -z "$CC"; then
   3730   if test -n "$ac_tool_prefix"; then
   3731   for ac_prog in cl.exe
   3732   do
   3733     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3734 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3736 printf %s "checking for $ac_word... " >&6; }
   3737 if test ${ac_cv_prog_CC+y}
   3738 then :
   3739   printf %s "(cached) " >&6
   3740 else case e in #(
   3741   e) if test -n "$CC"; then
   3742   ac_cv_prog_CC="$CC" # Let the user override the test.
   3743 else
   3744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3745 for as_dir in $PATH
   3746 do
   3747   IFS=$as_save_IFS
   3748   case $as_dir in #(((
   3749     '') as_dir=./ ;;
   3750     */) ;;
   3751     *) as_dir=$as_dir/ ;;
   3752   esac
   3753     for ac_exec_ext in '' $ac_executable_extensions; do
   3754   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3755     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3756     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3757     break 2
   3758   fi
   3759 done
   3760   done
   3761 IFS=$as_save_IFS
   3762 
   3763 fi ;;
   3764 esac
   3765 fi
   3766 CC=$ac_cv_prog_CC
   3767 if test -n "$CC"; then
   3768   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3769 printf "%s\n" "$CC" >&6; }
   3770 else
   3771   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3772 printf "%s\n" "no" >&6; }
   3773 fi
   3774 
   3775 
   3776     test -n "$CC" && break
   3777   done
   3778 fi
   3779 if test -z "$CC"; then
   3780   ac_ct_CC=$CC
   3781   for ac_prog in cl.exe
   3782 do
   3783   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3784 set dummy $ac_prog; ac_word=$2
   3785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3786 printf %s "checking for $ac_word... " >&6; }
   3787 if test ${ac_cv_prog_ac_ct_CC+y}
   3788 then :
   3789   printf %s "(cached) " >&6
   3790 else case e in #(
   3791   e) if test -n "$ac_ct_CC"; then
   3792   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3793 else
   3794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3795 for as_dir in $PATH
   3796 do
   3797   IFS=$as_save_IFS
   3798   case $as_dir in #(((
   3799     '') as_dir=./ ;;
   3800     */) ;;
   3801     *) as_dir=$as_dir/ ;;
   3802   esac
   3803     for ac_exec_ext in '' $ac_executable_extensions; do
   3804   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3805     ac_cv_prog_ac_ct_CC="$ac_prog"
   3806     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3807     break 2
   3808   fi
   3809 done
   3810   done
   3811 IFS=$as_save_IFS
   3812 
   3813 fi ;;
   3814 esac
   3815 fi
   3816 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3817 if test -n "$ac_ct_CC"; then
   3818   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3819 printf "%s\n" "$ac_ct_CC" >&6; }
   3820 else
   3821   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3822 printf "%s\n" "no" >&6; }
   3823 fi
   3824 
   3825 
   3826   test -n "$ac_ct_CC" && break
   3827 done
   3828 
   3829   if test "x$ac_ct_CC" = x; then
   3830     CC=""
   3831   else
   3832     case $cross_compiling:$ac_tool_warned in
   3833 yes:)
   3834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3835 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3836 ac_tool_warned=yes ;;
   3837 esac
   3838     CC=$ac_ct_CC
   3839   fi
   3840 fi
   3841 
   3842 fi
   3843 if test -z "$CC"; then
   3844   if test -n "$ac_tool_prefix"; then
   3845   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3846 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3848 printf %s "checking for $ac_word... " >&6; }
   3849 if test ${ac_cv_prog_CC+y}
   3850 then :
   3851   printf %s "(cached) " >&6
   3852 else case e in #(
   3853   e) if test -n "$CC"; then
   3854   ac_cv_prog_CC="$CC" # Let the user override the test.
   3855 else
   3856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3857 for as_dir in $PATH
   3858 do
   3859   IFS=$as_save_IFS
   3860   case $as_dir in #(((
   3861     '') as_dir=./ ;;
   3862     */) ;;
   3863     *) as_dir=$as_dir/ ;;
   3864   esac
   3865     for ac_exec_ext in '' $ac_executable_extensions; do
   3866   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3867     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3868     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3869     break 2
   3870   fi
   3871 done
   3872   done
   3873 IFS=$as_save_IFS
   3874 
   3875 fi ;;
   3876 esac
   3877 fi
   3878 CC=$ac_cv_prog_CC
   3879 if test -n "$CC"; then
   3880   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3881 printf "%s\n" "$CC" >&6; }
   3882 else
   3883   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3884 printf "%s\n" "no" >&6; }
   3885 fi
   3886 
   3887 
   3888 fi
   3889 if test -z "$ac_cv_prog_CC"; then
   3890   ac_ct_CC=$CC
   3891   # Extract the first word of "clang", so it can be a program name with args.
   3892 set dummy clang; ac_word=$2
   3893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3894 printf %s "checking for $ac_word... " >&6; }
   3895 if test ${ac_cv_prog_ac_ct_CC+y}
   3896 then :
   3897   printf %s "(cached) " >&6
   3898 else case e in #(
   3899   e) if test -n "$ac_ct_CC"; then
   3900   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3901 else
   3902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3903 for as_dir in $PATH
   3904 do
   3905   IFS=$as_save_IFS
   3906   case $as_dir in #(((
   3907     '') as_dir=./ ;;
   3908     */) ;;
   3909     *) as_dir=$as_dir/ ;;
   3910   esac
   3911     for ac_exec_ext in '' $ac_executable_extensions; do
   3912   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3913     ac_cv_prog_ac_ct_CC="clang"
   3914     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3915     break 2
   3916   fi
   3917 done
   3918   done
   3919 IFS=$as_save_IFS
   3920 
   3921 fi ;;
   3922 esac
   3923 fi
   3924 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3925 if test -n "$ac_ct_CC"; then
   3926   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3927 printf "%s\n" "$ac_ct_CC" >&6; }
   3928 else
   3929   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3930 printf "%s\n" "no" >&6; }
   3931 fi
   3932 
   3933   if test "x$ac_ct_CC" = x; then
   3934     CC=""
   3935   else
   3936     case $cross_compiling:$ac_tool_warned in
   3937 yes:)
   3938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3939 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3940 ac_tool_warned=yes ;;
   3941 esac
   3942     CC=$ac_ct_CC
   3943   fi
   3944 else
   3945   CC="$ac_cv_prog_CC"
   3946 fi
   3947 
   3948 fi
   3949 
   3950 
   3951 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3952 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3953 as_fn_error $? "no acceptable C compiler found in \$PATH
   3954 See 'config.log' for more details" "$LINENO" 5; }
   3955 
   3956 # Provide some information about the compiler.
   3957 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3958 set X $ac_compile
   3959 ac_compiler=$2
   3960 for ac_option in --version -v -V -qversion -version; do
   3961   { { ac_try="$ac_compiler $ac_option >&5"
   3962 case "(($ac_try" in
   3963   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3964   *) ac_try_echo=$ac_try;;
   3965 esac
   3966 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3967 printf "%s\n" "$ac_try_echo"; } >&5
   3968   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3969   ac_status=$?
   3970   if test -s conftest.err; then
   3971     sed '10a\
   3972 ... rest of stderr output deleted ...
   3973          10q' conftest.err >conftest.er1
   3974     cat conftest.er1 >&5
   3975   fi
   3976   rm -f conftest.er1 conftest.err
   3977   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3978   test $ac_status = 0; }
   3979 done
   3980 
   3981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3982 /* end confdefs.h.  */
   3983 
   3984 int
   3985 main (void)
   3986 {
   3987 
   3988   ;
   3989   return 0;
   3990 }
   3991 _ACEOF
   3992 ac_clean_files_save=$ac_clean_files
   3993 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3994 # Try to create an executable without -o first, disregard a.out.
   3995 # It will help us diagnose broken compilers, and finding out an intuition
   3996 # of exeext.
   3997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3998 printf %s "checking whether the C compiler works... " >&6; }
   3999 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4000 
   4001 # The possible output files:
   4002 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4003 
   4004 ac_rmfiles=
   4005 for ac_file in $ac_files
   4006 do
   4007   case $ac_file in
   4008     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4009     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4010   esac
   4011 done
   4012 rm -f $ac_rmfiles
   4013 
   4014 if { { ac_try="$ac_link_default"
   4015 case "(($ac_try" in
   4016   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4017   *) ac_try_echo=$ac_try;;
   4018 esac
   4019 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4020 printf "%s\n" "$ac_try_echo"; } >&5
   4021   (eval "$ac_link_default") 2>&5
   4022   ac_status=$?
   4023   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4024   test $ac_status = 0; }
   4025 then :
   4026   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   4027 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   4028 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4029 # so that the user can short-circuit this test for compilers unknown to
   4030 # Autoconf.
   4031 for ac_file in $ac_files ''
   4032 do
   4033   test -f "$ac_file" || continue
   4034   case $ac_file in
   4035     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4036 	;;
   4037     [ab].out )
   4038 	# We found the default executable, but exeext='' is most
   4039 	# certainly right.
   4040 	break;;
   4041     *.* )
   4042 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4043 	then :; else
   4044 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4045 	fi
   4046 	# We set ac_cv_exeext here because the later test for it is not
   4047 	# safe: cross compilers may not add the suffix if given an '-o'
   4048 	# argument, so we may need to know it at that point already.
   4049 	# Even if this section looks crufty: it has the advantage of
   4050 	# actually working.
   4051 	break;;
   4052     * )
   4053 	break;;
   4054   esac
   4055 done
   4056 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4057 
   4058 else case e in #(
   4059   e) ac_file='' ;;
   4060 esac
   4061 fi
   4062 if test -z "$ac_file"
   4063 then :
   4064   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4065 printf "%s\n" "no" >&6; }
   4066 printf "%s\n" "$as_me: failed program was:" >&5
   4067 sed 's/^/| /' conftest.$ac_ext >&5
   4068 
   4069 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4070 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4071 as_fn_error 77 "C compiler cannot create executables
   4072 See 'config.log' for more details" "$LINENO" 5; }
   4073 else case e in #(
   4074   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4075 printf "%s\n" "yes" >&6; } ;;
   4076 esac
   4077 fi
   4078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4079 printf %s "checking for C compiler default output file name... " >&6; }
   4080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4081 printf "%s\n" "$ac_file" >&6; }
   4082 ac_exeext=$ac_cv_exeext
   4083 
   4084 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4085 ac_clean_files=$ac_clean_files_save
   4086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4087 printf %s "checking for suffix of executables... " >&6; }
   4088 if { { ac_try="$ac_link"
   4089 case "(($ac_try" in
   4090   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4091   *) ac_try_echo=$ac_try;;
   4092 esac
   4093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4094 printf "%s\n" "$ac_try_echo"; } >&5
   4095   (eval "$ac_link") 2>&5
   4096   ac_status=$?
   4097   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4098   test $ac_status = 0; }
   4099 then :
   4100   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   4101 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   4102 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   4103 # 'rm'.
   4104 for ac_file in conftest.exe conftest conftest.*; do
   4105   test -f "$ac_file" || continue
   4106   case $ac_file in
   4107     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4108     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4109 	  break;;
   4110     * ) break;;
   4111   esac
   4112 done
   4113 else case e in #(
   4114   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4115 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4116 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4117 See 'config.log' for more details" "$LINENO" 5; } ;;
   4118 esac
   4119 fi
   4120 rm -f conftest conftest$ac_cv_exeext
   4121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4122 printf "%s\n" "$ac_cv_exeext" >&6; }
   4123 
   4124 rm -f conftest.$ac_ext
   4125 EXEEXT=$ac_cv_exeext
   4126 ac_exeext=$EXEEXT
   4127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4128 /* end confdefs.h.  */
   4129 #include <stdio.h>
   4130 int
   4131 main (void)
   4132 {
   4133 FILE *f = fopen ("conftest.out", "w");
   4134  if (!f)
   4135   return 1;
   4136  return ferror (f) || fclose (f) != 0;
   4137 
   4138   ;
   4139   return 0;
   4140 }
   4141 _ACEOF
   4142 ac_clean_files="$ac_clean_files conftest.out"
   4143 # Check that the compiler produces executables we can run.  If not, either
   4144 # the compiler is broken, or we cross compile.
   4145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4146 printf %s "checking whether we are cross compiling... " >&6; }
   4147 if test "$cross_compiling" != yes; then
   4148   { { ac_try="$ac_link"
   4149 case "(($ac_try" in
   4150   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4151   *) ac_try_echo=$ac_try;;
   4152 esac
   4153 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4154 printf "%s\n" "$ac_try_echo"; } >&5
   4155   (eval "$ac_link") 2>&5
   4156   ac_status=$?
   4157   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4158   test $ac_status = 0; }
   4159   if { ac_try='./conftest$ac_cv_exeext'
   4160   { { case "(($ac_try" in
   4161   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4162   *) ac_try_echo=$ac_try;;
   4163 esac
   4164 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4165 printf "%s\n" "$ac_try_echo"; } >&5
   4166   (eval "$ac_try") 2>&5
   4167   ac_status=$?
   4168   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4169   test $ac_status = 0; }; }; then
   4170     cross_compiling=no
   4171   else
   4172     if test "$cross_compiling" = maybe; then
   4173 	cross_compiling=yes
   4174     else
   4175 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4176 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4177 as_fn_error 77 "cannot run C compiled programs.
   4178 If you meant to cross compile, use '--host'.
   4179 See 'config.log' for more details" "$LINENO" 5; }
   4180     fi
   4181   fi
   4182 fi
   4183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4184 printf "%s\n" "$cross_compiling" >&6; }
   4185 
   4186 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4187   conftest.o conftest.obj conftest.out
   4188 ac_clean_files=$ac_clean_files_save
   4189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4190 printf %s "checking for suffix of object files... " >&6; }
   4191 if test ${ac_cv_objext+y}
   4192 then :
   4193   printf %s "(cached) " >&6
   4194 else case e in #(
   4195   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4196 /* end confdefs.h.  */
   4197 
   4198 int
   4199 main (void)
   4200 {
   4201 
   4202   ;
   4203   return 0;
   4204 }
   4205 _ACEOF
   4206 rm -f conftest.o conftest.obj
   4207 if { { ac_try="$ac_compile"
   4208 case "(($ac_try" in
   4209   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4210   *) ac_try_echo=$ac_try;;
   4211 esac
   4212 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4213 printf "%s\n" "$ac_try_echo"; } >&5
   4214   (eval "$ac_compile") 2>&5
   4215   ac_status=$?
   4216   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4217   test $ac_status = 0; }
   4218 then :
   4219   for ac_file in conftest.o conftest.obj conftest.*; do
   4220   test -f "$ac_file" || continue;
   4221   case $ac_file in
   4222     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4223     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4224        break;;
   4225   esac
   4226 done
   4227 else case e in #(
   4228   e) printf "%s\n" "$as_me: failed program was:" >&5
   4229 sed 's/^/| /' conftest.$ac_ext >&5
   4230 
   4231 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4232 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4233 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4234 See 'config.log' for more details" "$LINENO" 5; } ;;
   4235 esac
   4236 fi
   4237 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4238 esac
   4239 fi
   4240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4241 printf "%s\n" "$ac_cv_objext" >&6; }
   4242 OBJEXT=$ac_cv_objext
   4243 ac_objext=$OBJEXT
   4244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4245 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4246 if test ${ac_cv_c_compiler_gnu+y}
   4247 then :
   4248   printf %s "(cached) " >&6
   4249 else case e in #(
   4250   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4251 /* end confdefs.h.  */
   4252 
   4253 int
   4254 main (void)
   4255 {
   4256 #ifndef __GNUC__
   4257        choke me
   4258 #endif
   4259 
   4260   ;
   4261   return 0;
   4262 }
   4263 _ACEOF
   4264 if ac_fn_c_try_compile "$LINENO"
   4265 then :
   4266   ac_compiler_gnu=yes
   4267 else case e in #(
   4268   e) ac_compiler_gnu=no ;;
   4269 esac
   4270 fi
   4271 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4272 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4273  ;;
   4274 esac
   4275 fi
   4276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4277 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4279 
   4280 if test $ac_compiler_gnu = yes; then
   4281   GCC=yes
   4282 else
   4283   GCC=
   4284 fi
   4285 ac_test_CFLAGS=${CFLAGS+y}
   4286 ac_save_CFLAGS=$CFLAGS
   4287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4288 printf %s "checking whether $CC accepts -g... " >&6; }
   4289 if test ${ac_cv_prog_cc_g+y}
   4290 then :
   4291   printf %s "(cached) " >&6
   4292 else case e in #(
   4293   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4294    ac_c_werror_flag=yes
   4295    ac_cv_prog_cc_g=no
   4296    CFLAGS="-g"
   4297    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4298 /* end confdefs.h.  */
   4299 
   4300 int
   4301 main (void)
   4302 {
   4303 
   4304   ;
   4305   return 0;
   4306 }
   4307 _ACEOF
   4308 if ac_fn_c_try_compile "$LINENO"
   4309 then :
   4310   ac_cv_prog_cc_g=yes
   4311 else case e in #(
   4312   e) CFLAGS=""
   4313       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4314 /* end confdefs.h.  */
   4315 
   4316 int
   4317 main (void)
   4318 {
   4319 
   4320   ;
   4321   return 0;
   4322 }
   4323 _ACEOF
   4324 if ac_fn_c_try_compile "$LINENO"
   4325 then :
   4326 
   4327 else case e in #(
   4328   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4329 	 CFLAGS="-g"
   4330 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4331 /* end confdefs.h.  */
   4332 
   4333 int
   4334 main (void)
   4335 {
   4336 
   4337   ;
   4338   return 0;
   4339 }
   4340 _ACEOF
   4341 if ac_fn_c_try_compile "$LINENO"
   4342 then :
   4343   ac_cv_prog_cc_g=yes
   4344 fi
   4345 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4346 esac
   4347 fi
   4348 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4349 esac
   4350 fi
   4351 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4352    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4353 esac
   4354 fi
   4355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4356 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4357 if test $ac_test_CFLAGS; then
   4358   CFLAGS=$ac_save_CFLAGS
   4359 elif test $ac_cv_prog_cc_g = yes; then
   4360   if test "$GCC" = yes; then
   4361     CFLAGS="-g -O2"
   4362   else
   4363     CFLAGS="-g"
   4364   fi
   4365 else
   4366   if test "$GCC" = yes; then
   4367     CFLAGS="-O2"
   4368   else
   4369     CFLAGS=
   4370   fi
   4371 fi
   4372 ac_prog_cc_stdc=no
   4373 if test x$ac_prog_cc_stdc = xno
   4374 then :
   4375   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4376 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4377 if test ${ac_cv_prog_cc_c11+y}
   4378 then :
   4379   printf %s "(cached) " >&6
   4380 else case e in #(
   4381   e) ac_cv_prog_cc_c11=no
   4382 ac_save_CC=$CC
   4383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4384 /* end confdefs.h.  */
   4385 $ac_c_conftest_c11_program
   4386 _ACEOF
   4387 for ac_arg in '' -std=gnu11
   4388 do
   4389   CC="$ac_save_CC $ac_arg"
   4390   if ac_fn_c_try_compile "$LINENO"
   4391 then :
   4392   ac_cv_prog_cc_c11=$ac_arg
   4393 fi
   4394 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4395   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4396 done
   4397 rm -f conftest.$ac_ext
   4398 CC=$ac_save_CC ;;
   4399 esac
   4400 fi
   4401 
   4402 if test "x$ac_cv_prog_cc_c11" = xno
   4403 then :
   4404   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4405 printf "%s\n" "unsupported" >&6; }
   4406 else case e in #(
   4407   e) if test "x$ac_cv_prog_cc_c11" = x
   4408 then :
   4409   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4410 printf "%s\n" "none needed" >&6; }
   4411 else case e in #(
   4412   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4413 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4414      CC="$CC $ac_cv_prog_cc_c11" ;;
   4415 esac
   4416 fi
   4417   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4418   ac_prog_cc_stdc=c11 ;;
   4419 esac
   4420 fi
   4421 fi
   4422 if test x$ac_prog_cc_stdc = xno
   4423 then :
   4424   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4425 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4426 if test ${ac_cv_prog_cc_c99+y}
   4427 then :
   4428   printf %s "(cached) " >&6
   4429 else case e in #(
   4430   e) ac_cv_prog_cc_c99=no
   4431 ac_save_CC=$CC
   4432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4433 /* end confdefs.h.  */
   4434 $ac_c_conftest_c99_program
   4435 _ACEOF
   4436 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4437 do
   4438   CC="$ac_save_CC $ac_arg"
   4439   if ac_fn_c_try_compile "$LINENO"
   4440 then :
   4441   ac_cv_prog_cc_c99=$ac_arg
   4442 fi
   4443 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4444   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4445 done
   4446 rm -f conftest.$ac_ext
   4447 CC=$ac_save_CC ;;
   4448 esac
   4449 fi
   4450 
   4451 if test "x$ac_cv_prog_cc_c99" = xno
   4452 then :
   4453   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4454 printf "%s\n" "unsupported" >&6; }
   4455 else case e in #(
   4456   e) if test "x$ac_cv_prog_cc_c99" = x
   4457 then :
   4458   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4459 printf "%s\n" "none needed" >&6; }
   4460 else case e in #(
   4461   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4462 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4463      CC="$CC $ac_cv_prog_cc_c99" ;;
   4464 esac
   4465 fi
   4466   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4467   ac_prog_cc_stdc=c99 ;;
   4468 esac
   4469 fi
   4470 fi
   4471 if test x$ac_prog_cc_stdc = xno
   4472 then :
   4473   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4474 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4475 if test ${ac_cv_prog_cc_c89+y}
   4476 then :
   4477   printf %s "(cached) " >&6
   4478 else case e in #(
   4479   e) ac_cv_prog_cc_c89=no
   4480 ac_save_CC=$CC
   4481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4482 /* end confdefs.h.  */
   4483 $ac_c_conftest_c89_program
   4484 _ACEOF
   4485 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4486 do
   4487   CC="$ac_save_CC $ac_arg"
   4488   if ac_fn_c_try_compile "$LINENO"
   4489 then :
   4490   ac_cv_prog_cc_c89=$ac_arg
   4491 fi
   4492 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4493   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4494 done
   4495 rm -f conftest.$ac_ext
   4496 CC=$ac_save_CC ;;
   4497 esac
   4498 fi
   4499 
   4500 if test "x$ac_cv_prog_cc_c89" = xno
   4501 then :
   4502   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4503 printf "%s\n" "unsupported" >&6; }
   4504 else case e in #(
   4505   e) if test "x$ac_cv_prog_cc_c89" = x
   4506 then :
   4507   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4508 printf "%s\n" "none needed" >&6; }
   4509 else case e in #(
   4510   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4511 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4512      CC="$CC $ac_cv_prog_cc_c89" ;;
   4513 esac
   4514 fi
   4515   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4516   ac_prog_cc_stdc=c89 ;;
   4517 esac
   4518 fi
   4519 fi
   4520 
   4521 ac_ext=c
   4522 ac_cpp='$CPP $CPPFLAGS'
   4523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4526 
   4527 
   4528   ac_ext=c
   4529 ac_cpp='$CPP $CPPFLAGS'
   4530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4534 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4535 if test ${am_cv_prog_cc_c_o+y}
   4536 then :
   4537   printf %s "(cached) " >&6
   4538 else case e in #(
   4539   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4540 /* end confdefs.h.  */
   4541 
   4542 int
   4543 main (void)
   4544 {
   4545 
   4546   ;
   4547   return 0;
   4548 }
   4549 _ACEOF
   4550   # Make sure it works both with $CC and with simple cc.
   4551   # Following AC_PROG_CC_C_O, we do the test twice because some
   4552   # compilers refuse to overwrite an existing .o file with -o,
   4553   # though they will create one.
   4554   am_cv_prog_cc_c_o=yes
   4555   for am_i in 1 2; do
   4556     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4557    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4558    ac_status=$?
   4559    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4560    (exit $ac_status); } \
   4561          && test -f conftest2.$ac_objext; then
   4562       : OK
   4563     else
   4564       am_cv_prog_cc_c_o=no
   4565       break
   4566     fi
   4567   done
   4568   # aligned with autoconf, so not including core; see bug#72225.
   4569   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   4570     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   4571     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   4572   unset am_i ;;
   4573 esac
   4574 fi
   4575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4576 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4577 if test "$am_cv_prog_cc_c_o" != yes; then
   4578    # Losing compiler, so override with the script.
   4579    # FIXME: It is wrong to rewrite CC.
   4580    # But if we don't then we get into trouble of one sort or another.
   4581    # A longer-term fix would be to have automake use am__CC in this case,
   4582    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4583    CC="$am_aux_dir/compile $CC"
   4584 fi
   4585 ac_ext=c
   4586 ac_cpp='$CPP $CPPFLAGS'
   4587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4590 
   4591 
   4592 depcc="$CC"   am_compiler_list=
   4593 
   4594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4595 printf %s "checking dependency style of $depcc... " >&6; }
   4596 if test ${am_cv_CC_dependencies_compiler_type+y}
   4597 then :
   4598   printf %s "(cached) " >&6
   4599 else case e in #(
   4600   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4601   # We make a subdir and do the tests there.  Otherwise we can end up
   4602   # making bogus files that we don't know about and never remove.  For
   4603   # instance it was reported that on HP-UX the gcc test will end up
   4604   # making a dummy file named 'D' -- because '-MD' means "put the output
   4605   # in D".
   4606   rm -rf conftest.dir
   4607   mkdir conftest.dir
   4608   # Copy depcomp to subdir because otherwise we won't find it if we're
   4609   # using a relative directory.
   4610   cp "$am_depcomp" conftest.dir
   4611   cd conftest.dir
   4612   # We will build objects and dependencies in a subdirectory because
   4613   # it helps to detect inapplicable dependency modes.  For instance
   4614   # both Tru64's cc and ICC support -MD to output dependencies as a
   4615   # side effect of compilation, but ICC will put the dependencies in
   4616   # the current directory while Tru64 will put them in the object
   4617   # directory.
   4618   mkdir sub
   4619 
   4620   am_cv_CC_dependencies_compiler_type=none
   4621   if test "$am_compiler_list" = ""; then
   4622      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4623   fi
   4624   am__universal=false
   4625   case " $depcc " in #(
   4626      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4627      esac
   4628 
   4629   for depmode in $am_compiler_list; do
   4630     # Setup a source with many dependencies, because some compilers
   4631     # like to wrap large dependency lists on column 80 (with \), and
   4632     # we should not choose a depcomp mode which is confused by this.
   4633     #
   4634     # We need to recreate these files for each test, as the compiler may
   4635     # overwrite some of them when testing with obscure command lines.
   4636     # This happens at least with the AIX C compiler.
   4637     : > sub/conftest.c
   4638     for i in 1 2 3 4 5 6; do
   4639       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4640       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4641       # Solaris 10 /bin/sh.
   4642       echo '/* dummy */' > sub/conftst$i.h
   4643     done
   4644     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4645 
   4646     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4647     # mode.  It turns out that the SunPro C++ compiler does not properly
   4648     # handle '-M -o', and we need to detect this.  Also, some Intel
   4649     # versions had trouble with output in subdirs.
   4650     am__obj=sub/conftest.${OBJEXT-o}
   4651     am__minus_obj="-o $am__obj"
   4652     case $depmode in
   4653     gcc)
   4654       # This depmode causes a compiler race in universal mode.
   4655       test "$am__universal" = false || continue
   4656       ;;
   4657     nosideeffect)
   4658       # After this tag, mechanisms are not by side-effect, so they'll
   4659       # only be used when explicitly requested.
   4660       if test "x$enable_dependency_tracking" = xyes; then
   4661 	continue
   4662       else
   4663 	break
   4664       fi
   4665       ;;
   4666     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4667       # This compiler won't grok '-c -o', but also, the minuso test has
   4668       # not run yet.  These depmodes are late enough in the game, and
   4669       # so weak that their functioning should not be impacted.
   4670       am__obj=conftest.${OBJEXT-o}
   4671       am__minus_obj=
   4672       ;;
   4673     none) break ;;
   4674     esac
   4675     if depmode=$depmode \
   4676        source=sub/conftest.c object=$am__obj \
   4677        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4678        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4679          >/dev/null 2>conftest.err &&
   4680        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4681        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4682        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4683        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4684       # icc doesn't choke on unknown options, it will just issue warnings
   4685       # or remarks (even with -Werror).  So we grep stderr for any message
   4686       # that says an option was ignored or not supported.
   4687       # When given -MP, icc 7.0 and 7.1 complain thus:
   4688       #   icc: Command line warning: ignoring option '-M'; no argument required
   4689       # The diagnosis changed in icc 8.0:
   4690       #   icc: Command line remark: option '-MP' not supported
   4691       if (grep 'ignoring option' conftest.err ||
   4692           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4693         am_cv_CC_dependencies_compiler_type=$depmode
   4694         break
   4695       fi
   4696     fi
   4697   done
   4698 
   4699   cd ..
   4700   rm -rf conftest.dir
   4701 else
   4702   am_cv_CC_dependencies_compiler_type=none
   4703 fi
   4704  ;;
   4705 esac
   4706 fi
   4707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4708 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4709 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4710 
   4711  if
   4712   test "x$enable_dependency_tracking" != xno \
   4713   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4714   am__fastdepCC_TRUE=
   4715   am__fastdepCC_FALSE='#'
   4716 else
   4717   am__fastdepCC_TRUE='#'
   4718   am__fastdepCC_FALSE=
   4719 fi
   4720 
   4721 
   4722 
   4723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4724 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4725 if test ${ac_cv_c_undeclared_builtin_options+y}
   4726 then :
   4727   printf %s "(cached) " >&6
   4728 else case e in #(
   4729   e) ac_save_CFLAGS=$CFLAGS
   4730    ac_cv_c_undeclared_builtin_options='cannot detect'
   4731    for ac_arg in '' -fno-builtin; do
   4732      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4733      # This test program should *not* compile successfully.
   4734      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4735 /* end confdefs.h.  */
   4736 
   4737 int
   4738 main (void)
   4739 {
   4740 (void) strchr;
   4741   ;
   4742   return 0;
   4743 }
   4744 _ACEOF
   4745 if ac_fn_c_try_compile "$LINENO"
   4746 then :
   4747 
   4748 else case e in #(
   4749   e) # This test program should compile successfully.
   4750         # No library function is consistently available on
   4751         # freestanding implementations, so test against a dummy
   4752         # declaration.  Include always-available headers on the
   4753         # off chance that they somehow elicit warnings.
   4754         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4755 /* end confdefs.h.  */
   4756 #include <float.h>
   4757 #include <limits.h>
   4758 #include <stdarg.h>
   4759 #include <stddef.h>
   4760 extern void ac_decl (int, char *);
   4761 
   4762 int
   4763 main (void)
   4764 {
   4765 (void) ac_decl (0, (char *) 0);
   4766   (void) ac_decl;
   4767 
   4768   ;
   4769   return 0;
   4770 }
   4771 _ACEOF
   4772 if ac_fn_c_try_compile "$LINENO"
   4773 then :
   4774   if test x"$ac_arg" = x
   4775 then :
   4776   ac_cv_c_undeclared_builtin_options='none needed'
   4777 else case e in #(
   4778   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4779 esac
   4780 fi
   4781           break
   4782 fi
   4783 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4784 esac
   4785 fi
   4786 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4787     done
   4788     CFLAGS=$ac_save_CFLAGS
   4789    ;;
   4790 esac
   4791 fi
   4792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4793 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4794   case $ac_cv_c_undeclared_builtin_options in #(
   4795   'cannot detect') :
   4796     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4797 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4798 as_fn_error $? "cannot make $CC report undeclared builtins
   4799 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4800   'none needed') :
   4801     ac_c_undeclared_builtin_options='' ;; #(
   4802   *) :
   4803     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4804 esac
   4805 
   4806 ac_header= ac_cache=
   4807 for ac_item in $ac_header_c_list
   4808 do
   4809   if test $ac_cache; then
   4810     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4811     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4812       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4813     fi
   4814     ac_header= ac_cache=
   4815   elif test $ac_header; then
   4816     ac_cache=$ac_item
   4817   else
   4818     ac_header=$ac_item
   4819   fi
   4820 done
   4821 
   4822 
   4823 
   4824 
   4825 
   4826 
   4827 
   4828 
   4829 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4830 then :
   4831 
   4832 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4833 
   4834 fi
   4835 
   4836 
   4837 
   4838 
   4839 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4840 if test "x$ac_cv_have_decl___clang__" = xyes
   4841 then :
   4842   CLANGCC="yes"
   4843 else case e in #(
   4844   e) CLANGCC="no" ;;
   4845 esac
   4846 fi
   4847 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4848 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4849 then :
   4850   INTELCC="yes"
   4851 else case e in #(
   4852   e) INTELCC="no" ;;
   4853 esac
   4854 fi
   4855 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4856 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4857 then :
   4858   SUNCC="yes"
   4859 else case e in #(
   4860   e) SUNCC="no" ;;
   4861 esac
   4862 fi
   4863 
   4864 
   4865 
   4866 
   4867 
   4868 
   4869 
   4870 
   4871 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4872 	if test -n "$ac_tool_prefix"; then
   4873   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4874 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4876 printf %s "checking for $ac_word... " >&6; }
   4877 if test ${ac_cv_path_PKG_CONFIG+y}
   4878 then :
   4879   printf %s "(cached) " >&6
   4880 else case e in #(
   4881   e) case $PKG_CONFIG in
   4882   [\\/]* | ?:[\\/]*)
   4883   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4884   ;;
   4885   *)
   4886   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4887 for as_dir in $PATH
   4888 do
   4889   IFS=$as_save_IFS
   4890   case $as_dir in #(((
   4891     '') as_dir=./ ;;
   4892     */) ;;
   4893     *) as_dir=$as_dir/ ;;
   4894   esac
   4895     for ac_exec_ext in '' $ac_executable_extensions; do
   4896   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4897     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4898     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4899     break 2
   4900   fi
   4901 done
   4902   done
   4903 IFS=$as_save_IFS
   4904 
   4905   ;;
   4906 esac ;;
   4907 esac
   4908 fi
   4909 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4910 if test -n "$PKG_CONFIG"; then
   4911   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4912 printf "%s\n" "$PKG_CONFIG" >&6; }
   4913 else
   4914   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4915 printf "%s\n" "no" >&6; }
   4916 fi
   4917 
   4918 
   4919 fi
   4920 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4921   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4922   # Extract the first word of "pkg-config", so it can be a program name with args.
   4923 set dummy pkg-config; ac_word=$2
   4924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4925 printf %s "checking for $ac_word... " >&6; }
   4926 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4927 then :
   4928   printf %s "(cached) " >&6
   4929 else case e in #(
   4930   e) case $ac_pt_PKG_CONFIG in
   4931   [\\/]* | ?:[\\/]*)
   4932   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4933   ;;
   4934   *)
   4935   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4936 for as_dir in $PATH
   4937 do
   4938   IFS=$as_save_IFS
   4939   case $as_dir in #(((
   4940     '') as_dir=./ ;;
   4941     */) ;;
   4942     *) as_dir=$as_dir/ ;;
   4943   esac
   4944     for ac_exec_ext in '' $ac_executable_extensions; do
   4945   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4946     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4947     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4948     break 2
   4949   fi
   4950 done
   4951   done
   4952 IFS=$as_save_IFS
   4953 
   4954   ;;
   4955 esac ;;
   4956 esac
   4957 fi
   4958 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4959 if test -n "$ac_pt_PKG_CONFIG"; then
   4960   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4961 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4962 else
   4963   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4964 printf "%s\n" "no" >&6; }
   4965 fi
   4966 
   4967   if test "x$ac_pt_PKG_CONFIG" = x; then
   4968     PKG_CONFIG=""
   4969   else
   4970     case $cross_compiling:$ac_tool_warned in
   4971 yes:)
   4972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4973 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4974 ac_tool_warned=yes ;;
   4975 esac
   4976     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4977   fi
   4978 else
   4979   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4980 fi
   4981 
   4982 fi
   4983 if test -n "$PKG_CONFIG"; then
   4984 	_pkg_min_version=0.9.0
   4985 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4986 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4987 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4988 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4989 printf "%s\n" "yes" >&6; }
   4990 	else
   4991 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4992 printf "%s\n" "no" >&6; }
   4993 		PKG_CONFIG=""
   4994 	fi
   4995 fi
   4996 
   4997 
   4998   # Make sure we can run config.sub.
   4999 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   5000   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   5001 
   5002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5003 printf %s "checking build system type... " >&6; }
   5004 if test ${ac_cv_build+y}
   5005 then :
   5006   printf %s "(cached) " >&6
   5007 else case e in #(
   5008   e) ac_build_alias=$build_alias
   5009 test "x$ac_build_alias" = x &&
   5010   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   5011 test "x$ac_build_alias" = x &&
   5012   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5013 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   5014   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   5015  ;;
   5016 esac
   5017 fi
   5018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5019 printf "%s\n" "$ac_cv_build" >&6; }
   5020 case $ac_cv_build in
   5021 *-*-*) ;;
   5022 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5023 esac
   5024 build=$ac_cv_build
   5025 ac_save_IFS=$IFS; IFS='-'
   5026 set x $ac_cv_build
   5027 shift
   5028 build_cpu=$1
   5029 build_vendor=$2
   5030 shift; shift
   5031 # Remember, the first character of IFS is used to create $*,
   5032 # except with old shells:
   5033 build_os=$*
   5034 IFS=$ac_save_IFS
   5035 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   5036 
   5037 
   5038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5039 printf %s "checking host system type... " >&6; }
   5040 if test ${ac_cv_host+y}
   5041 then :
   5042   printf %s "(cached) " >&6
   5043 else case e in #(
   5044   e) if test "x$host_alias" = x; then
   5045   ac_cv_host=$ac_cv_build
   5046 else
   5047   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   5048     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   5049 fi
   5050  ;;
   5051 esac
   5052 fi
   5053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5054 printf "%s\n" "$ac_cv_host" >&6; }
   5055 case $ac_cv_host in
   5056 *-*-*) ;;
   5057 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5058 esac
   5059 host=$ac_cv_host
   5060 ac_save_IFS=$IFS; IFS='-'
   5061 set x $ac_cv_host
   5062 shift
   5063 host_cpu=$1
   5064 host_vendor=$2
   5065 shift; shift
   5066 # Remember, the first character of IFS is used to create $*,
   5067 # except with old shells:
   5068 host_os=$*
   5069 IFS=$ac_save_IFS
   5070 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5071 
   5072 
   5073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5074 printf %s "checking for a sed that does not truncate output... " >&6; }
   5075 if test ${ac_cv_path_SED+y}
   5076 then :
   5077   printf %s "(cached) " >&6
   5078 else case e in #(
   5079   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5080      for ac_i in 1 2 3 4 5 6 7; do
   5081        ac_script="$ac_script$as_nl$ac_script"
   5082      done
   5083      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5084      { ac_script=; unset ac_script;}
   5085      if test -z "$SED"; then
   5086   ac_path_SED_found=false
   5087   # Loop through the user's path and test for each of PROGNAME-LIST
   5088   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5089 for as_dir in $PATH
   5090 do
   5091   IFS=$as_save_IFS
   5092   case $as_dir in #(((
   5093     '') as_dir=./ ;;
   5094     */) ;;
   5095     *) as_dir=$as_dir/ ;;
   5096   esac
   5097     for ac_prog in sed gsed
   5098    do
   5099     for ac_exec_ext in '' $ac_executable_extensions; do
   5100       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5101       as_fn_executable_p "$ac_path_SED" || continue
   5102 # Check for GNU ac_path_SED and select it if it is found.
   5103   # Check for GNU $ac_path_SED
   5104 case `"$ac_path_SED" --version 2>&1` in #(
   5105 *GNU*)
   5106   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5107 #(
   5108 *)
   5109   ac_count=0
   5110   printf %s 0123456789 >"conftest.in"
   5111   while :
   5112   do
   5113     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5114     mv "conftest.tmp" "conftest.in"
   5115     cp "conftest.in" "conftest.nl"
   5116     printf "%s\n" '' >> "conftest.nl"
   5117     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5118     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5119     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5120     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5121       # Best one so far, save it but keep looking for a better one
   5122       ac_cv_path_SED="$ac_path_SED"
   5123       ac_path_SED_max=$ac_count
   5124     fi
   5125     # 10*(2^10) chars as input seems more than enough
   5126     test $ac_count -gt 10 && break
   5127   done
   5128   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5129 esac
   5130 
   5131       $ac_path_SED_found && break 3
   5132     done
   5133   done
   5134   done
   5135 IFS=$as_save_IFS
   5136   if test -z "$ac_cv_path_SED"; then
   5137     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5138   fi
   5139 else
   5140   ac_cv_path_SED=$SED
   5141 fi
   5142  ;;
   5143 esac
   5144 fi
   5145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5146 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5147  SED="$ac_cv_path_SED"
   5148   rm -f conftest.sed
   5149 
   5150 
   5151 
   5152 
   5153 
   5154 
   5155 # Check whether --enable-selective-werror was given.
   5156 if test ${enable_selective_werror+y}
   5157 then :
   5158   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5159 else case e in #(
   5160   e) SELECTIVE_WERROR=yes ;;
   5161 esac
   5162 fi
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5169 if test "x$SUNCC" = "xyes"; then
   5170     BASE_CFLAGS="-v"
   5171 else
   5172     BASE_CFLAGS=""
   5173 fi
   5174 
   5175 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5176 
   5177 
   5178 
   5179 
   5180 
   5181 
   5182 
   5183 
   5184 
   5185 
   5186 
   5187 
   5188 
   5189 xorg_testset_save_CFLAGS="$CFLAGS"
   5190 
   5191 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5192 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5193 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5194 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5195 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5196 then :
   5197   printf %s "(cached) " >&6
   5198 else case e in #(
   5199   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5200 /* end confdefs.h.  */
   5201 int i;
   5202 _ACEOF
   5203 if ac_fn_c_try_compile "$LINENO"
   5204 then :
   5205   xorg_cv_cc_flag_unknown_warning_option=yes
   5206 else case e in #(
   5207   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5208 esac
   5209 fi
   5210 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5211 esac
   5212 fi
   5213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5214 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5215 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5216 	CFLAGS="$xorg_testset_save_CFLAGS"
   5217 fi
   5218 
   5219 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5220 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5221 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5222 	fi
   5223 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5224 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5225 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5226 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5227 then :
   5228   printf %s "(cached) " >&6
   5229 else case e in #(
   5230   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5231 /* end confdefs.h.  */
   5232 int i;
   5233 _ACEOF
   5234 if ac_fn_c_try_compile "$LINENO"
   5235 then :
   5236   xorg_cv_cc_flag_unused_command_line_argument=yes
   5237 else case e in #(
   5238   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5239 esac
   5240 fi
   5241 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5242 esac
   5243 fi
   5244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5245 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5246 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5247 	CFLAGS="$xorg_testset_save_CFLAGS"
   5248 fi
   5249 
   5250 found="no"
   5251 
   5252 	if test $found = "no" ; then
   5253 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5254 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5255 		fi
   5256 
   5257 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5258 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5259 		fi
   5260 
   5261 		CFLAGS="$CFLAGS -Wall"
   5262 
   5263 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5264 printf %s "checking if $CC supports -Wall... " >&6; }
   5265 		cacheid=xorg_cv_cc_flag__Wall
   5266 		if eval test \${$cacheid+y}
   5267 then :
   5268   printf %s "(cached) " >&6
   5269 else case e in #(
   5270   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5271 /* end confdefs.h.  */
   5272 int i;
   5273 int
   5274 main (void)
   5275 {
   5276 
   5277   ;
   5278   return 0;
   5279 }
   5280 _ACEOF
   5281 if ac_fn_c_try_link "$LINENO"
   5282 then :
   5283   eval $cacheid=yes
   5284 else case e in #(
   5285   e) eval $cacheid=no ;;
   5286 esac
   5287 fi
   5288 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5289     conftest$ac_exeext conftest.$ac_ext ;;
   5290 esac
   5291 fi
   5292 
   5293 
   5294 		CFLAGS="$xorg_testset_save_CFLAGS"
   5295 
   5296 		eval supported=\$$cacheid
   5297 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5298 printf "%s\n" "$supported" >&6; }
   5299 		if test "$supported" = "yes" ; then
   5300 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5301 			found="yes"
   5302 		fi
   5303 	fi
   5304 
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 
   5319 xorg_testset_save_CFLAGS="$CFLAGS"
   5320 
   5321 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5322 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5323 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5324 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5325 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5326 then :
   5327   printf %s "(cached) " >&6
   5328 else case e in #(
   5329   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5330 /* end confdefs.h.  */
   5331 int i;
   5332 _ACEOF
   5333 if ac_fn_c_try_compile "$LINENO"
   5334 then :
   5335   xorg_cv_cc_flag_unknown_warning_option=yes
   5336 else case e in #(
   5337   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5338 esac
   5339 fi
   5340 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5341 esac
   5342 fi
   5343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5344 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5345 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5346 	CFLAGS="$xorg_testset_save_CFLAGS"
   5347 fi
   5348 
   5349 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5350 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5351 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5352 	fi
   5353 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5354 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5355 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5356 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5357 then :
   5358   printf %s "(cached) " >&6
   5359 else case e in #(
   5360   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5361 /* end confdefs.h.  */
   5362 int i;
   5363 _ACEOF
   5364 if ac_fn_c_try_compile "$LINENO"
   5365 then :
   5366   xorg_cv_cc_flag_unused_command_line_argument=yes
   5367 else case e in #(
   5368   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5369 esac
   5370 fi
   5371 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5372 esac
   5373 fi
   5374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5375 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5376 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5377 	CFLAGS="$xorg_testset_save_CFLAGS"
   5378 fi
   5379 
   5380 found="no"
   5381 
   5382 	if test $found = "no" ; then
   5383 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5384 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5385 		fi
   5386 
   5387 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5388 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5389 		fi
   5390 
   5391 		CFLAGS="$CFLAGS -Wpointer-arith"
   5392 
   5393 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5394 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5395 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5396 		if eval test \${$cacheid+y}
   5397 then :
   5398   printf %s "(cached) " >&6
   5399 else case e in #(
   5400   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5401 /* end confdefs.h.  */
   5402 int i;
   5403 int
   5404 main (void)
   5405 {
   5406 
   5407   ;
   5408   return 0;
   5409 }
   5410 _ACEOF
   5411 if ac_fn_c_try_link "$LINENO"
   5412 then :
   5413   eval $cacheid=yes
   5414 else case e in #(
   5415   e) eval $cacheid=no ;;
   5416 esac
   5417 fi
   5418 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5419     conftest$ac_exeext conftest.$ac_ext ;;
   5420 esac
   5421 fi
   5422 
   5423 
   5424 		CFLAGS="$xorg_testset_save_CFLAGS"
   5425 
   5426 		eval supported=\$$cacheid
   5427 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5428 printf "%s\n" "$supported" >&6; }
   5429 		if test "$supported" = "yes" ; then
   5430 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5431 			found="yes"
   5432 		fi
   5433 	fi
   5434 
   5435 
   5436 
   5437 
   5438 
   5439 
   5440 
   5441 
   5442 
   5443 
   5444 
   5445 
   5446 
   5447 
   5448 
   5449 xorg_testset_save_CFLAGS="$CFLAGS"
   5450 
   5451 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5452 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5453 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5454 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5455 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5456 then :
   5457   printf %s "(cached) " >&6
   5458 else case e in #(
   5459   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5460 /* end confdefs.h.  */
   5461 int i;
   5462 _ACEOF
   5463 if ac_fn_c_try_compile "$LINENO"
   5464 then :
   5465   xorg_cv_cc_flag_unknown_warning_option=yes
   5466 else case e in #(
   5467   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5468 esac
   5469 fi
   5470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5471 esac
   5472 fi
   5473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5474 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5475 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5476 	CFLAGS="$xorg_testset_save_CFLAGS"
   5477 fi
   5478 
   5479 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5480 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5481 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5482 	fi
   5483 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5484 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5485 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5486 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5487 then :
   5488   printf %s "(cached) " >&6
   5489 else case e in #(
   5490   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5491 /* end confdefs.h.  */
   5492 int i;
   5493 _ACEOF
   5494 if ac_fn_c_try_compile "$LINENO"
   5495 then :
   5496   xorg_cv_cc_flag_unused_command_line_argument=yes
   5497 else case e in #(
   5498   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5499 esac
   5500 fi
   5501 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5502 esac
   5503 fi
   5504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5505 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5506 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5507 	CFLAGS="$xorg_testset_save_CFLAGS"
   5508 fi
   5509 
   5510 found="no"
   5511 
   5512 	if test $found = "no" ; then
   5513 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5514 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5515 		fi
   5516 
   5517 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5518 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5519 		fi
   5520 
   5521 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5522 
   5523 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5524 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5525 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5526 		if eval test \${$cacheid+y}
   5527 then :
   5528   printf %s "(cached) " >&6
   5529 else case e in #(
   5530   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5531 /* end confdefs.h.  */
   5532 int i;
   5533 int
   5534 main (void)
   5535 {
   5536 
   5537   ;
   5538   return 0;
   5539 }
   5540 _ACEOF
   5541 if ac_fn_c_try_link "$LINENO"
   5542 then :
   5543   eval $cacheid=yes
   5544 else case e in #(
   5545   e) eval $cacheid=no ;;
   5546 esac
   5547 fi
   5548 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5549     conftest$ac_exeext conftest.$ac_ext ;;
   5550 esac
   5551 fi
   5552 
   5553 
   5554 		CFLAGS="$xorg_testset_save_CFLAGS"
   5555 
   5556 		eval supported=\$$cacheid
   5557 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5558 printf "%s\n" "$supported" >&6; }
   5559 		if test "$supported" = "yes" ; then
   5560 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5561 			found="yes"
   5562 		fi
   5563 	fi
   5564 
   5565 
   5566 
   5567 
   5568 
   5569 
   5570 
   5571 
   5572 
   5573 
   5574 
   5575 
   5576 
   5577 
   5578 
   5579 xorg_testset_save_CFLAGS="$CFLAGS"
   5580 
   5581 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5582 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5583 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5584 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5585 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5586 then :
   5587   printf %s "(cached) " >&6
   5588 else case e in #(
   5589   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5590 /* end confdefs.h.  */
   5591 int i;
   5592 _ACEOF
   5593 if ac_fn_c_try_compile "$LINENO"
   5594 then :
   5595   xorg_cv_cc_flag_unknown_warning_option=yes
   5596 else case e in #(
   5597   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5598 esac
   5599 fi
   5600 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5601 esac
   5602 fi
   5603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5604 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5605 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5606 	CFLAGS="$xorg_testset_save_CFLAGS"
   5607 fi
   5608 
   5609 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5610 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5611 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5612 	fi
   5613 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5614 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5615 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5616 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5617 then :
   5618   printf %s "(cached) " >&6
   5619 else case e in #(
   5620   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5621 /* end confdefs.h.  */
   5622 int i;
   5623 _ACEOF
   5624 if ac_fn_c_try_compile "$LINENO"
   5625 then :
   5626   xorg_cv_cc_flag_unused_command_line_argument=yes
   5627 else case e in #(
   5628   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5629 esac
   5630 fi
   5631 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5632 esac
   5633 fi
   5634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5635 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5636 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5637 	CFLAGS="$xorg_testset_save_CFLAGS"
   5638 fi
   5639 
   5640 found="no"
   5641 
   5642 	if test $found = "no" ; then
   5643 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5644 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5645 		fi
   5646 
   5647 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5648 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5649 		fi
   5650 
   5651 		CFLAGS="$CFLAGS -Wformat=2"
   5652 
   5653 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5654 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5655 		cacheid=xorg_cv_cc_flag__Wformat_2
   5656 		if eval test \${$cacheid+y}
   5657 then :
   5658   printf %s "(cached) " >&6
   5659 else case e in #(
   5660   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5661 /* end confdefs.h.  */
   5662 int i;
   5663 int
   5664 main (void)
   5665 {
   5666 
   5667   ;
   5668   return 0;
   5669 }
   5670 _ACEOF
   5671 if ac_fn_c_try_link "$LINENO"
   5672 then :
   5673   eval $cacheid=yes
   5674 else case e in #(
   5675   e) eval $cacheid=no ;;
   5676 esac
   5677 fi
   5678 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5679     conftest$ac_exeext conftest.$ac_ext ;;
   5680 esac
   5681 fi
   5682 
   5683 
   5684 		CFLAGS="$xorg_testset_save_CFLAGS"
   5685 
   5686 		eval supported=\$$cacheid
   5687 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5688 printf "%s\n" "$supported" >&6; }
   5689 		if test "$supported" = "yes" ; then
   5690 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5691 			found="yes"
   5692 		fi
   5693 	fi
   5694 
   5695 	if test $found = "no" ; then
   5696 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5697 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5698 		fi
   5699 
   5700 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5701 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5702 		fi
   5703 
   5704 		CFLAGS="$CFLAGS -Wformat"
   5705 
   5706 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5707 printf %s "checking if $CC supports -Wformat... " >&6; }
   5708 		cacheid=xorg_cv_cc_flag__Wformat
   5709 		if eval test \${$cacheid+y}
   5710 then :
   5711   printf %s "(cached) " >&6
   5712 else case e in #(
   5713   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5714 /* end confdefs.h.  */
   5715 int i;
   5716 int
   5717 main (void)
   5718 {
   5719 
   5720   ;
   5721   return 0;
   5722 }
   5723 _ACEOF
   5724 if ac_fn_c_try_link "$LINENO"
   5725 then :
   5726   eval $cacheid=yes
   5727 else case e in #(
   5728   e) eval $cacheid=no ;;
   5729 esac
   5730 fi
   5731 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5732     conftest$ac_exeext conftest.$ac_ext ;;
   5733 esac
   5734 fi
   5735 
   5736 
   5737 		CFLAGS="$xorg_testset_save_CFLAGS"
   5738 
   5739 		eval supported=\$$cacheid
   5740 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5741 printf "%s\n" "$supported" >&6; }
   5742 		if test "$supported" = "yes" ; then
   5743 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5744 			found="yes"
   5745 		fi
   5746 	fi
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 xorg_testset_save_CFLAGS="$CFLAGS"
   5765 
   5766 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5767 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5768 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5769 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5770 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5771 then :
   5772   printf %s "(cached) " >&6
   5773 else case e in #(
   5774   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5775 /* end confdefs.h.  */
   5776 int i;
   5777 _ACEOF
   5778 if ac_fn_c_try_compile "$LINENO"
   5779 then :
   5780   xorg_cv_cc_flag_unknown_warning_option=yes
   5781 else case e in #(
   5782   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5783 esac
   5784 fi
   5785 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5786 esac
   5787 fi
   5788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5789 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5790 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5791 	CFLAGS="$xorg_testset_save_CFLAGS"
   5792 fi
   5793 
   5794 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5795 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5796 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5797 	fi
   5798 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5799 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5800 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5801 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5802 then :
   5803   printf %s "(cached) " >&6
   5804 else case e in #(
   5805   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5806 /* end confdefs.h.  */
   5807 int i;
   5808 _ACEOF
   5809 if ac_fn_c_try_compile "$LINENO"
   5810 then :
   5811   xorg_cv_cc_flag_unused_command_line_argument=yes
   5812 else case e in #(
   5813   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5814 esac
   5815 fi
   5816 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5817 esac
   5818 fi
   5819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5820 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5821 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5822 	CFLAGS="$xorg_testset_save_CFLAGS"
   5823 fi
   5824 
   5825 found="no"
   5826 
   5827 	if test $found = "no" ; then
   5828 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5829 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5830 		fi
   5831 
   5832 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5833 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5834 		fi
   5835 
   5836 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5837 
   5838 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5839 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5840 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5841 		if eval test \${$cacheid+y}
   5842 then :
   5843   printf %s "(cached) " >&6
   5844 else case e in #(
   5845   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5846 /* end confdefs.h.  */
   5847 int i;
   5848 int
   5849 main (void)
   5850 {
   5851 
   5852   ;
   5853   return 0;
   5854 }
   5855 _ACEOF
   5856 if ac_fn_c_try_link "$LINENO"
   5857 then :
   5858   eval $cacheid=yes
   5859 else case e in #(
   5860   e) eval $cacheid=no ;;
   5861 esac
   5862 fi
   5863 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5864     conftest$ac_exeext conftest.$ac_ext ;;
   5865 esac
   5866 fi
   5867 
   5868 
   5869 		CFLAGS="$xorg_testset_save_CFLAGS"
   5870 
   5871 		eval supported=\$$cacheid
   5872 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5873 printf "%s\n" "$supported" >&6; }
   5874 		if test "$supported" = "yes" ; then
   5875 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5876 			found="yes"
   5877 		fi
   5878 	fi
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 
   5889 
   5890 
   5891 
   5892 
   5893 
   5894 xorg_testset_save_CFLAGS="$CFLAGS"
   5895 
   5896 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5897 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5898 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5899 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5900 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5901 then :
   5902   printf %s "(cached) " >&6
   5903 else case e in #(
   5904   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5905 /* end confdefs.h.  */
   5906 int i;
   5907 _ACEOF
   5908 if ac_fn_c_try_compile "$LINENO"
   5909 then :
   5910   xorg_cv_cc_flag_unknown_warning_option=yes
   5911 else case e in #(
   5912   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5913 esac
   5914 fi
   5915 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5916 esac
   5917 fi
   5918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5919 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5920 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5921 	CFLAGS="$xorg_testset_save_CFLAGS"
   5922 fi
   5923 
   5924 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5925 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5926 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5927 	fi
   5928 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5929 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5930 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5931 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5932 then :
   5933   printf %s "(cached) " >&6
   5934 else case e in #(
   5935   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5936 /* end confdefs.h.  */
   5937 int i;
   5938 _ACEOF
   5939 if ac_fn_c_try_compile "$LINENO"
   5940 then :
   5941   xorg_cv_cc_flag_unused_command_line_argument=yes
   5942 else case e in #(
   5943   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5944 esac
   5945 fi
   5946 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5947 esac
   5948 fi
   5949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5950 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5951 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5952 	CFLAGS="$xorg_testset_save_CFLAGS"
   5953 fi
   5954 
   5955 found="no"
   5956 
   5957 	if test $found = "no" ; then
   5958 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5959 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5960 		fi
   5961 
   5962 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5963 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5964 		fi
   5965 
   5966 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5967 
   5968 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5969 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5970 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5971 		if eval test \${$cacheid+y}
   5972 then :
   5973   printf %s "(cached) " >&6
   5974 else case e in #(
   5975   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5976 /* end confdefs.h.  */
   5977 int i;
   5978 int
   5979 main (void)
   5980 {
   5981 
   5982   ;
   5983   return 0;
   5984 }
   5985 _ACEOF
   5986 if ac_fn_c_try_link "$LINENO"
   5987 then :
   5988   eval $cacheid=yes
   5989 else case e in #(
   5990   e) eval $cacheid=no ;;
   5991 esac
   5992 fi
   5993 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5994     conftest$ac_exeext conftest.$ac_ext ;;
   5995 esac
   5996 fi
   5997 
   5998 
   5999 		CFLAGS="$xorg_testset_save_CFLAGS"
   6000 
   6001 		eval supported=\$$cacheid
   6002 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6003 printf "%s\n" "$supported" >&6; }
   6004 		if test "$supported" = "yes" ; then
   6005 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   6006 			found="yes"
   6007 		fi
   6008 	fi
   6009 
   6010 
   6011 
   6012 
   6013 
   6014 
   6015 
   6016 
   6017 
   6018 
   6019 
   6020 
   6021 
   6022 
   6023 
   6024 xorg_testset_save_CFLAGS="$CFLAGS"
   6025 
   6026 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6027 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6028 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6029 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6030 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6031 then :
   6032   printf %s "(cached) " >&6
   6033 else case e in #(
   6034   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6035 /* end confdefs.h.  */
   6036 int i;
   6037 _ACEOF
   6038 if ac_fn_c_try_compile "$LINENO"
   6039 then :
   6040   xorg_cv_cc_flag_unknown_warning_option=yes
   6041 else case e in #(
   6042   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6043 esac
   6044 fi
   6045 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6046 esac
   6047 fi
   6048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6049 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6050 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6051 	CFLAGS="$xorg_testset_save_CFLAGS"
   6052 fi
   6053 
   6054 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6055 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6056 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6057 	fi
   6058 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6059 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6060 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6061 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6062 then :
   6063   printf %s "(cached) " >&6
   6064 else case e in #(
   6065   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6066 /* end confdefs.h.  */
   6067 int i;
   6068 _ACEOF
   6069 if ac_fn_c_try_compile "$LINENO"
   6070 then :
   6071   xorg_cv_cc_flag_unused_command_line_argument=yes
   6072 else case e in #(
   6073   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6074 esac
   6075 fi
   6076 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6077 esac
   6078 fi
   6079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6080 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6081 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6082 	CFLAGS="$xorg_testset_save_CFLAGS"
   6083 fi
   6084 
   6085 found="no"
   6086 
   6087 	if test $found = "no" ; then
   6088 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6089 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6090 		fi
   6091 
   6092 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6093 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6094 		fi
   6095 
   6096 		CFLAGS="$CFLAGS -Wnested-externs"
   6097 
   6098 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   6099 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   6100 		cacheid=xorg_cv_cc_flag__Wnested_externs
   6101 		if eval test \${$cacheid+y}
   6102 then :
   6103   printf %s "(cached) " >&6
   6104 else case e in #(
   6105   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6106 /* end confdefs.h.  */
   6107 int i;
   6108 int
   6109 main (void)
   6110 {
   6111 
   6112   ;
   6113   return 0;
   6114 }
   6115 _ACEOF
   6116 if ac_fn_c_try_link "$LINENO"
   6117 then :
   6118   eval $cacheid=yes
   6119 else case e in #(
   6120   e) eval $cacheid=no ;;
   6121 esac
   6122 fi
   6123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6124     conftest$ac_exeext conftest.$ac_ext ;;
   6125 esac
   6126 fi
   6127 
   6128 
   6129 		CFLAGS="$xorg_testset_save_CFLAGS"
   6130 
   6131 		eval supported=\$$cacheid
   6132 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6133 printf "%s\n" "$supported" >&6; }
   6134 		if test "$supported" = "yes" ; then
   6135 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6136 			found="yes"
   6137 		fi
   6138 	fi
   6139 
   6140 
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 
   6147 
   6148 
   6149 
   6150 
   6151 
   6152 
   6153 
   6154 xorg_testset_save_CFLAGS="$CFLAGS"
   6155 
   6156 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6157 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6158 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6159 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6160 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6161 then :
   6162   printf %s "(cached) " >&6
   6163 else case e in #(
   6164   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6165 /* end confdefs.h.  */
   6166 int i;
   6167 _ACEOF
   6168 if ac_fn_c_try_compile "$LINENO"
   6169 then :
   6170   xorg_cv_cc_flag_unknown_warning_option=yes
   6171 else case e in #(
   6172   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6173 esac
   6174 fi
   6175 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6176 esac
   6177 fi
   6178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6179 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6180 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6181 	CFLAGS="$xorg_testset_save_CFLAGS"
   6182 fi
   6183 
   6184 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6185 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6186 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6187 	fi
   6188 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6189 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6190 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6191 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6192 then :
   6193   printf %s "(cached) " >&6
   6194 else case e in #(
   6195   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6196 /* end confdefs.h.  */
   6197 int i;
   6198 _ACEOF
   6199 if ac_fn_c_try_compile "$LINENO"
   6200 then :
   6201   xorg_cv_cc_flag_unused_command_line_argument=yes
   6202 else case e in #(
   6203   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6204 esac
   6205 fi
   6206 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6207 esac
   6208 fi
   6209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6210 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6211 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6212 	CFLAGS="$xorg_testset_save_CFLAGS"
   6213 fi
   6214 
   6215 found="no"
   6216 
   6217 	if test $found = "no" ; then
   6218 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6219 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6220 		fi
   6221 
   6222 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6223 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6224 		fi
   6225 
   6226 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6227 
   6228 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6229 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6230 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6231 		if eval test \${$cacheid+y}
   6232 then :
   6233   printf %s "(cached) " >&6
   6234 else case e in #(
   6235   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6236 /* end confdefs.h.  */
   6237 int i;
   6238 int
   6239 main (void)
   6240 {
   6241 
   6242   ;
   6243   return 0;
   6244 }
   6245 _ACEOF
   6246 if ac_fn_c_try_link "$LINENO"
   6247 then :
   6248   eval $cacheid=yes
   6249 else case e in #(
   6250   e) eval $cacheid=no ;;
   6251 esac
   6252 fi
   6253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6254     conftest$ac_exeext conftest.$ac_ext ;;
   6255 esac
   6256 fi
   6257 
   6258 
   6259 		CFLAGS="$xorg_testset_save_CFLAGS"
   6260 
   6261 		eval supported=\$$cacheid
   6262 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6263 printf "%s\n" "$supported" >&6; }
   6264 		if test "$supported" = "yes" ; then
   6265 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6266 			found="yes"
   6267 		fi
   6268 	fi
   6269 
   6270 
   6271 
   6272 
   6273 
   6274 
   6275 
   6276 
   6277 
   6278 
   6279 
   6280 
   6281 
   6282 
   6283 
   6284 xorg_testset_save_CFLAGS="$CFLAGS"
   6285 
   6286 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6287 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6288 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6289 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6290 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6291 then :
   6292   printf %s "(cached) " >&6
   6293 else case e in #(
   6294   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6295 /* end confdefs.h.  */
   6296 int i;
   6297 _ACEOF
   6298 if ac_fn_c_try_compile "$LINENO"
   6299 then :
   6300   xorg_cv_cc_flag_unknown_warning_option=yes
   6301 else case e in #(
   6302   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6303 esac
   6304 fi
   6305 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6306 esac
   6307 fi
   6308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6309 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6310 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6311 	CFLAGS="$xorg_testset_save_CFLAGS"
   6312 fi
   6313 
   6314 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6315 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6316 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6317 	fi
   6318 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6319 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6320 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6321 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6322 then :
   6323   printf %s "(cached) " >&6
   6324 else case e in #(
   6325   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6326 /* end confdefs.h.  */
   6327 int i;
   6328 _ACEOF
   6329 if ac_fn_c_try_compile "$LINENO"
   6330 then :
   6331   xorg_cv_cc_flag_unused_command_line_argument=yes
   6332 else case e in #(
   6333   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6334 esac
   6335 fi
   6336 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6337 esac
   6338 fi
   6339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6340 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6341 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6342 	CFLAGS="$xorg_testset_save_CFLAGS"
   6343 fi
   6344 
   6345 found="no"
   6346 
   6347 	if test $found = "no" ; then
   6348 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6349 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6350 		fi
   6351 
   6352 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6353 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6354 		fi
   6355 
   6356 		CFLAGS="$CFLAGS -Wold-style-definition"
   6357 
   6358 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6359 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6360 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6361 		if eval test \${$cacheid+y}
   6362 then :
   6363   printf %s "(cached) " >&6
   6364 else case e in #(
   6365   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6366 /* end confdefs.h.  */
   6367 int i;
   6368 int
   6369 main (void)
   6370 {
   6371 
   6372   ;
   6373   return 0;
   6374 }
   6375 _ACEOF
   6376 if ac_fn_c_try_link "$LINENO"
   6377 then :
   6378   eval $cacheid=yes
   6379 else case e in #(
   6380   e) eval $cacheid=no ;;
   6381 esac
   6382 fi
   6383 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6384     conftest$ac_exeext conftest.$ac_ext ;;
   6385 esac
   6386 fi
   6387 
   6388 
   6389 		CFLAGS="$xorg_testset_save_CFLAGS"
   6390 
   6391 		eval supported=\$$cacheid
   6392 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6393 printf "%s\n" "$supported" >&6; }
   6394 		if test "$supported" = "yes" ; then
   6395 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6396 			found="yes"
   6397 		fi
   6398 	fi
   6399 
   6400 	if test $found = "no" ; then
   6401 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6402 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6403 		fi
   6404 
   6405 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6406 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6407 		fi
   6408 
   6409 		CFLAGS="$CFLAGS -fd"
   6410 
   6411 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6412 printf %s "checking if $CC supports -fd... " >&6; }
   6413 		cacheid=xorg_cv_cc_flag__fd
   6414 		if eval test \${$cacheid+y}
   6415 then :
   6416   printf %s "(cached) " >&6
   6417 else case e in #(
   6418   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6419 /* end confdefs.h.  */
   6420 int i;
   6421 int
   6422 main (void)
   6423 {
   6424 
   6425   ;
   6426   return 0;
   6427 }
   6428 _ACEOF
   6429 if ac_fn_c_try_link "$LINENO"
   6430 then :
   6431   eval $cacheid=yes
   6432 else case e in #(
   6433   e) eval $cacheid=no ;;
   6434 esac
   6435 fi
   6436 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6437     conftest$ac_exeext conftest.$ac_ext ;;
   6438 esac
   6439 fi
   6440 
   6441 
   6442 		CFLAGS="$xorg_testset_save_CFLAGS"
   6443 
   6444 		eval supported=\$$cacheid
   6445 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6446 printf "%s\n" "$supported" >&6; }
   6447 		if test "$supported" = "yes" ; then
   6448 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6449 			found="yes"
   6450 		fi
   6451 	fi
   6452 
   6453 
   6454 
   6455 
   6456 
   6457 # This chunk adds additional warnings that could catch undesired effects.
   6458 
   6459 
   6460 
   6461 
   6462 
   6463 
   6464 
   6465 
   6466 
   6467 
   6468 
   6469 
   6470 
   6471 xorg_testset_save_CFLAGS="$CFLAGS"
   6472 
   6473 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6474 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6475 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6476 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6477 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6478 then :
   6479   printf %s "(cached) " >&6
   6480 else case e in #(
   6481   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6482 /* end confdefs.h.  */
   6483 int i;
   6484 _ACEOF
   6485 if ac_fn_c_try_compile "$LINENO"
   6486 then :
   6487   xorg_cv_cc_flag_unknown_warning_option=yes
   6488 else case e in #(
   6489   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6490 esac
   6491 fi
   6492 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6493 esac
   6494 fi
   6495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6496 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6497 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6498 	CFLAGS="$xorg_testset_save_CFLAGS"
   6499 fi
   6500 
   6501 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6502 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6503 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6504 	fi
   6505 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6506 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6507 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6508 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6509 then :
   6510   printf %s "(cached) " >&6
   6511 else case e in #(
   6512   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6513 /* end confdefs.h.  */
   6514 int i;
   6515 _ACEOF
   6516 if ac_fn_c_try_compile "$LINENO"
   6517 then :
   6518   xorg_cv_cc_flag_unused_command_line_argument=yes
   6519 else case e in #(
   6520   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6521 esac
   6522 fi
   6523 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6524 esac
   6525 fi
   6526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6527 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6528 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6529 	CFLAGS="$xorg_testset_save_CFLAGS"
   6530 fi
   6531 
   6532 found="no"
   6533 
   6534 	if test $found = "no" ; then
   6535 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6536 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6537 		fi
   6538 
   6539 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6540 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6541 		fi
   6542 
   6543 		CFLAGS="$CFLAGS -Wunused"
   6544 
   6545 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6546 printf %s "checking if $CC supports -Wunused... " >&6; }
   6547 		cacheid=xorg_cv_cc_flag__Wunused
   6548 		if eval test \${$cacheid+y}
   6549 then :
   6550   printf %s "(cached) " >&6
   6551 else case e in #(
   6552   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6553 /* end confdefs.h.  */
   6554 int i;
   6555 int
   6556 main (void)
   6557 {
   6558 
   6559   ;
   6560   return 0;
   6561 }
   6562 _ACEOF
   6563 if ac_fn_c_try_link "$LINENO"
   6564 then :
   6565   eval $cacheid=yes
   6566 else case e in #(
   6567   e) eval $cacheid=no ;;
   6568 esac
   6569 fi
   6570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6571     conftest$ac_exeext conftest.$ac_ext ;;
   6572 esac
   6573 fi
   6574 
   6575 
   6576 		CFLAGS="$xorg_testset_save_CFLAGS"
   6577 
   6578 		eval supported=\$$cacheid
   6579 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6580 printf "%s\n" "$supported" >&6; }
   6581 		if test "$supported" = "yes" ; then
   6582 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6583 			found="yes"
   6584 		fi
   6585 	fi
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 
   6596 
   6597 
   6598 
   6599 
   6600 
   6601 xorg_testset_save_CFLAGS="$CFLAGS"
   6602 
   6603 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6604 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6605 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6606 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6607 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6608 then :
   6609   printf %s "(cached) " >&6
   6610 else case e in #(
   6611   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6612 /* end confdefs.h.  */
   6613 int i;
   6614 _ACEOF
   6615 if ac_fn_c_try_compile "$LINENO"
   6616 then :
   6617   xorg_cv_cc_flag_unknown_warning_option=yes
   6618 else case e in #(
   6619   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6620 esac
   6621 fi
   6622 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6623 esac
   6624 fi
   6625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6626 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6627 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6628 	CFLAGS="$xorg_testset_save_CFLAGS"
   6629 fi
   6630 
   6631 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6632 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6633 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6634 	fi
   6635 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6636 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6637 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6638 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6639 then :
   6640   printf %s "(cached) " >&6
   6641 else case e in #(
   6642   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6643 /* end confdefs.h.  */
   6644 int i;
   6645 _ACEOF
   6646 if ac_fn_c_try_compile "$LINENO"
   6647 then :
   6648   xorg_cv_cc_flag_unused_command_line_argument=yes
   6649 else case e in #(
   6650   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6651 esac
   6652 fi
   6653 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6654 esac
   6655 fi
   6656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6657 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6658 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6659 	CFLAGS="$xorg_testset_save_CFLAGS"
   6660 fi
   6661 
   6662 found="no"
   6663 
   6664 	if test $found = "no" ; then
   6665 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6666 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6667 		fi
   6668 
   6669 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6670 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6671 		fi
   6672 
   6673 		CFLAGS="$CFLAGS -Wuninitialized"
   6674 
   6675 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6676 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6677 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6678 		if eval test \${$cacheid+y}
   6679 then :
   6680   printf %s "(cached) " >&6
   6681 else case e in #(
   6682   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6683 /* end confdefs.h.  */
   6684 int i;
   6685 int
   6686 main (void)
   6687 {
   6688 
   6689   ;
   6690   return 0;
   6691 }
   6692 _ACEOF
   6693 if ac_fn_c_try_link "$LINENO"
   6694 then :
   6695   eval $cacheid=yes
   6696 else case e in #(
   6697   e) eval $cacheid=no ;;
   6698 esac
   6699 fi
   6700 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6701     conftest$ac_exeext conftest.$ac_ext ;;
   6702 esac
   6703 fi
   6704 
   6705 
   6706 		CFLAGS="$xorg_testset_save_CFLAGS"
   6707 
   6708 		eval supported=\$$cacheid
   6709 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6710 printf "%s\n" "$supported" >&6; }
   6711 		if test "$supported" = "yes" ; then
   6712 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6713 			found="yes"
   6714 		fi
   6715 	fi
   6716 
   6717 
   6718 
   6719 
   6720 
   6721 
   6722 
   6723 
   6724 
   6725 
   6726 
   6727 
   6728 
   6729 
   6730 
   6731 xorg_testset_save_CFLAGS="$CFLAGS"
   6732 
   6733 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6734 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6735 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6736 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6737 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6738 then :
   6739   printf %s "(cached) " >&6
   6740 else case e in #(
   6741   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6742 /* end confdefs.h.  */
   6743 int i;
   6744 _ACEOF
   6745 if ac_fn_c_try_compile "$LINENO"
   6746 then :
   6747   xorg_cv_cc_flag_unknown_warning_option=yes
   6748 else case e in #(
   6749   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6750 esac
   6751 fi
   6752 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6753 esac
   6754 fi
   6755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6756 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6757 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6758 	CFLAGS="$xorg_testset_save_CFLAGS"
   6759 fi
   6760 
   6761 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6762 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6763 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6764 	fi
   6765 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6766 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6767 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6768 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6769 then :
   6770   printf %s "(cached) " >&6
   6771 else case e in #(
   6772   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6773 /* end confdefs.h.  */
   6774 int i;
   6775 _ACEOF
   6776 if ac_fn_c_try_compile "$LINENO"
   6777 then :
   6778   xorg_cv_cc_flag_unused_command_line_argument=yes
   6779 else case e in #(
   6780   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6781 esac
   6782 fi
   6783 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6784 esac
   6785 fi
   6786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6787 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6788 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6789 	CFLAGS="$xorg_testset_save_CFLAGS"
   6790 fi
   6791 
   6792 found="no"
   6793 
   6794 	if test $found = "no" ; then
   6795 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6796 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6797 		fi
   6798 
   6799 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6800 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6801 		fi
   6802 
   6803 		CFLAGS="$CFLAGS -Wshadow"
   6804 
   6805 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6806 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6807 		cacheid=xorg_cv_cc_flag__Wshadow
   6808 		if eval test \${$cacheid+y}
   6809 then :
   6810   printf %s "(cached) " >&6
   6811 else case e in #(
   6812   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6813 /* end confdefs.h.  */
   6814 int i;
   6815 int
   6816 main (void)
   6817 {
   6818 
   6819   ;
   6820   return 0;
   6821 }
   6822 _ACEOF
   6823 if ac_fn_c_try_link "$LINENO"
   6824 then :
   6825   eval $cacheid=yes
   6826 else case e in #(
   6827   e) eval $cacheid=no ;;
   6828 esac
   6829 fi
   6830 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6831     conftest$ac_exeext conftest.$ac_ext ;;
   6832 esac
   6833 fi
   6834 
   6835 
   6836 		CFLAGS="$xorg_testset_save_CFLAGS"
   6837 
   6838 		eval supported=\$$cacheid
   6839 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6840 printf "%s\n" "$supported" >&6; }
   6841 		if test "$supported" = "yes" ; then
   6842 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6843 			found="yes"
   6844 		fi
   6845 	fi
   6846 
   6847 
   6848 
   6849 
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 
   6861 xorg_testset_save_CFLAGS="$CFLAGS"
   6862 
   6863 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6864 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6865 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6866 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6867 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6868 then :
   6869   printf %s "(cached) " >&6
   6870 else case e in #(
   6871   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6872 /* end confdefs.h.  */
   6873 int i;
   6874 _ACEOF
   6875 if ac_fn_c_try_compile "$LINENO"
   6876 then :
   6877   xorg_cv_cc_flag_unknown_warning_option=yes
   6878 else case e in #(
   6879   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6880 esac
   6881 fi
   6882 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6883 esac
   6884 fi
   6885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6886 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6887 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6888 	CFLAGS="$xorg_testset_save_CFLAGS"
   6889 fi
   6890 
   6891 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6892 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6893 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6894 	fi
   6895 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6896 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6897 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6898 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6899 then :
   6900   printf %s "(cached) " >&6
   6901 else case e in #(
   6902   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6903 /* end confdefs.h.  */
   6904 int i;
   6905 _ACEOF
   6906 if ac_fn_c_try_compile "$LINENO"
   6907 then :
   6908   xorg_cv_cc_flag_unused_command_line_argument=yes
   6909 else case e in #(
   6910   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6911 esac
   6912 fi
   6913 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6914 esac
   6915 fi
   6916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6917 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6918 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6919 	CFLAGS="$xorg_testset_save_CFLAGS"
   6920 fi
   6921 
   6922 found="no"
   6923 
   6924 	if test $found = "no" ; then
   6925 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6926 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6927 		fi
   6928 
   6929 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6930 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6931 		fi
   6932 
   6933 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6934 
   6935 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6936 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6937 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6938 		if eval test \${$cacheid+y}
   6939 then :
   6940   printf %s "(cached) " >&6
   6941 else case e in #(
   6942   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6943 /* end confdefs.h.  */
   6944 int i;
   6945 int
   6946 main (void)
   6947 {
   6948 
   6949   ;
   6950   return 0;
   6951 }
   6952 _ACEOF
   6953 if ac_fn_c_try_link "$LINENO"
   6954 then :
   6955   eval $cacheid=yes
   6956 else case e in #(
   6957   e) eval $cacheid=no ;;
   6958 esac
   6959 fi
   6960 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6961     conftest$ac_exeext conftest.$ac_ext ;;
   6962 esac
   6963 fi
   6964 
   6965 
   6966 		CFLAGS="$xorg_testset_save_CFLAGS"
   6967 
   6968 		eval supported=\$$cacheid
   6969 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6970 printf "%s\n" "$supported" >&6; }
   6971 		if test "$supported" = "yes" ; then
   6972 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6973 			found="yes"
   6974 		fi
   6975 	fi
   6976 
   6977 
   6978 
   6979 
   6980 
   6981 
   6982 
   6983 
   6984 
   6985 
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 xorg_testset_save_CFLAGS="$CFLAGS"
   6992 
   6993 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6994 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6995 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6996 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6997 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6998 then :
   6999   printf %s "(cached) " >&6
   7000 else case e in #(
   7001   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7002 /* end confdefs.h.  */
   7003 int i;
   7004 _ACEOF
   7005 if ac_fn_c_try_compile "$LINENO"
   7006 then :
   7007   xorg_cv_cc_flag_unknown_warning_option=yes
   7008 else case e in #(
   7009   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7010 esac
   7011 fi
   7012 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7013 esac
   7014 fi
   7015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7016 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7017 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7018 	CFLAGS="$xorg_testset_save_CFLAGS"
   7019 fi
   7020 
   7021 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7022 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7023 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7024 	fi
   7025 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7026 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7027 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7028 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7029 then :
   7030   printf %s "(cached) " >&6
   7031 else case e in #(
   7032   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7033 /* end confdefs.h.  */
   7034 int i;
   7035 _ACEOF
   7036 if ac_fn_c_try_compile "$LINENO"
   7037 then :
   7038   xorg_cv_cc_flag_unused_command_line_argument=yes
   7039 else case e in #(
   7040   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7041 esac
   7042 fi
   7043 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7044 esac
   7045 fi
   7046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7047 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7048 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7049 	CFLAGS="$xorg_testset_save_CFLAGS"
   7050 fi
   7051 
   7052 found="no"
   7053 
   7054 	if test $found = "no" ; then
   7055 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7056 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7057 		fi
   7058 
   7059 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7060 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7061 		fi
   7062 
   7063 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7064 
   7065 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7066 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7067 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7068 		if eval test \${$cacheid+y}
   7069 then :
   7070   printf %s "(cached) " >&6
   7071 else case e in #(
   7072   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7073 /* end confdefs.h.  */
   7074 int i;
   7075 int
   7076 main (void)
   7077 {
   7078 
   7079   ;
   7080   return 0;
   7081 }
   7082 _ACEOF
   7083 if ac_fn_c_try_link "$LINENO"
   7084 then :
   7085   eval $cacheid=yes
   7086 else case e in #(
   7087   e) eval $cacheid=no ;;
   7088 esac
   7089 fi
   7090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7091     conftest$ac_exeext conftest.$ac_ext ;;
   7092 esac
   7093 fi
   7094 
   7095 
   7096 		CFLAGS="$xorg_testset_save_CFLAGS"
   7097 
   7098 		eval supported=\$$cacheid
   7099 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7100 printf "%s\n" "$supported" >&6; }
   7101 		if test "$supported" = "yes" ; then
   7102 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7103 			found="yes"
   7104 		fi
   7105 	fi
   7106 
   7107 
   7108 
   7109 
   7110 
   7111 
   7112 
   7113 
   7114 
   7115 
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 xorg_testset_save_CFLAGS="$CFLAGS"
   7122 
   7123 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7124 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7125 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7126 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7127 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7128 then :
   7129   printf %s "(cached) " >&6
   7130 else case e in #(
   7131   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7132 /* end confdefs.h.  */
   7133 int i;
   7134 _ACEOF
   7135 if ac_fn_c_try_compile "$LINENO"
   7136 then :
   7137   xorg_cv_cc_flag_unknown_warning_option=yes
   7138 else case e in #(
   7139   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7140 esac
   7141 fi
   7142 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7143 esac
   7144 fi
   7145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7146 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7147 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7148 	CFLAGS="$xorg_testset_save_CFLAGS"
   7149 fi
   7150 
   7151 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7152 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7153 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7154 	fi
   7155 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7156 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7157 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7158 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7159 then :
   7160   printf %s "(cached) " >&6
   7161 else case e in #(
   7162   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7163 /* end confdefs.h.  */
   7164 int i;
   7165 _ACEOF
   7166 if ac_fn_c_try_compile "$LINENO"
   7167 then :
   7168   xorg_cv_cc_flag_unused_command_line_argument=yes
   7169 else case e in #(
   7170   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7171 esac
   7172 fi
   7173 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7174 esac
   7175 fi
   7176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7177 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7178 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7179 	CFLAGS="$xorg_testset_save_CFLAGS"
   7180 fi
   7181 
   7182 found="no"
   7183 
   7184 	if test $found = "no" ; then
   7185 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7186 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7187 		fi
   7188 
   7189 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7190 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7191 		fi
   7192 
   7193 		CFLAGS="$CFLAGS -Wredundant-decls"
   7194 
   7195 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7196 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7197 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7198 		if eval test \${$cacheid+y}
   7199 then :
   7200   printf %s "(cached) " >&6
   7201 else case e in #(
   7202   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7203 /* end confdefs.h.  */
   7204 int i;
   7205 int
   7206 main (void)
   7207 {
   7208 
   7209   ;
   7210   return 0;
   7211 }
   7212 _ACEOF
   7213 if ac_fn_c_try_link "$LINENO"
   7214 then :
   7215   eval $cacheid=yes
   7216 else case e in #(
   7217   e) eval $cacheid=no ;;
   7218 esac
   7219 fi
   7220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7221     conftest$ac_exeext conftest.$ac_ext ;;
   7222 esac
   7223 fi
   7224 
   7225 
   7226 		CFLAGS="$xorg_testset_save_CFLAGS"
   7227 
   7228 		eval supported=\$$cacheid
   7229 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7230 printf "%s\n" "$supported" >&6; }
   7231 		if test "$supported" = "yes" ; then
   7232 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7233 			found="yes"
   7234 		fi
   7235 	fi
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 
   7244 
   7245 
   7246 
   7247 
   7248 
   7249 
   7250 
   7251 xorg_testset_save_CFLAGS="$CFLAGS"
   7252 
   7253 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7254 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7255 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7256 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7257 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7258 then :
   7259   printf %s "(cached) " >&6
   7260 else case e in #(
   7261   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7262 /* end confdefs.h.  */
   7263 int i;
   7264 _ACEOF
   7265 if ac_fn_c_try_compile "$LINENO"
   7266 then :
   7267   xorg_cv_cc_flag_unknown_warning_option=yes
   7268 else case e in #(
   7269   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7270 esac
   7271 fi
   7272 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7273 esac
   7274 fi
   7275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7276 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7277 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7278 	CFLAGS="$xorg_testset_save_CFLAGS"
   7279 fi
   7280 
   7281 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7282 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7283 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7284 	fi
   7285 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7286 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7287 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7288 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7289 then :
   7290   printf %s "(cached) " >&6
   7291 else case e in #(
   7292   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7293 /* end confdefs.h.  */
   7294 int i;
   7295 _ACEOF
   7296 if ac_fn_c_try_compile "$LINENO"
   7297 then :
   7298   xorg_cv_cc_flag_unused_command_line_argument=yes
   7299 else case e in #(
   7300   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7301 esac
   7302 fi
   7303 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7304 esac
   7305 fi
   7306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7307 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7308 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7309 	CFLAGS="$xorg_testset_save_CFLAGS"
   7310 fi
   7311 
   7312 found="no"
   7313 
   7314 	if test $found = "no" ; then
   7315 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7316 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7317 		fi
   7318 
   7319 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7320 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7321 		fi
   7322 
   7323 		CFLAGS="$CFLAGS -Wlogical-op"
   7324 
   7325 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7326 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7327 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7328 		if eval test \${$cacheid+y}
   7329 then :
   7330   printf %s "(cached) " >&6
   7331 else case e in #(
   7332   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7333 /* end confdefs.h.  */
   7334 int i;
   7335 int
   7336 main (void)
   7337 {
   7338 
   7339   ;
   7340   return 0;
   7341 }
   7342 _ACEOF
   7343 if ac_fn_c_try_link "$LINENO"
   7344 then :
   7345   eval $cacheid=yes
   7346 else case e in #(
   7347   e) eval $cacheid=no ;;
   7348 esac
   7349 fi
   7350 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7351     conftest$ac_exeext conftest.$ac_ext ;;
   7352 esac
   7353 fi
   7354 
   7355 
   7356 		CFLAGS="$xorg_testset_save_CFLAGS"
   7357 
   7358 		eval supported=\$$cacheid
   7359 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7360 printf "%s\n" "$supported" >&6; }
   7361 		if test "$supported" = "yes" ; then
   7362 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7363 			found="yes"
   7364 		fi
   7365 	fi
   7366 
   7367 
   7368 
   7369 # These are currently disabled because they are noisy.  They will be enabled
   7370 # in the future once the codebase is sufficiently modernized to silence
   7371 # them.  For now, I don't want them to drown out the other warnings.
   7372 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7373 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7374 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7375 
   7376 # Turn some warnings into errors, so we don't accidentally get successful builds
   7377 # when there are problems that should be fixed.
   7378 
   7379 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7380 
   7381 
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 
   7393 xorg_testset_save_CFLAGS="$CFLAGS"
   7394 
   7395 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7396 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7397 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7398 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7399 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7400 then :
   7401   printf %s "(cached) " >&6
   7402 else case e in #(
   7403   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7404 /* end confdefs.h.  */
   7405 int i;
   7406 _ACEOF
   7407 if ac_fn_c_try_compile "$LINENO"
   7408 then :
   7409   xorg_cv_cc_flag_unknown_warning_option=yes
   7410 else case e in #(
   7411   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7412 esac
   7413 fi
   7414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7415 esac
   7416 fi
   7417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7418 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7419 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7420 	CFLAGS="$xorg_testset_save_CFLAGS"
   7421 fi
   7422 
   7423 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7424 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7425 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7426 	fi
   7427 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7428 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7429 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7430 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7431 then :
   7432   printf %s "(cached) " >&6
   7433 else case e in #(
   7434   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7435 /* end confdefs.h.  */
   7436 int i;
   7437 _ACEOF
   7438 if ac_fn_c_try_compile "$LINENO"
   7439 then :
   7440   xorg_cv_cc_flag_unused_command_line_argument=yes
   7441 else case e in #(
   7442   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7443 esac
   7444 fi
   7445 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7446 esac
   7447 fi
   7448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7449 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7450 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7451 	CFLAGS="$xorg_testset_save_CFLAGS"
   7452 fi
   7453 
   7454 found="no"
   7455 
   7456 	if test $found = "no" ; then
   7457 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7458 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7459 		fi
   7460 
   7461 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7462 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7463 		fi
   7464 
   7465 		CFLAGS="$CFLAGS -Werror=implicit"
   7466 
   7467 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7468 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7469 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7470 		if eval test \${$cacheid+y}
   7471 then :
   7472   printf %s "(cached) " >&6
   7473 else case e in #(
   7474   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7475 /* end confdefs.h.  */
   7476 int i;
   7477 int
   7478 main (void)
   7479 {
   7480 
   7481   ;
   7482   return 0;
   7483 }
   7484 _ACEOF
   7485 if ac_fn_c_try_link "$LINENO"
   7486 then :
   7487   eval $cacheid=yes
   7488 else case e in #(
   7489   e) eval $cacheid=no ;;
   7490 esac
   7491 fi
   7492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7493     conftest$ac_exeext conftest.$ac_ext ;;
   7494 esac
   7495 fi
   7496 
   7497 
   7498 		CFLAGS="$xorg_testset_save_CFLAGS"
   7499 
   7500 		eval supported=\$$cacheid
   7501 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7502 printf "%s\n" "$supported" >&6; }
   7503 		if test "$supported" = "yes" ; then
   7504 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7505 			found="yes"
   7506 		fi
   7507 	fi
   7508 
   7509 	if test $found = "no" ; then
   7510 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7511 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7512 		fi
   7513 
   7514 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7515 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7516 		fi
   7517 
   7518 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7519 
   7520 		{ 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
   7521 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7522 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7523 		if eval test \${$cacheid+y}
   7524 then :
   7525   printf %s "(cached) " >&6
   7526 else case e in #(
   7527   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7528 /* end confdefs.h.  */
   7529 int i;
   7530 int
   7531 main (void)
   7532 {
   7533 
   7534   ;
   7535   return 0;
   7536 }
   7537 _ACEOF
   7538 if ac_fn_c_try_link "$LINENO"
   7539 then :
   7540   eval $cacheid=yes
   7541 else case e in #(
   7542   e) eval $cacheid=no ;;
   7543 esac
   7544 fi
   7545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7546     conftest$ac_exeext conftest.$ac_ext ;;
   7547 esac
   7548 fi
   7549 
   7550 
   7551 		CFLAGS="$xorg_testset_save_CFLAGS"
   7552 
   7553 		eval supported=\$$cacheid
   7554 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7555 printf "%s\n" "$supported" >&6; }
   7556 		if test "$supported" = "yes" ; then
   7557 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7558 			found="yes"
   7559 		fi
   7560 	fi
   7561 
   7562 
   7563 
   7564 
   7565 
   7566 
   7567 
   7568 
   7569 
   7570 
   7571 
   7572 
   7573 
   7574 
   7575 
   7576 xorg_testset_save_CFLAGS="$CFLAGS"
   7577 
   7578 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7579 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7580 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7581 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7582 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7583 then :
   7584   printf %s "(cached) " >&6
   7585 else case e in #(
   7586   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7587 /* end confdefs.h.  */
   7588 int i;
   7589 _ACEOF
   7590 if ac_fn_c_try_compile "$LINENO"
   7591 then :
   7592   xorg_cv_cc_flag_unknown_warning_option=yes
   7593 else case e in #(
   7594   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7595 esac
   7596 fi
   7597 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7598 esac
   7599 fi
   7600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7601 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7602 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7603 	CFLAGS="$xorg_testset_save_CFLAGS"
   7604 fi
   7605 
   7606 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7607 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7608 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7609 	fi
   7610 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7611 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7612 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7613 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7614 then :
   7615   printf %s "(cached) " >&6
   7616 else case e in #(
   7617   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7618 /* end confdefs.h.  */
   7619 int i;
   7620 _ACEOF
   7621 if ac_fn_c_try_compile "$LINENO"
   7622 then :
   7623   xorg_cv_cc_flag_unused_command_line_argument=yes
   7624 else case e in #(
   7625   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7626 esac
   7627 fi
   7628 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7629 esac
   7630 fi
   7631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7632 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7633 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7634 	CFLAGS="$xorg_testset_save_CFLAGS"
   7635 fi
   7636 
   7637 found="no"
   7638 
   7639 	if test $found = "no" ; then
   7640 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7641 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7642 		fi
   7643 
   7644 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7645 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7646 		fi
   7647 
   7648 		CFLAGS="$CFLAGS -Werror=nonnull"
   7649 
   7650 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7651 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7652 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7653 		if eval test \${$cacheid+y}
   7654 then :
   7655   printf %s "(cached) " >&6
   7656 else case e in #(
   7657   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7658 /* end confdefs.h.  */
   7659 int i;
   7660 int
   7661 main (void)
   7662 {
   7663 
   7664   ;
   7665   return 0;
   7666 }
   7667 _ACEOF
   7668 if ac_fn_c_try_link "$LINENO"
   7669 then :
   7670   eval $cacheid=yes
   7671 else case e in #(
   7672   e) eval $cacheid=no ;;
   7673 esac
   7674 fi
   7675 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7676     conftest$ac_exeext conftest.$ac_ext ;;
   7677 esac
   7678 fi
   7679 
   7680 
   7681 		CFLAGS="$xorg_testset_save_CFLAGS"
   7682 
   7683 		eval supported=\$$cacheid
   7684 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7685 printf "%s\n" "$supported" >&6; }
   7686 		if test "$supported" = "yes" ; then
   7687 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7688 			found="yes"
   7689 		fi
   7690 	fi
   7691 
   7692 
   7693 
   7694 
   7695 
   7696 
   7697 
   7698 
   7699 
   7700 
   7701 
   7702 
   7703 
   7704 
   7705 
   7706 xorg_testset_save_CFLAGS="$CFLAGS"
   7707 
   7708 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7709 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7710 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7711 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7712 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7713 then :
   7714   printf %s "(cached) " >&6
   7715 else case e in #(
   7716   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7717 /* end confdefs.h.  */
   7718 int i;
   7719 _ACEOF
   7720 if ac_fn_c_try_compile "$LINENO"
   7721 then :
   7722   xorg_cv_cc_flag_unknown_warning_option=yes
   7723 else case e in #(
   7724   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7725 esac
   7726 fi
   7727 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7728 esac
   7729 fi
   7730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7731 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7732 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7733 	CFLAGS="$xorg_testset_save_CFLAGS"
   7734 fi
   7735 
   7736 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7737 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7738 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7739 	fi
   7740 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7741 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7742 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7743 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7744 then :
   7745   printf %s "(cached) " >&6
   7746 else case e in #(
   7747   e) 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_unused_command_line_argument=yes
   7754 else case e in #(
   7755   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7756 esac
   7757 fi
   7758 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7759 esac
   7760 fi
   7761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7762 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7763 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7764 	CFLAGS="$xorg_testset_save_CFLAGS"
   7765 fi
   7766 
   7767 found="no"
   7768 
   7769 	if test $found = "no" ; then
   7770 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7771 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7772 		fi
   7773 
   7774 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7775 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7776 		fi
   7777 
   7778 		CFLAGS="$CFLAGS -Werror=init-self"
   7779 
   7780 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7781 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7782 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7783 		if eval test \${$cacheid+y}
   7784 then :
   7785   printf %s "(cached) " >&6
   7786 else case e in #(
   7787   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7788 /* end confdefs.h.  */
   7789 int i;
   7790 int
   7791 main (void)
   7792 {
   7793 
   7794   ;
   7795   return 0;
   7796 }
   7797 _ACEOF
   7798 if ac_fn_c_try_link "$LINENO"
   7799 then :
   7800   eval $cacheid=yes
   7801 else case e in #(
   7802   e) eval $cacheid=no ;;
   7803 esac
   7804 fi
   7805 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7806     conftest$ac_exeext conftest.$ac_ext ;;
   7807 esac
   7808 fi
   7809 
   7810 
   7811 		CFLAGS="$xorg_testset_save_CFLAGS"
   7812 
   7813 		eval supported=\$$cacheid
   7814 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7815 printf "%s\n" "$supported" >&6; }
   7816 		if test "$supported" = "yes" ; then
   7817 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7818 			found="yes"
   7819 		fi
   7820 	fi
   7821 
   7822 
   7823 
   7824 
   7825 
   7826 
   7827 
   7828 
   7829 
   7830 
   7831 
   7832 
   7833 
   7834 
   7835 
   7836 xorg_testset_save_CFLAGS="$CFLAGS"
   7837 
   7838 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7839 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7840 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7841 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7842 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7843 then :
   7844   printf %s "(cached) " >&6
   7845 else case e in #(
   7846   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7847 /* end confdefs.h.  */
   7848 int i;
   7849 _ACEOF
   7850 if ac_fn_c_try_compile "$LINENO"
   7851 then :
   7852   xorg_cv_cc_flag_unknown_warning_option=yes
   7853 else case e in #(
   7854   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7855 esac
   7856 fi
   7857 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7858 esac
   7859 fi
   7860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7861 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7862 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7863 	CFLAGS="$xorg_testset_save_CFLAGS"
   7864 fi
   7865 
   7866 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7867 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7868 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7869 	fi
   7870 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7871 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7872 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7873 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7874 then :
   7875   printf %s "(cached) " >&6
   7876 else case e in #(
   7877   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7878 /* end confdefs.h.  */
   7879 int i;
   7880 _ACEOF
   7881 if ac_fn_c_try_compile "$LINENO"
   7882 then :
   7883   xorg_cv_cc_flag_unused_command_line_argument=yes
   7884 else case e in #(
   7885   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7886 esac
   7887 fi
   7888 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7889 esac
   7890 fi
   7891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7892 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7893 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7894 	CFLAGS="$xorg_testset_save_CFLAGS"
   7895 fi
   7896 
   7897 found="no"
   7898 
   7899 	if test $found = "no" ; then
   7900 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7901 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7902 		fi
   7903 
   7904 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7905 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7906 		fi
   7907 
   7908 		CFLAGS="$CFLAGS -Werror=main"
   7909 
   7910 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7911 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7912 		cacheid=xorg_cv_cc_flag__Werror_main
   7913 		if eval test \${$cacheid+y}
   7914 then :
   7915   printf %s "(cached) " >&6
   7916 else case e in #(
   7917   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7918 /* end confdefs.h.  */
   7919 int i;
   7920 int
   7921 main (void)
   7922 {
   7923 
   7924   ;
   7925   return 0;
   7926 }
   7927 _ACEOF
   7928 if ac_fn_c_try_link "$LINENO"
   7929 then :
   7930   eval $cacheid=yes
   7931 else case e in #(
   7932   e) eval $cacheid=no ;;
   7933 esac
   7934 fi
   7935 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7936     conftest$ac_exeext conftest.$ac_ext ;;
   7937 esac
   7938 fi
   7939 
   7940 
   7941 		CFLAGS="$xorg_testset_save_CFLAGS"
   7942 
   7943 		eval supported=\$$cacheid
   7944 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7945 printf "%s\n" "$supported" >&6; }
   7946 		if test "$supported" = "yes" ; then
   7947 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7948 			found="yes"
   7949 		fi
   7950 	fi
   7951 
   7952 
   7953 
   7954 
   7955 
   7956 
   7957 
   7958 
   7959 
   7960 
   7961 
   7962 
   7963 
   7964 
   7965 
   7966 xorg_testset_save_CFLAGS="$CFLAGS"
   7967 
   7968 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7969 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7970 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7971 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7972 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7973 then :
   7974   printf %s "(cached) " >&6
   7975 else case e in #(
   7976   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7977 /* end confdefs.h.  */
   7978 int i;
   7979 _ACEOF
   7980 if ac_fn_c_try_compile "$LINENO"
   7981 then :
   7982   xorg_cv_cc_flag_unknown_warning_option=yes
   7983 else case e in #(
   7984   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7985 esac
   7986 fi
   7987 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7988 esac
   7989 fi
   7990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7991 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7992 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7993 	CFLAGS="$xorg_testset_save_CFLAGS"
   7994 fi
   7995 
   7996 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7997 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7998 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7999 	fi
   8000 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8001 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8002 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8003 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8004 then :
   8005   printf %s "(cached) " >&6
   8006 else case e in #(
   8007   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8008 /* end confdefs.h.  */
   8009 int i;
   8010 _ACEOF
   8011 if ac_fn_c_try_compile "$LINENO"
   8012 then :
   8013   xorg_cv_cc_flag_unused_command_line_argument=yes
   8014 else case e in #(
   8015   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8016 esac
   8017 fi
   8018 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8019 esac
   8020 fi
   8021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8022 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8023 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8024 	CFLAGS="$xorg_testset_save_CFLAGS"
   8025 fi
   8026 
   8027 found="no"
   8028 
   8029 	if test $found = "no" ; then
   8030 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8031 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8032 		fi
   8033 
   8034 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8035 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8036 		fi
   8037 
   8038 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8039 
   8040 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8041 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8042 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8043 		if eval test \${$cacheid+y}
   8044 then :
   8045   printf %s "(cached) " >&6
   8046 else case e in #(
   8047   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8048 /* end confdefs.h.  */
   8049 int i;
   8050 int
   8051 main (void)
   8052 {
   8053 
   8054   ;
   8055   return 0;
   8056 }
   8057 _ACEOF
   8058 if ac_fn_c_try_link "$LINENO"
   8059 then :
   8060   eval $cacheid=yes
   8061 else case e in #(
   8062   e) eval $cacheid=no ;;
   8063 esac
   8064 fi
   8065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8066     conftest$ac_exeext conftest.$ac_ext ;;
   8067 esac
   8068 fi
   8069 
   8070 
   8071 		CFLAGS="$xorg_testset_save_CFLAGS"
   8072 
   8073 		eval supported=\$$cacheid
   8074 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8075 printf "%s\n" "$supported" >&6; }
   8076 		if test "$supported" = "yes" ; then
   8077 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8078 			found="yes"
   8079 		fi
   8080 	fi
   8081 
   8082 
   8083 
   8084 
   8085 
   8086 
   8087 
   8088 
   8089 
   8090 
   8091 
   8092 
   8093 
   8094 
   8095 
   8096 xorg_testset_save_CFLAGS="$CFLAGS"
   8097 
   8098 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8099 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8100 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8101 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8102 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8103 then :
   8104   printf %s "(cached) " >&6
   8105 else case e in #(
   8106   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8107 /* end confdefs.h.  */
   8108 int i;
   8109 _ACEOF
   8110 if ac_fn_c_try_compile "$LINENO"
   8111 then :
   8112   xorg_cv_cc_flag_unknown_warning_option=yes
   8113 else case e in #(
   8114   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8115 esac
   8116 fi
   8117 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8118 esac
   8119 fi
   8120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8121 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8122 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8123 	CFLAGS="$xorg_testset_save_CFLAGS"
   8124 fi
   8125 
   8126 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8127 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8128 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8129 	fi
   8130 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8131 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8132 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8133 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8134 then :
   8135   printf %s "(cached) " >&6
   8136 else case e in #(
   8137   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8138 /* end confdefs.h.  */
   8139 int i;
   8140 _ACEOF
   8141 if ac_fn_c_try_compile "$LINENO"
   8142 then :
   8143   xorg_cv_cc_flag_unused_command_line_argument=yes
   8144 else case e in #(
   8145   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8146 esac
   8147 fi
   8148 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8149 esac
   8150 fi
   8151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8152 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8153 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8154 	CFLAGS="$xorg_testset_save_CFLAGS"
   8155 fi
   8156 
   8157 found="no"
   8158 
   8159 	if test $found = "no" ; then
   8160 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8161 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8162 		fi
   8163 
   8164 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8165 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8166 		fi
   8167 
   8168 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8169 
   8170 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8171 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8172 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8173 		if eval test \${$cacheid+y}
   8174 then :
   8175   printf %s "(cached) " >&6
   8176 else case e in #(
   8177   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8178 /* end confdefs.h.  */
   8179 int i;
   8180 int
   8181 main (void)
   8182 {
   8183 
   8184   ;
   8185   return 0;
   8186 }
   8187 _ACEOF
   8188 if ac_fn_c_try_link "$LINENO"
   8189 then :
   8190   eval $cacheid=yes
   8191 else case e in #(
   8192   e) eval $cacheid=no ;;
   8193 esac
   8194 fi
   8195 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8196     conftest$ac_exeext conftest.$ac_ext ;;
   8197 esac
   8198 fi
   8199 
   8200 
   8201 		CFLAGS="$xorg_testset_save_CFLAGS"
   8202 
   8203 		eval supported=\$$cacheid
   8204 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8205 printf "%s\n" "$supported" >&6; }
   8206 		if test "$supported" = "yes" ; then
   8207 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8208 			found="yes"
   8209 		fi
   8210 	fi
   8211 
   8212 
   8213 
   8214 
   8215 
   8216 
   8217 
   8218 
   8219 
   8220 
   8221 
   8222 
   8223 
   8224 
   8225 
   8226 xorg_testset_save_CFLAGS="$CFLAGS"
   8227 
   8228 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8229 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8230 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8231 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8232 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8233 then :
   8234   printf %s "(cached) " >&6
   8235 else case e in #(
   8236   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8237 /* end confdefs.h.  */
   8238 int i;
   8239 _ACEOF
   8240 if ac_fn_c_try_compile "$LINENO"
   8241 then :
   8242   xorg_cv_cc_flag_unknown_warning_option=yes
   8243 else case e in #(
   8244   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8245 esac
   8246 fi
   8247 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8248 esac
   8249 fi
   8250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8251 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8252 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8253 	CFLAGS="$xorg_testset_save_CFLAGS"
   8254 fi
   8255 
   8256 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8257 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8258 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8259 	fi
   8260 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8261 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8262 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8263 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8264 then :
   8265   printf %s "(cached) " >&6
   8266 else case e in #(
   8267   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8268 /* end confdefs.h.  */
   8269 int i;
   8270 _ACEOF
   8271 if ac_fn_c_try_compile "$LINENO"
   8272 then :
   8273   xorg_cv_cc_flag_unused_command_line_argument=yes
   8274 else case e in #(
   8275   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8276 esac
   8277 fi
   8278 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8279 esac
   8280 fi
   8281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8282 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8283 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8284 	CFLAGS="$xorg_testset_save_CFLAGS"
   8285 fi
   8286 
   8287 found="no"
   8288 
   8289 	if test $found = "no" ; then
   8290 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8291 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8292 		fi
   8293 
   8294 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8295 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8296 		fi
   8297 
   8298 		CFLAGS="$CFLAGS -Werror=return-type"
   8299 
   8300 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8301 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8302 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8303 		if eval test \${$cacheid+y}
   8304 then :
   8305   printf %s "(cached) " >&6
   8306 else case e in #(
   8307   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8308 /* end confdefs.h.  */
   8309 int i;
   8310 int
   8311 main (void)
   8312 {
   8313 
   8314   ;
   8315   return 0;
   8316 }
   8317 _ACEOF
   8318 if ac_fn_c_try_link "$LINENO"
   8319 then :
   8320   eval $cacheid=yes
   8321 else case e in #(
   8322   e) eval $cacheid=no ;;
   8323 esac
   8324 fi
   8325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8326     conftest$ac_exeext conftest.$ac_ext ;;
   8327 esac
   8328 fi
   8329 
   8330 
   8331 		CFLAGS="$xorg_testset_save_CFLAGS"
   8332 
   8333 		eval supported=\$$cacheid
   8334 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8335 printf "%s\n" "$supported" >&6; }
   8336 		if test "$supported" = "yes" ; then
   8337 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8338 			found="yes"
   8339 		fi
   8340 	fi
   8341 
   8342 	if test $found = "no" ; then
   8343 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8344 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8345 		fi
   8346 
   8347 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8348 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8349 		fi
   8350 
   8351 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8352 
   8353 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8354 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8355 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8356 		if eval test \${$cacheid+y}
   8357 then :
   8358   printf %s "(cached) " >&6
   8359 else case e in #(
   8360   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8361 /* end confdefs.h.  */
   8362 int i;
   8363 int
   8364 main (void)
   8365 {
   8366 
   8367   ;
   8368   return 0;
   8369 }
   8370 _ACEOF
   8371 if ac_fn_c_try_link "$LINENO"
   8372 then :
   8373   eval $cacheid=yes
   8374 else case e in #(
   8375   e) eval $cacheid=no ;;
   8376 esac
   8377 fi
   8378 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8379     conftest$ac_exeext conftest.$ac_ext ;;
   8380 esac
   8381 fi
   8382 
   8383 
   8384 		CFLAGS="$xorg_testset_save_CFLAGS"
   8385 
   8386 		eval supported=\$$cacheid
   8387 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8388 printf "%s\n" "$supported" >&6; }
   8389 		if test "$supported" = "yes" ; then
   8390 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8391 			found="yes"
   8392 		fi
   8393 	fi
   8394 
   8395 
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 xorg_testset_save_CFLAGS="$CFLAGS"
   8410 
   8411 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8412 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8413 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8414 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8415 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8416 then :
   8417   printf %s "(cached) " >&6
   8418 else case e in #(
   8419   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8420 /* end confdefs.h.  */
   8421 int i;
   8422 _ACEOF
   8423 if ac_fn_c_try_compile "$LINENO"
   8424 then :
   8425   xorg_cv_cc_flag_unknown_warning_option=yes
   8426 else case e in #(
   8427   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8428 esac
   8429 fi
   8430 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8431 esac
   8432 fi
   8433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8434 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8435 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8436 	CFLAGS="$xorg_testset_save_CFLAGS"
   8437 fi
   8438 
   8439 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8440 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8441 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8442 	fi
   8443 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8444 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8445 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8446 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8447 then :
   8448   printf %s "(cached) " >&6
   8449 else case e in #(
   8450   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8451 /* end confdefs.h.  */
   8452 int i;
   8453 _ACEOF
   8454 if ac_fn_c_try_compile "$LINENO"
   8455 then :
   8456   xorg_cv_cc_flag_unused_command_line_argument=yes
   8457 else case e in #(
   8458   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8459 esac
   8460 fi
   8461 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8462 esac
   8463 fi
   8464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8465 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8466 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8467 	CFLAGS="$xorg_testset_save_CFLAGS"
   8468 fi
   8469 
   8470 found="no"
   8471 
   8472 	if test $found = "no" ; then
   8473 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8474 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8475 		fi
   8476 
   8477 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8478 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8479 		fi
   8480 
   8481 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8482 
   8483 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8484 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8485 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8486 		if eval test \${$cacheid+y}
   8487 then :
   8488   printf %s "(cached) " >&6
   8489 else case e in #(
   8490   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8491 /* end confdefs.h.  */
   8492 int i;
   8493 int
   8494 main (void)
   8495 {
   8496 
   8497   ;
   8498   return 0;
   8499 }
   8500 _ACEOF
   8501 if ac_fn_c_try_link "$LINENO"
   8502 then :
   8503   eval $cacheid=yes
   8504 else case e in #(
   8505   e) eval $cacheid=no ;;
   8506 esac
   8507 fi
   8508 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8509     conftest$ac_exeext conftest.$ac_ext ;;
   8510 esac
   8511 fi
   8512 
   8513 
   8514 		CFLAGS="$xorg_testset_save_CFLAGS"
   8515 
   8516 		eval supported=\$$cacheid
   8517 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8518 printf "%s\n" "$supported" >&6; }
   8519 		if test "$supported" = "yes" ; then
   8520 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8521 			found="yes"
   8522 		fi
   8523 	fi
   8524 
   8525 
   8526 
   8527 
   8528 
   8529 
   8530 
   8531 
   8532 
   8533 
   8534 
   8535 
   8536 
   8537 
   8538 
   8539 xorg_testset_save_CFLAGS="$CFLAGS"
   8540 
   8541 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8542 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8543 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8544 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8545 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8546 then :
   8547   printf %s "(cached) " >&6
   8548 else case e in #(
   8549   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8550 /* end confdefs.h.  */
   8551 int i;
   8552 _ACEOF
   8553 if ac_fn_c_try_compile "$LINENO"
   8554 then :
   8555   xorg_cv_cc_flag_unknown_warning_option=yes
   8556 else case e in #(
   8557   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8558 esac
   8559 fi
   8560 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8561 esac
   8562 fi
   8563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8564 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8565 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8566 	CFLAGS="$xorg_testset_save_CFLAGS"
   8567 fi
   8568 
   8569 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8570 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8571 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8572 	fi
   8573 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8574 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8575 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8576 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8577 then :
   8578   printf %s "(cached) " >&6
   8579 else case e in #(
   8580   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8581 /* end confdefs.h.  */
   8582 int i;
   8583 _ACEOF
   8584 if ac_fn_c_try_compile "$LINENO"
   8585 then :
   8586   xorg_cv_cc_flag_unused_command_line_argument=yes
   8587 else case e in #(
   8588   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8589 esac
   8590 fi
   8591 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8592 esac
   8593 fi
   8594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8595 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8596 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8597 	CFLAGS="$xorg_testset_save_CFLAGS"
   8598 fi
   8599 
   8600 found="no"
   8601 
   8602 	if test $found = "no" ; then
   8603 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8604 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8605 		fi
   8606 
   8607 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8608 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8609 		fi
   8610 
   8611 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8612 
   8613 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8614 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8615 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8616 		if eval test \${$cacheid+y}
   8617 then :
   8618   printf %s "(cached) " >&6
   8619 else case e in #(
   8620   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8621 /* end confdefs.h.  */
   8622 int i;
   8623 int
   8624 main (void)
   8625 {
   8626 
   8627   ;
   8628   return 0;
   8629 }
   8630 _ACEOF
   8631 if ac_fn_c_try_link "$LINENO"
   8632 then :
   8633   eval $cacheid=yes
   8634 else case e in #(
   8635   e) eval $cacheid=no ;;
   8636 esac
   8637 fi
   8638 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8639     conftest$ac_exeext conftest.$ac_ext ;;
   8640 esac
   8641 fi
   8642 
   8643 
   8644 		CFLAGS="$xorg_testset_save_CFLAGS"
   8645 
   8646 		eval supported=\$$cacheid
   8647 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8648 printf "%s\n" "$supported" >&6; }
   8649 		if test "$supported" = "yes" ; then
   8650 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8651 			found="yes"
   8652 		fi
   8653 	fi
   8654 
   8655 
   8656 
   8657 
   8658 
   8659 
   8660 
   8661 
   8662 
   8663 
   8664 
   8665 
   8666 
   8667 
   8668 
   8669 xorg_testset_save_CFLAGS="$CFLAGS"
   8670 
   8671 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8672 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8673 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8674 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8675 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8676 then :
   8677   printf %s "(cached) " >&6
   8678 else case e in #(
   8679   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8680 /* end confdefs.h.  */
   8681 int i;
   8682 _ACEOF
   8683 if ac_fn_c_try_compile "$LINENO"
   8684 then :
   8685   xorg_cv_cc_flag_unknown_warning_option=yes
   8686 else case e in #(
   8687   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8688 esac
   8689 fi
   8690 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8691 esac
   8692 fi
   8693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8694 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8695 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8696 	CFLAGS="$xorg_testset_save_CFLAGS"
   8697 fi
   8698 
   8699 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8700 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8701 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8702 	fi
   8703 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8704 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8705 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8706 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8707 then :
   8708   printf %s "(cached) " >&6
   8709 else case e in #(
   8710   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8711 /* end confdefs.h.  */
   8712 int i;
   8713 _ACEOF
   8714 if ac_fn_c_try_compile "$LINENO"
   8715 then :
   8716   xorg_cv_cc_flag_unused_command_line_argument=yes
   8717 else case e in #(
   8718   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8719 esac
   8720 fi
   8721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8722 esac
   8723 fi
   8724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8725 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8726 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8727 	CFLAGS="$xorg_testset_save_CFLAGS"
   8728 fi
   8729 
   8730 found="no"
   8731 
   8732 	if test $found = "no" ; then
   8733 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8734 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8735 		fi
   8736 
   8737 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8738 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8739 		fi
   8740 
   8741 		CFLAGS="$CFLAGS -Werror=write-strings"
   8742 
   8743 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8744 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8745 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8746 		if eval test \${$cacheid+y}
   8747 then :
   8748   printf %s "(cached) " >&6
   8749 else case e in #(
   8750   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8751 /* end confdefs.h.  */
   8752 int i;
   8753 int
   8754 main (void)
   8755 {
   8756 
   8757   ;
   8758   return 0;
   8759 }
   8760 _ACEOF
   8761 if ac_fn_c_try_link "$LINENO"
   8762 then :
   8763   eval $cacheid=yes
   8764 else case e in #(
   8765   e) eval $cacheid=no ;;
   8766 esac
   8767 fi
   8768 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8769     conftest$ac_exeext conftest.$ac_ext ;;
   8770 esac
   8771 fi
   8772 
   8773 
   8774 		CFLAGS="$xorg_testset_save_CFLAGS"
   8775 
   8776 		eval supported=\$$cacheid
   8777 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8778 printf "%s\n" "$supported" >&6; }
   8779 		if test "$supported" = "yes" ; then
   8780 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8781 			found="yes"
   8782 		fi
   8783 	fi
   8784 
   8785 
   8786 
   8787 
   8788 
   8789 
   8790 
   8791 
   8792 
   8793 
   8794 
   8795 
   8796 
   8797 
   8798 
   8799 xorg_testset_save_CFLAGS="$CFLAGS"
   8800 
   8801 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8802 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8803 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8804 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8805 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8806 then :
   8807   printf %s "(cached) " >&6
   8808 else case e in #(
   8809   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8810 /* end confdefs.h.  */
   8811 int i;
   8812 _ACEOF
   8813 if ac_fn_c_try_compile "$LINENO"
   8814 then :
   8815   xorg_cv_cc_flag_unknown_warning_option=yes
   8816 else case e in #(
   8817   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8818 esac
   8819 fi
   8820 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8821 esac
   8822 fi
   8823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8824 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8825 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8826 	CFLAGS="$xorg_testset_save_CFLAGS"
   8827 fi
   8828 
   8829 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8830 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8831 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8832 	fi
   8833 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8834 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8835 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8836 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8837 then :
   8838   printf %s "(cached) " >&6
   8839 else case e in #(
   8840   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8841 /* end confdefs.h.  */
   8842 int i;
   8843 _ACEOF
   8844 if ac_fn_c_try_compile "$LINENO"
   8845 then :
   8846   xorg_cv_cc_flag_unused_command_line_argument=yes
   8847 else case e in #(
   8848   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8849 esac
   8850 fi
   8851 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8852 esac
   8853 fi
   8854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8855 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8856 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8857 	CFLAGS="$xorg_testset_save_CFLAGS"
   8858 fi
   8859 
   8860 found="no"
   8861 
   8862 	if test $found = "no" ; then
   8863 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8864 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8865 		fi
   8866 
   8867 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8868 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8869 		fi
   8870 
   8871 		CFLAGS="$CFLAGS -Werror=address"
   8872 
   8873 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8874 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8875 		cacheid=xorg_cv_cc_flag__Werror_address
   8876 		if eval test \${$cacheid+y}
   8877 then :
   8878   printf %s "(cached) " >&6
   8879 else case e in #(
   8880   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8881 /* end confdefs.h.  */
   8882 int i;
   8883 int
   8884 main (void)
   8885 {
   8886 
   8887   ;
   8888   return 0;
   8889 }
   8890 _ACEOF
   8891 if ac_fn_c_try_link "$LINENO"
   8892 then :
   8893   eval $cacheid=yes
   8894 else case e in #(
   8895   e) eval $cacheid=no ;;
   8896 esac
   8897 fi
   8898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8899     conftest$ac_exeext conftest.$ac_ext ;;
   8900 esac
   8901 fi
   8902 
   8903 
   8904 		CFLAGS="$xorg_testset_save_CFLAGS"
   8905 
   8906 		eval supported=\$$cacheid
   8907 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8908 printf "%s\n" "$supported" >&6; }
   8909 		if test "$supported" = "yes" ; then
   8910 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8911 			found="yes"
   8912 		fi
   8913 	fi
   8914 
   8915 
   8916 
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 
   8924 
   8925 
   8926 
   8927 
   8928 
   8929 xorg_testset_save_CFLAGS="$CFLAGS"
   8930 
   8931 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8932 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8933 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8934 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8935 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8936 then :
   8937   printf %s "(cached) " >&6
   8938 else case e in #(
   8939   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8940 /* end confdefs.h.  */
   8941 int i;
   8942 _ACEOF
   8943 if ac_fn_c_try_compile "$LINENO"
   8944 then :
   8945   xorg_cv_cc_flag_unknown_warning_option=yes
   8946 else case e in #(
   8947   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8948 esac
   8949 fi
   8950 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8951 esac
   8952 fi
   8953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8954 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8955 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8956 	CFLAGS="$xorg_testset_save_CFLAGS"
   8957 fi
   8958 
   8959 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8960 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8961 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8962 	fi
   8963 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8964 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8965 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8966 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8967 then :
   8968   printf %s "(cached) " >&6
   8969 else case e in #(
   8970   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8971 /* end confdefs.h.  */
   8972 int i;
   8973 _ACEOF
   8974 if ac_fn_c_try_compile "$LINENO"
   8975 then :
   8976   xorg_cv_cc_flag_unused_command_line_argument=yes
   8977 else case e in #(
   8978   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8979 esac
   8980 fi
   8981 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8982 esac
   8983 fi
   8984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8985 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8986 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8987 	CFLAGS="$xorg_testset_save_CFLAGS"
   8988 fi
   8989 
   8990 found="no"
   8991 
   8992 	if test $found = "no" ; then
   8993 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8994 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8995 		fi
   8996 
   8997 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8998 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8999 		fi
   9000 
   9001 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   9002 
   9003 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   9004 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   9005 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   9006 		if eval test \${$cacheid+y}
   9007 then :
   9008   printf %s "(cached) " >&6
   9009 else case e in #(
   9010   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9011 /* end confdefs.h.  */
   9012 int i;
   9013 int
   9014 main (void)
   9015 {
   9016 
   9017   ;
   9018   return 0;
   9019 }
   9020 _ACEOF
   9021 if ac_fn_c_try_link "$LINENO"
   9022 then :
   9023   eval $cacheid=yes
   9024 else case e in #(
   9025   e) eval $cacheid=no ;;
   9026 esac
   9027 fi
   9028 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9029     conftest$ac_exeext conftest.$ac_ext ;;
   9030 esac
   9031 fi
   9032 
   9033 
   9034 		CFLAGS="$xorg_testset_save_CFLAGS"
   9035 
   9036 		eval supported=\$$cacheid
   9037 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9038 printf "%s\n" "$supported" >&6; }
   9039 		if test "$supported" = "yes" ; then
   9040 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9041 			found="yes"
   9042 		fi
   9043 	fi
   9044 
   9045 	if test $found = "no" ; then
   9046 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9047 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9048 		fi
   9049 
   9050 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9051 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9052 		fi
   9053 
   9054 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9055 
   9056 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9057 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9058 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9059 		if eval test \${$cacheid+y}
   9060 then :
   9061   printf %s "(cached) " >&6
   9062 else case e in #(
   9063   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9064 /* end confdefs.h.  */
   9065 int i;
   9066 int
   9067 main (void)
   9068 {
   9069 
   9070   ;
   9071   return 0;
   9072 }
   9073 _ACEOF
   9074 if ac_fn_c_try_link "$LINENO"
   9075 then :
   9076   eval $cacheid=yes
   9077 else case e in #(
   9078   e) eval $cacheid=no ;;
   9079 esac
   9080 fi
   9081 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9082     conftest$ac_exeext conftest.$ac_ext ;;
   9083 esac
   9084 fi
   9085 
   9086 
   9087 		CFLAGS="$xorg_testset_save_CFLAGS"
   9088 
   9089 		eval supported=\$$cacheid
   9090 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9091 printf "%s\n" "$supported" >&6; }
   9092 		if test "$supported" = "yes" ; then
   9093 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9094 			found="yes"
   9095 		fi
   9096 	fi
   9097 
   9098 
   9099 
   9100 
   9101 
   9102 
   9103 
   9104 
   9105 
   9106 
   9107 
   9108 
   9109 
   9110 
   9111 
   9112 xorg_testset_save_CFLAGS="$CFLAGS"
   9113 
   9114 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9115 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9116 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9117 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9118 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9119 then :
   9120   printf %s "(cached) " >&6
   9121 else case e in #(
   9122   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9123 /* end confdefs.h.  */
   9124 int i;
   9125 _ACEOF
   9126 if ac_fn_c_try_compile "$LINENO"
   9127 then :
   9128   xorg_cv_cc_flag_unknown_warning_option=yes
   9129 else case e in #(
   9130   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9131 esac
   9132 fi
   9133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9134 esac
   9135 fi
   9136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9137 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9138 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9139 	CFLAGS="$xorg_testset_save_CFLAGS"
   9140 fi
   9141 
   9142 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9143 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9144 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9145 	fi
   9146 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9147 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9148 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9149 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9150 then :
   9151   printf %s "(cached) " >&6
   9152 else case e in #(
   9153   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9154 /* end confdefs.h.  */
   9155 int i;
   9156 _ACEOF
   9157 if ac_fn_c_try_compile "$LINENO"
   9158 then :
   9159   xorg_cv_cc_flag_unused_command_line_argument=yes
   9160 else case e in #(
   9161   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9162 esac
   9163 fi
   9164 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9165 esac
   9166 fi
   9167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9168 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9169 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9170 	CFLAGS="$xorg_testset_save_CFLAGS"
   9171 fi
   9172 
   9173 found="no"
   9174 
   9175 	if test $found = "no" ; then
   9176 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9177 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9178 		fi
   9179 
   9180 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9181 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9182 		fi
   9183 
   9184 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9185 
   9186 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9187 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9188 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9189 		if eval test \${$cacheid+y}
   9190 then :
   9191   printf %s "(cached) " >&6
   9192 else case e in #(
   9193   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9194 /* end confdefs.h.  */
   9195 int i;
   9196 int
   9197 main (void)
   9198 {
   9199 
   9200   ;
   9201   return 0;
   9202 }
   9203 _ACEOF
   9204 if ac_fn_c_try_link "$LINENO"
   9205 then :
   9206   eval $cacheid=yes
   9207 else case e in #(
   9208   e) eval $cacheid=no ;;
   9209 esac
   9210 fi
   9211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9212     conftest$ac_exeext conftest.$ac_ext ;;
   9213 esac
   9214 fi
   9215 
   9216 
   9217 		CFLAGS="$xorg_testset_save_CFLAGS"
   9218 
   9219 		eval supported=\$$cacheid
   9220 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9221 printf "%s\n" "$supported" >&6; }
   9222 		if test "$supported" = "yes" ; then
   9223 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9224 			found="yes"
   9225 		fi
   9226 	fi
   9227 
   9228  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9229 else
   9230 { 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
   9231 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;}
   9232 
   9233 
   9234 
   9235 
   9236 
   9237 
   9238 
   9239 
   9240 
   9241 
   9242 
   9243 
   9244 
   9245 xorg_testset_save_CFLAGS="$CFLAGS"
   9246 
   9247 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9248 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9249 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9250 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9251 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9252 then :
   9253   printf %s "(cached) " >&6
   9254 else case e in #(
   9255   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9256 /* end confdefs.h.  */
   9257 int i;
   9258 _ACEOF
   9259 if ac_fn_c_try_compile "$LINENO"
   9260 then :
   9261   xorg_cv_cc_flag_unknown_warning_option=yes
   9262 else case e in #(
   9263   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9264 esac
   9265 fi
   9266 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9267 esac
   9268 fi
   9269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9270 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9271 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9272 	CFLAGS="$xorg_testset_save_CFLAGS"
   9273 fi
   9274 
   9275 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9276 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9277 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9278 	fi
   9279 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9280 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9281 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9282 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9283 then :
   9284   printf %s "(cached) " >&6
   9285 else case e in #(
   9286   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9287 /* end confdefs.h.  */
   9288 int i;
   9289 _ACEOF
   9290 if ac_fn_c_try_compile "$LINENO"
   9291 then :
   9292   xorg_cv_cc_flag_unused_command_line_argument=yes
   9293 else case e in #(
   9294   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9295 esac
   9296 fi
   9297 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9298 esac
   9299 fi
   9300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9301 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9302 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9303 	CFLAGS="$xorg_testset_save_CFLAGS"
   9304 fi
   9305 
   9306 found="no"
   9307 
   9308 	if test $found = "no" ; then
   9309 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9310 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9311 		fi
   9312 
   9313 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9314 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9315 		fi
   9316 
   9317 		CFLAGS="$CFLAGS -Wimplicit"
   9318 
   9319 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9320 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9321 		cacheid=xorg_cv_cc_flag__Wimplicit
   9322 		if eval test \${$cacheid+y}
   9323 then :
   9324   printf %s "(cached) " >&6
   9325 else case e in #(
   9326   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9327 /* end confdefs.h.  */
   9328 int i;
   9329 int
   9330 main (void)
   9331 {
   9332 
   9333   ;
   9334   return 0;
   9335 }
   9336 _ACEOF
   9337 if ac_fn_c_try_link "$LINENO"
   9338 then :
   9339   eval $cacheid=yes
   9340 else case e in #(
   9341   e) eval $cacheid=no ;;
   9342 esac
   9343 fi
   9344 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9345     conftest$ac_exeext conftest.$ac_ext ;;
   9346 esac
   9347 fi
   9348 
   9349 
   9350 		CFLAGS="$xorg_testset_save_CFLAGS"
   9351 
   9352 		eval supported=\$$cacheid
   9353 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9354 printf "%s\n" "$supported" >&6; }
   9355 		if test "$supported" = "yes" ; then
   9356 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9357 			found="yes"
   9358 		fi
   9359 	fi
   9360 
   9361 
   9362 
   9363 
   9364 
   9365 
   9366 
   9367 
   9368 
   9369 
   9370 
   9371 
   9372 
   9373 
   9374 
   9375 xorg_testset_save_CFLAGS="$CFLAGS"
   9376 
   9377 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9378 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9379 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9380 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9381 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9382 then :
   9383   printf %s "(cached) " >&6
   9384 else case e in #(
   9385   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9386 /* end confdefs.h.  */
   9387 int i;
   9388 _ACEOF
   9389 if ac_fn_c_try_compile "$LINENO"
   9390 then :
   9391   xorg_cv_cc_flag_unknown_warning_option=yes
   9392 else case e in #(
   9393   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9394 esac
   9395 fi
   9396 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9397 esac
   9398 fi
   9399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9400 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9401 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9402 	CFLAGS="$xorg_testset_save_CFLAGS"
   9403 fi
   9404 
   9405 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9406 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9407 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9408 	fi
   9409 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9410 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9411 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9412 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9413 then :
   9414   printf %s "(cached) " >&6
   9415 else case e in #(
   9416   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9417 /* end confdefs.h.  */
   9418 int i;
   9419 _ACEOF
   9420 if ac_fn_c_try_compile "$LINENO"
   9421 then :
   9422   xorg_cv_cc_flag_unused_command_line_argument=yes
   9423 else case e in #(
   9424   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9425 esac
   9426 fi
   9427 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9428 esac
   9429 fi
   9430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9431 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9432 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9433 	CFLAGS="$xorg_testset_save_CFLAGS"
   9434 fi
   9435 
   9436 found="no"
   9437 
   9438 	if test $found = "no" ; then
   9439 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9440 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9441 		fi
   9442 
   9443 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9444 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9445 		fi
   9446 
   9447 		CFLAGS="$CFLAGS -Wnonnull"
   9448 
   9449 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9450 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9451 		cacheid=xorg_cv_cc_flag__Wnonnull
   9452 		if eval test \${$cacheid+y}
   9453 then :
   9454   printf %s "(cached) " >&6
   9455 else case e in #(
   9456   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9457 /* end confdefs.h.  */
   9458 int i;
   9459 int
   9460 main (void)
   9461 {
   9462 
   9463   ;
   9464   return 0;
   9465 }
   9466 _ACEOF
   9467 if ac_fn_c_try_link "$LINENO"
   9468 then :
   9469   eval $cacheid=yes
   9470 else case e in #(
   9471   e) eval $cacheid=no ;;
   9472 esac
   9473 fi
   9474 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9475     conftest$ac_exeext conftest.$ac_ext ;;
   9476 esac
   9477 fi
   9478 
   9479 
   9480 		CFLAGS="$xorg_testset_save_CFLAGS"
   9481 
   9482 		eval supported=\$$cacheid
   9483 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9484 printf "%s\n" "$supported" >&6; }
   9485 		if test "$supported" = "yes" ; then
   9486 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9487 			found="yes"
   9488 		fi
   9489 	fi
   9490 
   9491 
   9492 
   9493 
   9494 
   9495 
   9496 
   9497 
   9498 
   9499 
   9500 
   9501 
   9502 
   9503 
   9504 
   9505 xorg_testset_save_CFLAGS="$CFLAGS"
   9506 
   9507 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9508 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9509 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9510 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9511 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9512 then :
   9513   printf %s "(cached) " >&6
   9514 else case e in #(
   9515   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9516 /* end confdefs.h.  */
   9517 int i;
   9518 _ACEOF
   9519 if ac_fn_c_try_compile "$LINENO"
   9520 then :
   9521   xorg_cv_cc_flag_unknown_warning_option=yes
   9522 else case e in #(
   9523   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9524 esac
   9525 fi
   9526 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9527 esac
   9528 fi
   9529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9530 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9531 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9532 	CFLAGS="$xorg_testset_save_CFLAGS"
   9533 fi
   9534 
   9535 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9536 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9537 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9538 	fi
   9539 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9540 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9541 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9542 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9543 then :
   9544   printf %s "(cached) " >&6
   9545 else case e in #(
   9546   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9547 /* end confdefs.h.  */
   9548 int i;
   9549 _ACEOF
   9550 if ac_fn_c_try_compile "$LINENO"
   9551 then :
   9552   xorg_cv_cc_flag_unused_command_line_argument=yes
   9553 else case e in #(
   9554   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9555 esac
   9556 fi
   9557 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9558 esac
   9559 fi
   9560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9561 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9562 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9563 	CFLAGS="$xorg_testset_save_CFLAGS"
   9564 fi
   9565 
   9566 found="no"
   9567 
   9568 	if test $found = "no" ; then
   9569 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9570 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9571 		fi
   9572 
   9573 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9574 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9575 		fi
   9576 
   9577 		CFLAGS="$CFLAGS -Winit-self"
   9578 
   9579 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9580 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9581 		cacheid=xorg_cv_cc_flag__Winit_self
   9582 		if eval test \${$cacheid+y}
   9583 then :
   9584   printf %s "(cached) " >&6
   9585 else case e in #(
   9586   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9587 /* end confdefs.h.  */
   9588 int i;
   9589 int
   9590 main (void)
   9591 {
   9592 
   9593   ;
   9594   return 0;
   9595 }
   9596 _ACEOF
   9597 if ac_fn_c_try_link "$LINENO"
   9598 then :
   9599   eval $cacheid=yes
   9600 else case e in #(
   9601   e) eval $cacheid=no ;;
   9602 esac
   9603 fi
   9604 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9605     conftest$ac_exeext conftest.$ac_ext ;;
   9606 esac
   9607 fi
   9608 
   9609 
   9610 		CFLAGS="$xorg_testset_save_CFLAGS"
   9611 
   9612 		eval supported=\$$cacheid
   9613 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9614 printf "%s\n" "$supported" >&6; }
   9615 		if test "$supported" = "yes" ; then
   9616 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9617 			found="yes"
   9618 		fi
   9619 	fi
   9620 
   9621 
   9622 
   9623 
   9624 
   9625 
   9626 
   9627 
   9628 
   9629 
   9630 
   9631 
   9632 
   9633 
   9634 
   9635 xorg_testset_save_CFLAGS="$CFLAGS"
   9636 
   9637 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9638 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9639 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9640 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9641 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9642 then :
   9643   printf %s "(cached) " >&6
   9644 else case e in #(
   9645   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9646 /* end confdefs.h.  */
   9647 int i;
   9648 _ACEOF
   9649 if ac_fn_c_try_compile "$LINENO"
   9650 then :
   9651   xorg_cv_cc_flag_unknown_warning_option=yes
   9652 else case e in #(
   9653   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9654 esac
   9655 fi
   9656 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9657 esac
   9658 fi
   9659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9660 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9661 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9662 	CFLAGS="$xorg_testset_save_CFLAGS"
   9663 fi
   9664 
   9665 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9666 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9667 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9668 	fi
   9669 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9670 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9671 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9672 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9673 then :
   9674   printf %s "(cached) " >&6
   9675 else case e in #(
   9676   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9677 /* end confdefs.h.  */
   9678 int i;
   9679 _ACEOF
   9680 if ac_fn_c_try_compile "$LINENO"
   9681 then :
   9682   xorg_cv_cc_flag_unused_command_line_argument=yes
   9683 else case e in #(
   9684   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9685 esac
   9686 fi
   9687 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9688 esac
   9689 fi
   9690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9691 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9692 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9693 	CFLAGS="$xorg_testset_save_CFLAGS"
   9694 fi
   9695 
   9696 found="no"
   9697 
   9698 	if test $found = "no" ; then
   9699 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9700 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9701 		fi
   9702 
   9703 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9704 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9705 		fi
   9706 
   9707 		CFLAGS="$CFLAGS -Wmain"
   9708 
   9709 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9710 printf %s "checking if $CC supports -Wmain... " >&6; }
   9711 		cacheid=xorg_cv_cc_flag__Wmain
   9712 		if eval test \${$cacheid+y}
   9713 then :
   9714   printf %s "(cached) " >&6
   9715 else case e in #(
   9716   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9717 /* end confdefs.h.  */
   9718 int i;
   9719 int
   9720 main (void)
   9721 {
   9722 
   9723   ;
   9724   return 0;
   9725 }
   9726 _ACEOF
   9727 if ac_fn_c_try_link "$LINENO"
   9728 then :
   9729   eval $cacheid=yes
   9730 else case e in #(
   9731   e) eval $cacheid=no ;;
   9732 esac
   9733 fi
   9734 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9735     conftest$ac_exeext conftest.$ac_ext ;;
   9736 esac
   9737 fi
   9738 
   9739 
   9740 		CFLAGS="$xorg_testset_save_CFLAGS"
   9741 
   9742 		eval supported=\$$cacheid
   9743 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9744 printf "%s\n" "$supported" >&6; }
   9745 		if test "$supported" = "yes" ; then
   9746 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9747 			found="yes"
   9748 		fi
   9749 	fi
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 xorg_testset_save_CFLAGS="$CFLAGS"
   9766 
   9767 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9768 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9769 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9770 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9771 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9772 then :
   9773   printf %s "(cached) " >&6
   9774 else case e in #(
   9775   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9776 /* end confdefs.h.  */
   9777 int i;
   9778 _ACEOF
   9779 if ac_fn_c_try_compile "$LINENO"
   9780 then :
   9781   xorg_cv_cc_flag_unknown_warning_option=yes
   9782 else case e in #(
   9783   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9784 esac
   9785 fi
   9786 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9787 esac
   9788 fi
   9789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9790 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9791 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9792 	CFLAGS="$xorg_testset_save_CFLAGS"
   9793 fi
   9794 
   9795 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9796 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9797 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9798 	fi
   9799 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9800 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9801 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9802 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9803 then :
   9804   printf %s "(cached) " >&6
   9805 else case e in #(
   9806   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9807 /* end confdefs.h.  */
   9808 int i;
   9809 _ACEOF
   9810 if ac_fn_c_try_compile "$LINENO"
   9811 then :
   9812   xorg_cv_cc_flag_unused_command_line_argument=yes
   9813 else case e in #(
   9814   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9815 esac
   9816 fi
   9817 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9818 esac
   9819 fi
   9820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9821 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9822 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9823 	CFLAGS="$xorg_testset_save_CFLAGS"
   9824 fi
   9825 
   9826 found="no"
   9827 
   9828 	if test $found = "no" ; then
   9829 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9830 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9831 		fi
   9832 
   9833 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9834 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9835 		fi
   9836 
   9837 		CFLAGS="$CFLAGS -Wmissing-braces"
   9838 
   9839 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9840 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9841 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9842 		if eval test \${$cacheid+y}
   9843 then :
   9844   printf %s "(cached) " >&6
   9845 else case e in #(
   9846   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9847 /* end confdefs.h.  */
   9848 int i;
   9849 int
   9850 main (void)
   9851 {
   9852 
   9853   ;
   9854   return 0;
   9855 }
   9856 _ACEOF
   9857 if ac_fn_c_try_link "$LINENO"
   9858 then :
   9859   eval $cacheid=yes
   9860 else case e in #(
   9861   e) eval $cacheid=no ;;
   9862 esac
   9863 fi
   9864 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9865     conftest$ac_exeext conftest.$ac_ext ;;
   9866 esac
   9867 fi
   9868 
   9869 
   9870 		CFLAGS="$xorg_testset_save_CFLAGS"
   9871 
   9872 		eval supported=\$$cacheid
   9873 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9874 printf "%s\n" "$supported" >&6; }
   9875 		if test "$supported" = "yes" ; then
   9876 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9877 			found="yes"
   9878 		fi
   9879 	fi
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 xorg_testset_save_CFLAGS="$CFLAGS"
   9896 
   9897 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9898 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9899 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9900 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9901 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9902 then :
   9903   printf %s "(cached) " >&6
   9904 else case e in #(
   9905   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9906 /* end confdefs.h.  */
   9907 int i;
   9908 _ACEOF
   9909 if ac_fn_c_try_compile "$LINENO"
   9910 then :
   9911   xorg_cv_cc_flag_unknown_warning_option=yes
   9912 else case e in #(
   9913   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9914 esac
   9915 fi
   9916 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9917 esac
   9918 fi
   9919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9920 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9921 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9922 	CFLAGS="$xorg_testset_save_CFLAGS"
   9923 fi
   9924 
   9925 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9926 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9927 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9928 	fi
   9929 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9930 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9931 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9932 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9933 then :
   9934   printf %s "(cached) " >&6
   9935 else case e in #(
   9936   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9937 /* end confdefs.h.  */
   9938 int i;
   9939 _ACEOF
   9940 if ac_fn_c_try_compile "$LINENO"
   9941 then :
   9942   xorg_cv_cc_flag_unused_command_line_argument=yes
   9943 else case e in #(
   9944   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9945 esac
   9946 fi
   9947 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9948 esac
   9949 fi
   9950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9951 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9952 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9953 	CFLAGS="$xorg_testset_save_CFLAGS"
   9954 fi
   9955 
   9956 found="no"
   9957 
   9958 	if test $found = "no" ; then
   9959 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9960 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9961 		fi
   9962 
   9963 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9964 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9965 		fi
   9966 
   9967 		CFLAGS="$CFLAGS -Wsequence-point"
   9968 
   9969 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9970 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9971 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9972 		if eval test \${$cacheid+y}
   9973 then :
   9974   printf %s "(cached) " >&6
   9975 else case e in #(
   9976   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9977 /* end confdefs.h.  */
   9978 int i;
   9979 int
   9980 main (void)
   9981 {
   9982 
   9983   ;
   9984   return 0;
   9985 }
   9986 _ACEOF
   9987 if ac_fn_c_try_link "$LINENO"
   9988 then :
   9989   eval $cacheid=yes
   9990 else case e in #(
   9991   e) eval $cacheid=no ;;
   9992 esac
   9993 fi
   9994 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9995     conftest$ac_exeext conftest.$ac_ext ;;
   9996 esac
   9997 fi
   9998 
   9999 
   10000 		CFLAGS="$xorg_testset_save_CFLAGS"
   10001 
   10002 		eval supported=\$$cacheid
   10003 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10004 printf "%s\n" "$supported" >&6; }
   10005 		if test "$supported" = "yes" ; then
   10006 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   10007 			found="yes"
   10008 		fi
   10009 	fi
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 xorg_testset_save_CFLAGS="$CFLAGS"
   10026 
   10027 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10028 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10029 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10030 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10031 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10032 then :
   10033   printf %s "(cached) " >&6
   10034 else case e in #(
   10035   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10036 /* end confdefs.h.  */
   10037 int i;
   10038 _ACEOF
   10039 if ac_fn_c_try_compile "$LINENO"
   10040 then :
   10041   xorg_cv_cc_flag_unknown_warning_option=yes
   10042 else case e in #(
   10043   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10044 esac
   10045 fi
   10046 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10047 esac
   10048 fi
   10049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10050 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10051 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10052 	CFLAGS="$xorg_testset_save_CFLAGS"
   10053 fi
   10054 
   10055 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10056 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10057 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10058 	fi
   10059 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10060 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10061 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10062 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10063 then :
   10064   printf %s "(cached) " >&6
   10065 else case e in #(
   10066   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10067 /* end confdefs.h.  */
   10068 int i;
   10069 _ACEOF
   10070 if ac_fn_c_try_compile "$LINENO"
   10071 then :
   10072   xorg_cv_cc_flag_unused_command_line_argument=yes
   10073 else case e in #(
   10074   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10075 esac
   10076 fi
   10077 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10078 esac
   10079 fi
   10080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10081 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10082 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10083 	CFLAGS="$xorg_testset_save_CFLAGS"
   10084 fi
   10085 
   10086 found="no"
   10087 
   10088 	if test $found = "no" ; then
   10089 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10090 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10091 		fi
   10092 
   10093 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10094 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10095 		fi
   10096 
   10097 		CFLAGS="$CFLAGS -Wreturn-type"
   10098 
   10099 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10100 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10101 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10102 		if eval test \${$cacheid+y}
   10103 then :
   10104   printf %s "(cached) " >&6
   10105 else case e in #(
   10106   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10107 /* end confdefs.h.  */
   10108 int i;
   10109 int
   10110 main (void)
   10111 {
   10112 
   10113   ;
   10114   return 0;
   10115 }
   10116 _ACEOF
   10117 if ac_fn_c_try_link "$LINENO"
   10118 then :
   10119   eval $cacheid=yes
   10120 else case e in #(
   10121   e) eval $cacheid=no ;;
   10122 esac
   10123 fi
   10124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10125     conftest$ac_exeext conftest.$ac_ext ;;
   10126 esac
   10127 fi
   10128 
   10129 
   10130 		CFLAGS="$xorg_testset_save_CFLAGS"
   10131 
   10132 		eval supported=\$$cacheid
   10133 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10134 printf "%s\n" "$supported" >&6; }
   10135 		if test "$supported" = "yes" ; then
   10136 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10137 			found="yes"
   10138 		fi
   10139 	fi
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 
   10147 
   10148 
   10149 
   10150 
   10151 
   10152 
   10153 
   10154 
   10155 xorg_testset_save_CFLAGS="$CFLAGS"
   10156 
   10157 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10158 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10159 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10160 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10161 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10162 then :
   10163   printf %s "(cached) " >&6
   10164 else case e in #(
   10165   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10166 /* end confdefs.h.  */
   10167 int i;
   10168 _ACEOF
   10169 if ac_fn_c_try_compile "$LINENO"
   10170 then :
   10171   xorg_cv_cc_flag_unknown_warning_option=yes
   10172 else case e in #(
   10173   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10174 esac
   10175 fi
   10176 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10177 esac
   10178 fi
   10179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10180 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10181 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10182 	CFLAGS="$xorg_testset_save_CFLAGS"
   10183 fi
   10184 
   10185 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10186 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10187 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10188 	fi
   10189 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10190 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10191 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10192 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10193 then :
   10194   printf %s "(cached) " >&6
   10195 else case e in #(
   10196   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10197 /* end confdefs.h.  */
   10198 int i;
   10199 _ACEOF
   10200 if ac_fn_c_try_compile "$LINENO"
   10201 then :
   10202   xorg_cv_cc_flag_unused_command_line_argument=yes
   10203 else case e in #(
   10204   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10205 esac
   10206 fi
   10207 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10208 esac
   10209 fi
   10210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10211 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10212 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10213 	CFLAGS="$xorg_testset_save_CFLAGS"
   10214 fi
   10215 
   10216 found="no"
   10217 
   10218 	if test $found = "no" ; then
   10219 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10220 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10221 		fi
   10222 
   10223 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10224 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10225 		fi
   10226 
   10227 		CFLAGS="$CFLAGS -Wtrigraphs"
   10228 
   10229 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10230 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10231 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10232 		if eval test \${$cacheid+y}
   10233 then :
   10234   printf %s "(cached) " >&6
   10235 else case e in #(
   10236   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10237 /* end confdefs.h.  */
   10238 int i;
   10239 int
   10240 main (void)
   10241 {
   10242 
   10243   ;
   10244   return 0;
   10245 }
   10246 _ACEOF
   10247 if ac_fn_c_try_link "$LINENO"
   10248 then :
   10249   eval $cacheid=yes
   10250 else case e in #(
   10251   e) eval $cacheid=no ;;
   10252 esac
   10253 fi
   10254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10255     conftest$ac_exeext conftest.$ac_ext ;;
   10256 esac
   10257 fi
   10258 
   10259 
   10260 		CFLAGS="$xorg_testset_save_CFLAGS"
   10261 
   10262 		eval supported=\$$cacheid
   10263 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10264 printf "%s\n" "$supported" >&6; }
   10265 		if test "$supported" = "yes" ; then
   10266 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10267 			found="yes"
   10268 		fi
   10269 	fi
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 
   10285 xorg_testset_save_CFLAGS="$CFLAGS"
   10286 
   10287 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10288 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10289 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10290 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10291 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10292 then :
   10293   printf %s "(cached) " >&6
   10294 else case e in #(
   10295   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10296 /* end confdefs.h.  */
   10297 int i;
   10298 _ACEOF
   10299 if ac_fn_c_try_compile "$LINENO"
   10300 then :
   10301   xorg_cv_cc_flag_unknown_warning_option=yes
   10302 else case e in #(
   10303   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10304 esac
   10305 fi
   10306 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10307 esac
   10308 fi
   10309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10310 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10311 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10312 	CFLAGS="$xorg_testset_save_CFLAGS"
   10313 fi
   10314 
   10315 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10316 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10317 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10318 	fi
   10319 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10320 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10321 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10322 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10323 then :
   10324   printf %s "(cached) " >&6
   10325 else case e in #(
   10326   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10327 /* end confdefs.h.  */
   10328 int i;
   10329 _ACEOF
   10330 if ac_fn_c_try_compile "$LINENO"
   10331 then :
   10332   xorg_cv_cc_flag_unused_command_line_argument=yes
   10333 else case e in #(
   10334   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10335 esac
   10336 fi
   10337 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10338 esac
   10339 fi
   10340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10341 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10342 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10343 	CFLAGS="$xorg_testset_save_CFLAGS"
   10344 fi
   10345 
   10346 found="no"
   10347 
   10348 	if test $found = "no" ; then
   10349 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10350 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10351 		fi
   10352 
   10353 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10354 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10355 		fi
   10356 
   10357 		CFLAGS="$CFLAGS -Warray-bounds"
   10358 
   10359 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10360 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10361 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10362 		if eval test \${$cacheid+y}
   10363 then :
   10364   printf %s "(cached) " >&6
   10365 else case e in #(
   10366   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10367 /* end confdefs.h.  */
   10368 int i;
   10369 int
   10370 main (void)
   10371 {
   10372 
   10373   ;
   10374   return 0;
   10375 }
   10376 _ACEOF
   10377 if ac_fn_c_try_link "$LINENO"
   10378 then :
   10379   eval $cacheid=yes
   10380 else case e in #(
   10381   e) eval $cacheid=no ;;
   10382 esac
   10383 fi
   10384 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10385     conftest$ac_exeext conftest.$ac_ext ;;
   10386 esac
   10387 fi
   10388 
   10389 
   10390 		CFLAGS="$xorg_testset_save_CFLAGS"
   10391 
   10392 		eval supported=\$$cacheid
   10393 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10394 printf "%s\n" "$supported" >&6; }
   10395 		if test "$supported" = "yes" ; then
   10396 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10397 			found="yes"
   10398 		fi
   10399 	fi
   10400 
   10401 
   10402 
   10403 
   10404 
   10405 
   10406 
   10407 
   10408 
   10409 
   10410 
   10411 
   10412 
   10413 
   10414 
   10415 xorg_testset_save_CFLAGS="$CFLAGS"
   10416 
   10417 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10418 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10419 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10420 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10421 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10422 then :
   10423   printf %s "(cached) " >&6
   10424 else case e in #(
   10425   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10426 /* end confdefs.h.  */
   10427 int i;
   10428 _ACEOF
   10429 if ac_fn_c_try_compile "$LINENO"
   10430 then :
   10431   xorg_cv_cc_flag_unknown_warning_option=yes
   10432 else case e in #(
   10433   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10434 esac
   10435 fi
   10436 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10437 esac
   10438 fi
   10439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10440 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10441 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10442 	CFLAGS="$xorg_testset_save_CFLAGS"
   10443 fi
   10444 
   10445 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10446 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10447 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10448 	fi
   10449 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10450 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10451 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10452 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10453 then :
   10454   printf %s "(cached) " >&6
   10455 else case e in #(
   10456   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10457 /* end confdefs.h.  */
   10458 int i;
   10459 _ACEOF
   10460 if ac_fn_c_try_compile "$LINENO"
   10461 then :
   10462   xorg_cv_cc_flag_unused_command_line_argument=yes
   10463 else case e in #(
   10464   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10465 esac
   10466 fi
   10467 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10468 esac
   10469 fi
   10470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10471 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10472 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10473 	CFLAGS="$xorg_testset_save_CFLAGS"
   10474 fi
   10475 
   10476 found="no"
   10477 
   10478 	if test $found = "no" ; then
   10479 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10480 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10481 		fi
   10482 
   10483 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10484 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10485 		fi
   10486 
   10487 		CFLAGS="$CFLAGS -Wwrite-strings"
   10488 
   10489 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10490 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10491 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10492 		if eval test \${$cacheid+y}
   10493 then :
   10494   printf %s "(cached) " >&6
   10495 else case e in #(
   10496   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10497 /* end confdefs.h.  */
   10498 int i;
   10499 int
   10500 main (void)
   10501 {
   10502 
   10503   ;
   10504   return 0;
   10505 }
   10506 _ACEOF
   10507 if ac_fn_c_try_link "$LINENO"
   10508 then :
   10509   eval $cacheid=yes
   10510 else case e in #(
   10511   e) eval $cacheid=no ;;
   10512 esac
   10513 fi
   10514 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10515     conftest$ac_exeext conftest.$ac_ext ;;
   10516 esac
   10517 fi
   10518 
   10519 
   10520 		CFLAGS="$xorg_testset_save_CFLAGS"
   10521 
   10522 		eval supported=\$$cacheid
   10523 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10524 printf "%s\n" "$supported" >&6; }
   10525 		if test "$supported" = "yes" ; then
   10526 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10527 			found="yes"
   10528 		fi
   10529 	fi
   10530 
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 
   10539 
   10540 
   10541 
   10542 
   10543 
   10544 
   10545 xorg_testset_save_CFLAGS="$CFLAGS"
   10546 
   10547 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10548 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10549 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10550 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10551 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10552 then :
   10553   printf %s "(cached) " >&6
   10554 else case e in #(
   10555   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10556 /* end confdefs.h.  */
   10557 int i;
   10558 _ACEOF
   10559 if ac_fn_c_try_compile "$LINENO"
   10560 then :
   10561   xorg_cv_cc_flag_unknown_warning_option=yes
   10562 else case e in #(
   10563   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10564 esac
   10565 fi
   10566 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10567 esac
   10568 fi
   10569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10570 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10571 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10572 	CFLAGS="$xorg_testset_save_CFLAGS"
   10573 fi
   10574 
   10575 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10576 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10577 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10578 	fi
   10579 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10580 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10581 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10582 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10583 then :
   10584   printf %s "(cached) " >&6
   10585 else case e in #(
   10586   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10587 /* end confdefs.h.  */
   10588 int i;
   10589 _ACEOF
   10590 if ac_fn_c_try_compile "$LINENO"
   10591 then :
   10592   xorg_cv_cc_flag_unused_command_line_argument=yes
   10593 else case e in #(
   10594   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10595 esac
   10596 fi
   10597 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10598 esac
   10599 fi
   10600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10601 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10602 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10603 	CFLAGS="$xorg_testset_save_CFLAGS"
   10604 fi
   10605 
   10606 found="no"
   10607 
   10608 	if test $found = "no" ; then
   10609 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10610 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10611 		fi
   10612 
   10613 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10614 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10615 		fi
   10616 
   10617 		CFLAGS="$CFLAGS -Waddress"
   10618 
   10619 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10620 printf %s "checking if $CC supports -Waddress... " >&6; }
   10621 		cacheid=xorg_cv_cc_flag__Waddress
   10622 		if eval test \${$cacheid+y}
   10623 then :
   10624   printf %s "(cached) " >&6
   10625 else case e in #(
   10626   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10627 /* end confdefs.h.  */
   10628 int i;
   10629 int
   10630 main (void)
   10631 {
   10632 
   10633   ;
   10634   return 0;
   10635 }
   10636 _ACEOF
   10637 if ac_fn_c_try_link "$LINENO"
   10638 then :
   10639   eval $cacheid=yes
   10640 else case e in #(
   10641   e) eval $cacheid=no ;;
   10642 esac
   10643 fi
   10644 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10645     conftest$ac_exeext conftest.$ac_ext ;;
   10646 esac
   10647 fi
   10648 
   10649 
   10650 		CFLAGS="$xorg_testset_save_CFLAGS"
   10651 
   10652 		eval supported=\$$cacheid
   10653 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10654 printf "%s\n" "$supported" >&6; }
   10655 		if test "$supported" = "yes" ; then
   10656 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10657 			found="yes"
   10658 		fi
   10659 	fi
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 
   10669 
   10670 
   10671 
   10672 
   10673 
   10674 
   10675 xorg_testset_save_CFLAGS="$CFLAGS"
   10676 
   10677 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10678 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10679 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10680 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10681 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10682 then :
   10683   printf %s "(cached) " >&6
   10684 else case e in #(
   10685   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10686 /* end confdefs.h.  */
   10687 int i;
   10688 _ACEOF
   10689 if ac_fn_c_try_compile "$LINENO"
   10690 then :
   10691   xorg_cv_cc_flag_unknown_warning_option=yes
   10692 else case e in #(
   10693   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10694 esac
   10695 fi
   10696 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10697 esac
   10698 fi
   10699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10700 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10701 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10702 	CFLAGS="$xorg_testset_save_CFLAGS"
   10703 fi
   10704 
   10705 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10706 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10707 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10708 	fi
   10709 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10710 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10711 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10712 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10713 then :
   10714   printf %s "(cached) " >&6
   10715 else case e in #(
   10716   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10717 /* end confdefs.h.  */
   10718 int i;
   10719 _ACEOF
   10720 if ac_fn_c_try_compile "$LINENO"
   10721 then :
   10722   xorg_cv_cc_flag_unused_command_line_argument=yes
   10723 else case e in #(
   10724   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10725 esac
   10726 fi
   10727 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10728 esac
   10729 fi
   10730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10731 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10732 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10733 	CFLAGS="$xorg_testset_save_CFLAGS"
   10734 fi
   10735 
   10736 found="no"
   10737 
   10738 	if test $found = "no" ; then
   10739 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10740 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10741 		fi
   10742 
   10743 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10744 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10745 		fi
   10746 
   10747 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10748 
   10749 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10750 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10751 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10752 		if eval test \${$cacheid+y}
   10753 then :
   10754   printf %s "(cached) " >&6
   10755 else case e in #(
   10756   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10757 /* end confdefs.h.  */
   10758 int i;
   10759 int
   10760 main (void)
   10761 {
   10762 
   10763   ;
   10764   return 0;
   10765 }
   10766 _ACEOF
   10767 if ac_fn_c_try_link "$LINENO"
   10768 then :
   10769   eval $cacheid=yes
   10770 else case e in #(
   10771   e) eval $cacheid=no ;;
   10772 esac
   10773 fi
   10774 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10775     conftest$ac_exeext conftest.$ac_ext ;;
   10776 esac
   10777 fi
   10778 
   10779 
   10780 		CFLAGS="$xorg_testset_save_CFLAGS"
   10781 
   10782 		eval supported=\$$cacheid
   10783 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10784 printf "%s\n" "$supported" >&6; }
   10785 		if test "$supported" = "yes" ; then
   10786 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10787 			found="yes"
   10788 		fi
   10789 	fi
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 
   10800 
   10801 
   10802 
   10803 
   10804 
   10805 xorg_testset_save_CFLAGS="$CFLAGS"
   10806 
   10807 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10808 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10809 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10810 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10811 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10812 then :
   10813   printf %s "(cached) " >&6
   10814 else case e in #(
   10815   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10816 /* end confdefs.h.  */
   10817 int i;
   10818 _ACEOF
   10819 if ac_fn_c_try_compile "$LINENO"
   10820 then :
   10821   xorg_cv_cc_flag_unknown_warning_option=yes
   10822 else case e in #(
   10823   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10824 esac
   10825 fi
   10826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10827 esac
   10828 fi
   10829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10830 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10831 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10832 	CFLAGS="$xorg_testset_save_CFLAGS"
   10833 fi
   10834 
   10835 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10836 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10837 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10838 	fi
   10839 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10840 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10841 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10842 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10843 then :
   10844   printf %s "(cached) " >&6
   10845 else case e in #(
   10846   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10847 /* end confdefs.h.  */
   10848 int i;
   10849 _ACEOF
   10850 if ac_fn_c_try_compile "$LINENO"
   10851 then :
   10852   xorg_cv_cc_flag_unused_command_line_argument=yes
   10853 else case e in #(
   10854   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10855 esac
   10856 fi
   10857 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10858 esac
   10859 fi
   10860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10861 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10862 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10863 	CFLAGS="$xorg_testset_save_CFLAGS"
   10864 fi
   10865 
   10866 found="no"
   10867 
   10868 	if test $found = "no" ; then
   10869 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10870 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10871 		fi
   10872 
   10873 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10874 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10875 		fi
   10876 
   10877 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10878 
   10879 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10880 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10881 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10882 		if eval test \${$cacheid+y}
   10883 then :
   10884   printf %s "(cached) " >&6
   10885 else case e in #(
   10886   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10887 /* end confdefs.h.  */
   10888 int i;
   10889 int
   10890 main (void)
   10891 {
   10892 
   10893   ;
   10894   return 0;
   10895 }
   10896 _ACEOF
   10897 if ac_fn_c_try_link "$LINENO"
   10898 then :
   10899   eval $cacheid=yes
   10900 else case e in #(
   10901   e) eval $cacheid=no ;;
   10902 esac
   10903 fi
   10904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10905     conftest$ac_exeext conftest.$ac_ext ;;
   10906 esac
   10907 fi
   10908 
   10909 
   10910 		CFLAGS="$xorg_testset_save_CFLAGS"
   10911 
   10912 		eval supported=\$$cacheid
   10913 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10914 printf "%s\n" "$supported" >&6; }
   10915 		if test "$supported" = "yes" ; then
   10916 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10917 			found="yes"
   10918 		fi
   10919 	fi
   10920 
   10921 
   10922 fi
   10923 
   10924 
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 		CWARNFLAGS="$BASE_CFLAGS"
   10931 		if  test "x$GCC" = xyes ; then
   10932 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10933 		fi
   10934 
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 # Check whether --enable-strict-compilation was given.
   10943 if test ${enable_strict_compilation+y}
   10944 then :
   10945   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10946 else case e in #(
   10947   e) STRICT_COMPILE=no ;;
   10948 esac
   10949 fi
   10950 
   10951 
   10952 
   10953 
   10954 
   10955 
   10956 STRICT_CFLAGS=""
   10957 
   10958 
   10959 
   10960 
   10961 
   10962 
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 xorg_testset_save_CFLAGS="$CFLAGS"
   10971 
   10972 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10973 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10974 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10975 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10976 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10977 then :
   10978   printf %s "(cached) " >&6
   10979 else case e in #(
   10980   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10981 /* end confdefs.h.  */
   10982 int i;
   10983 _ACEOF
   10984 if ac_fn_c_try_compile "$LINENO"
   10985 then :
   10986   xorg_cv_cc_flag_unknown_warning_option=yes
   10987 else case e in #(
   10988   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10989 esac
   10990 fi
   10991 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10992 esac
   10993 fi
   10994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10995 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10996 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10997 	CFLAGS="$xorg_testset_save_CFLAGS"
   10998 fi
   10999 
   11000 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11001 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11002 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11003 	fi
   11004 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11005 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11006 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11007 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11008 then :
   11009   printf %s "(cached) " >&6
   11010 else case e in #(
   11011   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11012 /* end confdefs.h.  */
   11013 int i;
   11014 _ACEOF
   11015 if ac_fn_c_try_compile "$LINENO"
   11016 then :
   11017   xorg_cv_cc_flag_unused_command_line_argument=yes
   11018 else case e in #(
   11019   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11020 esac
   11021 fi
   11022 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11023 esac
   11024 fi
   11025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11026 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11027 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11028 	CFLAGS="$xorg_testset_save_CFLAGS"
   11029 fi
   11030 
   11031 found="no"
   11032 
   11033 	if test $found = "no" ; then
   11034 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11035 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11036 		fi
   11037 
   11038 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11039 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11040 		fi
   11041 
   11042 		CFLAGS="$CFLAGS -pedantic"
   11043 
   11044 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11045 printf %s "checking if $CC supports -pedantic... " >&6; }
   11046 		cacheid=xorg_cv_cc_flag__pedantic
   11047 		if eval test \${$cacheid+y}
   11048 then :
   11049   printf %s "(cached) " >&6
   11050 else case e in #(
   11051   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11052 /* end confdefs.h.  */
   11053 int i;
   11054 int
   11055 main (void)
   11056 {
   11057 
   11058   ;
   11059   return 0;
   11060 }
   11061 _ACEOF
   11062 if ac_fn_c_try_link "$LINENO"
   11063 then :
   11064   eval $cacheid=yes
   11065 else case e in #(
   11066   e) eval $cacheid=no ;;
   11067 esac
   11068 fi
   11069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11070     conftest$ac_exeext conftest.$ac_ext ;;
   11071 esac
   11072 fi
   11073 
   11074 
   11075 		CFLAGS="$xorg_testset_save_CFLAGS"
   11076 
   11077 		eval supported=\$$cacheid
   11078 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11079 printf "%s\n" "$supported" >&6; }
   11080 		if test "$supported" = "yes" ; then
   11081 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11082 			found="yes"
   11083 		fi
   11084 	fi
   11085 
   11086 
   11087 
   11088 
   11089 
   11090 
   11091 
   11092 
   11093 
   11094 
   11095 
   11096 
   11097 
   11098 
   11099 
   11100 xorg_testset_save_CFLAGS="$CFLAGS"
   11101 
   11102 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11103 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11104 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11105 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11106 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11107 then :
   11108   printf %s "(cached) " >&6
   11109 else case e in #(
   11110   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11111 /* end confdefs.h.  */
   11112 int i;
   11113 _ACEOF
   11114 if ac_fn_c_try_compile "$LINENO"
   11115 then :
   11116   xorg_cv_cc_flag_unknown_warning_option=yes
   11117 else case e in #(
   11118   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11119 esac
   11120 fi
   11121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11122 esac
   11123 fi
   11124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11125 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11126 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11127 	CFLAGS="$xorg_testset_save_CFLAGS"
   11128 fi
   11129 
   11130 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11131 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11132 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11133 	fi
   11134 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11135 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11136 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11137 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11138 then :
   11139   printf %s "(cached) " >&6
   11140 else case e in #(
   11141   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11142 /* end confdefs.h.  */
   11143 int i;
   11144 _ACEOF
   11145 if ac_fn_c_try_compile "$LINENO"
   11146 then :
   11147   xorg_cv_cc_flag_unused_command_line_argument=yes
   11148 else case e in #(
   11149   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11150 esac
   11151 fi
   11152 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11153 esac
   11154 fi
   11155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11156 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11157 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11158 	CFLAGS="$xorg_testset_save_CFLAGS"
   11159 fi
   11160 
   11161 found="no"
   11162 
   11163 	if test $found = "no" ; then
   11164 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11165 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11166 		fi
   11167 
   11168 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11169 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11170 		fi
   11171 
   11172 		CFLAGS="$CFLAGS -Werror"
   11173 
   11174 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11175 printf %s "checking if $CC supports -Werror... " >&6; }
   11176 		cacheid=xorg_cv_cc_flag__Werror
   11177 		if eval test \${$cacheid+y}
   11178 then :
   11179   printf %s "(cached) " >&6
   11180 else case e in #(
   11181   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11182 /* end confdefs.h.  */
   11183 int i;
   11184 int
   11185 main (void)
   11186 {
   11187 
   11188   ;
   11189   return 0;
   11190 }
   11191 _ACEOF
   11192 if ac_fn_c_try_link "$LINENO"
   11193 then :
   11194   eval $cacheid=yes
   11195 else case e in #(
   11196   e) eval $cacheid=no ;;
   11197 esac
   11198 fi
   11199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11200     conftest$ac_exeext conftest.$ac_ext ;;
   11201 esac
   11202 fi
   11203 
   11204 
   11205 		CFLAGS="$xorg_testset_save_CFLAGS"
   11206 
   11207 		eval supported=\$$cacheid
   11208 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11209 printf "%s\n" "$supported" >&6; }
   11210 		if test "$supported" = "yes" ; then
   11211 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11212 			found="yes"
   11213 		fi
   11214 	fi
   11215 
   11216 	if test $found = "no" ; then
   11217 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11218 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11219 		fi
   11220 
   11221 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11222 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11223 		fi
   11224 
   11225 		CFLAGS="$CFLAGS -errwarn"
   11226 
   11227 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11228 printf %s "checking if $CC supports -errwarn... " >&6; }
   11229 		cacheid=xorg_cv_cc_flag__errwarn
   11230 		if eval test \${$cacheid+y}
   11231 then :
   11232   printf %s "(cached) " >&6
   11233 else case e in #(
   11234   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11235 /* end confdefs.h.  */
   11236 int i;
   11237 int
   11238 main (void)
   11239 {
   11240 
   11241   ;
   11242   return 0;
   11243 }
   11244 _ACEOF
   11245 if ac_fn_c_try_link "$LINENO"
   11246 then :
   11247   eval $cacheid=yes
   11248 else case e in #(
   11249   e) eval $cacheid=no ;;
   11250 esac
   11251 fi
   11252 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11253     conftest$ac_exeext conftest.$ac_ext ;;
   11254 esac
   11255 fi
   11256 
   11257 
   11258 		CFLAGS="$xorg_testset_save_CFLAGS"
   11259 
   11260 		eval supported=\$$cacheid
   11261 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11262 printf "%s\n" "$supported" >&6; }
   11263 		if test "$supported" = "yes" ; then
   11264 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11265 			found="yes"
   11266 		fi
   11267 	fi
   11268 
   11269 
   11270 
   11271 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11272 # activate it with -Werror, so we add it here explicitly.
   11273 
   11274 
   11275 
   11276 
   11277 
   11278 
   11279 
   11280 
   11281 
   11282 
   11283 
   11284 
   11285 
   11286 xorg_testset_save_CFLAGS="$CFLAGS"
   11287 
   11288 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11289 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11290 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11291 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11292 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11293 then :
   11294   printf %s "(cached) " >&6
   11295 else case e in #(
   11296   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11297 /* end confdefs.h.  */
   11298 int i;
   11299 _ACEOF
   11300 if ac_fn_c_try_compile "$LINENO"
   11301 then :
   11302   xorg_cv_cc_flag_unknown_warning_option=yes
   11303 else case e in #(
   11304   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11305 esac
   11306 fi
   11307 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11308 esac
   11309 fi
   11310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11311 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11312 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11313 	CFLAGS="$xorg_testset_save_CFLAGS"
   11314 fi
   11315 
   11316 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11317 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11318 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11319 	fi
   11320 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11321 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11322 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11323 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11324 then :
   11325   printf %s "(cached) " >&6
   11326 else case e in #(
   11327   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11328 /* end confdefs.h.  */
   11329 int i;
   11330 _ACEOF
   11331 if ac_fn_c_try_compile "$LINENO"
   11332 then :
   11333   xorg_cv_cc_flag_unused_command_line_argument=yes
   11334 else case e in #(
   11335   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11336 esac
   11337 fi
   11338 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11339 esac
   11340 fi
   11341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11342 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11343 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11344 	CFLAGS="$xorg_testset_save_CFLAGS"
   11345 fi
   11346 
   11347 found="no"
   11348 
   11349 	if test $found = "no" ; then
   11350 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11351 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11352 		fi
   11353 
   11354 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11355 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11356 		fi
   11357 
   11358 		CFLAGS="$CFLAGS -Werror=attributes"
   11359 
   11360 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11361 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11362 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11363 		if eval test \${$cacheid+y}
   11364 then :
   11365   printf %s "(cached) " >&6
   11366 else case e in #(
   11367   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11368 /* end confdefs.h.  */
   11369 int i;
   11370 int
   11371 main (void)
   11372 {
   11373 
   11374   ;
   11375   return 0;
   11376 }
   11377 _ACEOF
   11378 if ac_fn_c_try_link "$LINENO"
   11379 then :
   11380   eval $cacheid=yes
   11381 else case e in #(
   11382   e) eval $cacheid=no ;;
   11383 esac
   11384 fi
   11385 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11386     conftest$ac_exeext conftest.$ac_ext ;;
   11387 esac
   11388 fi
   11389 
   11390 
   11391 		CFLAGS="$xorg_testset_save_CFLAGS"
   11392 
   11393 		eval supported=\$$cacheid
   11394 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11395 printf "%s\n" "$supported" >&6; }
   11396 		if test "$supported" = "yes" ; then
   11397 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11398 			found="yes"
   11399 		fi
   11400 	fi
   11401 
   11402 
   11403 
   11404 if test "x$STRICT_COMPILE" = "xyes"; then
   11405     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11406     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11407 fi
   11408 
   11409 
   11410 
   11411 
   11412 
   11413 
   11414 
   11415 
   11416 cat >>confdefs.h <<_ACEOF
   11417 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11418 _ACEOF
   11419 
   11420 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11421 	if test "x$PVM" = "x"; then
   11422 		PVM="0"
   11423 	fi
   11424 
   11425 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11426 
   11427 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11428 	if test "x$PVP" = "x"; then
   11429 		PVP="0"
   11430 	fi
   11431 
   11432 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11433 
   11434 
   11435 
   11436 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11437 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11438 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11439 touch \$(top_srcdir)/ChangeLog; \
   11440 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11441 
   11442 
   11443 
   11444 
   11445 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11446 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11447 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11448 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11449 touch \$(top_srcdir)/INSTALL; \
   11450 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11451 
   11452 
   11453 
   11454 
   11455 
   11456 
   11457 case $host_os in
   11458     solaris*)
   11459         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11460         # check for a man page file found in later versions that use
   11461         # traditional section numbers instead
   11462         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11463 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11464 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11465 then :
   11466   printf %s "(cached) " >&6
   11467 else case e in #(
   11468   e) test "$cross_compiling" = yes &&
   11469   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11470 if test -r "/usr/share/man/man7/attributes.7"; then
   11471   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11472 else
   11473   ac_cv_file__usr_share_man_man7_attributes_7=no
   11474 fi ;;
   11475 esac
   11476 fi
   11477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11478 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11479 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11480 then :
   11481   SYSV_MAN_SECTIONS=false
   11482 else case e in #(
   11483   e) SYSV_MAN_SECTIONS=true ;;
   11484 esac
   11485 fi
   11486 
   11487         ;;
   11488     *) SYSV_MAN_SECTIONS=false ;;
   11489 esac
   11490 
   11491 if test x$APP_MAN_SUFFIX = x    ; then
   11492     APP_MAN_SUFFIX=1
   11493 fi
   11494 if test x$APP_MAN_DIR = x    ; then
   11495     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11496 fi
   11497 
   11498 if test x$LIB_MAN_SUFFIX = x    ; then
   11499     LIB_MAN_SUFFIX=3
   11500 fi
   11501 if test x$LIB_MAN_DIR = x    ; then
   11502     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11503 fi
   11504 
   11505 if test x$FILE_MAN_SUFFIX = x    ; then
   11506     case $SYSV_MAN_SECTIONS in
   11507 	true)				FILE_MAN_SUFFIX=4  ;;
   11508 	*)				FILE_MAN_SUFFIX=5  ;;
   11509     esac
   11510 fi
   11511 if test x$FILE_MAN_DIR = x    ; then
   11512     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11513 fi
   11514 
   11515 if test x$MISC_MAN_SUFFIX = x    ; then
   11516     case $SYSV_MAN_SECTIONS in
   11517 	true)				MISC_MAN_SUFFIX=5  ;;
   11518 	*)				MISC_MAN_SUFFIX=7  ;;
   11519     esac
   11520 fi
   11521 if test x$MISC_MAN_DIR = x    ; then
   11522     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11523 fi
   11524 
   11525 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11526     case $SYSV_MAN_SECTIONS in
   11527 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11528 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11529     esac
   11530 fi
   11531 if test x$DRIVER_MAN_DIR = x    ; then
   11532     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11533 fi
   11534 
   11535 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11536     case $SYSV_MAN_SECTIONS in
   11537 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11538 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11539     esac
   11540 fi
   11541 if test x$ADMIN_MAN_DIR = x    ; then
   11542     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11543 fi
   11544 
   11545 
   11546 
   11547 
   11548 
   11549 
   11550 
   11551 
   11552 
   11553 
   11554 
   11555 
   11556 
   11557 
   11558 
   11559 XORG_MAN_PAGE="X Version 11"
   11560 
   11561 MAN_SUBSTS="\
   11562 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11563 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11564 	-e 's|__xservername__|Xorg|g' \
   11565 	-e 's|__xconfigfile__|xorg.conf|g' \
   11566 	-e 's|__projectroot__|\$(prefix)|g' \
   11567 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11568 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11569 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11570 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11571 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11572 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11573 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11574 
   11575 
   11576 
   11577 
   11578 AM_DEFAULT_VERBOSITY=0
   11579 
   11580 
   11581 
   11582 
   11583 
   11584 # Checks for pkg-config packages
   11585 
   11586 pkg_failed=no
   11587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XEYES" >&5
   11588 printf %s "checking for XEYES... " >&6; }
   11589 
   11590 if test -n "$XEYES_CFLAGS"; then
   11591     pkg_cv_XEYES_CFLAGS="$XEYES_CFLAGS"
   11592  elif test -n "$PKG_CONFIG"; then
   11593     if test -n "$PKG_CONFIG" && \
   11594     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xi >= 1.7 x11 xt xext xmu xproto >= 7.0.22\""; } >&5
   11595   ($PKG_CONFIG --exists --print-errors "xi >= 1.7 x11 xt xext xmu xproto >= 7.0.22") 2>&5
   11596   ac_status=$?
   11597   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11598   test $ac_status = 0; }; then
   11599   pkg_cv_XEYES_CFLAGS=`$PKG_CONFIG --cflags "xi >= 1.7 x11 xt xext xmu xproto >= 7.0.22" 2>/dev/null`
   11600 		      test "x$?" != "x0" && pkg_failed=yes
   11601 else
   11602   pkg_failed=yes
   11603 fi
   11604  else
   11605     pkg_failed=untried
   11606 fi
   11607 if test -n "$XEYES_LIBS"; then
   11608     pkg_cv_XEYES_LIBS="$XEYES_LIBS"
   11609  elif test -n "$PKG_CONFIG"; then
   11610     if test -n "$PKG_CONFIG" && \
   11611     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xi >= 1.7 x11 xt xext xmu xproto >= 7.0.22\""; } >&5
   11612   ($PKG_CONFIG --exists --print-errors "xi >= 1.7 x11 xt xext xmu xproto >= 7.0.22") 2>&5
   11613   ac_status=$?
   11614   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11615   test $ac_status = 0; }; then
   11616   pkg_cv_XEYES_LIBS=`$PKG_CONFIG --libs "xi >= 1.7 x11 xt xext xmu xproto >= 7.0.22" 2>/dev/null`
   11617 		      test "x$?" != "x0" && pkg_failed=yes
   11618 else
   11619   pkg_failed=yes
   11620 fi
   11621  else
   11622     pkg_failed=untried
   11623 fi
   11624 
   11625 
   11626 
   11627 if test $pkg_failed = yes; then
   11628    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11629 printf "%s\n" "no" >&6; }
   11630 
   11631 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11632         _pkg_short_errors_supported=yes
   11633 else
   11634         _pkg_short_errors_supported=no
   11635 fi
   11636         if test $_pkg_short_errors_supported = yes; then
   11637 	        XEYES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xi >= 1.7 x11 xt xext xmu xproto >= 7.0.22" 2>&1`
   11638         else
   11639 	        XEYES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xi >= 1.7 x11 xt xext xmu xproto >= 7.0.22" 2>&1`
   11640         fi
   11641 	# Put the nasty error message in config.log where it belongs
   11642 	echo "$XEYES_PKG_ERRORS" >&5
   11643 
   11644 	as_fn_error $? "Package requirements (xi >= 1.7 x11 xt xext xmu xproto >= 7.0.22) were not met:
   11645 
   11646 $XEYES_PKG_ERRORS
   11647 
   11648 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11649 installed software in a non-standard prefix.
   11650 
   11651 Alternatively, you may set the environment variables XEYES_CFLAGS
   11652 and XEYES_LIBS to avoid the need to call pkg-config.
   11653 See the pkg-config man page for more details." "$LINENO" 5
   11654 elif test $pkg_failed = untried; then
   11655      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11656 printf "%s\n" "no" >&6; }
   11657 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11658 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   11659 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11660 is in your PATH or set the PKG_CONFIG environment variable to the full
   11661 path to pkg-config.
   11662 
   11663 Alternatively, you may set the environment variables XEYES_CFLAGS
   11664 and XEYES_LIBS to avoid the need to call pkg-config.
   11665 See the pkg-config man page for more details.
   11666 
   11667 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11668 See 'config.log' for more details" "$LINENO" 5; }
   11669 else
   11670 	XEYES_CFLAGS=$pkg_cv_XEYES_CFLAGS
   11671 	XEYES_LIBS=$pkg_cv_XEYES_LIBS
   11672         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11673 printf "%s\n" "yes" >&6; }
   11674 
   11675 fi
   11676 
   11677 
   11678 # Check whether --with-xrender was given.
   11679 if test ${with_xrender+y}
   11680 then :
   11681   withval=$with_xrender; use_xrender="$withval"
   11682 else case e in #(
   11683   e) use_xrender="try" ;;
   11684 esac
   11685 fi
   11686 
   11687 if test x$use_xrender != xno ; then
   11688 
   11689 pkg_failed=no
   11690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRENDER" >&5
   11691 printf %s "checking for XRENDER... " >&6; }
   11692 
   11693 if test -n "$XRENDER_CFLAGS"; then
   11694     pkg_cv_XRENDER_CFLAGS="$XRENDER_CFLAGS"
   11695  elif test -n "$PKG_CONFIG"; then
   11696     if test -n "$PKG_CONFIG" && \
   11697     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.4\""; } >&5
   11698   ($PKG_CONFIG --exists --print-errors "xrender >= 0.4") 2>&5
   11699   ac_status=$?
   11700   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11701   test $ac_status = 0; }; then
   11702   pkg_cv_XRENDER_CFLAGS=`$PKG_CONFIG --cflags "xrender >= 0.4" 2>/dev/null`
   11703 		      test "x$?" != "x0" && pkg_failed=yes
   11704 else
   11705   pkg_failed=yes
   11706 fi
   11707  else
   11708     pkg_failed=untried
   11709 fi
   11710 if test -n "$XRENDER_LIBS"; then
   11711     pkg_cv_XRENDER_LIBS="$XRENDER_LIBS"
   11712  elif test -n "$PKG_CONFIG"; then
   11713     if test -n "$PKG_CONFIG" && \
   11714     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.4\""; } >&5
   11715   ($PKG_CONFIG --exists --print-errors "xrender >= 0.4") 2>&5
   11716   ac_status=$?
   11717   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11718   test $ac_status = 0; }; then
   11719   pkg_cv_XRENDER_LIBS=`$PKG_CONFIG --libs "xrender >= 0.4" 2>/dev/null`
   11720 		      test "x$?" != "x0" && pkg_failed=yes
   11721 else
   11722   pkg_failed=yes
   11723 fi
   11724  else
   11725     pkg_failed=untried
   11726 fi
   11727 
   11728 
   11729 
   11730 if test $pkg_failed = yes; then
   11731    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11732 printf "%s\n" "no" >&6; }
   11733 
   11734 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11735         _pkg_short_errors_supported=yes
   11736 else
   11737         _pkg_short_errors_supported=no
   11738 fi
   11739         if test $_pkg_short_errors_supported = yes; then
   11740 	        XRENDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xrender >= 0.4" 2>&1`
   11741         else
   11742 	        XRENDER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xrender >= 0.4" 2>&1`
   11743         fi
   11744 	# Put the nasty error message in config.log where it belongs
   11745 	echo "$XRENDER_PKG_ERRORS" >&5
   11746 
   11747 	as_fn_error $? "Package requirements (xrender >= 0.4) were not met:
   11748 
   11749 $XRENDER_PKG_ERRORS
   11750 
   11751 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11752 installed software in a non-standard prefix.
   11753 
   11754 Alternatively, you may set the environment variables XRENDER_CFLAGS
   11755 and XRENDER_LIBS to avoid the need to call pkg-config.
   11756 See the pkg-config man page for more details." "$LINENO" 5
   11757 elif test $pkg_failed = untried; then
   11758      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11759 printf "%s\n" "no" >&6; }
   11760 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11761 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   11762 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11763 is in your PATH or set the PKG_CONFIG environment variable to the full
   11764 path to pkg-config.
   11765 
   11766 Alternatively, you may set the environment variables XRENDER_CFLAGS
   11767 and XRENDER_LIBS to avoid the need to call pkg-config.
   11768 See the pkg-config man page for more details.
   11769 
   11770 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11771 See 'config.log' for more details" "$LINENO" 5; }
   11772 else
   11773 	XRENDER_CFLAGS=$pkg_cv_XRENDER_CFLAGS
   11774 	XRENDER_LIBS=$pkg_cv_XRENDER_LIBS
   11775         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11776 printf "%s\n" "yes" >&6; }
   11777 
   11778 fi
   11779 
   11780 printf "%s\n" "#define XRENDER 1" >>confdefs.h
   11781 
   11782 fi
   11783 
   11784 
   11785 # Check whether --with-present was given.
   11786 if test ${with_present+y}
   11787 then :
   11788   withval=$with_present; use_present="$withval"
   11789 else case e in #(
   11790   e) use_present="try" ;;
   11791 esac
   11792 fi
   11793 
   11794 if test x$use_present != xno ; then
   11795 
   11796 pkg_failed=no
   11797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PRESENT" >&5
   11798 printf %s "checking for PRESENT... " >&6; }
   11799 
   11800 if test -n "$PRESENT_CFLAGS"; then
   11801     pkg_cv_PRESENT_CFLAGS="$PRESENT_CFLAGS"
   11802  elif test -n "$PKG_CONFIG"; then
   11803     if test -n "$PKG_CONFIG" && \
   11804     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb-present >= 1.9 xcb-xfixes xcb-damage\""; } >&5
   11805   ($PKG_CONFIG --exists --print-errors "x11-xcb xcb-present >= 1.9 xcb-xfixes xcb-damage") 2>&5
   11806   ac_status=$?
   11807   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11808   test $ac_status = 0; }; then
   11809   pkg_cv_PRESENT_CFLAGS=`$PKG_CONFIG --cflags "x11-xcb xcb-present >= 1.9 xcb-xfixes xcb-damage" 2>/dev/null`
   11810 		      test "x$?" != "x0" && pkg_failed=yes
   11811 else
   11812   pkg_failed=yes
   11813 fi
   11814  else
   11815     pkg_failed=untried
   11816 fi
   11817 if test -n "$PRESENT_LIBS"; then
   11818     pkg_cv_PRESENT_LIBS="$PRESENT_LIBS"
   11819  elif test -n "$PKG_CONFIG"; then
   11820     if test -n "$PKG_CONFIG" && \
   11821     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb-present >= 1.9 xcb-xfixes xcb-damage\""; } >&5
   11822   ($PKG_CONFIG --exists --print-errors "x11-xcb xcb-present >= 1.9 xcb-xfixes xcb-damage") 2>&5
   11823   ac_status=$?
   11824   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11825   test $ac_status = 0; }; then
   11826   pkg_cv_PRESENT_LIBS=`$PKG_CONFIG --libs "x11-xcb xcb-present >= 1.9 xcb-xfixes xcb-damage" 2>/dev/null`
   11827 		      test "x$?" != "x0" && pkg_failed=yes
   11828 else
   11829   pkg_failed=yes
   11830 fi
   11831  else
   11832     pkg_failed=untried
   11833 fi
   11834 
   11835 
   11836 
   11837 if test $pkg_failed = yes; then
   11838    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11839 printf "%s\n" "no" >&6; }
   11840 
   11841 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11842         _pkg_short_errors_supported=yes
   11843 else
   11844         _pkg_short_errors_supported=no
   11845 fi
   11846         if test $_pkg_short_errors_supported = yes; then
   11847 	        PRESENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11-xcb xcb-present >= 1.9 xcb-xfixes xcb-damage" 2>&1`
   11848         else
   11849 	        PRESENT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11-xcb xcb-present >= 1.9 xcb-xfixes xcb-damage" 2>&1`
   11850         fi
   11851 	# Put the nasty error message in config.log where it belongs
   11852 	echo "$PRESENT_PKG_ERRORS" >&5
   11853 
   11854 	as_fn_error $? "Package requirements (x11-xcb xcb-present >= 1.9 xcb-xfixes xcb-damage) were not met:
   11855 
   11856 $PRESENT_PKG_ERRORS
   11857 
   11858 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11859 installed software in a non-standard prefix.
   11860 
   11861 Alternatively, you may set the environment variables PRESENT_CFLAGS
   11862 and PRESENT_LIBS to avoid the need to call pkg-config.
   11863 See the pkg-config man page for more details." "$LINENO" 5
   11864 elif test $pkg_failed = untried; then
   11865      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11866 printf "%s\n" "no" >&6; }
   11867 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11868 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   11869 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11870 is in your PATH or set the PKG_CONFIG environment variable to the full
   11871 path to pkg-config.
   11872 
   11873 Alternatively, you may set the environment variables PRESENT_CFLAGS
   11874 and PRESENT_LIBS to avoid the need to call pkg-config.
   11875 See the pkg-config man page for more details.
   11876 
   11877 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11878 See 'config.log' for more details" "$LINENO" 5; }
   11879 else
   11880 	PRESENT_CFLAGS=$pkg_cv_PRESENT_CFLAGS
   11881 	PRESENT_LIBS=$pkg_cv_PRESENT_LIBS
   11882         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11883 printf "%s\n" "yes" >&6; }
   11884 
   11885 fi
   11886 
   11887 printf "%s\n" "#define PRESENT 1" >>confdefs.h
   11888 
   11889 fi
   11890 
   11891 ac_config_files="$ac_config_files Makefile man/Makefile"
   11892 
   11893 cat >confcache <<\_ACEOF
   11894 # This file is a shell script that caches the results of configure
   11895 # tests run on this system so they can be shared between configure
   11896 # scripts and configure runs, see configure's option --config-cache.
   11897 # It is not useful on other systems.  If it contains results you don't
   11898 # want to keep, you may remove or edit it.
   11899 #
   11900 # config.status only pays attention to the cache file if you give it
   11901 # the --recheck option to rerun configure.
   11902 #
   11903 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   11904 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   11905 # following values.
   11906 
   11907 _ACEOF
   11908 
   11909 # The following way of writing the cache mishandles newlines in values,
   11910 # but we know of no workaround that is simple, portable, and efficient.
   11911 # So, we kill variables containing newlines.
   11912 # Ultrix sh set writes to stderr and can't be redirected directly,
   11913 # and sets the high bit in the cache file unless we assign to the vars.
   11914 (
   11915   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11916     eval ac_val=\$$ac_var
   11917     case $ac_val in #(
   11918     *${as_nl}*)
   11919       case $ac_var in #(
   11920       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11921 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11922       esac
   11923       case $ac_var in #(
   11924       _ | IFS | as_nl) ;; #(
   11925       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11926       *) { eval $ac_var=; unset $ac_var;} ;;
   11927       esac ;;
   11928     esac
   11929   done
   11930 
   11931   (set) 2>&1 |
   11932     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11933     *${as_nl}ac_space=\ *)
   11934       # 'set' does not quote correctly, so add quotes: double-quote
   11935       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11936       sed -n \
   11937 	"s/'/'\\\\''/g;
   11938 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11939       ;; #(
   11940     *)
   11941       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   11942       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11943       ;;
   11944     esac |
   11945     sort
   11946 ) |
   11947   sed '
   11948      /^ac_cv_env_/b end
   11949      t clear
   11950      :clear
   11951      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11952      t end
   11953      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11954      :end' >>confcache
   11955 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11956   if test -w "$cache_file"; then
   11957     if test "x$cache_file" != "x/dev/null"; then
   11958       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11959 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11960       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11961 	cat confcache >"$cache_file"
   11962       else
   11963         case $cache_file in #(
   11964         */* | ?:*)
   11965 	  mv -f confcache "$cache_file"$$ &&
   11966 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11967         *)
   11968 	  mv -f confcache "$cache_file" ;;
   11969 	esac
   11970       fi
   11971     fi
   11972   else
   11973     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11974 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11975   fi
   11976 fi
   11977 rm -f confcache
   11978 
   11979 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11980 # Let make expand exec_prefix.
   11981 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11982 
   11983 DEFS=-DHAVE_CONFIG_H
   11984 
   11985 ac_libobjs=
   11986 ac_ltlibobjs=
   11987 U=
   11988 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11989   # 1. Remove the extension, and $U if already installed.
   11990   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11991   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   11992   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11993   #    will be set to the directory where LIBOBJS objects are built.
   11994   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11995   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11996 done
   11997 LIBOBJS=$ac_libobjs
   11998 
   11999 LTLIBOBJS=$ac_ltlibobjs
   12000 
   12001 
   12002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   12003 printf %s "checking that generated files are newer than configure... " >&6; }
   12004    if test -n "$am_sleep_pid"; then
   12005      # Hide warnings about reused PIDs.
   12006      wait $am_sleep_pid 2>/dev/null
   12007    fi
   12008    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   12009 printf "%s\n" "done" >&6; }
   12010 case $enable_silent_rules in # (((
   12011   yes) AM_DEFAULT_VERBOSITY=0;;
   12012    no) AM_DEFAULT_VERBOSITY=1;;
   12013 esac
   12014 if test $am_cv_make_support_nested_variables = yes; then
   12015     AM_V='$(V)'
   12016   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   12017 else
   12018   AM_V=$AM_DEFAULT_VERBOSITY
   12019   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   12020 fi
   12021 
   12022  if test -n "$EXEEXT"; then
   12023   am__EXEEXT_TRUE=
   12024   am__EXEEXT_FALSE='#'
   12025 else
   12026   am__EXEEXT_TRUE='#'
   12027   am__EXEEXT_FALSE=
   12028 fi
   12029 
   12030 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12031   as_fn_error $? "conditional \"AMDEP\" was never defined.
   12032 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12033 fi
   12034 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12035   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12037 fi
   12038 
   12039 : "${CONFIG_STATUS=./config.status}"
   12040 ac_write_fail=0
   12041 ac_clean_files_save=$ac_clean_files
   12042 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12044 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   12045 as_write_fail=0
   12046 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   12047 #! $SHELL
   12048 # Generated by $as_me.
   12049 # Run this file to recreate the current configuration.
   12050 # Compiler output produced by configure, useful for debugging
   12051 # configure, is in config.log if it exists.
   12052 
   12053 debug=false
   12054 ac_cs_recheck=false
   12055 ac_cs_silent=false
   12056 
   12057 SHELL=\${CONFIG_SHELL-$SHELL}
   12058 export SHELL
   12059 _ASEOF
   12060 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12061 ## -------------------- ##
   12062 ## M4sh Initialization. ##
   12063 ## -------------------- ##
   12064 
   12065 # Be more Bourne compatible
   12066 DUALCASE=1; export DUALCASE # for MKS sh
   12067 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   12068 then :
   12069   emulate sh
   12070   NULLCMD=:
   12071   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12072   # is contrary to our usage.  Disable this feature.
   12073   alias -g '${1+"$@"}'='"$@"'
   12074   setopt NO_GLOB_SUBST
   12075 else case e in #(
   12076   e) case `(set -o) 2>/dev/null` in #(
   12077   *posix*) :
   12078     set -o posix ;; #(
   12079   *) :
   12080      ;;
   12081 esac ;;
   12082 esac
   12083 fi
   12084 
   12085 
   12086 
   12087 # Reset variables that may have inherited troublesome values from
   12088 # the environment.
   12089 
   12090 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   12091 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   12092 # side effect of setting IFS to empty, thus disabling word splitting.)
   12093 # Quoting is to prevent editors from complaining about space-tab.
   12094 as_nl='
   12095 '
   12096 export as_nl
   12097 IFS=" ""	$as_nl"
   12098 
   12099 PS1='$ '
   12100 PS2='> '
   12101 PS4='+ '
   12102 
   12103 # Ensure predictable behavior from utilities with locale-dependent output.
   12104 LC_ALL=C
   12105 export LC_ALL
   12106 LANGUAGE=C
   12107 export LANGUAGE
   12108 
   12109 # We cannot yet rely on "unset" to work, but we need these variables
   12110 # to be unset--not just set to an empty or harmless value--now, to
   12111 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   12112 # also avoids known problems related to "unset" and subshell syntax
   12113 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   12114 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   12115 do eval test \${$as_var+y} \
   12116   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12117 done
   12118 
   12119 # Ensure that fds 0, 1, and 2 are open.
   12120 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   12121 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   12122 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   12123 
   12124 # The user is always right.
   12125 if ${PATH_SEPARATOR+false} :; then
   12126   PATH_SEPARATOR=:
   12127   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12128     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12129       PATH_SEPARATOR=';'
   12130   }
   12131 fi
   12132 
   12133 
   12134 # Find who we are.  Look in the path if we contain no directory separator.
   12135 as_myself=
   12136 case $0 in #((
   12137   *[\\/]* ) as_myself=$0 ;;
   12138   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12139 for as_dir in $PATH
   12140 do
   12141   IFS=$as_save_IFS
   12142   case $as_dir in #(((
   12143     '') as_dir=./ ;;
   12144     */) ;;
   12145     *) as_dir=$as_dir/ ;;
   12146   esac
   12147     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   12148   done
   12149 IFS=$as_save_IFS
   12150 
   12151      ;;
   12152 esac
   12153 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   12154 # in which case we are not to be found in the path.
   12155 if test "x$as_myself" = x; then
   12156   as_myself=$0
   12157 fi
   12158 if test ! -f "$as_myself"; then
   12159   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12160   exit 1
   12161 fi
   12162 
   12163 
   12164 
   12165 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12166 # ----------------------------------------
   12167 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12168 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12169 # script with STATUS, using 1 if that was 0.
   12170 as_fn_error ()
   12171 {
   12172   as_status=$1; test $as_status -eq 0 && as_status=1
   12173   if test "$4"; then
   12174     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12175     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12176   fi
   12177   printf "%s\n" "$as_me: error: $2" >&2
   12178   as_fn_exit $as_status
   12179 } # as_fn_error
   12180 
   12181 
   12182 # as_fn_set_status STATUS
   12183 # -----------------------
   12184 # Set $? to STATUS, without forking.
   12185 as_fn_set_status ()
   12186 {
   12187   return $1
   12188 } # as_fn_set_status
   12189 
   12190 # as_fn_exit STATUS
   12191 # -----------------
   12192 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12193 as_fn_exit ()
   12194 {
   12195   set +e
   12196   as_fn_set_status $1
   12197   exit $1
   12198 } # as_fn_exit
   12199 
   12200 # as_fn_unset VAR
   12201 # ---------------
   12202 # Portably unset VAR.
   12203 as_fn_unset ()
   12204 {
   12205   { eval $1=; unset $1;}
   12206 }
   12207 as_unset=as_fn_unset
   12208 
   12209 # as_fn_append VAR VALUE
   12210 # ----------------------
   12211 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12212 # advantage of any shell optimizations that allow amortized linear growth over
   12213 # repeated appends, instead of the typical quadratic growth present in naive
   12214 # implementations.
   12215 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   12216 then :
   12217   eval 'as_fn_append ()
   12218   {
   12219     eval $1+=\$2
   12220   }'
   12221 else case e in #(
   12222   e) as_fn_append ()
   12223   {
   12224     eval $1=\$$1\$2
   12225   } ;;
   12226 esac
   12227 fi # as_fn_append
   12228 
   12229 # as_fn_arith ARG...
   12230 # ------------------
   12231 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12232 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12233 # must be portable across $(()) and expr.
   12234 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   12235 then :
   12236   eval 'as_fn_arith ()
   12237   {
   12238     as_val=$(( $* ))
   12239   }'
   12240 else case e in #(
   12241   e) as_fn_arith ()
   12242   {
   12243     as_val=`expr "$@" || test $? -eq 1`
   12244   } ;;
   12245 esac
   12246 fi # as_fn_arith
   12247 
   12248 
   12249 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12250    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12251   as_expr=expr
   12252 else
   12253   as_expr=false
   12254 fi
   12255 
   12256 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12257   as_basename=basename
   12258 else
   12259   as_basename=false
   12260 fi
   12261 
   12262 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12263   as_dirname=dirname
   12264 else
   12265   as_dirname=false
   12266 fi
   12267 
   12268 as_me=`$as_basename -- "$0" ||
   12269 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12270 	 X"$0" : 'X\(//\)$' \| \
   12271 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12272 printf "%s\n" X/"$0" |
   12273     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12274 	    s//\1/
   12275 	    q
   12276 	  }
   12277 	  /^X\/\(\/\/\)$/{
   12278 	    s//\1/
   12279 	    q
   12280 	  }
   12281 	  /^X\/\(\/\).*/{
   12282 	    s//\1/
   12283 	    q
   12284 	  }
   12285 	  s/.*/./; q'`
   12286 
   12287 # Avoid depending upon Character Ranges.
   12288 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12289 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12290 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12291 as_cr_digits='0123456789'
   12292 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12293 
   12294 
   12295 # Determine whether it's possible to make 'echo' print without a newline.
   12296 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   12297 # for compatibility with existing Makefiles.
   12298 ECHO_C= ECHO_N= ECHO_T=
   12299 case `echo -n x` in #(((((
   12300 -n*)
   12301   case `echo 'xy\c'` in
   12302   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12303   xy)  ECHO_C='\c';;
   12304   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12305        ECHO_T='	';;
   12306   esac;;
   12307 *)
   12308   ECHO_N='-n';;
   12309 esac
   12310 
   12311 # For backward compatibility with old third-party macros, we provide
   12312 # the shell variables $as_echo and $as_echo_n.  New code should use
   12313 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   12314 as_echo='printf %s\n'
   12315 as_echo_n='printf %s'
   12316 
   12317 rm -f conf$$ conf$$.exe conf$$.file
   12318 if test -d conf$$.dir; then
   12319   rm -f conf$$.dir/conf$$.file
   12320 else
   12321   rm -f conf$$.dir
   12322   mkdir conf$$.dir 2>/dev/null
   12323 fi
   12324 if (echo >conf$$.file) 2>/dev/null; then
   12325   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12326     as_ln_s='ln -s'
   12327     # ... but there are two gotchas:
   12328     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   12329     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   12330     # In both cases, we have to default to 'cp -pR'.
   12331     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12332       as_ln_s='cp -pR'
   12333   elif ln conf$$.file conf$$ 2>/dev/null; then
   12334     as_ln_s=ln
   12335   else
   12336     as_ln_s='cp -pR'
   12337   fi
   12338 else
   12339   as_ln_s='cp -pR'
   12340 fi
   12341 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12342 rmdir conf$$.dir 2>/dev/null
   12343 
   12344 
   12345 # as_fn_mkdir_p
   12346 # -------------
   12347 # Create "$as_dir" as a directory, including parents if necessary.
   12348 as_fn_mkdir_p ()
   12349 {
   12350 
   12351   case $as_dir in #(
   12352   -*) as_dir=./$as_dir;;
   12353   esac
   12354   test -d "$as_dir" || eval $as_mkdir_p || {
   12355     as_dirs=
   12356     while :; do
   12357       case $as_dir in #(
   12358       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12359       *) as_qdir=$as_dir;;
   12360       esac
   12361       as_dirs="'$as_qdir' $as_dirs"
   12362       as_dir=`$as_dirname -- "$as_dir" ||
   12363 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12364 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12365 	 X"$as_dir" : 'X\(//\)$' \| \
   12366 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12367 printf "%s\n" X"$as_dir" |
   12368     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12369 	    s//\1/
   12370 	    q
   12371 	  }
   12372 	  /^X\(\/\/\)[^/].*/{
   12373 	    s//\1/
   12374 	    q
   12375 	  }
   12376 	  /^X\(\/\/\)$/{
   12377 	    s//\1/
   12378 	    q
   12379 	  }
   12380 	  /^X\(\/\).*/{
   12381 	    s//\1/
   12382 	    q
   12383 	  }
   12384 	  s/.*/./; q'`
   12385       test -d "$as_dir" && break
   12386     done
   12387     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12388   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12389 
   12390 
   12391 } # as_fn_mkdir_p
   12392 if mkdir -p . 2>/dev/null; then
   12393   as_mkdir_p='mkdir -p "$as_dir"'
   12394 else
   12395   test -d ./-p && rmdir ./-p
   12396   as_mkdir_p=false
   12397 fi
   12398 
   12399 
   12400 # as_fn_executable_p FILE
   12401 # -----------------------
   12402 # Test if FILE is an executable regular file.
   12403 as_fn_executable_p ()
   12404 {
   12405   test -f "$1" && test -x "$1"
   12406 } # as_fn_executable_p
   12407 as_test_x='test -x'
   12408 as_executable_p=as_fn_executable_p
   12409 
   12410 # Sed expression to map a string onto a valid CPP name.
   12411 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   12412 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   12413 
   12414 # Sed expression to map a string onto a valid variable name.
   12415 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   12416 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   12417 
   12418 
   12419 exec 6>&1
   12420 ## ----------------------------------- ##
   12421 ## Main body of $CONFIG_STATUS script. ##
   12422 ## ----------------------------------- ##
   12423 _ASEOF
   12424 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12425 
   12426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12427 # Save the log message, to keep $0 and so on meaningful, and to
   12428 # report actual input values of CONFIG_FILES etc. instead of their
   12429 # values after options handling.
   12430 ac_log="
   12431 This file was extended by xeyes $as_me 1.3.1, which was
   12432 generated by GNU Autoconf 2.72.  Invocation command line was
   12433 
   12434   CONFIG_FILES    = $CONFIG_FILES
   12435   CONFIG_HEADERS  = $CONFIG_HEADERS
   12436   CONFIG_LINKS    = $CONFIG_LINKS
   12437   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12438   $ $0 $@
   12439 
   12440 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12441 "
   12442 
   12443 _ACEOF
   12444 
   12445 case $ac_config_files in *"
   12446 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12447 esac
   12448 
   12449 case $ac_config_headers in *"
   12450 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12451 esac
   12452 
   12453 
   12454 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12455 # Files that config.status was made for.
   12456 config_files="$ac_config_files"
   12457 config_headers="$ac_config_headers"
   12458 config_commands="$ac_config_commands"
   12459 
   12460 _ACEOF
   12461 
   12462 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12463 ac_cs_usage="\
   12464 '$as_me' instantiates files and other configuration actions
   12465 from templates according to the current configuration.  Unless the files
   12466 and actions are specified as TAGs, all are instantiated by default.
   12467 
   12468 Usage: $0 [OPTION]... [TAG]...
   12469 
   12470   -h, --help       print this help, then exit
   12471   -V, --version    print version number and configuration settings, then exit
   12472       --config     print configuration, then exit
   12473   -q, --quiet, --silent
   12474                    do not print progress messages
   12475   -d, --debug      don't remove temporary files
   12476       --recheck    update $as_me by reconfiguring in the same conditions
   12477       --file=FILE[:TEMPLATE]
   12478                    instantiate the configuration file FILE
   12479       --header=FILE[:TEMPLATE]
   12480                    instantiate the configuration header FILE
   12481 
   12482 Configuration files:
   12483 $config_files
   12484 
   12485 Configuration headers:
   12486 $config_headers
   12487 
   12488 Configuration commands:
   12489 $config_commands
   12490 
   12491 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xeyes/-/issues>."
   12492 
   12493 _ACEOF
   12494 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12495 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12496 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12497 ac_cs_config='$ac_cs_config_escaped'
   12498 ac_cs_version="\\
   12499 xeyes config.status 1.3.1
   12500 configured by $0, generated by GNU Autoconf 2.72,
   12501   with options \\"\$ac_cs_config\\"
   12502 
   12503 Copyright (C) 2023 Free Software Foundation, Inc.
   12504 This config.status script is free software; the Free Software Foundation
   12505 gives unlimited permission to copy, distribute and modify it."
   12506 
   12507 ac_pwd='$ac_pwd'
   12508 srcdir='$srcdir'
   12509 INSTALL='$INSTALL'
   12510 MKDIR_P='$MKDIR_P'
   12511 AWK='$AWK'
   12512 test -n "\$AWK" || AWK=awk
   12513 _ACEOF
   12514 
   12515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12516 # The default lists apply if the user does not specify any file.
   12517 ac_need_defaults=:
   12518 while test $# != 0
   12519 do
   12520   case $1 in
   12521   --*=?*)
   12522     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12523     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12524     ac_shift=:
   12525     ;;
   12526   --*=)
   12527     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12528     ac_optarg=
   12529     ac_shift=:
   12530     ;;
   12531   *)
   12532     ac_option=$1
   12533     ac_optarg=$2
   12534     ac_shift=shift
   12535     ;;
   12536   esac
   12537 
   12538   case $ac_option in
   12539   # Handling of the options.
   12540   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12541     ac_cs_recheck=: ;;
   12542   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12543     printf "%s\n" "$ac_cs_version"; exit ;;
   12544   --config | --confi | --conf | --con | --co | --c )
   12545     printf "%s\n" "$ac_cs_config"; exit ;;
   12546   --debug | --debu | --deb | --de | --d | -d )
   12547     debug=: ;;
   12548   --file | --fil | --fi | --f )
   12549     $ac_shift
   12550     case $ac_optarg in
   12551     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12552     '') as_fn_error $? "missing file argument" ;;
   12553     esac
   12554     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12555     ac_need_defaults=false;;
   12556   --header | --heade | --head | --hea )
   12557     $ac_shift
   12558     case $ac_optarg in
   12559     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12560     esac
   12561     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12562     ac_need_defaults=false;;
   12563   --he | --h)
   12564     # Conflict between --help and --header
   12565     as_fn_error $? "ambiguous option: '$1'
   12566 Try '$0 --help' for more information.";;
   12567   --help | --hel | -h )
   12568     printf "%s\n" "$ac_cs_usage"; exit ;;
   12569   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12570   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12571     ac_cs_silent=: ;;
   12572 
   12573   # This is an error.
   12574   -*) as_fn_error $? "unrecognized option: '$1'
   12575 Try '$0 --help' for more information." ;;
   12576 
   12577   *) as_fn_append ac_config_targets " $1"
   12578      ac_need_defaults=false ;;
   12579 
   12580   esac
   12581   shift
   12582 done
   12583 
   12584 ac_configure_extra_args=
   12585 
   12586 if $ac_cs_silent; then
   12587   exec 6>/dev/null
   12588   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12589 fi
   12590 
   12591 _ACEOF
   12592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12593 if \$ac_cs_recheck; then
   12594   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12595   shift
   12596   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12597   CONFIG_SHELL='$SHELL'
   12598   export CONFIG_SHELL
   12599   exec "\$@"
   12600 fi
   12601 
   12602 _ACEOF
   12603 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12604 exec 5>>config.log
   12605 {
   12606   echo
   12607   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12608 ## Running $as_me. ##
   12609 _ASBOX
   12610   printf "%s\n" "$ac_log"
   12611 } >&5
   12612 
   12613 _ACEOF
   12614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12615 #
   12616 # INIT-COMMANDS
   12617 #
   12618 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12619 
   12620 _ACEOF
   12621 
   12622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12623 
   12624 # Handling of arguments.
   12625 for ac_config_target in $ac_config_targets
   12626 do
   12627   case $ac_config_target in
   12628     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12629     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12630     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12631     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12632 
   12633   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   12634   esac
   12635 done
   12636 
   12637 
   12638 # If the user did not use the arguments to specify the items to instantiate,
   12639 # then the envvar interface is used.  Set only those that are not.
   12640 # We use the long form for the default assignment because of an extremely
   12641 # bizarre bug on SunOS 4.1.3.
   12642 if $ac_need_defaults; then
   12643   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12644   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12645   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12646 fi
   12647 
   12648 # Have a temporary directory for convenience.  Make it in the build tree
   12649 # simply because there is no reason against having it here, and in addition,
   12650 # creating and moving files from /tmp can sometimes cause problems.
   12651 # Hook for its removal unless debugging.
   12652 # Note that there is a small window in which the directory will not be cleaned:
   12653 # after its creation but before its name has been assigned to '$tmp'.
   12654 $debug ||
   12655 {
   12656   tmp= ac_tmp=
   12657   trap 'exit_status=$?
   12658   : "${ac_tmp:=$tmp}"
   12659   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12660 ' 0
   12661   trap 'as_fn_exit 1' 1 2 13 15
   12662 }
   12663 # Create a (secure) tmp directory for tmp files.
   12664 
   12665 {
   12666   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12667   test -d "$tmp"
   12668 }  ||
   12669 {
   12670   tmp=./conf$$-$RANDOM
   12671   (umask 077 && mkdir "$tmp")
   12672 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12673 ac_tmp=$tmp
   12674 
   12675 # Set up the scripts for CONFIG_FILES section.
   12676 # No need to generate them if there are no CONFIG_FILES.
   12677 # This happens for instance with './config.status config.h'.
   12678 if test -n "$CONFIG_FILES"; then
   12679 
   12680 
   12681 ac_cr=`echo X | tr X '\015'`
   12682 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12683 # But we know of no other shell where ac_cr would be empty at this
   12684 # point, so we can use a bashism as a fallback.
   12685 if test "x$ac_cr" = x; then
   12686   eval ac_cr=\$\'\\r\'
   12687 fi
   12688 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12689 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12690   ac_cs_awk_cr='\\r'
   12691 else
   12692   ac_cs_awk_cr=$ac_cr
   12693 fi
   12694 
   12695 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12696 _ACEOF
   12697 
   12698 
   12699 {
   12700   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12701   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12702   echo "_ACEOF"
   12703 } >conf$$subs.sh ||
   12704   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12705 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12706 ac_delim='%!_!# '
   12707 for ac_last_try in false false false false false :; do
   12708   . ./conf$$subs.sh ||
   12709     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12710 
   12711   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12712   if test $ac_delim_n = $ac_delim_num; then
   12713     break
   12714   elif $ac_last_try; then
   12715     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12716   else
   12717     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12718   fi
   12719 done
   12720 rm -f conf$$subs.sh
   12721 
   12722 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12723 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12724 _ACEOF
   12725 sed -n '
   12726 h
   12727 s/^/S["/; s/!.*/"]=/
   12728 p
   12729 g
   12730 s/^[^!]*!//
   12731 :repl
   12732 t repl
   12733 s/'"$ac_delim"'$//
   12734 t delim
   12735 :nl
   12736 h
   12737 s/\(.\{148\}\)..*/\1/
   12738 t more1
   12739 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12740 p
   12741 n
   12742 b repl
   12743 :more1
   12744 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12745 p
   12746 g
   12747 s/.\{148\}//
   12748 t nl
   12749 :delim
   12750 h
   12751 s/\(.\{148\}\)..*/\1/
   12752 t more2
   12753 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12754 p
   12755 b
   12756 :more2
   12757 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12758 p
   12759 g
   12760 s/.\{148\}//
   12761 t delim
   12762 ' <conf$$subs.awk | sed '
   12763 /^[^""]/{
   12764   N
   12765   s/\n//
   12766 }
   12767 ' >>$CONFIG_STATUS || ac_write_fail=1
   12768 rm -f conf$$subs.awk
   12769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12770 _ACAWK
   12771 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12772   for (key in S) S_is_set[key] = 1
   12773   FS = ""
   12774 
   12775 }
   12776 {
   12777   line = $ 0
   12778   nfields = split(line, field, "@")
   12779   substed = 0
   12780   len = length(field[1])
   12781   for (i = 2; i < nfields; i++) {
   12782     key = field[i]
   12783     keylen = length(key)
   12784     if (S_is_set[key]) {
   12785       value = S[key]
   12786       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12787       len += length(value) + length(field[++i])
   12788       substed = 1
   12789     } else
   12790       len += 1 + keylen
   12791   }
   12792 
   12793   print line
   12794 }
   12795 
   12796 _ACAWK
   12797 _ACEOF
   12798 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12799 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12800   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12801 else
   12802   cat
   12803 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12804   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12805 _ACEOF
   12806 
   12807 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12808 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12809 # trailing colons and then remove the whole line if VPATH becomes empty
   12810 # (actually we leave an empty line to preserve line numbers).
   12811 if test "x$srcdir" = x.; then
   12812   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12813 h
   12814 s///
   12815 s/^/:/
   12816 s/[	 ]*$/:/
   12817 s/:\$(srcdir):/:/g
   12818 s/:\${srcdir}:/:/g
   12819 s/:@srcdir@:/:/g
   12820 s/^:*//
   12821 s/:*$//
   12822 x
   12823 s/\(=[	 ]*\).*/\1/
   12824 G
   12825 s/\n//
   12826 s/^[^=]*=[	 ]*$//
   12827 }'
   12828 fi
   12829 
   12830 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12831 fi # test -n "$CONFIG_FILES"
   12832 
   12833 # Set up the scripts for CONFIG_HEADERS section.
   12834 # No need to generate them if there are no CONFIG_HEADERS.
   12835 # This happens for instance with './config.status Makefile'.
   12836 if test -n "$CONFIG_HEADERS"; then
   12837 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12838 BEGIN {
   12839 _ACEOF
   12840 
   12841 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   12842 # here-document in config.status, that substitutes the proper values into
   12843 # config.h.in to produce config.h.
   12844 
   12845 # Create a delimiter string that does not exist in confdefs.h, to ease
   12846 # handling of long lines.
   12847 ac_delim='%!_!# '
   12848 for ac_last_try in false false :; do
   12849   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12850   if test -z "$ac_tt"; then
   12851     break
   12852   elif $ac_last_try; then
   12853     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12854   else
   12855     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12856   fi
   12857 done
   12858 
   12859 # For the awk script, D is an array of macro values keyed by name,
   12860 # likewise P contains macro parameters if any.  Preserve backslash
   12861 # newline sequences.
   12862 
   12863 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12864 sed -n '
   12865 s/.\{148\}/&'"$ac_delim"'/g
   12866 t rset
   12867 :rset
   12868 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12869 t def
   12870 d
   12871 :def
   12872 s/\\$//
   12873 t bsnl
   12874 s/["\\]/\\&/g
   12875 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12876 D["\1"]=" \3"/p
   12877 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12878 d
   12879 :bsnl
   12880 s/["\\]/\\&/g
   12881 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12882 D["\1"]=" \3\\\\\\n"\\/p
   12883 t cont
   12884 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12885 t cont
   12886 d
   12887 :cont
   12888 n
   12889 s/.\{148\}/&'"$ac_delim"'/g
   12890 t clear
   12891 :clear
   12892 s/\\$//
   12893 t bsnlc
   12894 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12895 d
   12896 :bsnlc
   12897 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12898 b cont
   12899 ' <confdefs.h | sed '
   12900 s/'"$ac_delim"'/"\\\
   12901 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12902 
   12903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12904   for (key in D) D_is_set[key] = 1
   12905   FS = ""
   12906 }
   12907 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12908   line = \$ 0
   12909   split(line, arg, " ")
   12910   if (arg[1] == "#") {
   12911     defundef = arg[2]
   12912     mac1 = arg[3]
   12913   } else {
   12914     defundef = substr(arg[1], 2)
   12915     mac1 = arg[2]
   12916   }
   12917   split(mac1, mac2, "(") #)
   12918   macro = mac2[1]
   12919   prefix = substr(line, 1, index(line, defundef) - 1)
   12920   if (D_is_set[macro]) {
   12921     # Preserve the white space surrounding the "#".
   12922     print prefix "define", macro P[macro] D[macro]
   12923     next
   12924   } else {
   12925     # Replace #undef with comments.  This is necessary, for example,
   12926     # in the case of _POSIX_SOURCE, which is predefined and required
   12927     # on some systems where configure will not decide to define it.
   12928     if (defundef == "undef") {
   12929       print "/*", prefix defundef, macro, "*/"
   12930       next
   12931     }
   12932   }
   12933 }
   12934 { print }
   12935 _ACAWK
   12936 _ACEOF
   12937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12938   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12939 fi # test -n "$CONFIG_HEADERS"
   12940 
   12941 
   12942 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12943 shift
   12944 for ac_tag
   12945 do
   12946   case $ac_tag in
   12947   :[FHLC]) ac_mode=$ac_tag; continue;;
   12948   esac
   12949   case $ac_mode$ac_tag in
   12950   :[FHL]*:*);;
   12951   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   12952   :[FH]-) ac_tag=-:-;;
   12953   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12954   esac
   12955   ac_save_IFS=$IFS
   12956   IFS=:
   12957   set x $ac_tag
   12958   IFS=$ac_save_IFS
   12959   shift
   12960   ac_file=$1
   12961   shift
   12962 
   12963   case $ac_mode in
   12964   :L) ac_source=$1;;
   12965   :[FH])
   12966     ac_file_inputs=
   12967     for ac_f
   12968     do
   12969       case $ac_f in
   12970       -) ac_f="$ac_tmp/stdin";;
   12971       *) # Look for the file first in the build tree, then in the source tree
   12972 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12973 	 # because $ac_f cannot contain ':'.
   12974 	 test -f "$ac_f" ||
   12975 	   case $ac_f in
   12976 	   [\\/$]*) false;;
   12977 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12978 	   esac ||
   12979 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   12980       esac
   12981       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12982       as_fn_append ac_file_inputs " '$ac_f'"
   12983     done
   12984 
   12985     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   12986     # use $as_me), people would be surprised to read:
   12987     #    /* config.h.  Generated by config.status.  */
   12988     configure_input='Generated from '`
   12989 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12990 	`' by configure.'
   12991     if test x"$ac_file" != x-; then
   12992       configure_input="$ac_file.  $configure_input"
   12993       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12994 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   12995     fi
   12996     # Neutralize special characters interpreted by sed in replacement strings.
   12997     case $configure_input in #(
   12998     *\&* | *\|* | *\\* )
   12999        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   13000        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13001     *) ac_sed_conf_input=$configure_input;;
   13002     esac
   13003 
   13004     case $ac_tag in
   13005     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   13006       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   13007     esac
   13008     ;;
   13009   esac
   13010 
   13011   ac_dir=`$as_dirname -- "$ac_file" ||
   13012 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13013 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13014 	 X"$ac_file" : 'X\(//\)$' \| \
   13015 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13016 printf "%s\n" X"$ac_file" |
   13017     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13018 	    s//\1/
   13019 	    q
   13020 	  }
   13021 	  /^X\(\/\/\)[^/].*/{
   13022 	    s//\1/
   13023 	    q
   13024 	  }
   13025 	  /^X\(\/\/\)$/{
   13026 	    s//\1/
   13027 	    q
   13028 	  }
   13029 	  /^X\(\/\).*/{
   13030 	    s//\1/
   13031 	    q
   13032 	  }
   13033 	  s/.*/./; q'`
   13034   as_dir="$ac_dir"; as_fn_mkdir_p
   13035   ac_builddir=.
   13036 
   13037 case "$ac_dir" in
   13038 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13039 *)
   13040   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   13041   # A ".." for each directory in $ac_dir_suffix.
   13042   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13043   case $ac_top_builddir_sub in
   13044   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13045   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13046   esac ;;
   13047 esac
   13048 ac_abs_top_builddir=$ac_pwd
   13049 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13050 # for backward compatibility:
   13051 ac_top_builddir=$ac_top_build_prefix
   13052 
   13053 case $srcdir in
   13054   .)  # We are building in place.
   13055     ac_srcdir=.
   13056     ac_top_srcdir=$ac_top_builddir_sub
   13057     ac_abs_top_srcdir=$ac_pwd ;;
   13058   [\\/]* | ?:[\\/]* )  # Absolute name.
   13059     ac_srcdir=$srcdir$ac_dir_suffix;
   13060     ac_top_srcdir=$srcdir
   13061     ac_abs_top_srcdir=$srcdir ;;
   13062   *) # Relative name.
   13063     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13064     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13065     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13066 esac
   13067 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13068 
   13069 
   13070   case $ac_mode in
   13071   :F)
   13072   #
   13073   # CONFIG_FILE
   13074   #
   13075 
   13076   case $INSTALL in
   13077   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13078   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13079   esac
   13080   ac_MKDIR_P=$MKDIR_P
   13081   case $MKDIR_P in
   13082   [\\/$]* | ?:[\\/]* ) ;;
   13083   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13084   esac
   13085 _ACEOF
   13086 
   13087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13088 # If the template does not know about datarootdir, expand it.
   13089 # FIXME: This hack should be removed a few years after 2.60.
   13090 ac_datarootdir_hack=; ac_datarootdir_seen=
   13091 ac_sed_dataroot='
   13092 /datarootdir/ {
   13093   p
   13094   q
   13095 }
   13096 /@datadir@/p
   13097 /@docdir@/p
   13098 /@infodir@/p
   13099 /@localedir@/p
   13100 /@mandir@/p'
   13101 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13102 *datarootdir*) ac_datarootdir_seen=yes;;
   13103 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13104   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13105 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13106 _ACEOF
   13107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13108   ac_datarootdir_hack='
   13109   s&@datadir@&$datadir&g
   13110   s&@docdir@&$docdir&g
   13111   s&@infodir@&$infodir&g
   13112   s&@localedir@&$localedir&g
   13113   s&@mandir@&$mandir&g
   13114   s&\\\${datarootdir}&$datarootdir&g' ;;
   13115 esac
   13116 _ACEOF
   13117 
   13118 # Neutralize VPATH when '$srcdir' = '.'.
   13119 # Shell code in configure.ac might set extrasub.
   13120 # FIXME: do we really want to maintain this feature?
   13121 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13122 ac_sed_extra="$ac_vpsub
   13123 $extrasub
   13124 _ACEOF
   13125 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13126 :t
   13127 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13128 s|@configure_input@|$ac_sed_conf_input|;t t
   13129 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13130 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13131 s&@srcdir@&$ac_srcdir&;t t
   13132 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13133 s&@top_srcdir@&$ac_top_srcdir&;t t
   13134 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13135 s&@builddir@&$ac_builddir&;t t
   13136 s&@abs_builddir@&$ac_abs_builddir&;t t
   13137 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13138 s&@INSTALL@&$ac_INSTALL&;t t
   13139 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13140 $ac_datarootdir_hack
   13141 "
   13142 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13143   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13144 
   13145 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13146   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13147   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13148       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13149   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13150 which seems to be undefined.  Please make sure it is defined" >&5
   13151 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13152 which seems to be undefined.  Please make sure it is defined" >&2;}
   13153 
   13154   rm -f "$ac_tmp/stdin"
   13155   case $ac_file in
   13156   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13157   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13158   esac \
   13159   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13160  ;;
   13161   :H)
   13162   #
   13163   # CONFIG_HEADER
   13164   #
   13165   if test x"$ac_file" != x-; then
   13166     {
   13167       printf "%s\n" "/* $configure_input  */" >&1 \
   13168       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13169     } >"$ac_tmp/config.h" \
   13170       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13171     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13172       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13173 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   13174     else
   13175       rm -f "$ac_file"
   13176       mv "$ac_tmp/config.h" "$ac_file" \
   13177 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13178     fi
   13179   else
   13180     printf "%s\n" "/* $configure_input  */" >&1 \
   13181       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13182       || as_fn_error $? "could not create -" "$LINENO" 5
   13183   fi
   13184 # Compute "$ac_file"'s index in $config_headers.
   13185 _am_arg="$ac_file"
   13186 _am_stamp_count=1
   13187 for _am_header in $config_headers :; do
   13188   case $_am_header in
   13189     $_am_arg | $_am_arg:* )
   13190       break ;;
   13191     * )
   13192       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13193   esac
   13194 done
   13195 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13196 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13197 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13198 	 X"$_am_arg" : 'X\(//\)$' \| \
   13199 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13200 printf "%s\n" X"$_am_arg" |
   13201     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13202 	    s//\1/
   13203 	    q
   13204 	  }
   13205 	  /^X\(\/\/\)[^/].*/{
   13206 	    s//\1/
   13207 	    q
   13208 	  }
   13209 	  /^X\(\/\/\)$/{
   13210 	    s//\1/
   13211 	    q
   13212 	  }
   13213 	  /^X\(\/\).*/{
   13214 	    s//\1/
   13215 	    q
   13216 	  }
   13217 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13218  ;;
   13219 
   13220   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13221 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   13222  ;;
   13223   esac
   13224 
   13225 
   13226   case $ac_file$ac_mode in
   13227     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13228   # Older Autoconf quotes --file arguments for eval, but not when files
   13229   # are listed without --file.  Let's play safe and only enable the eval
   13230   # if we detect the quoting.
   13231   # TODO: see whether this extra hack can be removed once we start
   13232   # requiring Autoconf 2.70 or later.
   13233   case $CONFIG_FILES in #(
   13234   *\'*) :
   13235     eval set x "$CONFIG_FILES" ;; #(
   13236   *) :
   13237     set x $CONFIG_FILES ;; #(
   13238   *) :
   13239      ;;
   13240 esac
   13241   shift
   13242   # Used to flag and report bootstrapping failures.
   13243   am_rc=0
   13244   for am_mf
   13245   do
   13246     # Strip MF so we end up with the name of the file.
   13247     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   13248     # Check whether this is an Automake generated Makefile which includes
   13249     # dependency-tracking related rules and includes.
   13250     # Grep'ing the whole file directly is not great: AIX grep has a line
   13251     # limit of 2048, but all sed's we know have understand at least 4000.
   13252     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13253       || continue
   13254     am_dirpart=`$as_dirname -- "$am_mf" ||
   13255 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13256 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13257 	 X"$am_mf" : 'X\(//\)$' \| \
   13258 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13259 printf "%s\n" X"$am_mf" |
   13260     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13261 	    s//\1/
   13262 	    q
   13263 	  }
   13264 	  /^X\(\/\/\)[^/].*/{
   13265 	    s//\1/
   13266 	    q
   13267 	  }
   13268 	  /^X\(\/\/\)$/{
   13269 	    s//\1/
   13270 	    q
   13271 	  }
   13272 	  /^X\(\/\).*/{
   13273 	    s//\1/
   13274 	    q
   13275 	  }
   13276 	  s/.*/./; q'`
   13277     am_filepart=`$as_basename -- "$am_mf" ||
   13278 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13279 	 X"$am_mf" : 'X\(//\)$' \| \
   13280 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13281 printf "%s\n" X/"$am_mf" |
   13282     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13283 	    s//\1/
   13284 	    q
   13285 	  }
   13286 	  /^X\/\(\/\/\)$/{
   13287 	    s//\1/
   13288 	    q
   13289 	  }
   13290 	  /^X\/\(\/\).*/{
   13291 	    s//\1/
   13292 	    q
   13293 	  }
   13294 	  s/.*/./; q'`
   13295     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13296       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13297         | $MAKE -f - am--depfiles" >&5
   13298    (cd "$am_dirpart" \
   13299       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13300         | $MAKE -f - am--depfiles) >&5 2>&5
   13301    ac_status=$?
   13302    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13303    (exit $ac_status); } || am_rc=$?
   13304   done
   13305   if test $am_rc -ne 0; then
   13306     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13307 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13308 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13309     for automatic dependency tracking.  If GNU make was not used, consider
   13310     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13311     necessary).  You can also try re-running configure with the
   13312     '--disable-dependency-tracking' option to at least be able to build
   13313     the package (albeit without support for automatic dependency tracking).
   13314 See 'config.log' for more details" "$LINENO" 5; }
   13315   fi
   13316   { am_dirpart=; unset am_dirpart;}
   13317   { am_filepart=; unset am_filepart;}
   13318   { am_mf=; unset am_mf;}
   13319   { am_rc=; unset am_rc;}
   13320   rm -f conftest-deps.mk
   13321 }
   13322  ;;
   13323 
   13324   esac
   13325 done # for ac_tag
   13326 
   13327 
   13328 as_fn_exit 0
   13329 _ACEOF
   13330 ac_clean_files=$ac_clean_files_save
   13331 
   13332 test $ac_write_fail = 0 ||
   13333   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13334 
   13335 
   13336 # configure is writing to config.log, and then calls config.status.
   13337 # config.status does its own redirection, appending to config.log.
   13338 # Unfortunately, on DOS this fails, as config.log is still kept open
   13339 # by configure, so config.status won't be able to write to it; its
   13340 # output is simply discarded.  So we exec the FD to /dev/null,
   13341 # effectively closing config.log, so it can be properly (re)opened and
   13342 # appended to by config.status.  When coming back to configure, we
   13343 # need to make the FD available again.
   13344 if test "$no_create" != yes; then
   13345   ac_cs_success=:
   13346   ac_config_status_args=
   13347   test "$silent" = yes &&
   13348     ac_config_status_args="$ac_config_status_args --quiet"
   13349   exec 5>/dev/null
   13350   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13351   exec 5>>config.log
   13352   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13353   # would make configure fail if this is the last instruction.
   13354   $ac_cs_success || as_fn_exit 1
   13355 fi
   13356 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13357   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13358 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13359 fi
   13360 
   13361 
   13362