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 xkbevd 1.1.6.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xkbevd/-/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/xkbevd/-/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='xkbevd'
    607 PACKAGE_TARNAME='xkbevd'
    608 PACKAGE_VERSION='1.1.6'
    609 PACKAGE_STRING='xkbevd 1.1.6'
    610 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xkbevd/-/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 XKBEVD_LIBS
    651 XKBEVD_CFLAGS
    652 YACC_INST
    653 YFLAGS
    654 YACC
    655 MAN_SUBSTS
    656 XORG_MAN_PAGE
    657 ADMIN_MAN_DIR
    658 DRIVER_MAN_DIR
    659 MISC_MAN_DIR
    660 FILE_MAN_DIR
    661 LIB_MAN_DIR
    662 APP_MAN_DIR
    663 ADMIN_MAN_SUFFIX
    664 DRIVER_MAN_SUFFIX
    665 MISC_MAN_SUFFIX
    666 FILE_MAN_SUFFIX
    667 LIB_MAN_SUFFIX
    668 APP_MAN_SUFFIX
    669 SED
    670 host_os
    671 host_vendor
    672 host_cpu
    673 host
    674 build_os
    675 build_vendor
    676 build_cpu
    677 build
    678 INSTALL_CMD
    679 PKG_CONFIG_LIBDIR
    680 PKG_CONFIG_PATH
    681 PKG_CONFIG
    682 CHANGELOG_CMD
    683 STRICT_CFLAGS
    684 CWARNFLAGS
    685 BASE_CFLAGS
    686 am__fastdepCC_FALSE
    687 am__fastdepCC_TRUE
    688 CCDEPMODE
    689 am__nodep
    690 AMDEPBACKSLASH
    691 AMDEP_FALSE
    692 AMDEP_TRUE
    693 am__include
    694 DEPDIR
    695 OBJEXT
    696 EXEEXT
    697 ac_ct_CC
    698 CPPFLAGS
    699 LDFLAGS
    700 CFLAGS
    701 CC
    702 am__xargs_n
    703 am__rm_f_notfound
    704 AM_BACKSLASH
    705 AM_DEFAULT_VERBOSITY
    706 AM_DEFAULT_V
    707 AM_V
    708 CSCOPE
    709 ETAGS
    710 CTAGS
    711 am__untar
    712 am__tar
    713 AMTAR
    714 am__leading_dot
    715 SET_MAKE
    716 AWK
    717 mkdir_p
    718 MKDIR_P
    719 INSTALL_STRIP_PROGRAM
    720 STRIP
    721 install_sh
    722 MAKEINFO
    723 AUTOHEADER
    724 AUTOMAKE
    725 AUTOCONF
    726 ACLOCAL
    727 VERSION
    728 PACKAGE
    729 CYGPATH_W
    730 am__isrc
    731 INSTALL_DATA
    732 INSTALL_SCRIPT
    733 INSTALL_PROGRAM
    734 target_alias
    735 host_alias
    736 build_alias
    737 LIBS
    738 ECHO_T
    739 ECHO_N
    740 ECHO_C
    741 DEFS
    742 mandir
    743 localedir
    744 libdir
    745 psdir
    746 pdfdir
    747 dvidir
    748 htmldir
    749 infodir
    750 docdir
    751 oldincludedir
    752 includedir
    753 runstatedir
    754 localstatedir
    755 sharedstatedir
    756 sysconfdir
    757 datadir
    758 datarootdir
    759 libexecdir
    760 sbindir
    761 bindir
    762 program_transform_name
    763 prefix
    764 exec_prefix
    765 PACKAGE_URL
    766 PACKAGE_BUGREPORT
    767 PACKAGE_STRING
    768 PACKAGE_VERSION
    769 PACKAGE_TARNAME
    770 PACKAGE_NAME
    771 PATH_SEPARATOR
    772 SHELL
    773 am__quote'
    774 ac_subst_files=''
    775 ac_user_opts='
    776 enable_option_checking
    777 enable_silent_rules
    778 enable_dependency_tracking
    779 enable_selective_werror
    780 enable_strict_compilation
    781 '
    782       ac_precious_vars='build_alias
    783 host_alias
    784 target_alias
    785 CC
    786 CFLAGS
    787 LDFLAGS
    788 LIBS
    789 CPPFLAGS
    790 PKG_CONFIG
    791 PKG_CONFIG_PATH
    792 PKG_CONFIG_LIBDIR
    793 YACC
    794 YFLAGS
    795 XKBEVD_CFLAGS
    796 XKBEVD_LIBS'
    797 
    798 
    799 # Initialize some variables set by options.
    800 ac_init_help=
    801 ac_init_version=false
    802 ac_unrecognized_opts=
    803 ac_unrecognized_sep=
    804 # The variables have the same names as the options, with
    805 # dashes changed to underlines.
    806 cache_file=/dev/null
    807 exec_prefix=NONE
    808 no_create=
    809 no_recursion=
    810 prefix=NONE
    811 program_prefix=NONE
    812 program_suffix=NONE
    813 program_transform_name=s,x,x,
    814 silent=
    815 site=
    816 srcdir=
    817 verbose=
    818 x_includes=NONE
    819 x_libraries=NONE
    820 
    821 # Installation directory options.
    822 # These are left unexpanded so users can "make install exec_prefix=/foo"
    823 # and all the variables that are supposed to be based on exec_prefix
    824 # by default will actually change.
    825 # Use braces instead of parens because sh, perl, etc. also accept them.
    826 # (The list follows the same order as the GNU Coding Standards.)
    827 bindir='${exec_prefix}/bin'
    828 sbindir='${exec_prefix}/sbin'
    829 libexecdir='${exec_prefix}/libexec'
    830 datarootdir='${prefix}/share'
    831 datadir='${datarootdir}'
    832 sysconfdir='${prefix}/etc'
    833 sharedstatedir='${prefix}/com'
    834 localstatedir='${prefix}/var'
    835 runstatedir='${localstatedir}/run'
    836 includedir='${prefix}/include'
    837 oldincludedir='/usr/include'
    838 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    839 infodir='${datarootdir}/info'
    840 htmldir='${docdir}'
    841 dvidir='${docdir}'
    842 pdfdir='${docdir}'
    843 psdir='${docdir}'
    844 libdir='${exec_prefix}/lib'
    845 localedir='${datarootdir}/locale'
    846 mandir='${datarootdir}/man'
    847 
    848 ac_prev=
    849 ac_dashdash=
    850 for ac_option
    851 do
    852   # If the previous option needs an argument, assign it.
    853   if test -n "$ac_prev"; then
    854     eval $ac_prev=\$ac_option
    855     ac_prev=
    856     continue
    857   fi
    858 
    859   case $ac_option in
    860   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    861   *=)   ac_optarg= ;;
    862   *)    ac_optarg=yes ;;
    863   esac
    864 
    865   case $ac_dashdash$ac_option in
    866   --)
    867     ac_dashdash=yes ;;
    868 
    869   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    870     ac_prev=bindir ;;
    871   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    872     bindir=$ac_optarg ;;
    873 
    874   -build | --build | --buil | --bui | --bu)
    875     ac_prev=build_alias ;;
    876   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    877     build_alias=$ac_optarg ;;
    878 
    879   -cache-file | --cache-file | --cache-fil | --cache-fi \
    880   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    881     ac_prev=cache_file ;;
    882   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    883   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    884     cache_file=$ac_optarg ;;
    885 
    886   --config-cache | -C)
    887     cache_file=config.cache ;;
    888 
    889   -datadir | --datadir | --datadi | --datad)
    890     ac_prev=datadir ;;
    891   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    892     datadir=$ac_optarg ;;
    893 
    894   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    895   | --dataroo | --dataro | --datar)
    896     ac_prev=datarootdir ;;
    897   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    898   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    899     datarootdir=$ac_optarg ;;
    900 
    901   -disable-* | --disable-*)
    902     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    903     # Reject names that are not valid shell variable names.
    904     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    905       as_fn_error $? "invalid feature name: '$ac_useropt'"
    906     ac_useropt_orig=$ac_useropt
    907     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    908     case $ac_user_opts in
    909       *"
    910 "enable_$ac_useropt"
    911 "*) ;;
    912       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    913 	 ac_unrecognized_sep=', ';;
    914     esac
    915     eval enable_$ac_useropt=no ;;
    916 
    917   -docdir | --docdir | --docdi | --doc | --do)
    918     ac_prev=docdir ;;
    919   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    920     docdir=$ac_optarg ;;
    921 
    922   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    923     ac_prev=dvidir ;;
    924   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    925     dvidir=$ac_optarg ;;
    926 
    927   -enable-* | --enable-*)
    928     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    929     # Reject names that are not valid shell variable names.
    930     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    931       as_fn_error $? "invalid feature name: '$ac_useropt'"
    932     ac_useropt_orig=$ac_useropt
    933     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    934     case $ac_user_opts in
    935       *"
    936 "enable_$ac_useropt"
    937 "*) ;;
    938       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    939 	 ac_unrecognized_sep=', ';;
    940     esac
    941     eval enable_$ac_useropt=\$ac_optarg ;;
    942 
    943   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    944   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    945   | --exec | --exe | --ex)
    946     ac_prev=exec_prefix ;;
    947   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    948   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    949   | --exec=* | --exe=* | --ex=*)
    950     exec_prefix=$ac_optarg ;;
    951 
    952   -gas | --gas | --ga | --g)
    953     # Obsolete; use --with-gas.
    954     with_gas=yes ;;
    955 
    956   -help | --help | --hel | --he | -h)
    957     ac_init_help=long ;;
    958   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    959     ac_init_help=recursive ;;
    960   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    961     ac_init_help=short ;;
    962 
    963   -host | --host | --hos | --ho)
    964     ac_prev=host_alias ;;
    965   -host=* | --host=* | --hos=* | --ho=*)
    966     host_alias=$ac_optarg ;;
    967 
    968   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    969     ac_prev=htmldir ;;
    970   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    971   | --ht=*)
    972     htmldir=$ac_optarg ;;
    973 
    974   -includedir | --includedir | --includedi | --included | --include \
    975   | --includ | --inclu | --incl | --inc)
    976     ac_prev=includedir ;;
    977   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    978   | --includ=* | --inclu=* | --incl=* | --inc=*)
    979     includedir=$ac_optarg ;;
    980 
    981   -infodir | --infodir | --infodi | --infod | --info | --inf)
    982     ac_prev=infodir ;;
    983   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    984     infodir=$ac_optarg ;;
    985 
    986   -libdir | --libdir | --libdi | --libd)
    987     ac_prev=libdir ;;
    988   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    989     libdir=$ac_optarg ;;
    990 
    991   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    992   | --libexe | --libex | --libe)
    993     ac_prev=libexecdir ;;
    994   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    995   | --libexe=* | --libex=* | --libe=*)
    996     libexecdir=$ac_optarg ;;
    997 
    998   -localedir | --localedir | --localedi | --localed | --locale)
    999     ac_prev=localedir ;;
   1000   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1001     localedir=$ac_optarg ;;
   1002 
   1003   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1004   | --localstate | --localstat | --localsta | --localst | --locals)
   1005     ac_prev=localstatedir ;;
   1006   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1007   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1008     localstatedir=$ac_optarg ;;
   1009 
   1010   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1011     ac_prev=mandir ;;
   1012   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1013     mandir=$ac_optarg ;;
   1014 
   1015   -nfp | --nfp | --nf)
   1016     # Obsolete; use --without-fp.
   1017     with_fp=no ;;
   1018 
   1019   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1020   | --no-cr | --no-c | -n)
   1021     no_create=yes ;;
   1022 
   1023   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1024   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1025     no_recursion=yes ;;
   1026 
   1027   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1028   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1029   | --oldin | --oldi | --old | --ol | --o)
   1030     ac_prev=oldincludedir ;;
   1031   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1032   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1033   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1034     oldincludedir=$ac_optarg ;;
   1035 
   1036   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1037     ac_prev=prefix ;;
   1038   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1039     prefix=$ac_optarg ;;
   1040 
   1041   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1042   | --program-pre | --program-pr | --program-p)
   1043     ac_prev=program_prefix ;;
   1044   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1045   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1046     program_prefix=$ac_optarg ;;
   1047 
   1048   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1049   | --program-suf | --program-su | --program-s)
   1050     ac_prev=program_suffix ;;
   1051   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1052   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1053     program_suffix=$ac_optarg ;;
   1054 
   1055   -program-transform-name | --program-transform-name \
   1056   | --program-transform-nam | --program-transform-na \
   1057   | --program-transform-n | --program-transform- \
   1058   | --program-transform | --program-transfor \
   1059   | --program-transfo | --program-transf \
   1060   | --program-trans | --program-tran \
   1061   | --progr-tra | --program-tr | --program-t)
   1062     ac_prev=program_transform_name ;;
   1063   -program-transform-name=* | --program-transform-name=* \
   1064   | --program-transform-nam=* | --program-transform-na=* \
   1065   | --program-transform-n=* | --program-transform-=* \
   1066   | --program-transform=* | --program-transfor=* \
   1067   | --program-transfo=* | --program-transf=* \
   1068   | --program-trans=* | --program-tran=* \
   1069   | --progr-tra=* | --program-tr=* | --program-t=*)
   1070     program_transform_name=$ac_optarg ;;
   1071 
   1072   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1073     ac_prev=pdfdir ;;
   1074   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1075     pdfdir=$ac_optarg ;;
   1076 
   1077   -psdir | --psdir | --psdi | --psd | --ps)
   1078     ac_prev=psdir ;;
   1079   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1080     psdir=$ac_optarg ;;
   1081 
   1082   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1083   | -silent | --silent | --silen | --sile | --sil)
   1084     silent=yes ;;
   1085 
   1086   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1087   | --runstate | --runstat | --runsta | --runst | --runs \
   1088   | --run | --ru | --r)
   1089     ac_prev=runstatedir ;;
   1090   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1091   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1092   | --run=* | --ru=* | --r=*)
   1093     runstatedir=$ac_optarg ;;
   1094 
   1095   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1096     ac_prev=sbindir ;;
   1097   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1098   | --sbi=* | --sb=*)
   1099     sbindir=$ac_optarg ;;
   1100 
   1101   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1102   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1103   | --sharedst | --shareds | --shared | --share | --shar \
   1104   | --sha | --sh)
   1105     ac_prev=sharedstatedir ;;
   1106   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1107   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1108   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1109   | --sha=* | --sh=*)
   1110     sharedstatedir=$ac_optarg ;;
   1111 
   1112   -site | --site | --sit)
   1113     ac_prev=site ;;
   1114   -site=* | --site=* | --sit=*)
   1115     site=$ac_optarg ;;
   1116 
   1117   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1118     ac_prev=srcdir ;;
   1119   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1120     srcdir=$ac_optarg ;;
   1121 
   1122   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1123   | --syscon | --sysco | --sysc | --sys | --sy)
   1124     ac_prev=sysconfdir ;;
   1125   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1126   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1127     sysconfdir=$ac_optarg ;;
   1128 
   1129   -target | --target | --targe | --targ | --tar | --ta | --t)
   1130     ac_prev=target_alias ;;
   1131   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1132     target_alias=$ac_optarg ;;
   1133 
   1134   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1135     verbose=yes ;;
   1136 
   1137   -version | --version | --versio | --versi | --vers | -V)
   1138     ac_init_version=: ;;
   1139 
   1140   -with-* | --with-*)
   1141     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1142     # Reject names that are not valid shell variable names.
   1143     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1144       as_fn_error $? "invalid package name: '$ac_useropt'"
   1145     ac_useropt_orig=$ac_useropt
   1146     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1147     case $ac_user_opts in
   1148       *"
   1149 "with_$ac_useropt"
   1150 "*) ;;
   1151       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1152 	 ac_unrecognized_sep=', ';;
   1153     esac
   1154     eval with_$ac_useropt=\$ac_optarg ;;
   1155 
   1156   -without-* | --without-*)
   1157     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1158     # Reject names that are not valid shell variable names.
   1159     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1160       as_fn_error $? "invalid package name: '$ac_useropt'"
   1161     ac_useropt_orig=$ac_useropt
   1162     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1163     case $ac_user_opts in
   1164       *"
   1165 "with_$ac_useropt"
   1166 "*) ;;
   1167       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1168 	 ac_unrecognized_sep=', ';;
   1169     esac
   1170     eval with_$ac_useropt=no ;;
   1171 
   1172   --x)
   1173     # Obsolete; use --with-x.
   1174     with_x=yes ;;
   1175 
   1176   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1177   | --x-incl | --x-inc | --x-in | --x-i)
   1178     ac_prev=x_includes ;;
   1179   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1180   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1181     x_includes=$ac_optarg ;;
   1182 
   1183   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1184   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1185     ac_prev=x_libraries ;;
   1186   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1187   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1188     x_libraries=$ac_optarg ;;
   1189 
   1190   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1191 Try '$0 --help' for more information"
   1192     ;;
   1193 
   1194   *=*)
   1195     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1196     # Reject names that are not valid shell variable names.
   1197     case $ac_envvar in #(
   1198       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1199       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1200     esac
   1201     eval $ac_envvar=\$ac_optarg
   1202     export $ac_envvar ;;
   1203 
   1204   *)
   1205     # FIXME: should be removed in autoconf 3.0.
   1206     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1207     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1208       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1209     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1210     ;;
   1211 
   1212   esac
   1213 done
   1214 
   1215 if test -n "$ac_prev"; then
   1216   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1217   as_fn_error $? "missing argument to $ac_option"
   1218 fi
   1219 
   1220 if test -n "$ac_unrecognized_opts"; then
   1221   case $enable_option_checking in
   1222     no) ;;
   1223     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1224     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1225   esac
   1226 fi
   1227 
   1228 # Check all directory arguments for consistency.
   1229 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1230 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1231 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1232 		libdir localedir mandir runstatedir
   1233 do
   1234   eval ac_val=\$$ac_var
   1235   # Remove trailing slashes.
   1236   case $ac_val in
   1237     */ )
   1238       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1239       eval $ac_var=\$ac_val;;
   1240   esac
   1241   # Be sure to have absolute directory names.
   1242   case $ac_val in
   1243     [\\/$]* | ?:[\\/]* )  continue;;
   1244     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1245   esac
   1246   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1247 done
   1248 
   1249 # There might be people who depend on the old broken behavior: '$host'
   1250 # used to hold the argument of --host etc.
   1251 # FIXME: To remove some day.
   1252 build=$build_alias
   1253 host=$host_alias
   1254 target=$target_alias
   1255 
   1256 # FIXME: To remove some day.
   1257 if test "x$host_alias" != x; then
   1258   if test "x$build_alias" = x; then
   1259     cross_compiling=maybe
   1260   elif test "x$build_alias" != "x$host_alias"; then
   1261     cross_compiling=yes
   1262   fi
   1263 fi
   1264 
   1265 ac_tool_prefix=
   1266 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1267 
   1268 test "$silent" = yes && exec 6>/dev/null
   1269 
   1270 
   1271 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1272 ac_ls_di=`ls -di .` &&
   1273 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1274   as_fn_error $? "working directory cannot be determined"
   1275 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1276   as_fn_error $? "pwd does not report name of working directory"
   1277 
   1278 
   1279 # Find the source files, if location was not specified.
   1280 if test -z "$srcdir"; then
   1281   ac_srcdir_defaulted=yes
   1282   # Try the directory containing this script, then the parent directory.
   1283   ac_confdir=`$as_dirname -- "$as_myself" ||
   1284 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1285 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1286 	 X"$as_myself" : 'X\(//\)$' \| \
   1287 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1288 printf "%s\n" X"$as_myself" |
   1289     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1290 	    s//\1/
   1291 	    q
   1292 	  }
   1293 	  /^X\(\/\/\)[^/].*/{
   1294 	    s//\1/
   1295 	    q
   1296 	  }
   1297 	  /^X\(\/\/\)$/{
   1298 	    s//\1/
   1299 	    q
   1300 	  }
   1301 	  /^X\(\/\).*/{
   1302 	    s//\1/
   1303 	    q
   1304 	  }
   1305 	  s/.*/./; q'`
   1306   srcdir=$ac_confdir
   1307   if test ! -r "$srcdir/$ac_unique_file"; then
   1308     srcdir=..
   1309   fi
   1310 else
   1311   ac_srcdir_defaulted=no
   1312 fi
   1313 if test ! -r "$srcdir/$ac_unique_file"; then
   1314   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1315   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1316 fi
   1317 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1318 ac_abs_confdir=`(
   1319 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1320 	pwd)`
   1321 # When building in place, set srcdir=.
   1322 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1323   srcdir=.
   1324 fi
   1325 # Remove unnecessary trailing slashes from srcdir.
   1326 # Double slashes in file names in object file debugging info
   1327 # mess up M-x gdb in Emacs.
   1328 case $srcdir in
   1329 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1330 esac
   1331 for ac_var in $ac_precious_vars; do
   1332   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1333   eval ac_env_${ac_var}_value=\$${ac_var}
   1334   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1335   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1336 done
   1337 
   1338 #
   1339 # Report the --help message.
   1340 #
   1341 if test "$ac_init_help" = "long"; then
   1342   # Omit some internal or obsolete options to make the list less imposing.
   1343   # This message is too long to be a string in the A/UX 3.1 sh.
   1344   cat <<_ACEOF
   1345 'configure' configures xkbevd 1.1.6 to adapt to many kinds of systems.
   1346 
   1347 Usage: $0 [OPTION]... [VAR=VALUE]...
   1348 
   1349 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1350 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1351 
   1352 Defaults for the options are specified in brackets.
   1353 
   1354 Configuration:
   1355   -h, --help              display this help and exit
   1356       --help=short        display options specific to this package
   1357       --help=recursive    display the short help of all the included packages
   1358   -V, --version           display version information and exit
   1359   -q, --quiet, --silent   do not print 'checking ...' messages
   1360       --cache-file=FILE   cache test results in FILE [disabled]
   1361   -C, --config-cache      alias for '--cache-file=config.cache'
   1362   -n, --no-create         do not create output files
   1363       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1364 
   1365 Installation directories:
   1366   --prefix=PREFIX         install architecture-independent files in PREFIX
   1367                           [$ac_default_prefix]
   1368   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1369                           [PREFIX]
   1370 
   1371 By default, 'make install' will install all the files in
   1372 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1373 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1374 for instance '--prefix=\$HOME'.
   1375 
   1376 For better control, use the options below.
   1377 
   1378 Fine tuning of the installation directories:
   1379   --bindir=DIR            user executables [EPREFIX/bin]
   1380   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1381   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1382   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1383   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1384   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1385   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1386   --libdir=DIR            object code libraries [EPREFIX/lib]
   1387   --includedir=DIR        C header files [PREFIX/include]
   1388   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1389   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1390   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1391   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1392   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1393   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1394   --docdir=DIR            documentation root [DATAROOTDIR/doc/xkbevd]
   1395   --htmldir=DIR           html documentation [DOCDIR]
   1396   --dvidir=DIR            dvi documentation [DOCDIR]
   1397   --pdfdir=DIR            pdf documentation [DOCDIR]
   1398   --psdir=DIR             ps documentation [DOCDIR]
   1399 _ACEOF
   1400 
   1401   cat <<\_ACEOF
   1402 
   1403 Program names:
   1404   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1405   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1406   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1407 
   1408 System types:
   1409   --build=BUILD     configure for building on BUILD [guessed]
   1410   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1411 _ACEOF
   1412 fi
   1413 
   1414 if test -n "$ac_init_help"; then
   1415   case $ac_init_help in
   1416      short | recursive ) echo "Configuration of xkbevd 1.1.6:";;
   1417    esac
   1418   cat <<\_ACEOF
   1419 
   1420 Optional Features:
   1421   --disable-option-checking  ignore unrecognized --enable/--with options
   1422   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1423   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1424   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1425   --disable-silent-rules  verbose build output (undo: "make V=0")
   1426   --enable-dependency-tracking
   1427                           do not reject slow dependency extractors
   1428   --disable-dependency-tracking
   1429                           speeds up one-time build
   1430   --disable-selective-werror
   1431                           Turn off selective compiler errors. (default:
   1432                           enabled)
   1433   --enable-strict-compilation
   1434                           Enable all warnings from compiler and make them
   1435                           errors (default: disabled)
   1436 
   1437 Some influential environment variables:
   1438   CC          C compiler command
   1439   CFLAGS      C compiler flags
   1440   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1441               nonstandard directory <lib dir>
   1442   LIBS        libraries to pass to the linker, e.g. -l<library>
   1443   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1444               you have headers in a nonstandard directory <include dir>
   1445   PKG_CONFIG  path to pkg-config utility
   1446   PKG_CONFIG_PATH
   1447               directories to add to pkg-config's search path
   1448   PKG_CONFIG_LIBDIR
   1449               path overriding pkg-config's built-in search path
   1450   YACC        The 'Yet Another Compiler Compiler' implementation to use.
   1451               Defaults to the first program found out of: 'bison -y', 'byacc',
   1452               'yacc'.
   1453   YFLAGS      The list of arguments that will be passed by default to $YACC.
   1454               This script will default YFLAGS to the empty string to avoid a
   1455               default value of '-d' given by some make applications.
   1456   XKBEVD_CFLAGS
   1457               C compiler flags for XKBEVD, overriding pkg-config
   1458   XKBEVD_LIBS linker flags for XKBEVD, overriding pkg-config
   1459 
   1460 Use these variables to override the choices made by 'configure' or to help
   1461 it to find libraries and programs with nonstandard names/locations.
   1462 
   1463 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xkbevd/-/issues>.
   1464 _ACEOF
   1465 ac_status=$?
   1466 fi
   1467 
   1468 if test "$ac_init_help" = "recursive"; then
   1469   # If there are subdirs, report their specific --help.
   1470   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1471     test -d "$ac_dir" ||
   1472       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1473       continue
   1474     ac_builddir=.
   1475 
   1476 case "$ac_dir" in
   1477 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1478 *)
   1479   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1480   # A ".." for each directory in $ac_dir_suffix.
   1481   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1482   case $ac_top_builddir_sub in
   1483   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1484   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1485   esac ;;
   1486 esac
   1487 ac_abs_top_builddir=$ac_pwd
   1488 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1489 # for backward compatibility:
   1490 ac_top_builddir=$ac_top_build_prefix
   1491 
   1492 case $srcdir in
   1493   .)  # We are building in place.
   1494     ac_srcdir=.
   1495     ac_top_srcdir=$ac_top_builddir_sub
   1496     ac_abs_top_srcdir=$ac_pwd ;;
   1497   [\\/]* | ?:[\\/]* )  # Absolute name.
   1498     ac_srcdir=$srcdir$ac_dir_suffix;
   1499     ac_top_srcdir=$srcdir
   1500     ac_abs_top_srcdir=$srcdir ;;
   1501   *) # Relative name.
   1502     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1503     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1504     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1505 esac
   1506 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1507 
   1508     cd "$ac_dir" || { ac_status=$?; continue; }
   1509     # Check for configure.gnu first; this name is used for a wrapper for
   1510     # Metaconfig's "Configure" on case-insensitive file systems.
   1511     if test -f "$ac_srcdir/configure.gnu"; then
   1512       echo &&
   1513       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1514     elif test -f "$ac_srcdir/configure"; then
   1515       echo &&
   1516       $SHELL "$ac_srcdir/configure" --help=recursive
   1517     else
   1518       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1519     fi || ac_status=$?
   1520     cd "$ac_pwd" || { ac_status=$?; break; }
   1521   done
   1522 fi
   1523 
   1524 test -n "$ac_init_help" && exit $ac_status
   1525 if $ac_init_version; then
   1526   cat <<\_ACEOF
   1527 xkbevd configure 1.1.6
   1528 generated by GNU Autoconf 2.72
   1529 
   1530 Copyright (C) 2023 Free Software Foundation, Inc.
   1531 This configure script is free software; the Free Software Foundation
   1532 gives unlimited permission to copy, distribute and modify it.
   1533 _ACEOF
   1534   exit
   1535 fi
   1536 
   1537 ## ------------------------ ##
   1538 ## Autoconf initialization. ##
   1539 ## ------------------------ ##
   1540 
   1541 # ac_fn_c_try_compile LINENO
   1542 # --------------------------
   1543 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1544 ac_fn_c_try_compile ()
   1545 {
   1546   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1547   rm -f conftest.$ac_objext conftest.beam
   1548   if { { ac_try="$ac_compile"
   1549 case "(($ac_try" in
   1550   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1551   *) ac_try_echo=$ac_try;;
   1552 esac
   1553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1554 printf "%s\n" "$ac_try_echo"; } >&5
   1555   (eval "$ac_compile") 2>conftest.err
   1556   ac_status=$?
   1557   if test -s conftest.err; then
   1558     grep -v '^ *+' conftest.err >conftest.er1
   1559     cat conftest.er1 >&5
   1560     mv -f conftest.er1 conftest.err
   1561   fi
   1562   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1563   test $ac_status = 0; } && {
   1564 	 test -z "$ac_c_werror_flag" ||
   1565 	 test ! -s conftest.err
   1566        } && test -s conftest.$ac_objext
   1567 then :
   1568   ac_retval=0
   1569 else case e in #(
   1570   e) printf "%s\n" "$as_me: failed program was:" >&5
   1571 sed 's/^/| /' conftest.$ac_ext >&5
   1572 
   1573 	ac_retval=1 ;;
   1574 esac
   1575 fi
   1576   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1577   as_fn_set_status $ac_retval
   1578 
   1579 } # ac_fn_c_try_compile
   1580 
   1581 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1582 # ------------------------------------------------------------------
   1583 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1584 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1585 ac_fn_check_decl ()
   1586 {
   1587   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1588   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1589   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1590 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1591 if eval test \${$3+y}
   1592 then :
   1593   printf %s "(cached) " >&6
   1594 else case e in #(
   1595   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1596   eval ac_save_FLAGS=\$$6
   1597   as_fn_append $6 " $5"
   1598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1599 /* end confdefs.h.  */
   1600 $4
   1601 int
   1602 main (void)
   1603 {
   1604 #ifndef $as_decl_name
   1605 #ifdef __cplusplus
   1606   (void) $as_decl_use;
   1607 #else
   1608   (void) $as_decl_name;
   1609 #endif
   1610 #endif
   1611 
   1612   ;
   1613   return 0;
   1614 }
   1615 _ACEOF
   1616 if ac_fn_c_try_compile "$LINENO"
   1617 then :
   1618   eval "$3=yes"
   1619 else case e in #(
   1620   e) eval "$3=no" ;;
   1621 esac
   1622 fi
   1623 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1624   eval $6=\$ac_save_FLAGS
   1625  ;;
   1626 esac
   1627 fi
   1628 eval ac_res=\$$3
   1629 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1630 printf "%s\n" "$ac_res" >&6; }
   1631   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1632 
   1633 } # ac_fn_check_decl
   1634 
   1635 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1636 # -------------------------------------------------------
   1637 # Tests whether HEADER exists and can be compiled using the include files in
   1638 # INCLUDES, setting the cache variable VAR accordingly.
   1639 ac_fn_c_check_header_compile ()
   1640 {
   1641   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1642   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1643 printf %s "checking for $2... " >&6; }
   1644 if eval test \${$3+y}
   1645 then :
   1646   printf %s "(cached) " >&6
   1647 else case e in #(
   1648   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1649 /* end confdefs.h.  */
   1650 $4
   1651 #include <$2>
   1652 _ACEOF
   1653 if ac_fn_c_try_compile "$LINENO"
   1654 then :
   1655   eval "$3=yes"
   1656 else case e in #(
   1657   e) eval "$3=no" ;;
   1658 esac
   1659 fi
   1660 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1661 esac
   1662 fi
   1663 eval ac_res=\$$3
   1664 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1665 printf "%s\n" "$ac_res" >&6; }
   1666   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1667 
   1668 } # ac_fn_c_check_header_compile
   1669 
   1670 # ac_fn_c_try_link LINENO
   1671 # -----------------------
   1672 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1673 ac_fn_c_try_link ()
   1674 {
   1675   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1676   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1677   if { { ac_try="$ac_link"
   1678 case "(($ac_try" in
   1679   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1680   *) ac_try_echo=$ac_try;;
   1681 esac
   1682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1683 printf "%s\n" "$ac_try_echo"; } >&5
   1684   (eval "$ac_link") 2>conftest.err
   1685   ac_status=$?
   1686   if test -s conftest.err; then
   1687     grep -v '^ *+' conftest.err >conftest.er1
   1688     cat conftest.er1 >&5
   1689     mv -f conftest.er1 conftest.err
   1690   fi
   1691   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1692   test $ac_status = 0; } && {
   1693 	 test -z "$ac_c_werror_flag" ||
   1694 	 test ! -s conftest.err
   1695        } && test -s conftest$ac_exeext && {
   1696 	 test "$cross_compiling" = yes ||
   1697 	 test -x conftest$ac_exeext
   1698        }
   1699 then :
   1700   ac_retval=0
   1701 else case e in #(
   1702   e) printf "%s\n" "$as_me: failed program was:" >&5
   1703 sed 's/^/| /' conftest.$ac_ext >&5
   1704 
   1705 	ac_retval=1 ;;
   1706 esac
   1707 fi
   1708   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1709   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1710   # interfere with the next link command; also delete a directory that is
   1711   # left behind by Apple's compiler.  We do this before executing the actions.
   1712   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1713   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1714   as_fn_set_status $ac_retval
   1715 
   1716 } # ac_fn_c_try_link
   1717 ac_configure_args_raw=
   1718 for ac_arg
   1719 do
   1720   case $ac_arg in
   1721   *\'*)
   1722     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1723   esac
   1724   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1725 done
   1726 
   1727 case $ac_configure_args_raw in
   1728   *$as_nl*)
   1729     ac_safe_unquote= ;;
   1730   *)
   1731     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1732     ac_unsafe_a="$ac_unsafe_z#~"
   1733     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1734     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1735 esac
   1736 
   1737 cat >config.log <<_ACEOF
   1738 This file contains any messages produced by compilers while
   1739 running configure, to aid debugging if configure makes a mistake.
   1740 
   1741 It was created by xkbevd $as_me 1.1.6, which was
   1742 generated by GNU Autoconf 2.72.  Invocation command line was
   1743 
   1744   $ $0$ac_configure_args_raw
   1745 
   1746 _ACEOF
   1747 exec 5>>config.log
   1748 {
   1749 cat <<_ASUNAME
   1750 ## --------- ##
   1751 ## Platform. ##
   1752 ## --------- ##
   1753 
   1754 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1755 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1756 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1757 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1758 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1759 
   1760 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1761 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1762 
   1763 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1764 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1765 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1766 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1767 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1768 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1769 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1770 
   1771 _ASUNAME
   1772 
   1773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1774 for as_dir in $PATH
   1775 do
   1776   IFS=$as_save_IFS
   1777   case $as_dir in #(((
   1778     '') as_dir=./ ;;
   1779     */) ;;
   1780     *) as_dir=$as_dir/ ;;
   1781   esac
   1782     printf "%s\n" "PATH: $as_dir"
   1783   done
   1784 IFS=$as_save_IFS
   1785 
   1786 } >&5
   1787 
   1788 cat >&5 <<_ACEOF
   1789 
   1790 
   1791 ## ----------- ##
   1792 ## Core tests. ##
   1793 ## ----------- ##
   1794 
   1795 _ACEOF
   1796 
   1797 
   1798 # Keep a trace of the command line.
   1799 # Strip out --no-create and --no-recursion so they do not pile up.
   1800 # Strip out --silent because we don't want to record it for future runs.
   1801 # Also quote any args containing shell meta-characters.
   1802 # Make two passes to allow for proper duplicate-argument suppression.
   1803 ac_configure_args=
   1804 ac_configure_args0=
   1805 ac_configure_args1=
   1806 ac_must_keep_next=false
   1807 for ac_pass in 1 2
   1808 do
   1809   for ac_arg
   1810   do
   1811     case $ac_arg in
   1812     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1813     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1814     | -silent | --silent | --silen | --sile | --sil)
   1815       continue ;;
   1816     *\'*)
   1817       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1818     esac
   1819     case $ac_pass in
   1820     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1821     2)
   1822       as_fn_append ac_configure_args1 " '$ac_arg'"
   1823       if test $ac_must_keep_next = true; then
   1824 	ac_must_keep_next=false # Got value, back to normal.
   1825       else
   1826 	case $ac_arg in
   1827 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1828 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1829 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1830 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1831 	    case "$ac_configure_args0 " in
   1832 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1833 	    esac
   1834 	    ;;
   1835 	  -* ) ac_must_keep_next=true ;;
   1836 	esac
   1837       fi
   1838       as_fn_append ac_configure_args " '$ac_arg'"
   1839       ;;
   1840     esac
   1841   done
   1842 done
   1843 { ac_configure_args0=; unset ac_configure_args0;}
   1844 { ac_configure_args1=; unset ac_configure_args1;}
   1845 
   1846 # When interrupted or exit'd, cleanup temporary files, and complete
   1847 # config.log.  We remove comments because anyway the quotes in there
   1848 # would cause problems or look ugly.
   1849 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1850 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1851 trap 'exit_status=$?
   1852   # Sanitize IFS.
   1853   IFS=" ""	$as_nl"
   1854   # Save into config.log some information that might help in debugging.
   1855   {
   1856     echo
   1857 
   1858     printf "%s\n" "## ---------------- ##
   1859 ## Cache variables. ##
   1860 ## ---------------- ##"
   1861     echo
   1862     # The following way of writing the cache mishandles newlines in values,
   1863 (
   1864   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1865     eval ac_val=\$$ac_var
   1866     case $ac_val in #(
   1867     *${as_nl}*)
   1868       case $ac_var in #(
   1869       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1870 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1871       esac
   1872       case $ac_var in #(
   1873       _ | IFS | as_nl) ;; #(
   1874       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1875       *) { eval $ac_var=; unset $ac_var;} ;;
   1876       esac ;;
   1877     esac
   1878   done
   1879   (set) 2>&1 |
   1880     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1881     *${as_nl}ac_space=\ *)
   1882       sed -n \
   1883 	"s/'\''/'\''\\\\'\'''\''/g;
   1884 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1885       ;; #(
   1886     *)
   1887       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1888       ;;
   1889     esac |
   1890     sort
   1891 )
   1892     echo
   1893 
   1894     printf "%s\n" "## ----------------- ##
   1895 ## Output variables. ##
   1896 ## ----------------- ##"
   1897     echo
   1898     for ac_var in $ac_subst_vars
   1899     do
   1900       eval ac_val=\$$ac_var
   1901       case $ac_val in
   1902       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1903       esac
   1904       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1905     done | sort
   1906     echo
   1907 
   1908     if test -n "$ac_subst_files"; then
   1909       printf "%s\n" "## ------------------- ##
   1910 ## File substitutions. ##
   1911 ## ------------------- ##"
   1912       echo
   1913       for ac_var in $ac_subst_files
   1914       do
   1915 	eval ac_val=\$$ac_var
   1916 	case $ac_val in
   1917 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1918 	esac
   1919 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1920       done | sort
   1921       echo
   1922     fi
   1923 
   1924     if test -s confdefs.h; then
   1925       printf "%s\n" "## ----------- ##
   1926 ## confdefs.h. ##
   1927 ## ----------- ##"
   1928       echo
   1929       cat confdefs.h
   1930       echo
   1931     fi
   1932     test "$ac_signal" != 0 &&
   1933       printf "%s\n" "$as_me: caught signal $ac_signal"
   1934     printf "%s\n" "$as_me: exit $exit_status"
   1935   } >&5
   1936   rm -f core *.core core.conftest.* &&
   1937     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1938     exit $exit_status
   1939 ' 0
   1940 for ac_signal in 1 2 13 15; do
   1941   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1942 done
   1943 ac_signal=0
   1944 
   1945 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1946 rm -f -r conftest* confdefs.h
   1947 
   1948 printf "%s\n" "/* confdefs.h */" > confdefs.h
   1949 
   1950 # Predefined preprocessor variables.
   1951 
   1952 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   1953 
   1954 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   1955 
   1956 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   1957 
   1958 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   1959 
   1960 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   1961 
   1962 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   1963 
   1964 
   1965 # Let the site file select an alternate cache file if it wants to.
   1966 # Prefer an explicitly selected file to automatically selected ones.
   1967 if test -n "$CONFIG_SITE"; then
   1968   ac_site_files="$CONFIG_SITE"
   1969 elif test "x$prefix" != xNONE; then
   1970   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   1971 else
   1972   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1973 fi
   1974 
   1975 for ac_site_file in $ac_site_files
   1976 do
   1977   case $ac_site_file in #(
   1978   */*) :
   1979      ;; #(
   1980   *) :
   1981     ac_site_file=./$ac_site_file ;;
   1982 esac
   1983   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   1984     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1985 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   1986     sed 's/^/| /' "$ac_site_file" >&5
   1987     . "$ac_site_file" \
   1988       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   1989 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   1990 as_fn_error $? "failed to load site script $ac_site_file
   1991 See 'config.log' for more details" "$LINENO" 5; }
   1992   fi
   1993 done
   1994 
   1995 if test -r "$cache_file"; then
   1996   # Some versions of bash will fail to source /dev/null (special files
   1997   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   1998   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   1999     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2000 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2001     case $cache_file in
   2002       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2003       *)                      . "./$cache_file";;
   2004     esac
   2005   fi
   2006 else
   2007   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2008 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2009   >$cache_file
   2010 fi
   2011 
   2012 # Test code for whether the C compiler supports C89 (global declarations)
   2013 ac_c_conftest_c89_globals='
   2014 /* Does the compiler advertise C89 conformance?
   2015    Do not test the value of __STDC__, because some compilers set it to 0
   2016    while being otherwise adequately conformant. */
   2017 #if !defined __STDC__
   2018 # error "Compiler does not advertise C89 conformance"
   2019 #endif
   2020 
   2021 #include <stddef.h>
   2022 #include <stdarg.h>
   2023 struct stat;
   2024 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2025 struct buf { int x; };
   2026 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2027 static char *e (char **p, int i)
   2028 {
   2029   return p[i];
   2030 }
   2031 static char *f (char * (*g) (char **, int), char **p, ...)
   2032 {
   2033   char *s;
   2034   va_list v;
   2035   va_start (v,p);
   2036   s = g (p, va_arg (v,int));
   2037   va_end (v);
   2038   return s;
   2039 }
   2040 
   2041 /* C89 style stringification. */
   2042 #define noexpand_stringify(a) #a
   2043 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2044 
   2045 /* C89 style token pasting.  Exercises some of the corner cases that
   2046    e.g. old MSVC gets wrong, but not very hard. */
   2047 #define noexpand_concat(a,b) a##b
   2048 #define expand_concat(a,b) noexpand_concat(a,b)
   2049 extern int vA;
   2050 extern int vbee;
   2051 #define aye A
   2052 #define bee B
   2053 int *pvA = &expand_concat(v,aye);
   2054 int *pvbee = &noexpand_concat(v,bee);
   2055 
   2056 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2057    function prototypes and stuff, but not \xHH hex character constants.
   2058    These do not provoke an error unfortunately, instead are silently treated
   2059    as an "x".  The following induces an error, until -std is added to get
   2060    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2061    array size at least.  It is necessary to write \x00 == 0 to get something
   2062    that is true only with -std.  */
   2063 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2064 
   2065 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2066    inside strings and character constants.  */
   2067 #define FOO(x) '\''x'\''
   2068 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2069 
   2070 int test (int i, double x);
   2071 struct s1 {int (*f) (int a);};
   2072 struct s2 {int (*f) (double a);};
   2073 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2074                int, int);'
   2075 
   2076 # Test code for whether the C compiler supports C89 (body of main).
   2077 ac_c_conftest_c89_main='
   2078 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2079 '
   2080 
   2081 # Test code for whether the C compiler supports C99 (global declarations)
   2082 ac_c_conftest_c99_globals='
   2083 /* Does the compiler advertise C99 conformance? */
   2084 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2085 # error "Compiler does not advertise C99 conformance"
   2086 #endif
   2087 
   2088 // See if C++-style comments work.
   2089 
   2090 #include <stdbool.h>
   2091 extern int puts (const char *);
   2092 extern int printf (const char *, ...);
   2093 extern int dprintf (int, const char *, ...);
   2094 extern void *malloc (size_t);
   2095 extern void free (void *);
   2096 
   2097 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2098 // dprintf is used instead of fprintf to avoid needing to declare
   2099 // FILE and stderr.
   2100 #define debug(...) dprintf (2, __VA_ARGS__)
   2101 #define showlist(...) puts (#__VA_ARGS__)
   2102 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2103 static void
   2104 test_varargs_macros (void)
   2105 {
   2106   int x = 1234;
   2107   int y = 5678;
   2108   debug ("Flag");
   2109   debug ("X = %d\n", x);
   2110   showlist (The first, second, and third items.);
   2111   report (x>y, "x is %d but y is %d", x, y);
   2112 }
   2113 
   2114 // Check long long types.
   2115 #define BIG64 18446744073709551615ull
   2116 #define BIG32 4294967295ul
   2117 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2118 #if !BIG_OK
   2119   #error "your preprocessor is broken"
   2120 #endif
   2121 #if BIG_OK
   2122 #else
   2123   #error "your preprocessor is broken"
   2124 #endif
   2125 static long long int bignum = -9223372036854775807LL;
   2126 static unsigned long long int ubignum = BIG64;
   2127 
   2128 struct incomplete_array
   2129 {
   2130   int datasize;
   2131   double data[];
   2132 };
   2133 
   2134 struct named_init {
   2135   int number;
   2136   const wchar_t *name;
   2137   double average;
   2138 };
   2139 
   2140 typedef const char *ccp;
   2141 
   2142 static inline int
   2143 test_restrict (ccp restrict text)
   2144 {
   2145   // Iterate through items via the restricted pointer.
   2146   // Also check for declarations in for loops.
   2147   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2148     continue;
   2149   return 0;
   2150 }
   2151 
   2152 // Check varargs and va_copy.
   2153 static bool
   2154 test_varargs (const char *format, ...)
   2155 {
   2156   va_list args;
   2157   va_start (args, format);
   2158   va_list args_copy;
   2159   va_copy (args_copy, args);
   2160 
   2161   const char *str = "";
   2162   int number = 0;
   2163   float fnumber = 0;
   2164 
   2165   while (*format)
   2166     {
   2167       switch (*format++)
   2168 	{
   2169 	case '\''s'\'': // string
   2170 	  str = va_arg (args_copy, const char *);
   2171 	  break;
   2172 	case '\''d'\'': // int
   2173 	  number = va_arg (args_copy, int);
   2174 	  break;
   2175 	case '\''f'\'': // float
   2176 	  fnumber = va_arg (args_copy, double);
   2177 	  break;
   2178 	default:
   2179 	  break;
   2180 	}
   2181     }
   2182   va_end (args_copy);
   2183   va_end (args);
   2184 
   2185   return *str && number && fnumber;
   2186 }
   2187 '
   2188 
   2189 # Test code for whether the C compiler supports C99 (body of main).
   2190 ac_c_conftest_c99_main='
   2191   // Check bool.
   2192   _Bool success = false;
   2193   success |= (argc != 0);
   2194 
   2195   // Check restrict.
   2196   if (test_restrict ("String literal") == 0)
   2197     success = true;
   2198   char *restrict newvar = "Another string";
   2199 
   2200   // Check varargs.
   2201   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2202   test_varargs_macros ();
   2203 
   2204   // Check flexible array members.
   2205   struct incomplete_array *ia =
   2206     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2207   ia->datasize = 10;
   2208   for (int i = 0; i < ia->datasize; ++i)
   2209     ia->data[i] = i * 1.234;
   2210   // Work around memory leak warnings.
   2211   free (ia);
   2212 
   2213   // Check named initializers.
   2214   struct named_init ni = {
   2215     .number = 34,
   2216     .name = L"Test wide string",
   2217     .average = 543.34343,
   2218   };
   2219 
   2220   ni.number = 58;
   2221 
   2222   int dynamic_array[ni.number];
   2223   dynamic_array[0] = argv[0][0];
   2224   dynamic_array[ni.number - 1] = 543;
   2225 
   2226   // work around unused variable warnings
   2227   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2228 	 || dynamic_array[ni.number - 1] != 543);
   2229 '
   2230 
   2231 # Test code for whether the C compiler supports C11 (global declarations)
   2232 ac_c_conftest_c11_globals='
   2233 /* Does the compiler advertise C11 conformance? */
   2234 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2235 # error "Compiler does not advertise C11 conformance"
   2236 #endif
   2237 
   2238 // Check _Alignas.
   2239 char _Alignas (double) aligned_as_double;
   2240 char _Alignas (0) no_special_alignment;
   2241 extern char aligned_as_int;
   2242 char _Alignas (0) _Alignas (int) aligned_as_int;
   2243 
   2244 // Check _Alignof.
   2245 enum
   2246 {
   2247   int_alignment = _Alignof (int),
   2248   int_array_alignment = _Alignof (int[100]),
   2249   char_alignment = _Alignof (char)
   2250 };
   2251 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2252 
   2253 // Check _Noreturn.
   2254 int _Noreturn does_not_return (void) { for (;;) continue; }
   2255 
   2256 // Check _Static_assert.
   2257 struct test_static_assert
   2258 {
   2259   int x;
   2260   _Static_assert (sizeof (int) <= sizeof (long int),
   2261                   "_Static_assert does not work in struct");
   2262   long int y;
   2263 };
   2264 
   2265 // Check UTF-8 literals.
   2266 #define u8 syntax error!
   2267 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2268 
   2269 // Check duplicate typedefs.
   2270 typedef long *long_ptr;
   2271 typedef long int *long_ptr;
   2272 typedef long_ptr long_ptr;
   2273 
   2274 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2275 struct anonymous
   2276 {
   2277   union {
   2278     struct { int i; int j; };
   2279     struct { int k; long int l; } w;
   2280   };
   2281   int m;
   2282 } v1;
   2283 '
   2284 
   2285 # Test code for whether the C compiler supports C11 (body of main).
   2286 ac_c_conftest_c11_main='
   2287   _Static_assert ((offsetof (struct anonymous, i)
   2288 		   == offsetof (struct anonymous, w.k)),
   2289 		  "Anonymous union alignment botch");
   2290   v1.i = 2;
   2291   v1.w.k = 5;
   2292   ok |= v1.i != 5;
   2293 '
   2294 
   2295 # Test code for whether the C compiler supports C11 (complete).
   2296 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2297 ${ac_c_conftest_c99_globals}
   2298 ${ac_c_conftest_c11_globals}
   2299 
   2300 int
   2301 main (int argc, char **argv)
   2302 {
   2303   int ok = 0;
   2304   ${ac_c_conftest_c89_main}
   2305   ${ac_c_conftest_c99_main}
   2306   ${ac_c_conftest_c11_main}
   2307   return ok;
   2308 }
   2309 "
   2310 
   2311 # Test code for whether the C compiler supports C99 (complete).
   2312 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2313 ${ac_c_conftest_c99_globals}
   2314 
   2315 int
   2316 main (int argc, char **argv)
   2317 {
   2318   int ok = 0;
   2319   ${ac_c_conftest_c89_main}
   2320   ${ac_c_conftest_c99_main}
   2321   return ok;
   2322 }
   2323 "
   2324 
   2325 # Test code for whether the C compiler supports C89 (complete).
   2326 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2327 
   2328 int
   2329 main (int argc, char **argv)
   2330 {
   2331   int ok = 0;
   2332   ${ac_c_conftest_c89_main}
   2333   return ok;
   2334 }
   2335 "
   2336 
   2337 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2338 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2339 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2340 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2341 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2342 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2343 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2344 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2345 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2346 
   2347 # Auxiliary files required by this configure script.
   2348 ac_aux_files="config.guess config.sub compile missing install-sh"
   2349 
   2350 # Locations in which to look for auxiliary files.
   2351 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2352 
   2353 # Search for a directory containing all of the required auxiliary files,
   2354 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2355 # If we don't find one directory that contains all the files we need,
   2356 # we report the set of missing files from the *first* directory in
   2357 # $ac_aux_dir_candidates and give up.
   2358 ac_missing_aux_files=""
   2359 ac_first_candidate=:
   2360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2362 as_found=false
   2363 for as_dir in $ac_aux_dir_candidates
   2364 do
   2365   IFS=$as_save_IFS
   2366   case $as_dir in #(((
   2367     '') as_dir=./ ;;
   2368     */) ;;
   2369     *) as_dir=$as_dir/ ;;
   2370   esac
   2371   as_found=:
   2372 
   2373   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2374   ac_aux_dir_found=yes
   2375   ac_install_sh=
   2376   for ac_aux in $ac_aux_files
   2377   do
   2378     # As a special case, if "install-sh" is required, that requirement
   2379     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2380     # and $ac_install_sh is set appropriately for whichever one is found.
   2381     if test x"$ac_aux" = x"install-sh"
   2382     then
   2383       if test -f "${as_dir}install-sh"; then
   2384         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2385         ac_install_sh="${as_dir}install-sh -c"
   2386       elif test -f "${as_dir}install.sh"; then
   2387         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2388         ac_install_sh="${as_dir}install.sh -c"
   2389       elif test -f "${as_dir}shtool"; then
   2390         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2391         ac_install_sh="${as_dir}shtool install -c"
   2392       else
   2393         ac_aux_dir_found=no
   2394         if $ac_first_candidate; then
   2395           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2396         else
   2397           break
   2398         fi
   2399       fi
   2400     else
   2401       if test -f "${as_dir}${ac_aux}"; then
   2402         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2403       else
   2404         ac_aux_dir_found=no
   2405         if $ac_first_candidate; then
   2406           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2407         else
   2408           break
   2409         fi
   2410       fi
   2411     fi
   2412   done
   2413   if test "$ac_aux_dir_found" = yes; then
   2414     ac_aux_dir="$as_dir"
   2415     break
   2416   fi
   2417   ac_first_candidate=false
   2418 
   2419   as_found=false
   2420 done
   2421 IFS=$as_save_IFS
   2422 if $as_found
   2423 then :
   2424 
   2425 else case e in #(
   2426   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2427 esac
   2428 fi
   2429 
   2430 
   2431 # These three variables are undocumented and unsupported,
   2432 # and are intended to be withdrawn in a future Autoconf release.
   2433 # They can cause serious problems if a builder's source tree is in a directory
   2434 # whose full name contains unusual characters.
   2435 if test -f "${ac_aux_dir}config.guess"; then
   2436   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2437 fi
   2438 if test -f "${ac_aux_dir}config.sub"; then
   2439   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2440 fi
   2441 if test -f "$ac_aux_dir/configure"; then
   2442   ac_configure="$SHELL ${ac_aux_dir}configure"
   2443 fi
   2444 
   2445 # Check that the precious variables saved in the cache have kept the same
   2446 # value.
   2447 ac_cache_corrupted=false
   2448 for ac_var in $ac_precious_vars; do
   2449   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2450   eval ac_new_set=\$ac_env_${ac_var}_set
   2451   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2452   eval ac_new_val=\$ac_env_${ac_var}_value
   2453   case $ac_old_set,$ac_new_set in
   2454     set,)
   2455       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2456 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2457       ac_cache_corrupted=: ;;
   2458     ,set)
   2459       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2460 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2461       ac_cache_corrupted=: ;;
   2462     ,);;
   2463     *)
   2464       if test "x$ac_old_val" != "x$ac_new_val"; then
   2465 	# differences in whitespace do not lead to failure.
   2466 	ac_old_val_w=`echo x $ac_old_val`
   2467 	ac_new_val_w=`echo x $ac_new_val`
   2468 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2469 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2470 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2471 	  ac_cache_corrupted=:
   2472 	else
   2473 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2474 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2475 	  eval $ac_var=\$ac_old_val
   2476 	fi
   2477 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2478 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2479 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2480 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2481       fi;;
   2482   esac
   2483   # Pass precious variables to config.status.
   2484   if test "$ac_new_set" = set; then
   2485     case $ac_new_val in
   2486     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2487     *) ac_arg=$ac_var=$ac_new_val ;;
   2488     esac
   2489     case " $ac_configure_args " in
   2490       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2491       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2492     esac
   2493   fi
   2494 done
   2495 if $ac_cache_corrupted; then
   2496   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2497 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2498   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2499 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2500   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2501 	    and start over" "$LINENO" 5
   2502 fi
   2503 ## -------------------- ##
   2504 ## Main body of script. ##
   2505 ## -------------------- ##
   2506 
   2507 ac_ext=c
   2508 ac_cpp='$CPP $CPPFLAGS'
   2509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2512 
   2513 
   2514 
   2515 ac_config_headers="$ac_config_headers config.h"
   2516 
   2517 
   2518 # Initialize Automake
   2519 am__api_version='1.17'
   2520 
   2521 
   2522 
   2523   # Find a good install program.  We prefer a C program (faster),
   2524 # so one script is as good as another.  But avoid the broken or
   2525 # incompatible versions:
   2526 # SysV /etc/install, /usr/sbin/install
   2527 # SunOS /usr/etc/install
   2528 # IRIX /sbin/install
   2529 # AIX /bin/install
   2530 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2531 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2532 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2533 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2534 # OS/2's system install, which has a completely different semantic
   2535 # ./install, which can be erroneously created by make from ./install.sh.
   2536 # Reject install programs that cannot install multiple files.
   2537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2538 printf %s "checking for a BSD-compatible install... " >&6; }
   2539 if test -z "$INSTALL"; then
   2540 if test ${ac_cv_path_install+y}
   2541 then :
   2542   printf %s "(cached) " >&6
   2543 else case e in #(
   2544   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2545 for as_dir in $PATH
   2546 do
   2547   IFS=$as_save_IFS
   2548   case $as_dir in #(((
   2549     '') as_dir=./ ;;
   2550     */) ;;
   2551     *) as_dir=$as_dir/ ;;
   2552   esac
   2553     # Account for fact that we put trailing slashes in our PATH walk.
   2554 case $as_dir in #((
   2555   ./ | /[cC]/* | \
   2556   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2557   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2558   /usr/ucb/* ) ;;
   2559   *)
   2560     # OSF1 and SCO ODT 3.0 have their own names for install.
   2561     # Don't use installbsd from OSF since it installs stuff as root
   2562     # by default.
   2563     for ac_prog in ginstall scoinst install; do
   2564       for ac_exec_ext in '' $ac_executable_extensions; do
   2565 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2566 	  if test $ac_prog = install &&
   2567 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2568 	    # AIX install.  It has an incompatible calling convention.
   2569 	    :
   2570 	  elif test $ac_prog = install &&
   2571 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2572 	    # program-specific install script used by HP pwplus--don't use.
   2573 	    :
   2574 	  else
   2575 	    rm -rf conftest.one conftest.two conftest.dir
   2576 	    echo one > conftest.one
   2577 	    echo two > conftest.two
   2578 	    mkdir conftest.dir
   2579 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2580 	      test -s conftest.one && test -s conftest.two &&
   2581 	      test -s conftest.dir/conftest.one &&
   2582 	      test -s conftest.dir/conftest.two
   2583 	    then
   2584 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2585 	      break 3
   2586 	    fi
   2587 	  fi
   2588 	fi
   2589       done
   2590     done
   2591     ;;
   2592 esac
   2593 
   2594   done
   2595 IFS=$as_save_IFS
   2596 
   2597 rm -rf conftest.one conftest.two conftest.dir
   2598  ;;
   2599 esac
   2600 fi
   2601   if test ${ac_cv_path_install+y}; then
   2602     INSTALL=$ac_cv_path_install
   2603   else
   2604     # As a last resort, use the slow shell script.  Don't cache a
   2605     # value for INSTALL within a source directory, because that will
   2606     # break other packages using the cache if that directory is
   2607     # removed, or if the value is a relative name.
   2608     INSTALL=$ac_install_sh
   2609   fi
   2610 fi
   2611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2612 printf "%s\n" "$INSTALL" >&6; }
   2613 
   2614 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2615 # It thinks the first close brace ends the variable substitution.
   2616 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2617 
   2618 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2619 
   2620 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2621 
   2622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   2623 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   2624 if test ${am_cv_sleep_fractional_seconds+y}
   2625 then :
   2626   printf %s "(cached) " >&6
   2627 else case e in #(
   2628   e) if sleep 0.001 2>/dev/null
   2629 then :
   2630   am_cv_sleep_fractional_seconds=yes
   2631 else case e in #(
   2632   e) am_cv_sleep_fractional_seconds=no ;;
   2633 esac
   2634 fi
   2635  ;;
   2636 esac
   2637 fi
   2638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   2639 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   2640 
   2641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   2642 printf %s "checking filesystem timestamp resolution... " >&6; }
   2643 if test ${am_cv_filesystem_timestamp_resolution+y}
   2644 then :
   2645   printf %s "(cached) " >&6
   2646 else case e in #(
   2647   e) # Default to the worst case.
   2648 am_cv_filesystem_timestamp_resolution=2
   2649 
   2650 # Only try to go finer than 1 sec if sleep can do it.
   2651 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   2652 # - 1 sec is not much of a win compared to 2 sec, and
   2653 # - it takes 2 seconds to perform the test whether 1 sec works.
   2654 #
   2655 # Instead, just use the default 2s on platforms that have 1s resolution,
   2656 # accept the extra 1s delay when using $sleep in the Automake tests, in
   2657 # exchange for not incurring the 2s delay for running the test for all
   2658 # packages.
   2659 #
   2660 am_try_resolutions=
   2661 if test "$am_cv_sleep_fractional_seconds" = yes; then
   2662   # Even a millisecond often causes a bunch of false positives,
   2663   # so just try a hundredth of a second. The time saved between .001 and
   2664   # .01 is not terribly consequential.
   2665   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   2666 fi
   2667 
   2668 # In order to catch current-generation FAT out, we must *modify* files
   2669 # that already exist; the *creation* timestamp is finer.  Use names
   2670 # that make ls -t sort them differently when they have equal
   2671 # timestamps than when they have distinct timestamps, keeping
   2672 # in mind that ls -t prints the *newest* file first.
   2673 rm -f conftest.ts?
   2674 : > conftest.ts1
   2675 : > conftest.ts2
   2676 : > conftest.ts3
   2677 
   2678 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   2679 # clobber the current shell's arguments. (Outer-level square brackets
   2680 # are removed by m4; they're present so that m4 does not expand
   2681 # <dollar><star>; be careful, easy to get confused.)
   2682 if (
   2683      set X `ls -t conftest.ts[12]` &&
   2684      {
   2685        test "$*" != "X conftest.ts1 conftest.ts2" ||
   2686        test "$*" != "X conftest.ts2 conftest.ts1";
   2687      }
   2688 ); then :; else
   2689   # If neither matched, then we have a broken ls.  This can happen
   2690   # if, for instance, CONFIG_SHELL is bash and it inherits a
   2691   # broken ls alias from the environment.  This has actually
   2692   # happened.  Such a system could not be considered "sane".
   2693   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   2694   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2695 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2696 as_fn_error $? "ls -t produces unexpected output.
   2697 Make sure there is not a broken ls alias in your environment.
   2698 See 'config.log' for more details" "$LINENO" 5; }
   2699 fi
   2700 
   2701 for am_try_res in $am_try_resolutions; do
   2702   # Any one fine-grained sleep might happen to cross the boundary
   2703   # between two values of a coarser actual resolution, but if we do
   2704   # two fine-grained sleeps in a row, at least one of them will fall
   2705   # entirely within a coarse interval.
   2706   echo alpha > conftest.ts1
   2707   sleep $am_try_res
   2708   echo beta > conftest.ts2
   2709   sleep $am_try_res
   2710   echo gamma > conftest.ts3
   2711 
   2712   # We assume that 'ls -t' will make use of high-resolution
   2713   # timestamps if the operating system supports them at all.
   2714   if (set X `ls -t conftest.ts?` &&
   2715       test "$2" = conftest.ts3 &&
   2716       test "$3" = conftest.ts2 &&
   2717       test "$4" = conftest.ts1); then
   2718     #
   2719     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   2720     # because we don't need to test make.
   2721     make_ok=true
   2722     if test $am_try_res != 1; then
   2723       # But if we've succeeded so far with a subsecond resolution, we
   2724       # have one more thing to check: make. It can happen that
   2725       # everything else supports the subsecond mtimes, but make doesn't;
   2726       # notably on macOS, which ships make 3.81 from 2006 (the last one
   2727       # released under GPLv2). https://bugs.gnu.org/68808
   2728       #
   2729       # We test $MAKE if it is defined in the environment, else "make".
   2730       # It might get overridden later, but our hope is that in practice
   2731       # it does not matter: it is the system "make" which is (by far)
   2732       # the most likely to be broken, whereas if the user overrides it,
   2733       # probably they did so with a better, or at least not worse, make.
   2734       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   2735       #
   2736       # Create a Makefile (real tab character here):
   2737       rm -f conftest.mk
   2738       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   2739       echo '	touch conftest.ts2' >>conftest.mk
   2740       #
   2741       # Now, running
   2742       #   touch conftest.ts1; touch conftest.ts2; make
   2743       # should touch ts1 because ts2 is newer. This could happen by luck,
   2744       # but most often, it will fail if make's support is insufficient. So
   2745       # test for several consecutive successes.
   2746       #
   2747       # (We reuse conftest.ts[12] because we still want to modify existing
   2748       # files, not create new ones, per above.)
   2749       n=0
   2750       make=${MAKE-make}
   2751       until test $n -eq 3; do
   2752         echo one > conftest.ts1
   2753         sleep $am_try_res
   2754         echo two > conftest.ts2 # ts2 should now be newer than ts1
   2755         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   2756           make_ok=false
   2757           break # out of $n loop
   2758         fi
   2759         n=`expr $n + 1`
   2760       done
   2761     fi
   2762     #
   2763     if $make_ok; then
   2764       # Everything we know to check worked out, so call this resolution good.
   2765       am_cv_filesystem_timestamp_resolution=$am_try_res
   2766       break # out of $am_try_res loop
   2767     fi
   2768     # Otherwise, we'll go on to check the next resolution.
   2769   fi
   2770 done
   2771 rm -f conftest.ts?
   2772 # (end _am_filesystem_timestamp_resolution)
   2773  ;;
   2774 esac
   2775 fi
   2776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   2777 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   2778 
   2779 # This check should not be cached, as it may vary across builds of
   2780 # different projects.
   2781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2782 printf %s "checking whether build environment is sane... " >&6; }
   2783 # Reject unsafe characters in $srcdir or the absolute working directory
   2784 # name.  Accept space and tab only in the latter.
   2785 am_lf='
   2786 '
   2787 case `pwd` in
   2788   *[\\\"\#\$\&\'\`$am_lf]*)
   2789     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2790 esac
   2791 case $srcdir in
   2792   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2793     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2794 esac
   2795 
   2796 # Do 'set' in a subshell so we don't clobber the current shell's
   2797 # arguments.  Must try -L first in case configure is actually a
   2798 # symlink; some systems play weird games with the mod time of symlinks
   2799 # (eg FreeBSD returns the mod time of the symlink's containing
   2800 # directory).
   2801 am_build_env_is_sane=no
   2802 am_has_slept=no
   2803 rm -f conftest.file
   2804 for am_try in 1 2; do
   2805   echo "timestamp, slept: $am_has_slept" > conftest.file
   2806   if (
   2807     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2808     if test "$*" = "X"; then
   2809       # -L didn't work.
   2810       set X `ls -t "$srcdir/configure" conftest.file`
   2811     fi
   2812     test "$2" = conftest.file
   2813   ); then
   2814     am_build_env_is_sane=yes
   2815     break
   2816   fi
   2817   # Just in case.
   2818   sleep "$am_cv_filesystem_timestamp_resolution"
   2819   am_has_slept=yes
   2820 done
   2821 
   2822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   2823 printf "%s\n" "$am_build_env_is_sane" >&6; }
   2824 if test "$am_build_env_is_sane" = no; then
   2825   as_fn_error $? "newly created file is older than distributed files!
   2826 Check your system clock" "$LINENO" 5
   2827 fi
   2828 
   2829 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2830 # generated files are strictly newer.
   2831 am_sleep_pid=
   2832 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   2833 then :
   2834 
   2835 else case e in #(
   2836   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   2837   am_sleep_pid=$!
   2838  ;;
   2839 esac
   2840 fi
   2841 
   2842 rm -f conftest.file
   2843 
   2844 test "$program_prefix" != NONE &&
   2845   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2846 # Use a double $ so make ignores it.
   2847 test "$program_suffix" != NONE &&
   2848   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2849 # Double any \ or $.
   2850 # By default was 's,x,x', remove it if useless.
   2851 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2852 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2853 
   2854 
   2855 # Expand $ac_aux_dir to an absolute path.
   2856 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2857 
   2858 
   2859   if test x"${MISSING+set}" != xset; then
   2860   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2861 fi
   2862 # Use eval to expand $SHELL
   2863 if eval "$MISSING --is-lightweight"; then
   2864   am_missing_run="$MISSING "
   2865 else
   2866   am_missing_run=
   2867   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2868 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2869 fi
   2870 
   2871 if test x"${install_sh+set}" != xset; then
   2872   case $am_aux_dir in
   2873   *\ * | *\	*)
   2874     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2875   *)
   2876     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2877   esac
   2878 fi
   2879 
   2880 # Installed binaries are usually stripped using 'strip' when the user
   2881 # run "make install-strip".  However 'strip' might not be the right
   2882 # tool to use in cross-compilation environments, therefore Automake
   2883 # will honor the 'STRIP' environment variable to overrule this program.
   2884 if test "$cross_compiling" != no; then
   2885   if test -n "$ac_tool_prefix"; then
   2886   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2887 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2889 printf %s "checking for $ac_word... " >&6; }
   2890 if test ${ac_cv_prog_STRIP+y}
   2891 then :
   2892   printf %s "(cached) " >&6
   2893 else case e in #(
   2894   e) if test -n "$STRIP"; then
   2895   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2896 else
   2897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2898 for as_dir in $PATH
   2899 do
   2900   IFS=$as_save_IFS
   2901   case $as_dir in #(((
   2902     '') as_dir=./ ;;
   2903     */) ;;
   2904     *) as_dir=$as_dir/ ;;
   2905   esac
   2906     for ac_exec_ext in '' $ac_executable_extensions; do
   2907   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2908     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2909     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2910     break 2
   2911   fi
   2912 done
   2913   done
   2914 IFS=$as_save_IFS
   2915 
   2916 fi ;;
   2917 esac
   2918 fi
   2919 STRIP=$ac_cv_prog_STRIP
   2920 if test -n "$STRIP"; then
   2921   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2922 printf "%s\n" "$STRIP" >&6; }
   2923 else
   2924   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2925 printf "%s\n" "no" >&6; }
   2926 fi
   2927 
   2928 
   2929 fi
   2930 if test -z "$ac_cv_prog_STRIP"; then
   2931   ac_ct_STRIP=$STRIP
   2932   # Extract the first word of "strip", so it can be a program name with args.
   2933 set dummy strip; ac_word=$2
   2934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2935 printf %s "checking for $ac_word... " >&6; }
   2936 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2937 then :
   2938   printf %s "(cached) " >&6
   2939 else case e in #(
   2940   e) if test -n "$ac_ct_STRIP"; then
   2941   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2942 else
   2943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2944 for as_dir in $PATH
   2945 do
   2946   IFS=$as_save_IFS
   2947   case $as_dir in #(((
   2948     '') as_dir=./ ;;
   2949     */) ;;
   2950     *) as_dir=$as_dir/ ;;
   2951   esac
   2952     for ac_exec_ext in '' $ac_executable_extensions; do
   2953   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2954     ac_cv_prog_ac_ct_STRIP="strip"
   2955     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2956     break 2
   2957   fi
   2958 done
   2959   done
   2960 IFS=$as_save_IFS
   2961 
   2962 fi ;;
   2963 esac
   2964 fi
   2965 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2966 if test -n "$ac_ct_STRIP"; then
   2967   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2968 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2969 else
   2970   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2971 printf "%s\n" "no" >&6; }
   2972 fi
   2973 
   2974   if test "x$ac_ct_STRIP" = x; then
   2975     STRIP=":"
   2976   else
   2977     case $cross_compiling:$ac_tool_warned in
   2978 yes:)
   2979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2980 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2981 ac_tool_warned=yes ;;
   2982 esac
   2983     STRIP=$ac_ct_STRIP
   2984   fi
   2985 else
   2986   STRIP="$ac_cv_prog_STRIP"
   2987 fi
   2988 
   2989 fi
   2990 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2991 
   2992 
   2993   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2994 printf %s "checking for a race-free mkdir -p... " >&6; }
   2995 if test -z "$MKDIR_P"; then
   2996   if test ${ac_cv_path_mkdir+y}
   2997 then :
   2998   printf %s "(cached) " >&6
   2999 else case e in #(
   3000   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3001 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3002 do
   3003   IFS=$as_save_IFS
   3004   case $as_dir in #(((
   3005     '') as_dir=./ ;;
   3006     */) ;;
   3007     *) as_dir=$as_dir/ ;;
   3008   esac
   3009     for ac_prog in mkdir gmkdir; do
   3010 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3011 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3012 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3013 	     'mkdir ('*'coreutils) '* | \
   3014 	     *'BusyBox '* | \
   3015 	     'mkdir (fileutils) '4.1*)
   3016 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3017 	       break 3;;
   3018 	   esac
   3019 	 done
   3020        done
   3021   done
   3022 IFS=$as_save_IFS
   3023  ;;
   3024 esac
   3025 fi
   3026 
   3027   test -d ./--version && rmdir ./--version
   3028   if test ${ac_cv_path_mkdir+y}; then
   3029     MKDIR_P="$ac_cv_path_mkdir -p"
   3030   else
   3031     # As a last resort, use plain mkdir -p,
   3032     # in the hope it doesn't have the bugs of ancient mkdir.
   3033     MKDIR_P='mkdir -p'
   3034   fi
   3035 fi
   3036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3037 printf "%s\n" "$MKDIR_P" >&6; }
   3038 
   3039 for ac_prog in gawk mawk nawk awk
   3040 do
   3041   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3042 set dummy $ac_prog; ac_word=$2
   3043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3044 printf %s "checking for $ac_word... " >&6; }
   3045 if test ${ac_cv_prog_AWK+y}
   3046 then :
   3047   printf %s "(cached) " >&6
   3048 else case e in #(
   3049   e) if test -n "$AWK"; then
   3050   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3051 else
   3052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3053 for as_dir in $PATH
   3054 do
   3055   IFS=$as_save_IFS
   3056   case $as_dir in #(((
   3057     '') as_dir=./ ;;
   3058     */) ;;
   3059     *) as_dir=$as_dir/ ;;
   3060   esac
   3061     for ac_exec_ext in '' $ac_executable_extensions; do
   3062   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3063     ac_cv_prog_AWK="$ac_prog"
   3064     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3065     break 2
   3066   fi
   3067 done
   3068   done
   3069 IFS=$as_save_IFS
   3070 
   3071 fi ;;
   3072 esac
   3073 fi
   3074 AWK=$ac_cv_prog_AWK
   3075 if test -n "$AWK"; then
   3076   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3077 printf "%s\n" "$AWK" >&6; }
   3078 else
   3079   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3080 printf "%s\n" "no" >&6; }
   3081 fi
   3082 
   3083 
   3084   test -n "$AWK" && break
   3085 done
   3086 
   3087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3088 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3089 set x ${MAKE-make}
   3090 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3091 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3092 then :
   3093   printf %s "(cached) " >&6
   3094 else case e in #(
   3095   e) cat >conftest.make <<\_ACEOF
   3096 SHELL = /bin/sh
   3097 all:
   3098 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3099 _ACEOF
   3100 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3101 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3102   *@@@%%%=?*=@@@%%%*)
   3103     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3104   *)
   3105     eval ac_cv_prog_make_${ac_make}_set=no;;
   3106 esac
   3107 rm -f conftest.make ;;
   3108 esac
   3109 fi
   3110 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3111   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3112 printf "%s\n" "yes" >&6; }
   3113   SET_MAKE=
   3114 else
   3115   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3116 printf "%s\n" "no" >&6; }
   3117   SET_MAKE="MAKE=${MAKE-make}"
   3118 fi
   3119 
   3120 rm -rf .tst 2>/dev/null
   3121 mkdir .tst 2>/dev/null
   3122 if test -d .tst; then
   3123   am__leading_dot=.
   3124 else
   3125   am__leading_dot=_
   3126 fi
   3127 rmdir .tst 2>/dev/null
   3128 
   3129 AM_DEFAULT_VERBOSITY=1
   3130 # Check whether --enable-silent-rules was given.
   3131 if test ${enable_silent_rules+y}
   3132 then :
   3133   enableval=$enable_silent_rules;
   3134 fi
   3135 
   3136 am_make=${MAKE-make}
   3137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3138 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3139 if test ${am_cv_make_support_nested_variables+y}
   3140 then :
   3141   printf %s "(cached) " >&6
   3142 else case e in #(
   3143   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3144 BAR0=false
   3145 BAR1=true
   3146 V=1
   3147 am__doit:
   3148 	@$(TRUE)
   3149 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3150   am_cv_make_support_nested_variables=yes
   3151 else
   3152   am_cv_make_support_nested_variables=no
   3153 fi ;;
   3154 esac
   3155 fi
   3156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3157 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3158 AM_BACKSLASH='\'
   3159 
   3160 am__rm_f_notfound=
   3161 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3162 then :
   3163 
   3164 else case e in #(
   3165   e) am__rm_f_notfound='""' ;;
   3166 esac
   3167 fi
   3168 
   3169 
   3170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3171 printf %s "checking xargs -n works... " >&6; }
   3172 if test ${am_cv_xargs_n_works+y}
   3173 then :
   3174   printf %s "(cached) " >&6
   3175 else case e in #(
   3176   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3177 3"
   3178 then :
   3179   am_cv_xargs_n_works=yes
   3180 else case e in #(
   3181   e) am_cv_xargs_n_works=no ;;
   3182 esac
   3183 fi ;;
   3184 esac
   3185 fi
   3186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3187 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   3188 if test "$am_cv_xargs_n_works" = yes
   3189 then :
   3190   am__xargs_n='xargs -n'
   3191 else case e in #(
   3192   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3193  ;;
   3194 esac
   3195 fi
   3196 
   3197 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3198   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3199   # is not polluted with repeated "-I."
   3200   am__isrc=' -I$(srcdir)'
   3201   # test to see if srcdir already configured
   3202   if test -f $srcdir/config.status; then
   3203     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3204   fi
   3205 fi
   3206 
   3207 # test whether we have cygpath
   3208 if test -z "$CYGPATH_W"; then
   3209   if (cygpath --version) >/dev/null 2>/dev/null; then
   3210     CYGPATH_W='cygpath -w'
   3211   else
   3212     CYGPATH_W=echo
   3213   fi
   3214 fi
   3215 
   3216 
   3217 # Define the identity of the package.
   3218  PACKAGE='xkbevd'
   3219  VERSION='1.1.6'
   3220 
   3221 
   3222 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3223 
   3224 
   3225 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3226 
   3227 # Some tools Automake needs.
   3228 
   3229 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3230 
   3231 
   3232 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3233 
   3234 
   3235 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3236 
   3237 
   3238 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3239 
   3240 
   3241 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3242 
   3243 # For better backward compatibility.  To be removed once Automake 1.9.x
   3244 # dies out for good.  For more background, see:
   3245 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3246 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3247 mkdir_p='$(MKDIR_P)'
   3248 
   3249 # We need awk for the "check" target (and possibly the TAP driver).  The
   3250 # system "awk" is bad on some platforms.
   3251 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3252 # in the wild :-(  We should find a proper way to deprecate it ...
   3253 AMTAR='$${TAR-tar}'
   3254 
   3255 
   3256 # We'll loop over all known methods to create a tar archive until one works.
   3257 _am_tools='gnutar  pax cpio none'
   3258 
   3259 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3260 
   3261 
   3262 
   3263 
   3264 
   3265 # Variables for tags utilities; see am/tags.am
   3266 if test -z "$CTAGS"; then
   3267   CTAGS=ctags
   3268 fi
   3269 
   3270 if test -z "$ETAGS"; then
   3271   ETAGS=etags
   3272 fi
   3273 
   3274 if test -z "$CSCOPE"; then
   3275   CSCOPE=cscope
   3276 fi
   3277 
   3278 
   3279 
   3280 
   3281 
   3282 
   3283 
   3284 
   3285 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3286 
   3287 
   3288 
   3289 
   3290 
   3291 
   3292 
   3293 
   3294 
   3295 
   3296 
   3297 
   3298 
   3299 
   3300 
   3301 
   3302 
   3303 
   3304 
   3305 
   3306 DEPDIR="${am__leading_dot}deps"
   3307 
   3308 ac_config_commands="$ac_config_commands depfiles"
   3309 
   3310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3311 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3312 cat > confinc.mk << 'END'
   3313 am__doit:
   3314 	@echo this is the am__doit target >confinc.out
   3315 .PHONY: am__doit
   3316 END
   3317 am__include="#"
   3318 am__quote=
   3319 # BSD make does it like this.
   3320 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3321 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3322 echo 'include confinc.mk # ignored' > confmf.GNU
   3323 _am_result=no
   3324 for s in GNU BSD; do
   3325   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3326    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3327    ac_status=$?
   3328    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3329    (exit $ac_status); }
   3330   case $?:`cat confinc.out 2>/dev/null` in #(
   3331   '0:this is the am__doit target') :
   3332     case $s in #(
   3333   BSD) :
   3334     am__include='.include' am__quote='"' ;; #(
   3335   *) :
   3336     am__include='include' am__quote='' ;;
   3337 esac ;; #(
   3338   *) :
   3339      ;;
   3340 esac
   3341   if test "$am__include" != "#"; then
   3342     _am_result="yes ($s style)"
   3343     break
   3344   fi
   3345 done
   3346 rm -f confinc.* confmf.*
   3347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3348 printf "%s\n" "${_am_result}" >&6; }
   3349 
   3350 # Check whether --enable-dependency-tracking was given.
   3351 if test ${enable_dependency_tracking+y}
   3352 then :
   3353   enableval=$enable_dependency_tracking;
   3354 fi
   3355 
   3356 if test "x$enable_dependency_tracking" != xno; then
   3357   am_depcomp="$ac_aux_dir/depcomp"
   3358   AMDEPBACKSLASH='\'
   3359   am__nodep='_no'
   3360 fi
   3361  if test "x$enable_dependency_tracking" != xno; then
   3362   AMDEP_TRUE=
   3363   AMDEP_FALSE='#'
   3364 else
   3365   AMDEP_TRUE='#'
   3366   AMDEP_FALSE=
   3367 fi
   3368 
   3369 
   3370 ac_ext=c
   3371 ac_cpp='$CPP $CPPFLAGS'
   3372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3375 if test -n "$ac_tool_prefix"; then
   3376   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3377 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3379 printf %s "checking for $ac_word... " >&6; }
   3380 if test ${ac_cv_prog_CC+y}
   3381 then :
   3382   printf %s "(cached) " >&6
   3383 else case e in #(
   3384   e) if test -n "$CC"; then
   3385   ac_cv_prog_CC="$CC" # Let the user override the test.
   3386 else
   3387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3388 for as_dir in $PATH
   3389 do
   3390   IFS=$as_save_IFS
   3391   case $as_dir in #(((
   3392     '') as_dir=./ ;;
   3393     */) ;;
   3394     *) as_dir=$as_dir/ ;;
   3395   esac
   3396     for ac_exec_ext in '' $ac_executable_extensions; do
   3397   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3398     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3399     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3400     break 2
   3401   fi
   3402 done
   3403   done
   3404 IFS=$as_save_IFS
   3405 
   3406 fi ;;
   3407 esac
   3408 fi
   3409 CC=$ac_cv_prog_CC
   3410 if test -n "$CC"; then
   3411   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3412 printf "%s\n" "$CC" >&6; }
   3413 else
   3414   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3415 printf "%s\n" "no" >&6; }
   3416 fi
   3417 
   3418 
   3419 fi
   3420 if test -z "$ac_cv_prog_CC"; then
   3421   ac_ct_CC=$CC
   3422   # Extract the first word of "gcc", so it can be a program name with args.
   3423 set dummy gcc; ac_word=$2
   3424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3425 printf %s "checking for $ac_word... " >&6; }
   3426 if test ${ac_cv_prog_ac_ct_CC+y}
   3427 then :
   3428   printf %s "(cached) " >&6
   3429 else case e in #(
   3430   e) if test -n "$ac_ct_CC"; then
   3431   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3432 else
   3433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3434 for as_dir in $PATH
   3435 do
   3436   IFS=$as_save_IFS
   3437   case $as_dir in #(((
   3438     '') as_dir=./ ;;
   3439     */) ;;
   3440     *) as_dir=$as_dir/ ;;
   3441   esac
   3442     for ac_exec_ext in '' $ac_executable_extensions; do
   3443   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3444     ac_cv_prog_ac_ct_CC="gcc"
   3445     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3446     break 2
   3447   fi
   3448 done
   3449   done
   3450 IFS=$as_save_IFS
   3451 
   3452 fi ;;
   3453 esac
   3454 fi
   3455 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3456 if test -n "$ac_ct_CC"; then
   3457   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3458 printf "%s\n" "$ac_ct_CC" >&6; }
   3459 else
   3460   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3461 printf "%s\n" "no" >&6; }
   3462 fi
   3463 
   3464   if test "x$ac_ct_CC" = x; then
   3465     CC=""
   3466   else
   3467     case $cross_compiling:$ac_tool_warned in
   3468 yes:)
   3469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3470 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3471 ac_tool_warned=yes ;;
   3472 esac
   3473     CC=$ac_ct_CC
   3474   fi
   3475 else
   3476   CC="$ac_cv_prog_CC"
   3477 fi
   3478 
   3479 if test -z "$CC"; then
   3480           if test -n "$ac_tool_prefix"; then
   3481     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3482 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3484 printf %s "checking for $ac_word... " >&6; }
   3485 if test ${ac_cv_prog_CC+y}
   3486 then :
   3487   printf %s "(cached) " >&6
   3488 else case e in #(
   3489   e) if test -n "$CC"; then
   3490   ac_cv_prog_CC="$CC" # Let the user override the test.
   3491 else
   3492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3493 for as_dir in $PATH
   3494 do
   3495   IFS=$as_save_IFS
   3496   case $as_dir in #(((
   3497     '') as_dir=./ ;;
   3498     */) ;;
   3499     *) as_dir=$as_dir/ ;;
   3500   esac
   3501     for ac_exec_ext in '' $ac_executable_extensions; do
   3502   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3503     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3504     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3505     break 2
   3506   fi
   3507 done
   3508   done
   3509 IFS=$as_save_IFS
   3510 
   3511 fi ;;
   3512 esac
   3513 fi
   3514 CC=$ac_cv_prog_CC
   3515 if test -n "$CC"; then
   3516   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3517 printf "%s\n" "$CC" >&6; }
   3518 else
   3519   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3520 printf "%s\n" "no" >&6; }
   3521 fi
   3522 
   3523 
   3524   fi
   3525 fi
   3526 if test -z "$CC"; then
   3527   # Extract the first word of "cc", so it can be a program name with args.
   3528 set dummy cc; ac_word=$2
   3529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3530 printf %s "checking for $ac_word... " >&6; }
   3531 if test ${ac_cv_prog_CC+y}
   3532 then :
   3533   printf %s "(cached) " >&6
   3534 else case e in #(
   3535   e) if test -n "$CC"; then
   3536   ac_cv_prog_CC="$CC" # Let the user override the test.
   3537 else
   3538   ac_prog_rejected=no
   3539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3540 for as_dir in $PATH
   3541 do
   3542   IFS=$as_save_IFS
   3543   case $as_dir in #(((
   3544     '') as_dir=./ ;;
   3545     */) ;;
   3546     *) as_dir=$as_dir/ ;;
   3547   esac
   3548     for ac_exec_ext in '' $ac_executable_extensions; do
   3549   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3550     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3551        ac_prog_rejected=yes
   3552        continue
   3553      fi
   3554     ac_cv_prog_CC="cc"
   3555     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3556     break 2
   3557   fi
   3558 done
   3559   done
   3560 IFS=$as_save_IFS
   3561 
   3562 if test $ac_prog_rejected = yes; then
   3563   # We found a bogon in the path, so make sure we never use it.
   3564   set dummy $ac_cv_prog_CC
   3565   shift
   3566   if test $# != 0; then
   3567     # We chose a different compiler from the bogus one.
   3568     # However, it has the same basename, so the bogon will be chosen
   3569     # first if we set CC to just the basename; use the full file name.
   3570     shift
   3571     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3572   fi
   3573 fi
   3574 fi ;;
   3575 esac
   3576 fi
   3577 CC=$ac_cv_prog_CC
   3578 if test -n "$CC"; then
   3579   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3580 printf "%s\n" "$CC" >&6; }
   3581 else
   3582   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3583 printf "%s\n" "no" >&6; }
   3584 fi
   3585 
   3586 
   3587 fi
   3588 if test -z "$CC"; then
   3589   if test -n "$ac_tool_prefix"; then
   3590   for ac_prog in cl.exe
   3591   do
   3592     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3593 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3595 printf %s "checking for $ac_word... " >&6; }
   3596 if test ${ac_cv_prog_CC+y}
   3597 then :
   3598   printf %s "(cached) " >&6
   3599 else case e in #(
   3600   e) if test -n "$CC"; then
   3601   ac_cv_prog_CC="$CC" # Let the user override the test.
   3602 else
   3603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3604 for as_dir in $PATH
   3605 do
   3606   IFS=$as_save_IFS
   3607   case $as_dir in #(((
   3608     '') as_dir=./ ;;
   3609     */) ;;
   3610     *) as_dir=$as_dir/ ;;
   3611   esac
   3612     for ac_exec_ext in '' $ac_executable_extensions; do
   3613   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3614     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3615     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3616     break 2
   3617   fi
   3618 done
   3619   done
   3620 IFS=$as_save_IFS
   3621 
   3622 fi ;;
   3623 esac
   3624 fi
   3625 CC=$ac_cv_prog_CC
   3626 if test -n "$CC"; then
   3627   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3628 printf "%s\n" "$CC" >&6; }
   3629 else
   3630   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3631 printf "%s\n" "no" >&6; }
   3632 fi
   3633 
   3634 
   3635     test -n "$CC" && break
   3636   done
   3637 fi
   3638 if test -z "$CC"; then
   3639   ac_ct_CC=$CC
   3640   for ac_prog in cl.exe
   3641 do
   3642   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3643 set dummy $ac_prog; ac_word=$2
   3644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3645 printf %s "checking for $ac_word... " >&6; }
   3646 if test ${ac_cv_prog_ac_ct_CC+y}
   3647 then :
   3648   printf %s "(cached) " >&6
   3649 else case e in #(
   3650   e) if test -n "$ac_ct_CC"; then
   3651   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3652 else
   3653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3654 for as_dir in $PATH
   3655 do
   3656   IFS=$as_save_IFS
   3657   case $as_dir in #(((
   3658     '') as_dir=./ ;;
   3659     */) ;;
   3660     *) as_dir=$as_dir/ ;;
   3661   esac
   3662     for ac_exec_ext in '' $ac_executable_extensions; do
   3663   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3664     ac_cv_prog_ac_ct_CC="$ac_prog"
   3665     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3666     break 2
   3667   fi
   3668 done
   3669   done
   3670 IFS=$as_save_IFS
   3671 
   3672 fi ;;
   3673 esac
   3674 fi
   3675 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3676 if test -n "$ac_ct_CC"; then
   3677   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3678 printf "%s\n" "$ac_ct_CC" >&6; }
   3679 else
   3680   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3681 printf "%s\n" "no" >&6; }
   3682 fi
   3683 
   3684 
   3685   test -n "$ac_ct_CC" && break
   3686 done
   3687 
   3688   if test "x$ac_ct_CC" = x; then
   3689     CC=""
   3690   else
   3691     case $cross_compiling:$ac_tool_warned in
   3692 yes:)
   3693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3694 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3695 ac_tool_warned=yes ;;
   3696 esac
   3697     CC=$ac_ct_CC
   3698   fi
   3699 fi
   3700 
   3701 fi
   3702 if test -z "$CC"; then
   3703   if test -n "$ac_tool_prefix"; then
   3704   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3705 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3707 printf %s "checking for $ac_word... " >&6; }
   3708 if test ${ac_cv_prog_CC+y}
   3709 then :
   3710   printf %s "(cached) " >&6
   3711 else case e in #(
   3712   e) if test -n "$CC"; then
   3713   ac_cv_prog_CC="$CC" # Let the user override the test.
   3714 else
   3715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3716 for as_dir in $PATH
   3717 do
   3718   IFS=$as_save_IFS
   3719   case $as_dir in #(((
   3720     '') as_dir=./ ;;
   3721     */) ;;
   3722     *) as_dir=$as_dir/ ;;
   3723   esac
   3724     for ac_exec_ext in '' $ac_executable_extensions; do
   3725   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3726     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3727     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3728     break 2
   3729   fi
   3730 done
   3731   done
   3732 IFS=$as_save_IFS
   3733 
   3734 fi ;;
   3735 esac
   3736 fi
   3737 CC=$ac_cv_prog_CC
   3738 if test -n "$CC"; then
   3739   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3740 printf "%s\n" "$CC" >&6; }
   3741 else
   3742   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3743 printf "%s\n" "no" >&6; }
   3744 fi
   3745 
   3746 
   3747 fi
   3748 if test -z "$ac_cv_prog_CC"; then
   3749   ac_ct_CC=$CC
   3750   # Extract the first word of "clang", so it can be a program name with args.
   3751 set dummy clang; ac_word=$2
   3752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3753 printf %s "checking for $ac_word... " >&6; }
   3754 if test ${ac_cv_prog_ac_ct_CC+y}
   3755 then :
   3756   printf %s "(cached) " >&6
   3757 else case e in #(
   3758   e) if test -n "$ac_ct_CC"; then
   3759   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3760 else
   3761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3762 for as_dir in $PATH
   3763 do
   3764   IFS=$as_save_IFS
   3765   case $as_dir in #(((
   3766     '') as_dir=./ ;;
   3767     */) ;;
   3768     *) as_dir=$as_dir/ ;;
   3769   esac
   3770     for ac_exec_ext in '' $ac_executable_extensions; do
   3771   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3772     ac_cv_prog_ac_ct_CC="clang"
   3773     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3774     break 2
   3775   fi
   3776 done
   3777   done
   3778 IFS=$as_save_IFS
   3779 
   3780 fi ;;
   3781 esac
   3782 fi
   3783 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3784 if test -n "$ac_ct_CC"; then
   3785   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3786 printf "%s\n" "$ac_ct_CC" >&6; }
   3787 else
   3788   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3789 printf "%s\n" "no" >&6; }
   3790 fi
   3791 
   3792   if test "x$ac_ct_CC" = x; then
   3793     CC=""
   3794   else
   3795     case $cross_compiling:$ac_tool_warned in
   3796 yes:)
   3797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3798 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3799 ac_tool_warned=yes ;;
   3800 esac
   3801     CC=$ac_ct_CC
   3802   fi
   3803 else
   3804   CC="$ac_cv_prog_CC"
   3805 fi
   3806 
   3807 fi
   3808 
   3809 
   3810 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3811 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3812 as_fn_error $? "no acceptable C compiler found in \$PATH
   3813 See 'config.log' for more details" "$LINENO" 5; }
   3814 
   3815 # Provide some information about the compiler.
   3816 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3817 set X $ac_compile
   3818 ac_compiler=$2
   3819 for ac_option in --version -v -V -qversion -version; do
   3820   { { ac_try="$ac_compiler $ac_option >&5"
   3821 case "(($ac_try" in
   3822   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3823   *) ac_try_echo=$ac_try;;
   3824 esac
   3825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3826 printf "%s\n" "$ac_try_echo"; } >&5
   3827   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3828   ac_status=$?
   3829   if test -s conftest.err; then
   3830     sed '10a\
   3831 ... rest of stderr output deleted ...
   3832          10q' conftest.err >conftest.er1
   3833     cat conftest.er1 >&5
   3834   fi
   3835   rm -f conftest.er1 conftest.err
   3836   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3837   test $ac_status = 0; }
   3838 done
   3839 
   3840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3841 /* end confdefs.h.  */
   3842 
   3843 int
   3844 main (void)
   3845 {
   3846 
   3847   ;
   3848   return 0;
   3849 }
   3850 _ACEOF
   3851 ac_clean_files_save=$ac_clean_files
   3852 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3853 # Try to create an executable without -o first, disregard a.out.
   3854 # It will help us diagnose broken compilers, and finding out an intuition
   3855 # of exeext.
   3856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3857 printf %s "checking whether the C compiler works... " >&6; }
   3858 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3859 
   3860 # The possible output files:
   3861 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3862 
   3863 ac_rmfiles=
   3864 for ac_file in $ac_files
   3865 do
   3866   case $ac_file in
   3867     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3868     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3869   esac
   3870 done
   3871 rm -f $ac_rmfiles
   3872 
   3873 if { { ac_try="$ac_link_default"
   3874 case "(($ac_try" in
   3875   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3876   *) ac_try_echo=$ac_try;;
   3877 esac
   3878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3879 printf "%s\n" "$ac_try_echo"; } >&5
   3880   (eval "$ac_link_default") 2>&5
   3881   ac_status=$?
   3882   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3883   test $ac_status = 0; }
   3884 then :
   3885   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3886 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3887 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3888 # so that the user can short-circuit this test for compilers unknown to
   3889 # Autoconf.
   3890 for ac_file in $ac_files ''
   3891 do
   3892   test -f "$ac_file" || continue
   3893   case $ac_file in
   3894     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3895 	;;
   3896     [ab].out )
   3897 	# We found the default executable, but exeext='' is most
   3898 	# certainly right.
   3899 	break;;
   3900     *.* )
   3901 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3902 	then :; else
   3903 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3904 	fi
   3905 	# We set ac_cv_exeext here because the later test for it is not
   3906 	# safe: cross compilers may not add the suffix if given an '-o'
   3907 	# argument, so we may need to know it at that point already.
   3908 	# Even if this section looks crufty: it has the advantage of
   3909 	# actually working.
   3910 	break;;
   3911     * )
   3912 	break;;
   3913   esac
   3914 done
   3915 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3916 
   3917 else case e in #(
   3918   e) ac_file='' ;;
   3919 esac
   3920 fi
   3921 if test -z "$ac_file"
   3922 then :
   3923   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3924 printf "%s\n" "no" >&6; }
   3925 printf "%s\n" "$as_me: failed program was:" >&5
   3926 sed 's/^/| /' conftest.$ac_ext >&5
   3927 
   3928 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3929 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3930 as_fn_error 77 "C compiler cannot create executables
   3931 See 'config.log' for more details" "$LINENO" 5; }
   3932 else case e in #(
   3933   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3934 printf "%s\n" "yes" >&6; } ;;
   3935 esac
   3936 fi
   3937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3938 printf %s "checking for C compiler default output file name... " >&6; }
   3939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3940 printf "%s\n" "$ac_file" >&6; }
   3941 ac_exeext=$ac_cv_exeext
   3942 
   3943 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3944 ac_clean_files=$ac_clean_files_save
   3945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3946 printf %s "checking for suffix of executables... " >&6; }
   3947 if { { ac_try="$ac_link"
   3948 case "(($ac_try" in
   3949   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3950   *) ac_try_echo=$ac_try;;
   3951 esac
   3952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3953 printf "%s\n" "$ac_try_echo"; } >&5
   3954   (eval "$ac_link") 2>&5
   3955   ac_status=$?
   3956   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3957   test $ac_status = 0; }
   3958 then :
   3959   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3960 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3961 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3962 # 'rm'.
   3963 for ac_file in conftest.exe conftest conftest.*; do
   3964   test -f "$ac_file" || continue
   3965   case $ac_file in
   3966     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3967     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3968 	  break;;
   3969     * ) break;;
   3970   esac
   3971 done
   3972 else case e in #(
   3973   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3974 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3975 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3976 See 'config.log' for more details" "$LINENO" 5; } ;;
   3977 esac
   3978 fi
   3979 rm -f conftest conftest$ac_cv_exeext
   3980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3981 printf "%s\n" "$ac_cv_exeext" >&6; }
   3982 
   3983 rm -f conftest.$ac_ext
   3984 EXEEXT=$ac_cv_exeext
   3985 ac_exeext=$EXEEXT
   3986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3987 /* end confdefs.h.  */
   3988 #include <stdio.h>
   3989 int
   3990 main (void)
   3991 {
   3992 FILE *f = fopen ("conftest.out", "w");
   3993  if (!f)
   3994   return 1;
   3995  return ferror (f) || fclose (f) != 0;
   3996 
   3997   ;
   3998   return 0;
   3999 }
   4000 _ACEOF
   4001 ac_clean_files="$ac_clean_files conftest.out"
   4002 # Check that the compiler produces executables we can run.  If not, either
   4003 # the compiler is broken, or we cross compile.
   4004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4005 printf %s "checking whether we are cross compiling... " >&6; }
   4006 if test "$cross_compiling" != yes; then
   4007   { { ac_try="$ac_link"
   4008 case "(($ac_try" in
   4009   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4010   *) ac_try_echo=$ac_try;;
   4011 esac
   4012 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4013 printf "%s\n" "$ac_try_echo"; } >&5
   4014   (eval "$ac_link") 2>&5
   4015   ac_status=$?
   4016   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4017   test $ac_status = 0; }
   4018   if { ac_try='./conftest$ac_cv_exeext'
   4019   { { case "(($ac_try" in
   4020   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4021   *) ac_try_echo=$ac_try;;
   4022 esac
   4023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4024 printf "%s\n" "$ac_try_echo"; } >&5
   4025   (eval "$ac_try") 2>&5
   4026   ac_status=$?
   4027   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4028   test $ac_status = 0; }; }; then
   4029     cross_compiling=no
   4030   else
   4031     if test "$cross_compiling" = maybe; then
   4032 	cross_compiling=yes
   4033     else
   4034 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4035 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4036 as_fn_error 77 "cannot run C compiled programs.
   4037 If you meant to cross compile, use '--host'.
   4038 See 'config.log' for more details" "$LINENO" 5; }
   4039     fi
   4040   fi
   4041 fi
   4042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4043 printf "%s\n" "$cross_compiling" >&6; }
   4044 
   4045 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4046   conftest.o conftest.obj conftest.out
   4047 ac_clean_files=$ac_clean_files_save
   4048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4049 printf %s "checking for suffix of object files... " >&6; }
   4050 if test ${ac_cv_objext+y}
   4051 then :
   4052   printf %s "(cached) " >&6
   4053 else case e in #(
   4054   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4055 /* end confdefs.h.  */
   4056 
   4057 int
   4058 main (void)
   4059 {
   4060 
   4061   ;
   4062   return 0;
   4063 }
   4064 _ACEOF
   4065 rm -f conftest.o conftest.obj
   4066 if { { ac_try="$ac_compile"
   4067 case "(($ac_try" in
   4068   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4069   *) ac_try_echo=$ac_try;;
   4070 esac
   4071 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4072 printf "%s\n" "$ac_try_echo"; } >&5
   4073   (eval "$ac_compile") 2>&5
   4074   ac_status=$?
   4075   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4076   test $ac_status = 0; }
   4077 then :
   4078   for ac_file in conftest.o conftest.obj conftest.*; do
   4079   test -f "$ac_file" || continue;
   4080   case $ac_file in
   4081     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4082     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4083        break;;
   4084   esac
   4085 done
   4086 else case e in #(
   4087   e) printf "%s\n" "$as_me: failed program was:" >&5
   4088 sed 's/^/| /' conftest.$ac_ext >&5
   4089 
   4090 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4091 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4092 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4093 See 'config.log' for more details" "$LINENO" 5; } ;;
   4094 esac
   4095 fi
   4096 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4097 esac
   4098 fi
   4099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4100 printf "%s\n" "$ac_cv_objext" >&6; }
   4101 OBJEXT=$ac_cv_objext
   4102 ac_objext=$OBJEXT
   4103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4104 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4105 if test ${ac_cv_c_compiler_gnu+y}
   4106 then :
   4107   printf %s "(cached) " >&6
   4108 else case e in #(
   4109   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4110 /* end confdefs.h.  */
   4111 
   4112 int
   4113 main (void)
   4114 {
   4115 #ifndef __GNUC__
   4116        choke me
   4117 #endif
   4118 
   4119   ;
   4120   return 0;
   4121 }
   4122 _ACEOF
   4123 if ac_fn_c_try_compile "$LINENO"
   4124 then :
   4125   ac_compiler_gnu=yes
   4126 else case e in #(
   4127   e) ac_compiler_gnu=no ;;
   4128 esac
   4129 fi
   4130 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4131 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4132  ;;
   4133 esac
   4134 fi
   4135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4136 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4138 
   4139 if test $ac_compiler_gnu = yes; then
   4140   GCC=yes
   4141 else
   4142   GCC=
   4143 fi
   4144 ac_test_CFLAGS=${CFLAGS+y}
   4145 ac_save_CFLAGS=$CFLAGS
   4146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4147 printf %s "checking whether $CC accepts -g... " >&6; }
   4148 if test ${ac_cv_prog_cc_g+y}
   4149 then :
   4150   printf %s "(cached) " >&6
   4151 else case e in #(
   4152   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4153    ac_c_werror_flag=yes
   4154    ac_cv_prog_cc_g=no
   4155    CFLAGS="-g"
   4156    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4157 /* end confdefs.h.  */
   4158 
   4159 int
   4160 main (void)
   4161 {
   4162 
   4163   ;
   4164   return 0;
   4165 }
   4166 _ACEOF
   4167 if ac_fn_c_try_compile "$LINENO"
   4168 then :
   4169   ac_cv_prog_cc_g=yes
   4170 else case e in #(
   4171   e) CFLAGS=""
   4172       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4173 /* end confdefs.h.  */
   4174 
   4175 int
   4176 main (void)
   4177 {
   4178 
   4179   ;
   4180   return 0;
   4181 }
   4182 _ACEOF
   4183 if ac_fn_c_try_compile "$LINENO"
   4184 then :
   4185 
   4186 else case e in #(
   4187   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4188 	 CFLAGS="-g"
   4189 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4190 /* end confdefs.h.  */
   4191 
   4192 int
   4193 main (void)
   4194 {
   4195 
   4196   ;
   4197   return 0;
   4198 }
   4199 _ACEOF
   4200 if ac_fn_c_try_compile "$LINENO"
   4201 then :
   4202   ac_cv_prog_cc_g=yes
   4203 fi
   4204 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4205 esac
   4206 fi
   4207 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4208 esac
   4209 fi
   4210 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4211    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4212 esac
   4213 fi
   4214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4215 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4216 if test $ac_test_CFLAGS; then
   4217   CFLAGS=$ac_save_CFLAGS
   4218 elif test $ac_cv_prog_cc_g = yes; then
   4219   if test "$GCC" = yes; then
   4220     CFLAGS="-g -O2"
   4221   else
   4222     CFLAGS="-g"
   4223   fi
   4224 else
   4225   if test "$GCC" = yes; then
   4226     CFLAGS="-O2"
   4227   else
   4228     CFLAGS=
   4229   fi
   4230 fi
   4231 ac_prog_cc_stdc=no
   4232 if test x$ac_prog_cc_stdc = xno
   4233 then :
   4234   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4235 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4236 if test ${ac_cv_prog_cc_c11+y}
   4237 then :
   4238   printf %s "(cached) " >&6
   4239 else case e in #(
   4240   e) ac_cv_prog_cc_c11=no
   4241 ac_save_CC=$CC
   4242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4243 /* end confdefs.h.  */
   4244 $ac_c_conftest_c11_program
   4245 _ACEOF
   4246 for ac_arg in '' -std=gnu11
   4247 do
   4248   CC="$ac_save_CC $ac_arg"
   4249   if ac_fn_c_try_compile "$LINENO"
   4250 then :
   4251   ac_cv_prog_cc_c11=$ac_arg
   4252 fi
   4253 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4254   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4255 done
   4256 rm -f conftest.$ac_ext
   4257 CC=$ac_save_CC ;;
   4258 esac
   4259 fi
   4260 
   4261 if test "x$ac_cv_prog_cc_c11" = xno
   4262 then :
   4263   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4264 printf "%s\n" "unsupported" >&6; }
   4265 else case e in #(
   4266   e) if test "x$ac_cv_prog_cc_c11" = x
   4267 then :
   4268   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4269 printf "%s\n" "none needed" >&6; }
   4270 else case e in #(
   4271   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4272 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4273      CC="$CC $ac_cv_prog_cc_c11" ;;
   4274 esac
   4275 fi
   4276   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4277   ac_prog_cc_stdc=c11 ;;
   4278 esac
   4279 fi
   4280 fi
   4281 if test x$ac_prog_cc_stdc = xno
   4282 then :
   4283   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4284 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4285 if test ${ac_cv_prog_cc_c99+y}
   4286 then :
   4287   printf %s "(cached) " >&6
   4288 else case e in #(
   4289   e) ac_cv_prog_cc_c99=no
   4290 ac_save_CC=$CC
   4291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4292 /* end confdefs.h.  */
   4293 $ac_c_conftest_c99_program
   4294 _ACEOF
   4295 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4296 do
   4297   CC="$ac_save_CC $ac_arg"
   4298   if ac_fn_c_try_compile "$LINENO"
   4299 then :
   4300   ac_cv_prog_cc_c99=$ac_arg
   4301 fi
   4302 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4303   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4304 done
   4305 rm -f conftest.$ac_ext
   4306 CC=$ac_save_CC ;;
   4307 esac
   4308 fi
   4309 
   4310 if test "x$ac_cv_prog_cc_c99" = xno
   4311 then :
   4312   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4313 printf "%s\n" "unsupported" >&6; }
   4314 else case e in #(
   4315   e) if test "x$ac_cv_prog_cc_c99" = x
   4316 then :
   4317   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4318 printf "%s\n" "none needed" >&6; }
   4319 else case e in #(
   4320   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4321 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4322      CC="$CC $ac_cv_prog_cc_c99" ;;
   4323 esac
   4324 fi
   4325   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4326   ac_prog_cc_stdc=c99 ;;
   4327 esac
   4328 fi
   4329 fi
   4330 if test x$ac_prog_cc_stdc = xno
   4331 then :
   4332   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4333 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4334 if test ${ac_cv_prog_cc_c89+y}
   4335 then :
   4336   printf %s "(cached) " >&6
   4337 else case e in #(
   4338   e) ac_cv_prog_cc_c89=no
   4339 ac_save_CC=$CC
   4340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4341 /* end confdefs.h.  */
   4342 $ac_c_conftest_c89_program
   4343 _ACEOF
   4344 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4345 do
   4346   CC="$ac_save_CC $ac_arg"
   4347   if ac_fn_c_try_compile "$LINENO"
   4348 then :
   4349   ac_cv_prog_cc_c89=$ac_arg
   4350 fi
   4351 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4352   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4353 done
   4354 rm -f conftest.$ac_ext
   4355 CC=$ac_save_CC ;;
   4356 esac
   4357 fi
   4358 
   4359 if test "x$ac_cv_prog_cc_c89" = xno
   4360 then :
   4361   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4362 printf "%s\n" "unsupported" >&6; }
   4363 else case e in #(
   4364   e) if test "x$ac_cv_prog_cc_c89" = x
   4365 then :
   4366   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4367 printf "%s\n" "none needed" >&6; }
   4368 else case e in #(
   4369   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4370 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4371      CC="$CC $ac_cv_prog_cc_c89" ;;
   4372 esac
   4373 fi
   4374   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4375   ac_prog_cc_stdc=c89 ;;
   4376 esac
   4377 fi
   4378 fi
   4379 
   4380 ac_ext=c
   4381 ac_cpp='$CPP $CPPFLAGS'
   4382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4385 
   4386 
   4387   ac_ext=c
   4388 ac_cpp='$CPP $CPPFLAGS'
   4389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4393 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4394 if test ${am_cv_prog_cc_c_o+y}
   4395 then :
   4396   printf %s "(cached) " >&6
   4397 else case e in #(
   4398   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4399 /* end confdefs.h.  */
   4400 
   4401 int
   4402 main (void)
   4403 {
   4404 
   4405   ;
   4406   return 0;
   4407 }
   4408 _ACEOF
   4409   # Make sure it works both with $CC and with simple cc.
   4410   # Following AC_PROG_CC_C_O, we do the test twice because some
   4411   # compilers refuse to overwrite an existing .o file with -o,
   4412   # though they will create one.
   4413   am_cv_prog_cc_c_o=yes
   4414   for am_i in 1 2; do
   4415     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4416    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4417    ac_status=$?
   4418    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4419    (exit $ac_status); } \
   4420          && test -f conftest2.$ac_objext; then
   4421       : OK
   4422     else
   4423       am_cv_prog_cc_c_o=no
   4424       break
   4425     fi
   4426   done
   4427   rm -f core conftest*
   4428   unset am_i ;;
   4429 esac
   4430 fi
   4431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4432 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4433 if test "$am_cv_prog_cc_c_o" != yes; then
   4434    # Losing compiler, so override with the script.
   4435    # FIXME: It is wrong to rewrite CC.
   4436    # But if we don't then we get into trouble of one sort or another.
   4437    # A longer-term fix would be to have automake use am__CC in this case,
   4438    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4439    CC="$am_aux_dir/compile $CC"
   4440 fi
   4441 ac_ext=c
   4442 ac_cpp='$CPP $CPPFLAGS'
   4443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4446 
   4447 
   4448 depcc="$CC"   am_compiler_list=
   4449 
   4450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4451 printf %s "checking dependency style of $depcc... " >&6; }
   4452 if test ${am_cv_CC_dependencies_compiler_type+y}
   4453 then :
   4454   printf %s "(cached) " >&6
   4455 else case e in #(
   4456   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4457   # We make a subdir and do the tests there.  Otherwise we can end up
   4458   # making bogus files that we don't know about and never remove.  For
   4459   # instance it was reported that on HP-UX the gcc test will end up
   4460   # making a dummy file named 'D' -- because '-MD' means "put the output
   4461   # in D".
   4462   rm -rf conftest.dir
   4463   mkdir conftest.dir
   4464   # Copy depcomp to subdir because otherwise we won't find it if we're
   4465   # using a relative directory.
   4466   cp "$am_depcomp" conftest.dir
   4467   cd conftest.dir
   4468   # We will build objects and dependencies in a subdirectory because
   4469   # it helps to detect inapplicable dependency modes.  For instance
   4470   # both Tru64's cc and ICC support -MD to output dependencies as a
   4471   # side effect of compilation, but ICC will put the dependencies in
   4472   # the current directory while Tru64 will put them in the object
   4473   # directory.
   4474   mkdir sub
   4475 
   4476   am_cv_CC_dependencies_compiler_type=none
   4477   if test "$am_compiler_list" = ""; then
   4478      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4479   fi
   4480   am__universal=false
   4481   case " $depcc " in #(
   4482      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4483      esac
   4484 
   4485   for depmode in $am_compiler_list; do
   4486     # Setup a source with many dependencies, because some compilers
   4487     # like to wrap large dependency lists on column 80 (with \), and
   4488     # we should not choose a depcomp mode which is confused by this.
   4489     #
   4490     # We need to recreate these files for each test, as the compiler may
   4491     # overwrite some of them when testing with obscure command lines.
   4492     # This happens at least with the AIX C compiler.
   4493     : > sub/conftest.c
   4494     for i in 1 2 3 4 5 6; do
   4495       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4496       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4497       # Solaris 10 /bin/sh.
   4498       echo '/* dummy */' > sub/conftst$i.h
   4499     done
   4500     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4501 
   4502     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4503     # mode.  It turns out that the SunPro C++ compiler does not properly
   4504     # handle '-M -o', and we need to detect this.  Also, some Intel
   4505     # versions had trouble with output in subdirs.
   4506     am__obj=sub/conftest.${OBJEXT-o}
   4507     am__minus_obj="-o $am__obj"
   4508     case $depmode in
   4509     gcc)
   4510       # This depmode causes a compiler race in universal mode.
   4511       test "$am__universal" = false || continue
   4512       ;;
   4513     nosideeffect)
   4514       # After this tag, mechanisms are not by side-effect, so they'll
   4515       # only be used when explicitly requested.
   4516       if test "x$enable_dependency_tracking" = xyes; then
   4517 	continue
   4518       else
   4519 	break
   4520       fi
   4521       ;;
   4522     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4523       # This compiler won't grok '-c -o', but also, the minuso test has
   4524       # not run yet.  These depmodes are late enough in the game, and
   4525       # so weak that their functioning should not be impacted.
   4526       am__obj=conftest.${OBJEXT-o}
   4527       am__minus_obj=
   4528       ;;
   4529     none) break ;;
   4530     esac
   4531     if depmode=$depmode \
   4532        source=sub/conftest.c object=$am__obj \
   4533        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4534        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4535          >/dev/null 2>conftest.err &&
   4536        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4537        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4538        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4539        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4540       # icc doesn't choke on unknown options, it will just issue warnings
   4541       # or remarks (even with -Werror).  So we grep stderr for any message
   4542       # that says an option was ignored or not supported.
   4543       # When given -MP, icc 7.0 and 7.1 complain thus:
   4544       #   icc: Command line warning: ignoring option '-M'; no argument required
   4545       # The diagnosis changed in icc 8.0:
   4546       #   icc: Command line remark: option '-MP' not supported
   4547       if (grep 'ignoring option' conftest.err ||
   4548           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4549         am_cv_CC_dependencies_compiler_type=$depmode
   4550         break
   4551       fi
   4552     fi
   4553   done
   4554 
   4555   cd ..
   4556   rm -rf conftest.dir
   4557 else
   4558   am_cv_CC_dependencies_compiler_type=none
   4559 fi
   4560  ;;
   4561 esac
   4562 fi
   4563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4564 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4565 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4566 
   4567  if
   4568   test "x$enable_dependency_tracking" != xno \
   4569   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4570   am__fastdepCC_TRUE=
   4571   am__fastdepCC_FALSE='#'
   4572 else
   4573   am__fastdepCC_TRUE='#'
   4574   am__fastdepCC_FALSE=
   4575 fi
   4576 
   4577 
   4578 
   4579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4580 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4581 if test ${ac_cv_c_undeclared_builtin_options+y}
   4582 then :
   4583   printf %s "(cached) " >&6
   4584 else case e in #(
   4585   e) ac_save_CFLAGS=$CFLAGS
   4586    ac_cv_c_undeclared_builtin_options='cannot detect'
   4587    for ac_arg in '' -fno-builtin; do
   4588      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4589      # This test program should *not* compile successfully.
   4590      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4591 /* end confdefs.h.  */
   4592 
   4593 int
   4594 main (void)
   4595 {
   4596 (void) strchr;
   4597   ;
   4598   return 0;
   4599 }
   4600 _ACEOF
   4601 if ac_fn_c_try_compile "$LINENO"
   4602 then :
   4603 
   4604 else case e in #(
   4605   e) # This test program should compile successfully.
   4606         # No library function is consistently available on
   4607         # freestanding implementations, so test against a dummy
   4608         # declaration.  Include always-available headers on the
   4609         # off chance that they somehow elicit warnings.
   4610         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4611 /* end confdefs.h.  */
   4612 #include <float.h>
   4613 #include <limits.h>
   4614 #include <stdarg.h>
   4615 #include <stddef.h>
   4616 extern void ac_decl (int, char *);
   4617 
   4618 int
   4619 main (void)
   4620 {
   4621 (void) ac_decl (0, (char *) 0);
   4622   (void) ac_decl;
   4623 
   4624   ;
   4625   return 0;
   4626 }
   4627 _ACEOF
   4628 if ac_fn_c_try_compile "$LINENO"
   4629 then :
   4630   if test x"$ac_arg" = x
   4631 then :
   4632   ac_cv_c_undeclared_builtin_options='none needed'
   4633 else case e in #(
   4634   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4635 esac
   4636 fi
   4637           break
   4638 fi
   4639 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4640 esac
   4641 fi
   4642 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4643     done
   4644     CFLAGS=$ac_save_CFLAGS
   4645    ;;
   4646 esac
   4647 fi
   4648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4649 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4650   case $ac_cv_c_undeclared_builtin_options in #(
   4651   'cannot detect') :
   4652     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4653 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4654 as_fn_error $? "cannot make $CC report undeclared builtins
   4655 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4656   'none needed') :
   4657     ac_c_undeclared_builtin_options='' ;; #(
   4658   *) :
   4659     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4660 esac
   4661 
   4662 ac_header= ac_cache=
   4663 for ac_item in $ac_header_c_list
   4664 do
   4665   if test $ac_cache; then
   4666     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4667     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4668       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4669     fi
   4670     ac_header= ac_cache=
   4671   elif test $ac_header; then
   4672     ac_cache=$ac_item
   4673   else
   4674     ac_header=$ac_item
   4675   fi
   4676 done
   4677 
   4678 
   4679 
   4680 
   4681 
   4682 
   4683 
   4684 
   4685 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4686 then :
   4687 
   4688 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4689 
   4690 fi
   4691 
   4692 
   4693 
   4694 
   4695 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4696 if test "x$ac_cv_have_decl___clang__" = xyes
   4697 then :
   4698   CLANGCC="yes"
   4699 else case e in #(
   4700   e) CLANGCC="no" ;;
   4701 esac
   4702 fi
   4703 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4704 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4705 then :
   4706   INTELCC="yes"
   4707 else case e in #(
   4708   e) INTELCC="no" ;;
   4709 esac
   4710 fi
   4711 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4712 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4713 then :
   4714   SUNCC="yes"
   4715 else case e in #(
   4716   e) SUNCC="no" ;;
   4717 esac
   4718 fi
   4719 
   4720 
   4721 
   4722 
   4723 
   4724 
   4725 
   4726 
   4727 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4728 	if test -n "$ac_tool_prefix"; then
   4729   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4730 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4732 printf %s "checking for $ac_word... " >&6; }
   4733 if test ${ac_cv_path_PKG_CONFIG+y}
   4734 then :
   4735   printf %s "(cached) " >&6
   4736 else case e in #(
   4737   e) case $PKG_CONFIG in
   4738   [\\/]* | ?:[\\/]*)
   4739   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4740   ;;
   4741   *)
   4742   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4743 for as_dir in $PATH
   4744 do
   4745   IFS=$as_save_IFS
   4746   case $as_dir in #(((
   4747     '') as_dir=./ ;;
   4748     */) ;;
   4749     *) as_dir=$as_dir/ ;;
   4750   esac
   4751     for ac_exec_ext in '' $ac_executable_extensions; do
   4752   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4753     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4754     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4755     break 2
   4756   fi
   4757 done
   4758   done
   4759 IFS=$as_save_IFS
   4760 
   4761   ;;
   4762 esac ;;
   4763 esac
   4764 fi
   4765 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4766 if test -n "$PKG_CONFIG"; then
   4767   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4768 printf "%s\n" "$PKG_CONFIG" >&6; }
   4769 else
   4770   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4771 printf "%s\n" "no" >&6; }
   4772 fi
   4773 
   4774 
   4775 fi
   4776 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4777   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4778   # Extract the first word of "pkg-config", so it can be a program name with args.
   4779 set dummy pkg-config; ac_word=$2
   4780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4781 printf %s "checking for $ac_word... " >&6; }
   4782 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4783 then :
   4784   printf %s "(cached) " >&6
   4785 else case e in #(
   4786   e) case $ac_pt_PKG_CONFIG in
   4787   [\\/]* | ?:[\\/]*)
   4788   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4789   ;;
   4790   *)
   4791   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4792 for as_dir in $PATH
   4793 do
   4794   IFS=$as_save_IFS
   4795   case $as_dir in #(((
   4796     '') as_dir=./ ;;
   4797     */) ;;
   4798     *) as_dir=$as_dir/ ;;
   4799   esac
   4800     for ac_exec_ext in '' $ac_executable_extensions; do
   4801   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4802     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4803     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4804     break 2
   4805   fi
   4806 done
   4807   done
   4808 IFS=$as_save_IFS
   4809 
   4810   ;;
   4811 esac ;;
   4812 esac
   4813 fi
   4814 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4815 if test -n "$ac_pt_PKG_CONFIG"; then
   4816   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4817 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4818 else
   4819   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4820 printf "%s\n" "no" >&6; }
   4821 fi
   4822 
   4823   if test "x$ac_pt_PKG_CONFIG" = x; then
   4824     PKG_CONFIG=""
   4825   else
   4826     case $cross_compiling:$ac_tool_warned in
   4827 yes:)
   4828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4829 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4830 ac_tool_warned=yes ;;
   4831 esac
   4832     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4833   fi
   4834 else
   4835   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4836 fi
   4837 
   4838 fi
   4839 if test -n "$PKG_CONFIG"; then
   4840 	_pkg_min_version=0.9.0
   4841 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4842 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4843 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4844 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4845 printf "%s\n" "yes" >&6; }
   4846 	else
   4847 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4848 printf "%s\n" "no" >&6; }
   4849 		PKG_CONFIG=""
   4850 	fi
   4851 fi
   4852 
   4853 
   4854   # Make sure we can run config.sub.
   4855 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4856   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4857 
   4858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4859 printf %s "checking build system type... " >&6; }
   4860 if test ${ac_cv_build+y}
   4861 then :
   4862   printf %s "(cached) " >&6
   4863 else case e in #(
   4864   e) ac_build_alias=$build_alias
   4865 test "x$ac_build_alias" = x &&
   4866   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4867 test "x$ac_build_alias" = x &&
   4868   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4869 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4870   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4871  ;;
   4872 esac
   4873 fi
   4874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4875 printf "%s\n" "$ac_cv_build" >&6; }
   4876 case $ac_cv_build in
   4877 *-*-*) ;;
   4878 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4879 esac
   4880 build=$ac_cv_build
   4881 ac_save_IFS=$IFS; IFS='-'
   4882 set x $ac_cv_build
   4883 shift
   4884 build_cpu=$1
   4885 build_vendor=$2
   4886 shift; shift
   4887 # Remember, the first character of IFS is used to create $*,
   4888 # except with old shells:
   4889 build_os=$*
   4890 IFS=$ac_save_IFS
   4891 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4892 
   4893 
   4894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4895 printf %s "checking host system type... " >&6; }
   4896 if test ${ac_cv_host+y}
   4897 then :
   4898   printf %s "(cached) " >&6
   4899 else case e in #(
   4900   e) if test "x$host_alias" = x; then
   4901   ac_cv_host=$ac_cv_build
   4902 else
   4903   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4904     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4905 fi
   4906  ;;
   4907 esac
   4908 fi
   4909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4910 printf "%s\n" "$ac_cv_host" >&6; }
   4911 case $ac_cv_host in
   4912 *-*-*) ;;
   4913 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4914 esac
   4915 host=$ac_cv_host
   4916 ac_save_IFS=$IFS; IFS='-'
   4917 set x $ac_cv_host
   4918 shift
   4919 host_cpu=$1
   4920 host_vendor=$2
   4921 shift; shift
   4922 # Remember, the first character of IFS is used to create $*,
   4923 # except with old shells:
   4924 host_os=$*
   4925 IFS=$ac_save_IFS
   4926 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4927 
   4928 
   4929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4930 printf %s "checking for a sed that does not truncate output... " >&6; }
   4931 if test ${ac_cv_path_SED+y}
   4932 then :
   4933   printf %s "(cached) " >&6
   4934 else case e in #(
   4935   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4936      for ac_i in 1 2 3 4 5 6 7; do
   4937        ac_script="$ac_script$as_nl$ac_script"
   4938      done
   4939      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4940      { ac_script=; unset ac_script;}
   4941      if test -z "$SED"; then
   4942   ac_path_SED_found=false
   4943   # Loop through the user's path and test for each of PROGNAME-LIST
   4944   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4945 for as_dir in $PATH
   4946 do
   4947   IFS=$as_save_IFS
   4948   case $as_dir in #(((
   4949     '') as_dir=./ ;;
   4950     */) ;;
   4951     *) as_dir=$as_dir/ ;;
   4952   esac
   4953     for ac_prog in sed gsed
   4954    do
   4955     for ac_exec_ext in '' $ac_executable_extensions; do
   4956       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4957       as_fn_executable_p "$ac_path_SED" || continue
   4958 # Check for GNU ac_path_SED and select it if it is found.
   4959   # Check for GNU $ac_path_SED
   4960 case `"$ac_path_SED" --version 2>&1` in #(
   4961 *GNU*)
   4962   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4963 #(
   4964 *)
   4965   ac_count=0
   4966   printf %s 0123456789 >"conftest.in"
   4967   while :
   4968   do
   4969     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4970     mv "conftest.tmp" "conftest.in"
   4971     cp "conftest.in" "conftest.nl"
   4972     printf "%s\n" '' >> "conftest.nl"
   4973     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4974     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4975     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4976     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4977       # Best one so far, save it but keep looking for a better one
   4978       ac_cv_path_SED="$ac_path_SED"
   4979       ac_path_SED_max=$ac_count
   4980     fi
   4981     # 10*(2^10) chars as input seems more than enough
   4982     test $ac_count -gt 10 && break
   4983   done
   4984   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4985 esac
   4986 
   4987       $ac_path_SED_found && break 3
   4988     done
   4989   done
   4990   done
   4991 IFS=$as_save_IFS
   4992   if test -z "$ac_cv_path_SED"; then
   4993     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4994   fi
   4995 else
   4996   ac_cv_path_SED=$SED
   4997 fi
   4998  ;;
   4999 esac
   5000 fi
   5001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5002 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5003  SED="$ac_cv_path_SED"
   5004   rm -f conftest.sed
   5005 
   5006 
   5007 
   5008 
   5009 
   5010 
   5011 # Check whether --enable-selective-werror was given.
   5012 if test ${enable_selective_werror+y}
   5013 then :
   5014   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5015 else case e in #(
   5016   e) SELECTIVE_WERROR=yes ;;
   5017 esac
   5018 fi
   5019 
   5020 
   5021 
   5022 
   5023 
   5024 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5025 if test "x$SUNCC" = "xyes"; then
   5026     BASE_CFLAGS="-v"
   5027 else
   5028     BASE_CFLAGS=""
   5029 fi
   5030 
   5031 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5032 
   5033 
   5034 
   5035 
   5036 
   5037 
   5038 
   5039 
   5040 
   5041 
   5042 
   5043 
   5044 
   5045 xorg_testset_save_CFLAGS="$CFLAGS"
   5046 
   5047 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5048 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5049 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5050 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5051 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5052 then :
   5053   printf %s "(cached) " >&6
   5054 else case e in #(
   5055   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5056 /* end confdefs.h.  */
   5057 int i;
   5058 _ACEOF
   5059 if ac_fn_c_try_compile "$LINENO"
   5060 then :
   5061   xorg_cv_cc_flag_unknown_warning_option=yes
   5062 else case e in #(
   5063   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5064 esac
   5065 fi
   5066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5067 esac
   5068 fi
   5069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5070 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5071 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5072 	CFLAGS="$xorg_testset_save_CFLAGS"
   5073 fi
   5074 
   5075 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5076 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5077 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5078 	fi
   5079 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5080 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5081 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5082 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5083 then :
   5084   printf %s "(cached) " >&6
   5085 else case e in #(
   5086   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5087 /* end confdefs.h.  */
   5088 int i;
   5089 _ACEOF
   5090 if ac_fn_c_try_compile "$LINENO"
   5091 then :
   5092   xorg_cv_cc_flag_unused_command_line_argument=yes
   5093 else case e in #(
   5094   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5095 esac
   5096 fi
   5097 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5098 esac
   5099 fi
   5100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5101 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5102 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5103 	CFLAGS="$xorg_testset_save_CFLAGS"
   5104 fi
   5105 
   5106 found="no"
   5107 
   5108 	if test $found = "no" ; then
   5109 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5110 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5111 		fi
   5112 
   5113 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5114 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5115 		fi
   5116 
   5117 		CFLAGS="$CFLAGS -Wall"
   5118 
   5119 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5120 printf %s "checking if $CC supports -Wall... " >&6; }
   5121 		cacheid=xorg_cv_cc_flag__Wall
   5122 		if eval test \${$cacheid+y}
   5123 then :
   5124   printf %s "(cached) " >&6
   5125 else case e in #(
   5126   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5127 /* end confdefs.h.  */
   5128 int i;
   5129 int
   5130 main (void)
   5131 {
   5132 
   5133   ;
   5134   return 0;
   5135 }
   5136 _ACEOF
   5137 if ac_fn_c_try_link "$LINENO"
   5138 then :
   5139   eval $cacheid=yes
   5140 else case e in #(
   5141   e) eval $cacheid=no ;;
   5142 esac
   5143 fi
   5144 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5145     conftest$ac_exeext conftest.$ac_ext ;;
   5146 esac
   5147 fi
   5148 
   5149 
   5150 		CFLAGS="$xorg_testset_save_CFLAGS"
   5151 
   5152 		eval supported=\$$cacheid
   5153 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5154 printf "%s\n" "$supported" >&6; }
   5155 		if test "$supported" = "yes" ; then
   5156 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5157 			found="yes"
   5158 		fi
   5159 	fi
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 
   5170 
   5171 
   5172 
   5173 
   5174 
   5175 xorg_testset_save_CFLAGS="$CFLAGS"
   5176 
   5177 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5178 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5179 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5180 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5181 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5182 then :
   5183   printf %s "(cached) " >&6
   5184 else case e in #(
   5185   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5186 /* end confdefs.h.  */
   5187 int i;
   5188 _ACEOF
   5189 if ac_fn_c_try_compile "$LINENO"
   5190 then :
   5191   xorg_cv_cc_flag_unknown_warning_option=yes
   5192 else case e in #(
   5193   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5194 esac
   5195 fi
   5196 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5197 esac
   5198 fi
   5199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5200 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5201 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5202 	CFLAGS="$xorg_testset_save_CFLAGS"
   5203 fi
   5204 
   5205 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5206 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5207 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5208 	fi
   5209 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5210 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5211 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5212 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5213 then :
   5214   printf %s "(cached) " >&6
   5215 else case e in #(
   5216   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5217 /* end confdefs.h.  */
   5218 int i;
   5219 _ACEOF
   5220 if ac_fn_c_try_compile "$LINENO"
   5221 then :
   5222   xorg_cv_cc_flag_unused_command_line_argument=yes
   5223 else case e in #(
   5224   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5225 esac
   5226 fi
   5227 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5228 esac
   5229 fi
   5230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5231 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5232 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5233 	CFLAGS="$xorg_testset_save_CFLAGS"
   5234 fi
   5235 
   5236 found="no"
   5237 
   5238 	if test $found = "no" ; then
   5239 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5240 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5241 		fi
   5242 
   5243 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5244 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5245 		fi
   5246 
   5247 		CFLAGS="$CFLAGS -Wpointer-arith"
   5248 
   5249 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5250 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5251 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5252 		if eval test \${$cacheid+y}
   5253 then :
   5254   printf %s "(cached) " >&6
   5255 else case e in #(
   5256   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5257 /* end confdefs.h.  */
   5258 int i;
   5259 int
   5260 main (void)
   5261 {
   5262 
   5263   ;
   5264   return 0;
   5265 }
   5266 _ACEOF
   5267 if ac_fn_c_try_link "$LINENO"
   5268 then :
   5269   eval $cacheid=yes
   5270 else case e in #(
   5271   e) eval $cacheid=no ;;
   5272 esac
   5273 fi
   5274 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5275     conftest$ac_exeext conftest.$ac_ext ;;
   5276 esac
   5277 fi
   5278 
   5279 
   5280 		CFLAGS="$xorg_testset_save_CFLAGS"
   5281 
   5282 		eval supported=\$$cacheid
   5283 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5284 printf "%s\n" "$supported" >&6; }
   5285 		if test "$supported" = "yes" ; then
   5286 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5287 			found="yes"
   5288 		fi
   5289 	fi
   5290 
   5291 
   5292 
   5293 
   5294 
   5295 
   5296 
   5297 
   5298 
   5299 
   5300 
   5301 
   5302 
   5303 
   5304 
   5305 xorg_testset_save_CFLAGS="$CFLAGS"
   5306 
   5307 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5308 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5309 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5310 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5311 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5312 then :
   5313   printf %s "(cached) " >&6
   5314 else case e in #(
   5315   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5316 /* end confdefs.h.  */
   5317 int i;
   5318 _ACEOF
   5319 if ac_fn_c_try_compile "$LINENO"
   5320 then :
   5321   xorg_cv_cc_flag_unknown_warning_option=yes
   5322 else case e in #(
   5323   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5324 esac
   5325 fi
   5326 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5327 esac
   5328 fi
   5329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5330 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5331 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5332 	CFLAGS="$xorg_testset_save_CFLAGS"
   5333 fi
   5334 
   5335 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5336 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5337 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5338 	fi
   5339 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5340 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5341 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5342 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5343 then :
   5344   printf %s "(cached) " >&6
   5345 else case e in #(
   5346   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5347 /* end confdefs.h.  */
   5348 int i;
   5349 _ACEOF
   5350 if ac_fn_c_try_compile "$LINENO"
   5351 then :
   5352   xorg_cv_cc_flag_unused_command_line_argument=yes
   5353 else case e in #(
   5354   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5355 esac
   5356 fi
   5357 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5358 esac
   5359 fi
   5360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5361 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5362 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5363 	CFLAGS="$xorg_testset_save_CFLAGS"
   5364 fi
   5365 
   5366 found="no"
   5367 
   5368 	if test $found = "no" ; then
   5369 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5370 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5371 		fi
   5372 
   5373 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5374 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5375 		fi
   5376 
   5377 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5378 
   5379 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5380 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5381 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5382 		if eval test \${$cacheid+y}
   5383 then :
   5384   printf %s "(cached) " >&6
   5385 else case e in #(
   5386   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5387 /* end confdefs.h.  */
   5388 int i;
   5389 int
   5390 main (void)
   5391 {
   5392 
   5393   ;
   5394   return 0;
   5395 }
   5396 _ACEOF
   5397 if ac_fn_c_try_link "$LINENO"
   5398 then :
   5399   eval $cacheid=yes
   5400 else case e in #(
   5401   e) eval $cacheid=no ;;
   5402 esac
   5403 fi
   5404 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5405     conftest$ac_exeext conftest.$ac_ext ;;
   5406 esac
   5407 fi
   5408 
   5409 
   5410 		CFLAGS="$xorg_testset_save_CFLAGS"
   5411 
   5412 		eval supported=\$$cacheid
   5413 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5414 printf "%s\n" "$supported" >&6; }
   5415 		if test "$supported" = "yes" ; then
   5416 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5417 			found="yes"
   5418 		fi
   5419 	fi
   5420 
   5421 
   5422 
   5423 
   5424 
   5425 
   5426 
   5427 
   5428 
   5429 
   5430 
   5431 
   5432 
   5433 
   5434 
   5435 xorg_testset_save_CFLAGS="$CFLAGS"
   5436 
   5437 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5438 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5439 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5440 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5441 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5442 then :
   5443   printf %s "(cached) " >&6
   5444 else case e in #(
   5445   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5446 /* end confdefs.h.  */
   5447 int i;
   5448 _ACEOF
   5449 if ac_fn_c_try_compile "$LINENO"
   5450 then :
   5451   xorg_cv_cc_flag_unknown_warning_option=yes
   5452 else case e in #(
   5453   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5454 esac
   5455 fi
   5456 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5457 esac
   5458 fi
   5459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5460 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5461 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5462 	CFLAGS="$xorg_testset_save_CFLAGS"
   5463 fi
   5464 
   5465 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5466 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5467 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5468 	fi
   5469 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5470 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5471 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5472 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5473 then :
   5474   printf %s "(cached) " >&6
   5475 else case e in #(
   5476   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5477 /* end confdefs.h.  */
   5478 int i;
   5479 _ACEOF
   5480 if ac_fn_c_try_compile "$LINENO"
   5481 then :
   5482   xorg_cv_cc_flag_unused_command_line_argument=yes
   5483 else case e in #(
   5484   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5485 esac
   5486 fi
   5487 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5488 esac
   5489 fi
   5490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5491 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5492 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5493 	CFLAGS="$xorg_testset_save_CFLAGS"
   5494 fi
   5495 
   5496 found="no"
   5497 
   5498 	if test $found = "no" ; then
   5499 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5500 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5501 		fi
   5502 
   5503 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5504 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5505 		fi
   5506 
   5507 		CFLAGS="$CFLAGS -Wformat=2"
   5508 
   5509 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5510 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5511 		cacheid=xorg_cv_cc_flag__Wformat_2
   5512 		if eval test \${$cacheid+y}
   5513 then :
   5514   printf %s "(cached) " >&6
   5515 else case e in #(
   5516   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5517 /* end confdefs.h.  */
   5518 int i;
   5519 int
   5520 main (void)
   5521 {
   5522 
   5523   ;
   5524   return 0;
   5525 }
   5526 _ACEOF
   5527 if ac_fn_c_try_link "$LINENO"
   5528 then :
   5529   eval $cacheid=yes
   5530 else case e in #(
   5531   e) eval $cacheid=no ;;
   5532 esac
   5533 fi
   5534 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5535     conftest$ac_exeext conftest.$ac_ext ;;
   5536 esac
   5537 fi
   5538 
   5539 
   5540 		CFLAGS="$xorg_testset_save_CFLAGS"
   5541 
   5542 		eval supported=\$$cacheid
   5543 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5544 printf "%s\n" "$supported" >&6; }
   5545 		if test "$supported" = "yes" ; then
   5546 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5547 			found="yes"
   5548 		fi
   5549 	fi
   5550 
   5551 	if test $found = "no" ; then
   5552 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5553 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5554 		fi
   5555 
   5556 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5557 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5558 		fi
   5559 
   5560 		CFLAGS="$CFLAGS -Wformat"
   5561 
   5562 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5563 printf %s "checking if $CC supports -Wformat... " >&6; }
   5564 		cacheid=xorg_cv_cc_flag__Wformat
   5565 		if eval test \${$cacheid+y}
   5566 then :
   5567   printf %s "(cached) " >&6
   5568 else case e in #(
   5569   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5570 /* end confdefs.h.  */
   5571 int i;
   5572 int
   5573 main (void)
   5574 {
   5575 
   5576   ;
   5577   return 0;
   5578 }
   5579 _ACEOF
   5580 if ac_fn_c_try_link "$LINENO"
   5581 then :
   5582   eval $cacheid=yes
   5583 else case e in #(
   5584   e) eval $cacheid=no ;;
   5585 esac
   5586 fi
   5587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5588     conftest$ac_exeext conftest.$ac_ext ;;
   5589 esac
   5590 fi
   5591 
   5592 
   5593 		CFLAGS="$xorg_testset_save_CFLAGS"
   5594 
   5595 		eval supported=\$$cacheid
   5596 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5597 printf "%s\n" "$supported" >&6; }
   5598 		if test "$supported" = "yes" ; then
   5599 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5600 			found="yes"
   5601 		fi
   5602 	fi
   5603 
   5604 
   5605 
   5606 
   5607 
   5608 
   5609 
   5610 
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 xorg_testset_save_CFLAGS="$CFLAGS"
   5621 
   5622 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5623 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5624 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5625 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5626 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5627 then :
   5628   printf %s "(cached) " >&6
   5629 else case e in #(
   5630   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5631 /* end confdefs.h.  */
   5632 int i;
   5633 _ACEOF
   5634 if ac_fn_c_try_compile "$LINENO"
   5635 then :
   5636   xorg_cv_cc_flag_unknown_warning_option=yes
   5637 else case e in #(
   5638   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5639 esac
   5640 fi
   5641 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5642 esac
   5643 fi
   5644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5645 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5646 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5647 	CFLAGS="$xorg_testset_save_CFLAGS"
   5648 fi
   5649 
   5650 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5651 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5652 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5653 	fi
   5654 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5655 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5656 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5657 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5658 then :
   5659   printf %s "(cached) " >&6
   5660 else case e in #(
   5661   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5662 /* end confdefs.h.  */
   5663 int i;
   5664 _ACEOF
   5665 if ac_fn_c_try_compile "$LINENO"
   5666 then :
   5667   xorg_cv_cc_flag_unused_command_line_argument=yes
   5668 else case e in #(
   5669   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5670 esac
   5671 fi
   5672 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5673 esac
   5674 fi
   5675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5676 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5677 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5678 	CFLAGS="$xorg_testset_save_CFLAGS"
   5679 fi
   5680 
   5681 found="no"
   5682 
   5683 	if test $found = "no" ; then
   5684 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5685 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5686 		fi
   5687 
   5688 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5689 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5690 		fi
   5691 
   5692 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5693 
   5694 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5695 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5696 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5697 		if eval test \${$cacheid+y}
   5698 then :
   5699   printf %s "(cached) " >&6
   5700 else case e in #(
   5701   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5702 /* end confdefs.h.  */
   5703 int i;
   5704 int
   5705 main (void)
   5706 {
   5707 
   5708   ;
   5709   return 0;
   5710 }
   5711 _ACEOF
   5712 if ac_fn_c_try_link "$LINENO"
   5713 then :
   5714   eval $cacheid=yes
   5715 else case e in #(
   5716   e) eval $cacheid=no ;;
   5717 esac
   5718 fi
   5719 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5720     conftest$ac_exeext conftest.$ac_ext ;;
   5721 esac
   5722 fi
   5723 
   5724 
   5725 		CFLAGS="$xorg_testset_save_CFLAGS"
   5726 
   5727 		eval supported=\$$cacheid
   5728 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5729 printf "%s\n" "$supported" >&6; }
   5730 		if test "$supported" = "yes" ; then
   5731 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5732 			found="yes"
   5733 		fi
   5734 	fi
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 xorg_testset_save_CFLAGS="$CFLAGS"
   5751 
   5752 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5753 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5754 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5755 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5756 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5757 then :
   5758   printf %s "(cached) " >&6
   5759 else case e in #(
   5760   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5761 /* end confdefs.h.  */
   5762 int i;
   5763 _ACEOF
   5764 if ac_fn_c_try_compile "$LINENO"
   5765 then :
   5766   xorg_cv_cc_flag_unknown_warning_option=yes
   5767 else case e in #(
   5768   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5769 esac
   5770 fi
   5771 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5772 esac
   5773 fi
   5774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5775 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5776 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5777 	CFLAGS="$xorg_testset_save_CFLAGS"
   5778 fi
   5779 
   5780 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5781 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5782 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5783 	fi
   5784 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5785 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5786 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5787 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5788 then :
   5789   printf %s "(cached) " >&6
   5790 else case e in #(
   5791   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5792 /* end confdefs.h.  */
   5793 int i;
   5794 _ACEOF
   5795 if ac_fn_c_try_compile "$LINENO"
   5796 then :
   5797   xorg_cv_cc_flag_unused_command_line_argument=yes
   5798 else case e in #(
   5799   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5800 esac
   5801 fi
   5802 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5803 esac
   5804 fi
   5805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5806 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5807 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5808 	CFLAGS="$xorg_testset_save_CFLAGS"
   5809 fi
   5810 
   5811 found="no"
   5812 
   5813 	if test $found = "no" ; then
   5814 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5815 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5816 		fi
   5817 
   5818 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5819 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5820 		fi
   5821 
   5822 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5823 
   5824 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5825 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5826 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5827 		if eval test \${$cacheid+y}
   5828 then :
   5829   printf %s "(cached) " >&6
   5830 else case e in #(
   5831   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5832 /* end confdefs.h.  */
   5833 int i;
   5834 int
   5835 main (void)
   5836 {
   5837 
   5838   ;
   5839   return 0;
   5840 }
   5841 _ACEOF
   5842 if ac_fn_c_try_link "$LINENO"
   5843 then :
   5844   eval $cacheid=yes
   5845 else case e in #(
   5846   e) eval $cacheid=no ;;
   5847 esac
   5848 fi
   5849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5850     conftest$ac_exeext conftest.$ac_ext ;;
   5851 esac
   5852 fi
   5853 
   5854 
   5855 		CFLAGS="$xorg_testset_save_CFLAGS"
   5856 
   5857 		eval supported=\$$cacheid
   5858 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5859 printf "%s\n" "$supported" >&6; }
   5860 		if test "$supported" = "yes" ; then
   5861 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5862 			found="yes"
   5863 		fi
   5864 	fi
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 
   5871 
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 xorg_testset_save_CFLAGS="$CFLAGS"
   5881 
   5882 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5883 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5884 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5885 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5886 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5887 then :
   5888   printf %s "(cached) " >&6
   5889 else case e in #(
   5890   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5891 /* end confdefs.h.  */
   5892 int i;
   5893 _ACEOF
   5894 if ac_fn_c_try_compile "$LINENO"
   5895 then :
   5896   xorg_cv_cc_flag_unknown_warning_option=yes
   5897 else case e in #(
   5898   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5899 esac
   5900 fi
   5901 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5902 esac
   5903 fi
   5904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5905 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5906 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5907 	CFLAGS="$xorg_testset_save_CFLAGS"
   5908 fi
   5909 
   5910 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5911 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5912 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5913 	fi
   5914 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5915 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5916 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5917 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5918 then :
   5919   printf %s "(cached) " >&6
   5920 else case e in #(
   5921   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5922 /* end confdefs.h.  */
   5923 int i;
   5924 _ACEOF
   5925 if ac_fn_c_try_compile "$LINENO"
   5926 then :
   5927   xorg_cv_cc_flag_unused_command_line_argument=yes
   5928 else case e in #(
   5929   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5930 esac
   5931 fi
   5932 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5933 esac
   5934 fi
   5935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5936 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5937 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5938 	CFLAGS="$xorg_testset_save_CFLAGS"
   5939 fi
   5940 
   5941 found="no"
   5942 
   5943 	if test $found = "no" ; then
   5944 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5945 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5946 		fi
   5947 
   5948 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5949 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5950 		fi
   5951 
   5952 		CFLAGS="$CFLAGS -Wnested-externs"
   5953 
   5954 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5955 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5956 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5957 		if eval test \${$cacheid+y}
   5958 then :
   5959   printf %s "(cached) " >&6
   5960 else case e in #(
   5961   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5962 /* end confdefs.h.  */
   5963 int i;
   5964 int
   5965 main (void)
   5966 {
   5967 
   5968   ;
   5969   return 0;
   5970 }
   5971 _ACEOF
   5972 if ac_fn_c_try_link "$LINENO"
   5973 then :
   5974   eval $cacheid=yes
   5975 else case e in #(
   5976   e) eval $cacheid=no ;;
   5977 esac
   5978 fi
   5979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5980     conftest$ac_exeext conftest.$ac_ext ;;
   5981 esac
   5982 fi
   5983 
   5984 
   5985 		CFLAGS="$xorg_testset_save_CFLAGS"
   5986 
   5987 		eval supported=\$$cacheid
   5988 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5989 printf "%s\n" "$supported" >&6; }
   5990 		if test "$supported" = "yes" ; then
   5991 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5992 			found="yes"
   5993 		fi
   5994 	fi
   5995 
   5996 
   5997 
   5998 
   5999 
   6000 
   6001 
   6002 
   6003 
   6004 
   6005 
   6006 
   6007 
   6008 
   6009 
   6010 xorg_testset_save_CFLAGS="$CFLAGS"
   6011 
   6012 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6013 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6014 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6015 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6016 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6017 then :
   6018   printf %s "(cached) " >&6
   6019 else case e in #(
   6020   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6021 /* end confdefs.h.  */
   6022 int i;
   6023 _ACEOF
   6024 if ac_fn_c_try_compile "$LINENO"
   6025 then :
   6026   xorg_cv_cc_flag_unknown_warning_option=yes
   6027 else case e in #(
   6028   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6029 esac
   6030 fi
   6031 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6032 esac
   6033 fi
   6034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6035 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6036 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6037 	CFLAGS="$xorg_testset_save_CFLAGS"
   6038 fi
   6039 
   6040 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6041 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6042 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6043 	fi
   6044 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6045 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6046 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6047 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6048 then :
   6049   printf %s "(cached) " >&6
   6050 else case e in #(
   6051   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6052 /* end confdefs.h.  */
   6053 int i;
   6054 _ACEOF
   6055 if ac_fn_c_try_compile "$LINENO"
   6056 then :
   6057   xorg_cv_cc_flag_unused_command_line_argument=yes
   6058 else case e in #(
   6059   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6060 esac
   6061 fi
   6062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6063 esac
   6064 fi
   6065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6066 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6067 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6068 	CFLAGS="$xorg_testset_save_CFLAGS"
   6069 fi
   6070 
   6071 found="no"
   6072 
   6073 	if test $found = "no" ; then
   6074 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6075 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6076 		fi
   6077 
   6078 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6079 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6080 		fi
   6081 
   6082 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6083 
   6084 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6085 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6086 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6087 		if eval test \${$cacheid+y}
   6088 then :
   6089   printf %s "(cached) " >&6
   6090 else case e in #(
   6091   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6092 /* end confdefs.h.  */
   6093 int i;
   6094 int
   6095 main (void)
   6096 {
   6097 
   6098   ;
   6099   return 0;
   6100 }
   6101 _ACEOF
   6102 if ac_fn_c_try_link "$LINENO"
   6103 then :
   6104   eval $cacheid=yes
   6105 else case e in #(
   6106   e) eval $cacheid=no ;;
   6107 esac
   6108 fi
   6109 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6110     conftest$ac_exeext conftest.$ac_ext ;;
   6111 esac
   6112 fi
   6113 
   6114 
   6115 		CFLAGS="$xorg_testset_save_CFLAGS"
   6116 
   6117 		eval supported=\$$cacheid
   6118 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6119 printf "%s\n" "$supported" >&6; }
   6120 		if test "$supported" = "yes" ; then
   6121 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6122 			found="yes"
   6123 		fi
   6124 	fi
   6125 
   6126 
   6127 
   6128 
   6129 
   6130 
   6131 
   6132 
   6133 
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 
   6140 xorg_testset_save_CFLAGS="$CFLAGS"
   6141 
   6142 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6143 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6144 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6145 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6146 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6147 then :
   6148   printf %s "(cached) " >&6
   6149 else case e in #(
   6150   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6151 /* end confdefs.h.  */
   6152 int i;
   6153 _ACEOF
   6154 if ac_fn_c_try_compile "$LINENO"
   6155 then :
   6156   xorg_cv_cc_flag_unknown_warning_option=yes
   6157 else case e in #(
   6158   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6159 esac
   6160 fi
   6161 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6162 esac
   6163 fi
   6164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6165 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6166 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6167 	CFLAGS="$xorg_testset_save_CFLAGS"
   6168 fi
   6169 
   6170 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6171 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6172 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6173 	fi
   6174 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6175 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6176 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6177 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6178 then :
   6179   printf %s "(cached) " >&6
   6180 else case e in #(
   6181   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6182 /* end confdefs.h.  */
   6183 int i;
   6184 _ACEOF
   6185 if ac_fn_c_try_compile "$LINENO"
   6186 then :
   6187   xorg_cv_cc_flag_unused_command_line_argument=yes
   6188 else case e in #(
   6189   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6190 esac
   6191 fi
   6192 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6193 esac
   6194 fi
   6195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6196 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6197 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6198 	CFLAGS="$xorg_testset_save_CFLAGS"
   6199 fi
   6200 
   6201 found="no"
   6202 
   6203 	if test $found = "no" ; then
   6204 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6205 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6206 		fi
   6207 
   6208 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6209 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6210 		fi
   6211 
   6212 		CFLAGS="$CFLAGS -Wold-style-definition"
   6213 
   6214 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6215 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6216 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6217 		if eval test \${$cacheid+y}
   6218 then :
   6219   printf %s "(cached) " >&6
   6220 else case e in #(
   6221   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6222 /* end confdefs.h.  */
   6223 int i;
   6224 int
   6225 main (void)
   6226 {
   6227 
   6228   ;
   6229   return 0;
   6230 }
   6231 _ACEOF
   6232 if ac_fn_c_try_link "$LINENO"
   6233 then :
   6234   eval $cacheid=yes
   6235 else case e in #(
   6236   e) eval $cacheid=no ;;
   6237 esac
   6238 fi
   6239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6240     conftest$ac_exeext conftest.$ac_ext ;;
   6241 esac
   6242 fi
   6243 
   6244 
   6245 		CFLAGS="$xorg_testset_save_CFLAGS"
   6246 
   6247 		eval supported=\$$cacheid
   6248 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6249 printf "%s\n" "$supported" >&6; }
   6250 		if test "$supported" = "yes" ; then
   6251 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6252 			found="yes"
   6253 		fi
   6254 	fi
   6255 
   6256 	if test $found = "no" ; then
   6257 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6258 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6259 		fi
   6260 
   6261 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6262 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6263 		fi
   6264 
   6265 		CFLAGS="$CFLAGS -fd"
   6266 
   6267 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6268 printf %s "checking if $CC supports -fd... " >&6; }
   6269 		cacheid=xorg_cv_cc_flag__fd
   6270 		if eval test \${$cacheid+y}
   6271 then :
   6272   printf %s "(cached) " >&6
   6273 else case e in #(
   6274   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6275 /* end confdefs.h.  */
   6276 int i;
   6277 int
   6278 main (void)
   6279 {
   6280 
   6281   ;
   6282   return 0;
   6283 }
   6284 _ACEOF
   6285 if ac_fn_c_try_link "$LINENO"
   6286 then :
   6287   eval $cacheid=yes
   6288 else case e in #(
   6289   e) eval $cacheid=no ;;
   6290 esac
   6291 fi
   6292 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6293     conftest$ac_exeext conftest.$ac_ext ;;
   6294 esac
   6295 fi
   6296 
   6297 
   6298 		CFLAGS="$xorg_testset_save_CFLAGS"
   6299 
   6300 		eval supported=\$$cacheid
   6301 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6302 printf "%s\n" "$supported" >&6; }
   6303 		if test "$supported" = "yes" ; then
   6304 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6305 			found="yes"
   6306 		fi
   6307 	fi
   6308 
   6309 
   6310 
   6311 
   6312 
   6313 # This chunk adds additional warnings that could catch undesired effects.
   6314 
   6315 
   6316 
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 xorg_testset_save_CFLAGS="$CFLAGS"
   6328 
   6329 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6330 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6331 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6332 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6333 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6334 then :
   6335   printf %s "(cached) " >&6
   6336 else case e in #(
   6337   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6338 /* end confdefs.h.  */
   6339 int i;
   6340 _ACEOF
   6341 if ac_fn_c_try_compile "$LINENO"
   6342 then :
   6343   xorg_cv_cc_flag_unknown_warning_option=yes
   6344 else case e in #(
   6345   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6346 esac
   6347 fi
   6348 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6349 esac
   6350 fi
   6351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6352 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6353 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6354 	CFLAGS="$xorg_testset_save_CFLAGS"
   6355 fi
   6356 
   6357 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6358 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6359 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6360 	fi
   6361 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6362 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6363 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6364 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6365 then :
   6366   printf %s "(cached) " >&6
   6367 else case e in #(
   6368   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6369 /* end confdefs.h.  */
   6370 int i;
   6371 _ACEOF
   6372 if ac_fn_c_try_compile "$LINENO"
   6373 then :
   6374   xorg_cv_cc_flag_unused_command_line_argument=yes
   6375 else case e in #(
   6376   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6377 esac
   6378 fi
   6379 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6380 esac
   6381 fi
   6382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6383 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6384 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6385 	CFLAGS="$xorg_testset_save_CFLAGS"
   6386 fi
   6387 
   6388 found="no"
   6389 
   6390 	if test $found = "no" ; then
   6391 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6392 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6393 		fi
   6394 
   6395 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6396 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6397 		fi
   6398 
   6399 		CFLAGS="$CFLAGS -Wunused"
   6400 
   6401 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6402 printf %s "checking if $CC supports -Wunused... " >&6; }
   6403 		cacheid=xorg_cv_cc_flag__Wunused
   6404 		if eval test \${$cacheid+y}
   6405 then :
   6406   printf %s "(cached) " >&6
   6407 else case e in #(
   6408   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6409 /* end confdefs.h.  */
   6410 int i;
   6411 int
   6412 main (void)
   6413 {
   6414 
   6415   ;
   6416   return 0;
   6417 }
   6418 _ACEOF
   6419 if ac_fn_c_try_link "$LINENO"
   6420 then :
   6421   eval $cacheid=yes
   6422 else case e in #(
   6423   e) eval $cacheid=no ;;
   6424 esac
   6425 fi
   6426 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6427     conftest$ac_exeext conftest.$ac_ext ;;
   6428 esac
   6429 fi
   6430 
   6431 
   6432 		CFLAGS="$xorg_testset_save_CFLAGS"
   6433 
   6434 		eval supported=\$$cacheid
   6435 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6436 printf "%s\n" "$supported" >&6; }
   6437 		if test "$supported" = "yes" ; then
   6438 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6439 			found="yes"
   6440 		fi
   6441 	fi
   6442 
   6443 
   6444 
   6445 
   6446 
   6447 
   6448 
   6449 
   6450 
   6451 
   6452 
   6453 
   6454 
   6455 
   6456 
   6457 xorg_testset_save_CFLAGS="$CFLAGS"
   6458 
   6459 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6460 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6461 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6462 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6463 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6464 then :
   6465   printf %s "(cached) " >&6
   6466 else case e in #(
   6467   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6468 /* end confdefs.h.  */
   6469 int i;
   6470 _ACEOF
   6471 if ac_fn_c_try_compile "$LINENO"
   6472 then :
   6473   xorg_cv_cc_flag_unknown_warning_option=yes
   6474 else case e in #(
   6475   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6476 esac
   6477 fi
   6478 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6479 esac
   6480 fi
   6481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6482 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6483 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6484 	CFLAGS="$xorg_testset_save_CFLAGS"
   6485 fi
   6486 
   6487 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6488 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6489 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6490 	fi
   6491 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6492 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6493 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6494 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6495 then :
   6496   printf %s "(cached) " >&6
   6497 else case e in #(
   6498   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6499 /* end confdefs.h.  */
   6500 int i;
   6501 _ACEOF
   6502 if ac_fn_c_try_compile "$LINENO"
   6503 then :
   6504   xorg_cv_cc_flag_unused_command_line_argument=yes
   6505 else case e in #(
   6506   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6507 esac
   6508 fi
   6509 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6510 esac
   6511 fi
   6512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6513 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6514 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6515 	CFLAGS="$xorg_testset_save_CFLAGS"
   6516 fi
   6517 
   6518 found="no"
   6519 
   6520 	if test $found = "no" ; then
   6521 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6522 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6523 		fi
   6524 
   6525 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6526 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6527 		fi
   6528 
   6529 		CFLAGS="$CFLAGS -Wuninitialized"
   6530 
   6531 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6532 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6533 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6534 		if eval test \${$cacheid+y}
   6535 then :
   6536   printf %s "(cached) " >&6
   6537 else case e in #(
   6538   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6539 /* end confdefs.h.  */
   6540 int i;
   6541 int
   6542 main (void)
   6543 {
   6544 
   6545   ;
   6546   return 0;
   6547 }
   6548 _ACEOF
   6549 if ac_fn_c_try_link "$LINENO"
   6550 then :
   6551   eval $cacheid=yes
   6552 else case e in #(
   6553   e) eval $cacheid=no ;;
   6554 esac
   6555 fi
   6556 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6557     conftest$ac_exeext conftest.$ac_ext ;;
   6558 esac
   6559 fi
   6560 
   6561 
   6562 		CFLAGS="$xorg_testset_save_CFLAGS"
   6563 
   6564 		eval supported=\$$cacheid
   6565 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6566 printf "%s\n" "$supported" >&6; }
   6567 		if test "$supported" = "yes" ; then
   6568 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6569 			found="yes"
   6570 		fi
   6571 	fi
   6572 
   6573 
   6574 
   6575 
   6576 
   6577 
   6578 
   6579 
   6580 
   6581 
   6582 
   6583 
   6584 
   6585 
   6586 
   6587 xorg_testset_save_CFLAGS="$CFLAGS"
   6588 
   6589 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6590 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6591 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6592 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6593 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6594 then :
   6595   printf %s "(cached) " >&6
   6596 else case e in #(
   6597   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6598 /* end confdefs.h.  */
   6599 int i;
   6600 _ACEOF
   6601 if ac_fn_c_try_compile "$LINENO"
   6602 then :
   6603   xorg_cv_cc_flag_unknown_warning_option=yes
   6604 else case e in #(
   6605   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6606 esac
   6607 fi
   6608 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6609 esac
   6610 fi
   6611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6612 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6613 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6614 	CFLAGS="$xorg_testset_save_CFLAGS"
   6615 fi
   6616 
   6617 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6618 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6619 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6620 	fi
   6621 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6622 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6623 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6624 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6625 then :
   6626   printf %s "(cached) " >&6
   6627 else case e in #(
   6628   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6629 /* end confdefs.h.  */
   6630 int i;
   6631 _ACEOF
   6632 if ac_fn_c_try_compile "$LINENO"
   6633 then :
   6634   xorg_cv_cc_flag_unused_command_line_argument=yes
   6635 else case e in #(
   6636   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6637 esac
   6638 fi
   6639 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6640 esac
   6641 fi
   6642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6643 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6644 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6645 	CFLAGS="$xorg_testset_save_CFLAGS"
   6646 fi
   6647 
   6648 found="no"
   6649 
   6650 	if test $found = "no" ; then
   6651 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6652 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6653 		fi
   6654 
   6655 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6656 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6657 		fi
   6658 
   6659 		CFLAGS="$CFLAGS -Wshadow"
   6660 
   6661 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6662 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6663 		cacheid=xorg_cv_cc_flag__Wshadow
   6664 		if eval test \${$cacheid+y}
   6665 then :
   6666   printf %s "(cached) " >&6
   6667 else case e in #(
   6668   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6669 /* end confdefs.h.  */
   6670 int i;
   6671 int
   6672 main (void)
   6673 {
   6674 
   6675   ;
   6676   return 0;
   6677 }
   6678 _ACEOF
   6679 if ac_fn_c_try_link "$LINENO"
   6680 then :
   6681   eval $cacheid=yes
   6682 else case e in #(
   6683   e) eval $cacheid=no ;;
   6684 esac
   6685 fi
   6686 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6687     conftest$ac_exeext conftest.$ac_ext ;;
   6688 esac
   6689 fi
   6690 
   6691 
   6692 		CFLAGS="$xorg_testset_save_CFLAGS"
   6693 
   6694 		eval supported=\$$cacheid
   6695 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6696 printf "%s\n" "$supported" >&6; }
   6697 		if test "$supported" = "yes" ; then
   6698 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6699 			found="yes"
   6700 		fi
   6701 	fi
   6702 
   6703 
   6704 
   6705 
   6706 
   6707 
   6708 
   6709 
   6710 
   6711 
   6712 
   6713 
   6714 
   6715 
   6716 
   6717 xorg_testset_save_CFLAGS="$CFLAGS"
   6718 
   6719 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6720 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6721 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6722 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6723 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6724 then :
   6725   printf %s "(cached) " >&6
   6726 else case e in #(
   6727   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6728 /* end confdefs.h.  */
   6729 int i;
   6730 _ACEOF
   6731 if ac_fn_c_try_compile "$LINENO"
   6732 then :
   6733   xorg_cv_cc_flag_unknown_warning_option=yes
   6734 else case e in #(
   6735   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6736 esac
   6737 fi
   6738 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6739 esac
   6740 fi
   6741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6742 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6743 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6744 	CFLAGS="$xorg_testset_save_CFLAGS"
   6745 fi
   6746 
   6747 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6748 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6749 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6750 	fi
   6751 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6752 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6753 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6754 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6755 then :
   6756   printf %s "(cached) " >&6
   6757 else case e in #(
   6758   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6759 /* end confdefs.h.  */
   6760 int i;
   6761 _ACEOF
   6762 if ac_fn_c_try_compile "$LINENO"
   6763 then :
   6764   xorg_cv_cc_flag_unused_command_line_argument=yes
   6765 else case e in #(
   6766   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6767 esac
   6768 fi
   6769 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6770 esac
   6771 fi
   6772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6773 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6774 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6775 	CFLAGS="$xorg_testset_save_CFLAGS"
   6776 fi
   6777 
   6778 found="no"
   6779 
   6780 	if test $found = "no" ; then
   6781 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6782 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6783 		fi
   6784 
   6785 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6786 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6787 		fi
   6788 
   6789 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6790 
   6791 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6792 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6793 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6794 		if eval test \${$cacheid+y}
   6795 then :
   6796   printf %s "(cached) " >&6
   6797 else case e in #(
   6798   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6799 /* end confdefs.h.  */
   6800 int i;
   6801 int
   6802 main (void)
   6803 {
   6804 
   6805   ;
   6806   return 0;
   6807 }
   6808 _ACEOF
   6809 if ac_fn_c_try_link "$LINENO"
   6810 then :
   6811   eval $cacheid=yes
   6812 else case e in #(
   6813   e) eval $cacheid=no ;;
   6814 esac
   6815 fi
   6816 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6817     conftest$ac_exeext conftest.$ac_ext ;;
   6818 esac
   6819 fi
   6820 
   6821 
   6822 		CFLAGS="$xorg_testset_save_CFLAGS"
   6823 
   6824 		eval supported=\$$cacheid
   6825 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6826 printf "%s\n" "$supported" >&6; }
   6827 		if test "$supported" = "yes" ; then
   6828 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6829 			found="yes"
   6830 		fi
   6831 	fi
   6832 
   6833 
   6834 
   6835 
   6836 
   6837 
   6838 
   6839 
   6840 
   6841 
   6842 
   6843 
   6844 
   6845 
   6846 
   6847 xorg_testset_save_CFLAGS="$CFLAGS"
   6848 
   6849 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6850 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6851 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6852 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6853 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6854 then :
   6855   printf %s "(cached) " >&6
   6856 else case e in #(
   6857   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6858 /* end confdefs.h.  */
   6859 int i;
   6860 _ACEOF
   6861 if ac_fn_c_try_compile "$LINENO"
   6862 then :
   6863   xorg_cv_cc_flag_unknown_warning_option=yes
   6864 else case e in #(
   6865   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6866 esac
   6867 fi
   6868 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6869 esac
   6870 fi
   6871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6872 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6873 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6874 	CFLAGS="$xorg_testset_save_CFLAGS"
   6875 fi
   6876 
   6877 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6878 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6879 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6880 	fi
   6881 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6882 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6883 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6884 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6885 then :
   6886   printf %s "(cached) " >&6
   6887 else case e in #(
   6888   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6889 /* end confdefs.h.  */
   6890 int i;
   6891 _ACEOF
   6892 if ac_fn_c_try_compile "$LINENO"
   6893 then :
   6894   xorg_cv_cc_flag_unused_command_line_argument=yes
   6895 else case e in #(
   6896   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6897 esac
   6898 fi
   6899 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6900 esac
   6901 fi
   6902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6903 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6904 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6905 	CFLAGS="$xorg_testset_save_CFLAGS"
   6906 fi
   6907 
   6908 found="no"
   6909 
   6910 	if test $found = "no" ; then
   6911 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6912 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6913 		fi
   6914 
   6915 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6916 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6917 		fi
   6918 
   6919 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6920 
   6921 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6922 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6923 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6924 		if eval test \${$cacheid+y}
   6925 then :
   6926   printf %s "(cached) " >&6
   6927 else case e in #(
   6928   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6929 /* end confdefs.h.  */
   6930 int i;
   6931 int
   6932 main (void)
   6933 {
   6934 
   6935   ;
   6936   return 0;
   6937 }
   6938 _ACEOF
   6939 if ac_fn_c_try_link "$LINENO"
   6940 then :
   6941   eval $cacheid=yes
   6942 else case e in #(
   6943   e) eval $cacheid=no ;;
   6944 esac
   6945 fi
   6946 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6947     conftest$ac_exeext conftest.$ac_ext ;;
   6948 esac
   6949 fi
   6950 
   6951 
   6952 		CFLAGS="$xorg_testset_save_CFLAGS"
   6953 
   6954 		eval supported=\$$cacheid
   6955 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6956 printf "%s\n" "$supported" >&6; }
   6957 		if test "$supported" = "yes" ; then
   6958 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6959 			found="yes"
   6960 		fi
   6961 	fi
   6962 
   6963 
   6964 
   6965 
   6966 
   6967 
   6968 
   6969 
   6970 
   6971 
   6972 
   6973 
   6974 
   6975 
   6976 
   6977 xorg_testset_save_CFLAGS="$CFLAGS"
   6978 
   6979 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6980 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6981 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6982 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6983 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6984 then :
   6985   printf %s "(cached) " >&6
   6986 else case e in #(
   6987   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6988 /* end confdefs.h.  */
   6989 int i;
   6990 _ACEOF
   6991 if ac_fn_c_try_compile "$LINENO"
   6992 then :
   6993   xorg_cv_cc_flag_unknown_warning_option=yes
   6994 else case e in #(
   6995   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6996 esac
   6997 fi
   6998 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6999 esac
   7000 fi
   7001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7002 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7003 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7004 	CFLAGS="$xorg_testset_save_CFLAGS"
   7005 fi
   7006 
   7007 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7008 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7009 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7010 	fi
   7011 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7012 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7013 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7014 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7015 then :
   7016   printf %s "(cached) " >&6
   7017 else case e in #(
   7018   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7019 /* end confdefs.h.  */
   7020 int i;
   7021 _ACEOF
   7022 if ac_fn_c_try_compile "$LINENO"
   7023 then :
   7024   xorg_cv_cc_flag_unused_command_line_argument=yes
   7025 else case e in #(
   7026   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7027 esac
   7028 fi
   7029 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7030 esac
   7031 fi
   7032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7033 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7034 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7035 	CFLAGS="$xorg_testset_save_CFLAGS"
   7036 fi
   7037 
   7038 found="no"
   7039 
   7040 	if test $found = "no" ; then
   7041 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7042 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7043 		fi
   7044 
   7045 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7046 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7047 		fi
   7048 
   7049 		CFLAGS="$CFLAGS -Wredundant-decls"
   7050 
   7051 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7052 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7053 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7054 		if eval test \${$cacheid+y}
   7055 then :
   7056   printf %s "(cached) " >&6
   7057 else case e in #(
   7058   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7059 /* end confdefs.h.  */
   7060 int i;
   7061 int
   7062 main (void)
   7063 {
   7064 
   7065   ;
   7066   return 0;
   7067 }
   7068 _ACEOF
   7069 if ac_fn_c_try_link "$LINENO"
   7070 then :
   7071   eval $cacheid=yes
   7072 else case e in #(
   7073   e) eval $cacheid=no ;;
   7074 esac
   7075 fi
   7076 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7077     conftest$ac_exeext conftest.$ac_ext ;;
   7078 esac
   7079 fi
   7080 
   7081 
   7082 		CFLAGS="$xorg_testset_save_CFLAGS"
   7083 
   7084 		eval supported=\$$cacheid
   7085 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7086 printf "%s\n" "$supported" >&6; }
   7087 		if test "$supported" = "yes" ; then
   7088 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7089 			found="yes"
   7090 		fi
   7091 	fi
   7092 
   7093 
   7094 
   7095 
   7096 
   7097 
   7098 
   7099 
   7100 
   7101 
   7102 
   7103 
   7104 
   7105 
   7106 
   7107 xorg_testset_save_CFLAGS="$CFLAGS"
   7108 
   7109 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7110 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7111 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7112 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7113 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7114 then :
   7115   printf %s "(cached) " >&6
   7116 else case e in #(
   7117   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7118 /* end confdefs.h.  */
   7119 int i;
   7120 _ACEOF
   7121 if ac_fn_c_try_compile "$LINENO"
   7122 then :
   7123   xorg_cv_cc_flag_unknown_warning_option=yes
   7124 else case e in #(
   7125   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7126 esac
   7127 fi
   7128 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7129 esac
   7130 fi
   7131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7132 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7133 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7134 	CFLAGS="$xorg_testset_save_CFLAGS"
   7135 fi
   7136 
   7137 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7138 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7139 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7140 	fi
   7141 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7142 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7143 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7144 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7145 then :
   7146   printf %s "(cached) " >&6
   7147 else case e in #(
   7148   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7149 /* end confdefs.h.  */
   7150 int i;
   7151 _ACEOF
   7152 if ac_fn_c_try_compile "$LINENO"
   7153 then :
   7154   xorg_cv_cc_flag_unused_command_line_argument=yes
   7155 else case e in #(
   7156   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7157 esac
   7158 fi
   7159 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7160 esac
   7161 fi
   7162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7163 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7164 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7165 	CFLAGS="$xorg_testset_save_CFLAGS"
   7166 fi
   7167 
   7168 found="no"
   7169 
   7170 	if test $found = "no" ; then
   7171 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7172 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7173 		fi
   7174 
   7175 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7176 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7177 		fi
   7178 
   7179 		CFLAGS="$CFLAGS -Wlogical-op"
   7180 
   7181 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7182 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7183 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7184 		if eval test \${$cacheid+y}
   7185 then :
   7186   printf %s "(cached) " >&6
   7187 else case e in #(
   7188   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7189 /* end confdefs.h.  */
   7190 int i;
   7191 int
   7192 main (void)
   7193 {
   7194 
   7195   ;
   7196   return 0;
   7197 }
   7198 _ACEOF
   7199 if ac_fn_c_try_link "$LINENO"
   7200 then :
   7201   eval $cacheid=yes
   7202 else case e in #(
   7203   e) eval $cacheid=no ;;
   7204 esac
   7205 fi
   7206 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7207     conftest$ac_exeext conftest.$ac_ext ;;
   7208 esac
   7209 fi
   7210 
   7211 
   7212 		CFLAGS="$xorg_testset_save_CFLAGS"
   7213 
   7214 		eval supported=\$$cacheid
   7215 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7216 printf "%s\n" "$supported" >&6; }
   7217 		if test "$supported" = "yes" ; then
   7218 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7219 			found="yes"
   7220 		fi
   7221 	fi
   7222 
   7223 
   7224 
   7225 # These are currently disabled because they are noisy.  They will be enabled
   7226 # in the future once the codebase is sufficiently modernized to silence
   7227 # them.  For now, I don't want them to drown out the other warnings.
   7228 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7229 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7230 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7231 
   7232 # Turn some warnings into errors, so we don't accidentally get successful builds
   7233 # when there are problems that should be fixed.
   7234 
   7235 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 
   7244 
   7245 
   7246 
   7247 
   7248 
   7249 xorg_testset_save_CFLAGS="$CFLAGS"
   7250 
   7251 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7252 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7253 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7254 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7255 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7256 then :
   7257   printf %s "(cached) " >&6
   7258 else case e in #(
   7259   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7260 /* end confdefs.h.  */
   7261 int i;
   7262 _ACEOF
   7263 if ac_fn_c_try_compile "$LINENO"
   7264 then :
   7265   xorg_cv_cc_flag_unknown_warning_option=yes
   7266 else case e in #(
   7267   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7268 esac
   7269 fi
   7270 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7271 esac
   7272 fi
   7273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7274 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7275 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7276 	CFLAGS="$xorg_testset_save_CFLAGS"
   7277 fi
   7278 
   7279 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7280 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7281 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7282 	fi
   7283 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7284 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7285 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7286 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7287 then :
   7288   printf %s "(cached) " >&6
   7289 else case e in #(
   7290   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7291 /* end confdefs.h.  */
   7292 int i;
   7293 _ACEOF
   7294 if ac_fn_c_try_compile "$LINENO"
   7295 then :
   7296   xorg_cv_cc_flag_unused_command_line_argument=yes
   7297 else case e in #(
   7298   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7299 esac
   7300 fi
   7301 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7302 esac
   7303 fi
   7304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7305 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7306 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7307 	CFLAGS="$xorg_testset_save_CFLAGS"
   7308 fi
   7309 
   7310 found="no"
   7311 
   7312 	if test $found = "no" ; then
   7313 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7314 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7315 		fi
   7316 
   7317 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7318 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7319 		fi
   7320 
   7321 		CFLAGS="$CFLAGS -Werror=implicit"
   7322 
   7323 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7324 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7325 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7326 		if eval test \${$cacheid+y}
   7327 then :
   7328   printf %s "(cached) " >&6
   7329 else case e in #(
   7330   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7331 /* end confdefs.h.  */
   7332 int i;
   7333 int
   7334 main (void)
   7335 {
   7336 
   7337   ;
   7338   return 0;
   7339 }
   7340 _ACEOF
   7341 if ac_fn_c_try_link "$LINENO"
   7342 then :
   7343   eval $cacheid=yes
   7344 else case e in #(
   7345   e) eval $cacheid=no ;;
   7346 esac
   7347 fi
   7348 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7349     conftest$ac_exeext conftest.$ac_ext ;;
   7350 esac
   7351 fi
   7352 
   7353 
   7354 		CFLAGS="$xorg_testset_save_CFLAGS"
   7355 
   7356 		eval supported=\$$cacheid
   7357 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7358 printf "%s\n" "$supported" >&6; }
   7359 		if test "$supported" = "yes" ; then
   7360 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7361 			found="yes"
   7362 		fi
   7363 	fi
   7364 
   7365 	if test $found = "no" ; then
   7366 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7367 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7368 		fi
   7369 
   7370 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7371 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7372 		fi
   7373 
   7374 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7375 
   7376 		{ 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
   7377 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7378 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7379 		if eval test \${$cacheid+y}
   7380 then :
   7381   printf %s "(cached) " >&6
   7382 else case e in #(
   7383   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7384 /* end confdefs.h.  */
   7385 int i;
   7386 int
   7387 main (void)
   7388 {
   7389 
   7390   ;
   7391   return 0;
   7392 }
   7393 _ACEOF
   7394 if ac_fn_c_try_link "$LINENO"
   7395 then :
   7396   eval $cacheid=yes
   7397 else case e in #(
   7398   e) eval $cacheid=no ;;
   7399 esac
   7400 fi
   7401 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7402     conftest$ac_exeext conftest.$ac_ext ;;
   7403 esac
   7404 fi
   7405 
   7406 
   7407 		CFLAGS="$xorg_testset_save_CFLAGS"
   7408 
   7409 		eval supported=\$$cacheid
   7410 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7411 printf "%s\n" "$supported" >&6; }
   7412 		if test "$supported" = "yes" ; then
   7413 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7414 			found="yes"
   7415 		fi
   7416 	fi
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 
   7423 
   7424 
   7425 
   7426 
   7427 
   7428 
   7429 
   7430 
   7431 
   7432 xorg_testset_save_CFLAGS="$CFLAGS"
   7433 
   7434 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7435 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7436 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7437 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7438 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7439 then :
   7440   printf %s "(cached) " >&6
   7441 else case e in #(
   7442   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7443 /* end confdefs.h.  */
   7444 int i;
   7445 _ACEOF
   7446 if ac_fn_c_try_compile "$LINENO"
   7447 then :
   7448   xorg_cv_cc_flag_unknown_warning_option=yes
   7449 else case e in #(
   7450   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7451 esac
   7452 fi
   7453 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7454 esac
   7455 fi
   7456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7457 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7458 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7459 	CFLAGS="$xorg_testset_save_CFLAGS"
   7460 fi
   7461 
   7462 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7463 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7464 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7465 	fi
   7466 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7467 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7468 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7469 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7470 then :
   7471   printf %s "(cached) " >&6
   7472 else case e in #(
   7473   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7474 /* end confdefs.h.  */
   7475 int i;
   7476 _ACEOF
   7477 if ac_fn_c_try_compile "$LINENO"
   7478 then :
   7479   xorg_cv_cc_flag_unused_command_line_argument=yes
   7480 else case e in #(
   7481   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7482 esac
   7483 fi
   7484 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7485 esac
   7486 fi
   7487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7488 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7489 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7490 	CFLAGS="$xorg_testset_save_CFLAGS"
   7491 fi
   7492 
   7493 found="no"
   7494 
   7495 	if test $found = "no" ; then
   7496 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7497 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7498 		fi
   7499 
   7500 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7501 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7502 		fi
   7503 
   7504 		CFLAGS="$CFLAGS -Werror=nonnull"
   7505 
   7506 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7507 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7508 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7509 		if eval test \${$cacheid+y}
   7510 then :
   7511   printf %s "(cached) " >&6
   7512 else case e in #(
   7513   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7514 /* end confdefs.h.  */
   7515 int i;
   7516 int
   7517 main (void)
   7518 {
   7519 
   7520   ;
   7521   return 0;
   7522 }
   7523 _ACEOF
   7524 if ac_fn_c_try_link "$LINENO"
   7525 then :
   7526   eval $cacheid=yes
   7527 else case e in #(
   7528   e) eval $cacheid=no ;;
   7529 esac
   7530 fi
   7531 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7532     conftest$ac_exeext conftest.$ac_ext ;;
   7533 esac
   7534 fi
   7535 
   7536 
   7537 		CFLAGS="$xorg_testset_save_CFLAGS"
   7538 
   7539 		eval supported=\$$cacheid
   7540 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7541 printf "%s\n" "$supported" >&6; }
   7542 		if test "$supported" = "yes" ; then
   7543 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7544 			found="yes"
   7545 		fi
   7546 	fi
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 
   7553 
   7554 
   7555 
   7556 
   7557 
   7558 
   7559 
   7560 
   7561 
   7562 xorg_testset_save_CFLAGS="$CFLAGS"
   7563 
   7564 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7565 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7566 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7567 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7568 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7569 then :
   7570   printf %s "(cached) " >&6
   7571 else case e in #(
   7572   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7573 /* end confdefs.h.  */
   7574 int i;
   7575 _ACEOF
   7576 if ac_fn_c_try_compile "$LINENO"
   7577 then :
   7578   xorg_cv_cc_flag_unknown_warning_option=yes
   7579 else case e in #(
   7580   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7581 esac
   7582 fi
   7583 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7584 esac
   7585 fi
   7586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7587 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7588 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7589 	CFLAGS="$xorg_testset_save_CFLAGS"
   7590 fi
   7591 
   7592 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7593 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7594 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7595 	fi
   7596 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7597 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7598 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7599 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7600 then :
   7601   printf %s "(cached) " >&6
   7602 else case e in #(
   7603   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7604 /* end confdefs.h.  */
   7605 int i;
   7606 _ACEOF
   7607 if ac_fn_c_try_compile "$LINENO"
   7608 then :
   7609   xorg_cv_cc_flag_unused_command_line_argument=yes
   7610 else case e in #(
   7611   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7612 esac
   7613 fi
   7614 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7615 esac
   7616 fi
   7617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7618 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7619 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7620 	CFLAGS="$xorg_testset_save_CFLAGS"
   7621 fi
   7622 
   7623 found="no"
   7624 
   7625 	if test $found = "no" ; then
   7626 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7627 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7628 		fi
   7629 
   7630 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7631 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7632 		fi
   7633 
   7634 		CFLAGS="$CFLAGS -Werror=init-self"
   7635 
   7636 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7637 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7638 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7639 		if eval test \${$cacheid+y}
   7640 then :
   7641   printf %s "(cached) " >&6
   7642 else case e in #(
   7643   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7644 /* end confdefs.h.  */
   7645 int i;
   7646 int
   7647 main (void)
   7648 {
   7649 
   7650   ;
   7651   return 0;
   7652 }
   7653 _ACEOF
   7654 if ac_fn_c_try_link "$LINENO"
   7655 then :
   7656   eval $cacheid=yes
   7657 else case e in #(
   7658   e) eval $cacheid=no ;;
   7659 esac
   7660 fi
   7661 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7662     conftest$ac_exeext conftest.$ac_ext ;;
   7663 esac
   7664 fi
   7665 
   7666 
   7667 		CFLAGS="$xorg_testset_save_CFLAGS"
   7668 
   7669 		eval supported=\$$cacheid
   7670 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7671 printf "%s\n" "$supported" >&6; }
   7672 		if test "$supported" = "yes" ; then
   7673 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7674 			found="yes"
   7675 		fi
   7676 	fi
   7677 
   7678 
   7679 
   7680 
   7681 
   7682 
   7683 
   7684 
   7685 
   7686 
   7687 
   7688 
   7689 
   7690 
   7691 
   7692 xorg_testset_save_CFLAGS="$CFLAGS"
   7693 
   7694 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7695 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7696 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7697 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7698 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7699 then :
   7700   printf %s "(cached) " >&6
   7701 else case e in #(
   7702   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7703 /* end confdefs.h.  */
   7704 int i;
   7705 _ACEOF
   7706 if ac_fn_c_try_compile "$LINENO"
   7707 then :
   7708   xorg_cv_cc_flag_unknown_warning_option=yes
   7709 else case e in #(
   7710   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7711 esac
   7712 fi
   7713 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7714 esac
   7715 fi
   7716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7717 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7718 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7719 	CFLAGS="$xorg_testset_save_CFLAGS"
   7720 fi
   7721 
   7722 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7723 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7724 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7725 	fi
   7726 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7727 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7728 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7729 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7730 then :
   7731   printf %s "(cached) " >&6
   7732 else case e in #(
   7733   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7734 /* end confdefs.h.  */
   7735 int i;
   7736 _ACEOF
   7737 if ac_fn_c_try_compile "$LINENO"
   7738 then :
   7739   xorg_cv_cc_flag_unused_command_line_argument=yes
   7740 else case e in #(
   7741   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7742 esac
   7743 fi
   7744 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7745 esac
   7746 fi
   7747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7748 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7749 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7750 	CFLAGS="$xorg_testset_save_CFLAGS"
   7751 fi
   7752 
   7753 found="no"
   7754 
   7755 	if test $found = "no" ; then
   7756 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7757 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7758 		fi
   7759 
   7760 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7761 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7762 		fi
   7763 
   7764 		CFLAGS="$CFLAGS -Werror=main"
   7765 
   7766 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7767 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7768 		cacheid=xorg_cv_cc_flag__Werror_main
   7769 		if eval test \${$cacheid+y}
   7770 then :
   7771   printf %s "(cached) " >&6
   7772 else case e in #(
   7773   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7774 /* end confdefs.h.  */
   7775 int i;
   7776 int
   7777 main (void)
   7778 {
   7779 
   7780   ;
   7781   return 0;
   7782 }
   7783 _ACEOF
   7784 if ac_fn_c_try_link "$LINENO"
   7785 then :
   7786   eval $cacheid=yes
   7787 else case e in #(
   7788   e) eval $cacheid=no ;;
   7789 esac
   7790 fi
   7791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7792     conftest$ac_exeext conftest.$ac_ext ;;
   7793 esac
   7794 fi
   7795 
   7796 
   7797 		CFLAGS="$xorg_testset_save_CFLAGS"
   7798 
   7799 		eval supported=\$$cacheid
   7800 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7801 printf "%s\n" "$supported" >&6; }
   7802 		if test "$supported" = "yes" ; then
   7803 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7804 			found="yes"
   7805 		fi
   7806 	fi
   7807 
   7808 
   7809 
   7810 
   7811 
   7812 
   7813 
   7814 
   7815 
   7816 
   7817 
   7818 
   7819 
   7820 
   7821 
   7822 xorg_testset_save_CFLAGS="$CFLAGS"
   7823 
   7824 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7825 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7826 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7827 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7828 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7829 then :
   7830   printf %s "(cached) " >&6
   7831 else case e in #(
   7832   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7833 /* end confdefs.h.  */
   7834 int i;
   7835 _ACEOF
   7836 if ac_fn_c_try_compile "$LINENO"
   7837 then :
   7838   xorg_cv_cc_flag_unknown_warning_option=yes
   7839 else case e in #(
   7840   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7841 esac
   7842 fi
   7843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7844 esac
   7845 fi
   7846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7847 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7848 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7849 	CFLAGS="$xorg_testset_save_CFLAGS"
   7850 fi
   7851 
   7852 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7853 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7854 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7855 	fi
   7856 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7857 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7858 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7859 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7860 then :
   7861   printf %s "(cached) " >&6
   7862 else case e in #(
   7863   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7864 /* end confdefs.h.  */
   7865 int i;
   7866 _ACEOF
   7867 if ac_fn_c_try_compile "$LINENO"
   7868 then :
   7869   xorg_cv_cc_flag_unused_command_line_argument=yes
   7870 else case e in #(
   7871   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7872 esac
   7873 fi
   7874 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7875 esac
   7876 fi
   7877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7878 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7879 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7880 	CFLAGS="$xorg_testset_save_CFLAGS"
   7881 fi
   7882 
   7883 found="no"
   7884 
   7885 	if test $found = "no" ; then
   7886 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7887 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7888 		fi
   7889 
   7890 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7891 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7892 		fi
   7893 
   7894 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7895 
   7896 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7897 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7898 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7899 		if eval test \${$cacheid+y}
   7900 then :
   7901   printf %s "(cached) " >&6
   7902 else case e in #(
   7903   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7904 /* end confdefs.h.  */
   7905 int i;
   7906 int
   7907 main (void)
   7908 {
   7909 
   7910   ;
   7911   return 0;
   7912 }
   7913 _ACEOF
   7914 if ac_fn_c_try_link "$LINENO"
   7915 then :
   7916   eval $cacheid=yes
   7917 else case e in #(
   7918   e) eval $cacheid=no ;;
   7919 esac
   7920 fi
   7921 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7922     conftest$ac_exeext conftest.$ac_ext ;;
   7923 esac
   7924 fi
   7925 
   7926 
   7927 		CFLAGS="$xorg_testset_save_CFLAGS"
   7928 
   7929 		eval supported=\$$cacheid
   7930 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7931 printf "%s\n" "$supported" >&6; }
   7932 		if test "$supported" = "yes" ; then
   7933 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7934 			found="yes"
   7935 		fi
   7936 	fi
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943 
   7944 
   7945 
   7946 
   7947 
   7948 
   7949 
   7950 
   7951 
   7952 xorg_testset_save_CFLAGS="$CFLAGS"
   7953 
   7954 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7955 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7956 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7957 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7958 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7959 then :
   7960   printf %s "(cached) " >&6
   7961 else case e in #(
   7962   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7963 /* end confdefs.h.  */
   7964 int i;
   7965 _ACEOF
   7966 if ac_fn_c_try_compile "$LINENO"
   7967 then :
   7968   xorg_cv_cc_flag_unknown_warning_option=yes
   7969 else case e in #(
   7970   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7971 esac
   7972 fi
   7973 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7974 esac
   7975 fi
   7976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7977 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7978 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7979 	CFLAGS="$xorg_testset_save_CFLAGS"
   7980 fi
   7981 
   7982 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7983 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7984 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7985 	fi
   7986 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7987 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7988 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7989 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7990 then :
   7991   printf %s "(cached) " >&6
   7992 else case e in #(
   7993   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7994 /* end confdefs.h.  */
   7995 int i;
   7996 _ACEOF
   7997 if ac_fn_c_try_compile "$LINENO"
   7998 then :
   7999   xorg_cv_cc_flag_unused_command_line_argument=yes
   8000 else case e in #(
   8001   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8002 esac
   8003 fi
   8004 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8005 esac
   8006 fi
   8007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8008 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8009 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8010 	CFLAGS="$xorg_testset_save_CFLAGS"
   8011 fi
   8012 
   8013 found="no"
   8014 
   8015 	if test $found = "no" ; then
   8016 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8017 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8018 		fi
   8019 
   8020 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8021 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8022 		fi
   8023 
   8024 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8025 
   8026 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8027 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8028 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8029 		if eval test \${$cacheid+y}
   8030 then :
   8031   printf %s "(cached) " >&6
   8032 else case e in #(
   8033   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8034 /* end confdefs.h.  */
   8035 int i;
   8036 int
   8037 main (void)
   8038 {
   8039 
   8040   ;
   8041   return 0;
   8042 }
   8043 _ACEOF
   8044 if ac_fn_c_try_link "$LINENO"
   8045 then :
   8046   eval $cacheid=yes
   8047 else case e in #(
   8048   e) eval $cacheid=no ;;
   8049 esac
   8050 fi
   8051 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8052     conftest$ac_exeext conftest.$ac_ext ;;
   8053 esac
   8054 fi
   8055 
   8056 
   8057 		CFLAGS="$xorg_testset_save_CFLAGS"
   8058 
   8059 		eval supported=\$$cacheid
   8060 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8061 printf "%s\n" "$supported" >&6; }
   8062 		if test "$supported" = "yes" ; then
   8063 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8064 			found="yes"
   8065 		fi
   8066 	fi
   8067 
   8068 
   8069 
   8070 
   8071 
   8072 
   8073 
   8074 
   8075 
   8076 
   8077 
   8078 
   8079 
   8080 
   8081 
   8082 xorg_testset_save_CFLAGS="$CFLAGS"
   8083 
   8084 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8085 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8086 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8087 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8088 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8089 then :
   8090   printf %s "(cached) " >&6
   8091 else case e in #(
   8092   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8093 /* end confdefs.h.  */
   8094 int i;
   8095 _ACEOF
   8096 if ac_fn_c_try_compile "$LINENO"
   8097 then :
   8098   xorg_cv_cc_flag_unknown_warning_option=yes
   8099 else case e in #(
   8100   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8101 esac
   8102 fi
   8103 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8104 esac
   8105 fi
   8106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8107 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8108 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8109 	CFLAGS="$xorg_testset_save_CFLAGS"
   8110 fi
   8111 
   8112 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8113 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8114 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8115 	fi
   8116 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8117 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8118 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8119 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8120 then :
   8121   printf %s "(cached) " >&6
   8122 else case e in #(
   8123   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8124 /* end confdefs.h.  */
   8125 int i;
   8126 _ACEOF
   8127 if ac_fn_c_try_compile "$LINENO"
   8128 then :
   8129   xorg_cv_cc_flag_unused_command_line_argument=yes
   8130 else case e in #(
   8131   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8132 esac
   8133 fi
   8134 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8135 esac
   8136 fi
   8137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8138 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8139 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8140 	CFLAGS="$xorg_testset_save_CFLAGS"
   8141 fi
   8142 
   8143 found="no"
   8144 
   8145 	if test $found = "no" ; then
   8146 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8147 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8148 		fi
   8149 
   8150 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8151 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8152 		fi
   8153 
   8154 		CFLAGS="$CFLAGS -Werror=return-type"
   8155 
   8156 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8157 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8158 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8159 		if eval test \${$cacheid+y}
   8160 then :
   8161   printf %s "(cached) " >&6
   8162 else case e in #(
   8163   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8164 /* end confdefs.h.  */
   8165 int i;
   8166 int
   8167 main (void)
   8168 {
   8169 
   8170   ;
   8171   return 0;
   8172 }
   8173 _ACEOF
   8174 if ac_fn_c_try_link "$LINENO"
   8175 then :
   8176   eval $cacheid=yes
   8177 else case e in #(
   8178   e) eval $cacheid=no ;;
   8179 esac
   8180 fi
   8181 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8182     conftest$ac_exeext conftest.$ac_ext ;;
   8183 esac
   8184 fi
   8185 
   8186 
   8187 		CFLAGS="$xorg_testset_save_CFLAGS"
   8188 
   8189 		eval supported=\$$cacheid
   8190 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8191 printf "%s\n" "$supported" >&6; }
   8192 		if test "$supported" = "yes" ; then
   8193 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8194 			found="yes"
   8195 		fi
   8196 	fi
   8197 
   8198 	if test $found = "no" ; then
   8199 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8200 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8201 		fi
   8202 
   8203 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8204 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8205 		fi
   8206 
   8207 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8208 
   8209 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8210 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8211 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8212 		if eval test \${$cacheid+y}
   8213 then :
   8214   printf %s "(cached) " >&6
   8215 else case e in #(
   8216   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8217 /* end confdefs.h.  */
   8218 int i;
   8219 int
   8220 main (void)
   8221 {
   8222 
   8223   ;
   8224   return 0;
   8225 }
   8226 _ACEOF
   8227 if ac_fn_c_try_link "$LINENO"
   8228 then :
   8229   eval $cacheid=yes
   8230 else case e in #(
   8231   e) eval $cacheid=no ;;
   8232 esac
   8233 fi
   8234 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8235     conftest$ac_exeext conftest.$ac_ext ;;
   8236 esac
   8237 fi
   8238 
   8239 
   8240 		CFLAGS="$xorg_testset_save_CFLAGS"
   8241 
   8242 		eval supported=\$$cacheid
   8243 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8244 printf "%s\n" "$supported" >&6; }
   8245 		if test "$supported" = "yes" ; then
   8246 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8247 			found="yes"
   8248 		fi
   8249 	fi
   8250 
   8251 
   8252 
   8253 
   8254 
   8255 
   8256 
   8257 
   8258 
   8259 
   8260 
   8261 
   8262 
   8263 
   8264 
   8265 xorg_testset_save_CFLAGS="$CFLAGS"
   8266 
   8267 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8268 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8269 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8270 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8271 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8272 then :
   8273   printf %s "(cached) " >&6
   8274 else case e in #(
   8275   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8276 /* end confdefs.h.  */
   8277 int i;
   8278 _ACEOF
   8279 if ac_fn_c_try_compile "$LINENO"
   8280 then :
   8281   xorg_cv_cc_flag_unknown_warning_option=yes
   8282 else case e in #(
   8283   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8284 esac
   8285 fi
   8286 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8287 esac
   8288 fi
   8289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8290 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8291 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8292 	CFLAGS="$xorg_testset_save_CFLAGS"
   8293 fi
   8294 
   8295 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8296 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8297 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8298 	fi
   8299 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8300 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8301 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8302 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8303 then :
   8304   printf %s "(cached) " >&6
   8305 else case e in #(
   8306   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8307 /* end confdefs.h.  */
   8308 int i;
   8309 _ACEOF
   8310 if ac_fn_c_try_compile "$LINENO"
   8311 then :
   8312   xorg_cv_cc_flag_unused_command_line_argument=yes
   8313 else case e in #(
   8314   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8315 esac
   8316 fi
   8317 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8318 esac
   8319 fi
   8320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8321 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8322 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8323 	CFLAGS="$xorg_testset_save_CFLAGS"
   8324 fi
   8325 
   8326 found="no"
   8327 
   8328 	if test $found = "no" ; then
   8329 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8330 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8331 		fi
   8332 
   8333 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8334 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8335 		fi
   8336 
   8337 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8338 
   8339 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8340 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8341 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8342 		if eval test \${$cacheid+y}
   8343 then :
   8344   printf %s "(cached) " >&6
   8345 else case e in #(
   8346   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8347 /* end confdefs.h.  */
   8348 int i;
   8349 int
   8350 main (void)
   8351 {
   8352 
   8353   ;
   8354   return 0;
   8355 }
   8356 _ACEOF
   8357 if ac_fn_c_try_link "$LINENO"
   8358 then :
   8359   eval $cacheid=yes
   8360 else case e in #(
   8361   e) eval $cacheid=no ;;
   8362 esac
   8363 fi
   8364 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8365     conftest$ac_exeext conftest.$ac_ext ;;
   8366 esac
   8367 fi
   8368 
   8369 
   8370 		CFLAGS="$xorg_testset_save_CFLAGS"
   8371 
   8372 		eval supported=\$$cacheid
   8373 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8374 printf "%s\n" "$supported" >&6; }
   8375 		if test "$supported" = "yes" ; then
   8376 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8377 			found="yes"
   8378 		fi
   8379 	fi
   8380 
   8381 
   8382 
   8383 
   8384 
   8385 
   8386 
   8387 
   8388 
   8389 
   8390 
   8391 
   8392 
   8393 
   8394 
   8395 xorg_testset_save_CFLAGS="$CFLAGS"
   8396 
   8397 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8398 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8399 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8400 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8401 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8402 then :
   8403   printf %s "(cached) " >&6
   8404 else case e in #(
   8405   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8406 /* end confdefs.h.  */
   8407 int i;
   8408 _ACEOF
   8409 if ac_fn_c_try_compile "$LINENO"
   8410 then :
   8411   xorg_cv_cc_flag_unknown_warning_option=yes
   8412 else case e in #(
   8413   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8414 esac
   8415 fi
   8416 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8417 esac
   8418 fi
   8419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8420 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8421 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8422 	CFLAGS="$xorg_testset_save_CFLAGS"
   8423 fi
   8424 
   8425 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8426 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8427 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8428 	fi
   8429 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8430 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8431 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8432 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8433 then :
   8434   printf %s "(cached) " >&6
   8435 else case e in #(
   8436   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8437 /* end confdefs.h.  */
   8438 int i;
   8439 _ACEOF
   8440 if ac_fn_c_try_compile "$LINENO"
   8441 then :
   8442   xorg_cv_cc_flag_unused_command_line_argument=yes
   8443 else case e in #(
   8444   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8445 esac
   8446 fi
   8447 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8448 esac
   8449 fi
   8450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8451 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8452 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8453 	CFLAGS="$xorg_testset_save_CFLAGS"
   8454 fi
   8455 
   8456 found="no"
   8457 
   8458 	if test $found = "no" ; then
   8459 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8460 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8461 		fi
   8462 
   8463 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8464 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8465 		fi
   8466 
   8467 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8468 
   8469 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8470 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8471 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8472 		if eval test \${$cacheid+y}
   8473 then :
   8474   printf %s "(cached) " >&6
   8475 else case e in #(
   8476   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8477 /* end confdefs.h.  */
   8478 int i;
   8479 int
   8480 main (void)
   8481 {
   8482 
   8483   ;
   8484   return 0;
   8485 }
   8486 _ACEOF
   8487 if ac_fn_c_try_link "$LINENO"
   8488 then :
   8489   eval $cacheid=yes
   8490 else case e in #(
   8491   e) eval $cacheid=no ;;
   8492 esac
   8493 fi
   8494 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8495     conftest$ac_exeext conftest.$ac_ext ;;
   8496 esac
   8497 fi
   8498 
   8499 
   8500 		CFLAGS="$xorg_testset_save_CFLAGS"
   8501 
   8502 		eval supported=\$$cacheid
   8503 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8504 printf "%s\n" "$supported" >&6; }
   8505 		if test "$supported" = "yes" ; then
   8506 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8507 			found="yes"
   8508 		fi
   8509 	fi
   8510 
   8511 
   8512 
   8513 
   8514 
   8515 
   8516 
   8517 
   8518 
   8519 
   8520 
   8521 
   8522 
   8523 
   8524 
   8525 xorg_testset_save_CFLAGS="$CFLAGS"
   8526 
   8527 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8528 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8529 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8530 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8531 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8532 then :
   8533   printf %s "(cached) " >&6
   8534 else case e in #(
   8535   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8536 /* end confdefs.h.  */
   8537 int i;
   8538 _ACEOF
   8539 if ac_fn_c_try_compile "$LINENO"
   8540 then :
   8541   xorg_cv_cc_flag_unknown_warning_option=yes
   8542 else case e in #(
   8543   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8544 esac
   8545 fi
   8546 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8547 esac
   8548 fi
   8549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8550 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8551 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8552 	CFLAGS="$xorg_testset_save_CFLAGS"
   8553 fi
   8554 
   8555 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8556 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8557 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8558 	fi
   8559 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8560 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8561 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8562 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8563 then :
   8564   printf %s "(cached) " >&6
   8565 else case e in #(
   8566   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8567 /* end confdefs.h.  */
   8568 int i;
   8569 _ACEOF
   8570 if ac_fn_c_try_compile "$LINENO"
   8571 then :
   8572   xorg_cv_cc_flag_unused_command_line_argument=yes
   8573 else case e in #(
   8574   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8575 esac
   8576 fi
   8577 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8578 esac
   8579 fi
   8580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8581 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8582 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8583 	CFLAGS="$xorg_testset_save_CFLAGS"
   8584 fi
   8585 
   8586 found="no"
   8587 
   8588 	if test $found = "no" ; then
   8589 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8590 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8591 		fi
   8592 
   8593 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8594 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8595 		fi
   8596 
   8597 		CFLAGS="$CFLAGS -Werror=write-strings"
   8598 
   8599 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8600 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8601 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8602 		if eval test \${$cacheid+y}
   8603 then :
   8604   printf %s "(cached) " >&6
   8605 else case e in #(
   8606   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8607 /* end confdefs.h.  */
   8608 int i;
   8609 int
   8610 main (void)
   8611 {
   8612 
   8613   ;
   8614   return 0;
   8615 }
   8616 _ACEOF
   8617 if ac_fn_c_try_link "$LINENO"
   8618 then :
   8619   eval $cacheid=yes
   8620 else case e in #(
   8621   e) eval $cacheid=no ;;
   8622 esac
   8623 fi
   8624 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8625     conftest$ac_exeext conftest.$ac_ext ;;
   8626 esac
   8627 fi
   8628 
   8629 
   8630 		CFLAGS="$xorg_testset_save_CFLAGS"
   8631 
   8632 		eval supported=\$$cacheid
   8633 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8634 printf "%s\n" "$supported" >&6; }
   8635 		if test "$supported" = "yes" ; then
   8636 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8637 			found="yes"
   8638 		fi
   8639 	fi
   8640 
   8641 
   8642 
   8643 
   8644 
   8645 
   8646 
   8647 
   8648 
   8649 
   8650 
   8651 
   8652 
   8653 
   8654 
   8655 xorg_testset_save_CFLAGS="$CFLAGS"
   8656 
   8657 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8658 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8659 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8660 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8661 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8662 then :
   8663   printf %s "(cached) " >&6
   8664 else case e in #(
   8665   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8666 /* end confdefs.h.  */
   8667 int i;
   8668 _ACEOF
   8669 if ac_fn_c_try_compile "$LINENO"
   8670 then :
   8671   xorg_cv_cc_flag_unknown_warning_option=yes
   8672 else case e in #(
   8673   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8674 esac
   8675 fi
   8676 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8677 esac
   8678 fi
   8679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8680 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8681 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8682 	CFLAGS="$xorg_testset_save_CFLAGS"
   8683 fi
   8684 
   8685 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8686 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8687 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8688 	fi
   8689 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8690 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8691 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8692 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8693 then :
   8694   printf %s "(cached) " >&6
   8695 else case e in #(
   8696   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8697 /* end confdefs.h.  */
   8698 int i;
   8699 _ACEOF
   8700 if ac_fn_c_try_compile "$LINENO"
   8701 then :
   8702   xorg_cv_cc_flag_unused_command_line_argument=yes
   8703 else case e in #(
   8704   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8705 esac
   8706 fi
   8707 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8708 esac
   8709 fi
   8710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8711 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8712 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8713 	CFLAGS="$xorg_testset_save_CFLAGS"
   8714 fi
   8715 
   8716 found="no"
   8717 
   8718 	if test $found = "no" ; then
   8719 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8720 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8721 		fi
   8722 
   8723 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8724 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8725 		fi
   8726 
   8727 		CFLAGS="$CFLAGS -Werror=address"
   8728 
   8729 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8730 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8731 		cacheid=xorg_cv_cc_flag__Werror_address
   8732 		if eval test \${$cacheid+y}
   8733 then :
   8734   printf %s "(cached) " >&6
   8735 else case e in #(
   8736   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8737 /* end confdefs.h.  */
   8738 int i;
   8739 int
   8740 main (void)
   8741 {
   8742 
   8743   ;
   8744   return 0;
   8745 }
   8746 _ACEOF
   8747 if ac_fn_c_try_link "$LINENO"
   8748 then :
   8749   eval $cacheid=yes
   8750 else case e in #(
   8751   e) eval $cacheid=no ;;
   8752 esac
   8753 fi
   8754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8755     conftest$ac_exeext conftest.$ac_ext ;;
   8756 esac
   8757 fi
   8758 
   8759 
   8760 		CFLAGS="$xorg_testset_save_CFLAGS"
   8761 
   8762 		eval supported=\$$cacheid
   8763 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8764 printf "%s\n" "$supported" >&6; }
   8765 		if test "$supported" = "yes" ; then
   8766 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8767 			found="yes"
   8768 		fi
   8769 	fi
   8770 
   8771 
   8772 
   8773 
   8774 
   8775 
   8776 
   8777 
   8778 
   8779 
   8780 
   8781 
   8782 
   8783 
   8784 
   8785 xorg_testset_save_CFLAGS="$CFLAGS"
   8786 
   8787 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8788 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8789 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8790 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8791 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8792 then :
   8793   printf %s "(cached) " >&6
   8794 else case e in #(
   8795   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8796 /* end confdefs.h.  */
   8797 int i;
   8798 _ACEOF
   8799 if ac_fn_c_try_compile "$LINENO"
   8800 then :
   8801   xorg_cv_cc_flag_unknown_warning_option=yes
   8802 else case e in #(
   8803   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8804 esac
   8805 fi
   8806 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8807 esac
   8808 fi
   8809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8810 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8811 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8812 	CFLAGS="$xorg_testset_save_CFLAGS"
   8813 fi
   8814 
   8815 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8816 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8817 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8818 	fi
   8819 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8820 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8821 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8822 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8823 then :
   8824   printf %s "(cached) " >&6
   8825 else case e in #(
   8826   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8827 /* end confdefs.h.  */
   8828 int i;
   8829 _ACEOF
   8830 if ac_fn_c_try_compile "$LINENO"
   8831 then :
   8832   xorg_cv_cc_flag_unused_command_line_argument=yes
   8833 else case e in #(
   8834   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8835 esac
   8836 fi
   8837 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8838 esac
   8839 fi
   8840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8841 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8842 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8843 	CFLAGS="$xorg_testset_save_CFLAGS"
   8844 fi
   8845 
   8846 found="no"
   8847 
   8848 	if test $found = "no" ; then
   8849 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8850 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8851 		fi
   8852 
   8853 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8854 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8855 		fi
   8856 
   8857 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8858 
   8859 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8860 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8861 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8862 		if eval test \${$cacheid+y}
   8863 then :
   8864   printf %s "(cached) " >&6
   8865 else case e in #(
   8866   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8867 /* end confdefs.h.  */
   8868 int i;
   8869 int
   8870 main (void)
   8871 {
   8872 
   8873   ;
   8874   return 0;
   8875 }
   8876 _ACEOF
   8877 if ac_fn_c_try_link "$LINENO"
   8878 then :
   8879   eval $cacheid=yes
   8880 else case e in #(
   8881   e) eval $cacheid=no ;;
   8882 esac
   8883 fi
   8884 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8885     conftest$ac_exeext conftest.$ac_ext ;;
   8886 esac
   8887 fi
   8888 
   8889 
   8890 		CFLAGS="$xorg_testset_save_CFLAGS"
   8891 
   8892 		eval supported=\$$cacheid
   8893 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8894 printf "%s\n" "$supported" >&6; }
   8895 		if test "$supported" = "yes" ; then
   8896 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8897 			found="yes"
   8898 		fi
   8899 	fi
   8900 
   8901 	if test $found = "no" ; then
   8902 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8903 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8904 		fi
   8905 
   8906 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8907 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8908 		fi
   8909 
   8910 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8911 
   8912 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8913 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8914 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8915 		if eval test \${$cacheid+y}
   8916 then :
   8917   printf %s "(cached) " >&6
   8918 else case e in #(
   8919   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8920 /* end confdefs.h.  */
   8921 int i;
   8922 int
   8923 main (void)
   8924 {
   8925 
   8926   ;
   8927   return 0;
   8928 }
   8929 _ACEOF
   8930 if ac_fn_c_try_link "$LINENO"
   8931 then :
   8932   eval $cacheid=yes
   8933 else case e in #(
   8934   e) eval $cacheid=no ;;
   8935 esac
   8936 fi
   8937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8938     conftest$ac_exeext conftest.$ac_ext ;;
   8939 esac
   8940 fi
   8941 
   8942 
   8943 		CFLAGS="$xorg_testset_save_CFLAGS"
   8944 
   8945 		eval supported=\$$cacheid
   8946 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8947 printf "%s\n" "$supported" >&6; }
   8948 		if test "$supported" = "yes" ; then
   8949 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8950 			found="yes"
   8951 		fi
   8952 	fi
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 
   8960 
   8961 
   8962 
   8963 
   8964 
   8965 
   8966 
   8967 
   8968 xorg_testset_save_CFLAGS="$CFLAGS"
   8969 
   8970 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8971 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8972 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8973 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8974 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8975 then :
   8976   printf %s "(cached) " >&6
   8977 else case e in #(
   8978   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8979 /* end confdefs.h.  */
   8980 int i;
   8981 _ACEOF
   8982 if ac_fn_c_try_compile "$LINENO"
   8983 then :
   8984   xorg_cv_cc_flag_unknown_warning_option=yes
   8985 else case e in #(
   8986   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8987 esac
   8988 fi
   8989 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8990 esac
   8991 fi
   8992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8993 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8994 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8995 	CFLAGS="$xorg_testset_save_CFLAGS"
   8996 fi
   8997 
   8998 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8999 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9000 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9001 	fi
   9002 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9003 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9004 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9005 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9006 then :
   9007   printf %s "(cached) " >&6
   9008 else case e in #(
   9009   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9010 /* end confdefs.h.  */
   9011 int i;
   9012 _ACEOF
   9013 if ac_fn_c_try_compile "$LINENO"
   9014 then :
   9015   xorg_cv_cc_flag_unused_command_line_argument=yes
   9016 else case e in #(
   9017   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9018 esac
   9019 fi
   9020 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9021 esac
   9022 fi
   9023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9024 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9025 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9026 	CFLAGS="$xorg_testset_save_CFLAGS"
   9027 fi
   9028 
   9029 found="no"
   9030 
   9031 	if test $found = "no" ; then
   9032 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9033 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9034 		fi
   9035 
   9036 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9037 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9038 		fi
   9039 
   9040 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9041 
   9042 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9043 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9044 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9045 		if eval test \${$cacheid+y}
   9046 then :
   9047   printf %s "(cached) " >&6
   9048 else case e in #(
   9049   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9050 /* end confdefs.h.  */
   9051 int i;
   9052 int
   9053 main (void)
   9054 {
   9055 
   9056   ;
   9057   return 0;
   9058 }
   9059 _ACEOF
   9060 if ac_fn_c_try_link "$LINENO"
   9061 then :
   9062   eval $cacheid=yes
   9063 else case e in #(
   9064   e) eval $cacheid=no ;;
   9065 esac
   9066 fi
   9067 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9068     conftest$ac_exeext conftest.$ac_ext ;;
   9069 esac
   9070 fi
   9071 
   9072 
   9073 		CFLAGS="$xorg_testset_save_CFLAGS"
   9074 
   9075 		eval supported=\$$cacheid
   9076 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9077 printf "%s\n" "$supported" >&6; }
   9078 		if test "$supported" = "yes" ; then
   9079 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9080 			found="yes"
   9081 		fi
   9082 	fi
   9083 
   9084  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9085 else
   9086 { 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
   9087 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;}
   9088 
   9089 
   9090 
   9091 
   9092 
   9093 
   9094 
   9095 
   9096 
   9097 
   9098 
   9099 
   9100 
   9101 xorg_testset_save_CFLAGS="$CFLAGS"
   9102 
   9103 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9104 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9105 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9106 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9107 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9108 then :
   9109   printf %s "(cached) " >&6
   9110 else case e in #(
   9111   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9112 /* end confdefs.h.  */
   9113 int i;
   9114 _ACEOF
   9115 if ac_fn_c_try_compile "$LINENO"
   9116 then :
   9117   xorg_cv_cc_flag_unknown_warning_option=yes
   9118 else case e in #(
   9119   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9120 esac
   9121 fi
   9122 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9123 esac
   9124 fi
   9125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9126 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9127 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9128 	CFLAGS="$xorg_testset_save_CFLAGS"
   9129 fi
   9130 
   9131 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9132 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9133 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9134 	fi
   9135 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9136 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9137 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9138 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9139 then :
   9140   printf %s "(cached) " >&6
   9141 else case e in #(
   9142   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9143 /* end confdefs.h.  */
   9144 int i;
   9145 _ACEOF
   9146 if ac_fn_c_try_compile "$LINENO"
   9147 then :
   9148   xorg_cv_cc_flag_unused_command_line_argument=yes
   9149 else case e in #(
   9150   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9151 esac
   9152 fi
   9153 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9154 esac
   9155 fi
   9156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9157 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9158 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9159 	CFLAGS="$xorg_testset_save_CFLAGS"
   9160 fi
   9161 
   9162 found="no"
   9163 
   9164 	if test $found = "no" ; then
   9165 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9166 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9167 		fi
   9168 
   9169 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9170 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9171 		fi
   9172 
   9173 		CFLAGS="$CFLAGS -Wimplicit"
   9174 
   9175 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9176 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9177 		cacheid=xorg_cv_cc_flag__Wimplicit
   9178 		if eval test \${$cacheid+y}
   9179 then :
   9180   printf %s "(cached) " >&6
   9181 else case e in #(
   9182   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9183 /* end confdefs.h.  */
   9184 int i;
   9185 int
   9186 main (void)
   9187 {
   9188 
   9189   ;
   9190   return 0;
   9191 }
   9192 _ACEOF
   9193 if ac_fn_c_try_link "$LINENO"
   9194 then :
   9195   eval $cacheid=yes
   9196 else case e in #(
   9197   e) eval $cacheid=no ;;
   9198 esac
   9199 fi
   9200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9201     conftest$ac_exeext conftest.$ac_ext ;;
   9202 esac
   9203 fi
   9204 
   9205 
   9206 		CFLAGS="$xorg_testset_save_CFLAGS"
   9207 
   9208 		eval supported=\$$cacheid
   9209 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9210 printf "%s\n" "$supported" >&6; }
   9211 		if test "$supported" = "yes" ; then
   9212 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9213 			found="yes"
   9214 		fi
   9215 	fi
   9216 
   9217 
   9218 
   9219 
   9220 
   9221 
   9222 
   9223 
   9224 
   9225 
   9226 
   9227 
   9228 
   9229 
   9230 
   9231 xorg_testset_save_CFLAGS="$CFLAGS"
   9232 
   9233 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9234 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9235 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9236 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9237 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9238 then :
   9239   printf %s "(cached) " >&6
   9240 else case e in #(
   9241   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9242 /* end confdefs.h.  */
   9243 int i;
   9244 _ACEOF
   9245 if ac_fn_c_try_compile "$LINENO"
   9246 then :
   9247   xorg_cv_cc_flag_unknown_warning_option=yes
   9248 else case e in #(
   9249   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9250 esac
   9251 fi
   9252 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9253 esac
   9254 fi
   9255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9256 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9257 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9258 	CFLAGS="$xorg_testset_save_CFLAGS"
   9259 fi
   9260 
   9261 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9262 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9263 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9264 	fi
   9265 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9266 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9267 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9268 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9269 then :
   9270   printf %s "(cached) " >&6
   9271 else case e in #(
   9272   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9273 /* end confdefs.h.  */
   9274 int i;
   9275 _ACEOF
   9276 if ac_fn_c_try_compile "$LINENO"
   9277 then :
   9278   xorg_cv_cc_flag_unused_command_line_argument=yes
   9279 else case e in #(
   9280   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9281 esac
   9282 fi
   9283 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9284 esac
   9285 fi
   9286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9287 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9288 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9289 	CFLAGS="$xorg_testset_save_CFLAGS"
   9290 fi
   9291 
   9292 found="no"
   9293 
   9294 	if test $found = "no" ; then
   9295 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9296 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9297 		fi
   9298 
   9299 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9300 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9301 		fi
   9302 
   9303 		CFLAGS="$CFLAGS -Wnonnull"
   9304 
   9305 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9306 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9307 		cacheid=xorg_cv_cc_flag__Wnonnull
   9308 		if eval test \${$cacheid+y}
   9309 then :
   9310   printf %s "(cached) " >&6
   9311 else case e in #(
   9312   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9313 /* end confdefs.h.  */
   9314 int i;
   9315 int
   9316 main (void)
   9317 {
   9318 
   9319   ;
   9320   return 0;
   9321 }
   9322 _ACEOF
   9323 if ac_fn_c_try_link "$LINENO"
   9324 then :
   9325   eval $cacheid=yes
   9326 else case e in #(
   9327   e) eval $cacheid=no ;;
   9328 esac
   9329 fi
   9330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9331     conftest$ac_exeext conftest.$ac_ext ;;
   9332 esac
   9333 fi
   9334 
   9335 
   9336 		CFLAGS="$xorg_testset_save_CFLAGS"
   9337 
   9338 		eval supported=\$$cacheid
   9339 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9340 printf "%s\n" "$supported" >&6; }
   9341 		if test "$supported" = "yes" ; then
   9342 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9343 			found="yes"
   9344 		fi
   9345 	fi
   9346 
   9347 
   9348 
   9349 
   9350 
   9351 
   9352 
   9353 
   9354 
   9355 
   9356 
   9357 
   9358 
   9359 
   9360 
   9361 xorg_testset_save_CFLAGS="$CFLAGS"
   9362 
   9363 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9364 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9365 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9366 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9367 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9368 then :
   9369   printf %s "(cached) " >&6
   9370 else case e in #(
   9371   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9372 /* end confdefs.h.  */
   9373 int i;
   9374 _ACEOF
   9375 if ac_fn_c_try_compile "$LINENO"
   9376 then :
   9377   xorg_cv_cc_flag_unknown_warning_option=yes
   9378 else case e in #(
   9379   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9380 esac
   9381 fi
   9382 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9383 esac
   9384 fi
   9385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9386 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9387 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9388 	CFLAGS="$xorg_testset_save_CFLAGS"
   9389 fi
   9390 
   9391 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9392 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9393 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9394 	fi
   9395 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9396 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9397 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9398 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9399 then :
   9400   printf %s "(cached) " >&6
   9401 else case e in #(
   9402   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9403 /* end confdefs.h.  */
   9404 int i;
   9405 _ACEOF
   9406 if ac_fn_c_try_compile "$LINENO"
   9407 then :
   9408   xorg_cv_cc_flag_unused_command_line_argument=yes
   9409 else case e in #(
   9410   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9411 esac
   9412 fi
   9413 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9414 esac
   9415 fi
   9416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9417 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9418 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9419 	CFLAGS="$xorg_testset_save_CFLAGS"
   9420 fi
   9421 
   9422 found="no"
   9423 
   9424 	if test $found = "no" ; then
   9425 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9426 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9427 		fi
   9428 
   9429 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9430 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9431 		fi
   9432 
   9433 		CFLAGS="$CFLAGS -Winit-self"
   9434 
   9435 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9436 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9437 		cacheid=xorg_cv_cc_flag__Winit_self
   9438 		if eval test \${$cacheid+y}
   9439 then :
   9440   printf %s "(cached) " >&6
   9441 else case e in #(
   9442   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9443 /* end confdefs.h.  */
   9444 int i;
   9445 int
   9446 main (void)
   9447 {
   9448 
   9449   ;
   9450   return 0;
   9451 }
   9452 _ACEOF
   9453 if ac_fn_c_try_link "$LINENO"
   9454 then :
   9455   eval $cacheid=yes
   9456 else case e in #(
   9457   e) eval $cacheid=no ;;
   9458 esac
   9459 fi
   9460 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9461     conftest$ac_exeext conftest.$ac_ext ;;
   9462 esac
   9463 fi
   9464 
   9465 
   9466 		CFLAGS="$xorg_testset_save_CFLAGS"
   9467 
   9468 		eval supported=\$$cacheid
   9469 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9470 printf "%s\n" "$supported" >&6; }
   9471 		if test "$supported" = "yes" ; then
   9472 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9473 			found="yes"
   9474 		fi
   9475 	fi
   9476 
   9477 
   9478 
   9479 
   9480 
   9481 
   9482 
   9483 
   9484 
   9485 
   9486 
   9487 
   9488 
   9489 
   9490 
   9491 xorg_testset_save_CFLAGS="$CFLAGS"
   9492 
   9493 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9494 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9495 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9496 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9497 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9498 then :
   9499   printf %s "(cached) " >&6
   9500 else case e in #(
   9501   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9502 /* end confdefs.h.  */
   9503 int i;
   9504 _ACEOF
   9505 if ac_fn_c_try_compile "$LINENO"
   9506 then :
   9507   xorg_cv_cc_flag_unknown_warning_option=yes
   9508 else case e in #(
   9509   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9510 esac
   9511 fi
   9512 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9513 esac
   9514 fi
   9515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9516 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9517 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9518 	CFLAGS="$xorg_testset_save_CFLAGS"
   9519 fi
   9520 
   9521 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9522 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9523 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9524 	fi
   9525 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9526 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9527 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9528 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9529 then :
   9530   printf %s "(cached) " >&6
   9531 else case e in #(
   9532   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9533 /* end confdefs.h.  */
   9534 int i;
   9535 _ACEOF
   9536 if ac_fn_c_try_compile "$LINENO"
   9537 then :
   9538   xorg_cv_cc_flag_unused_command_line_argument=yes
   9539 else case e in #(
   9540   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9541 esac
   9542 fi
   9543 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9544 esac
   9545 fi
   9546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9547 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9548 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9549 	CFLAGS="$xorg_testset_save_CFLAGS"
   9550 fi
   9551 
   9552 found="no"
   9553 
   9554 	if test $found = "no" ; then
   9555 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9556 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9557 		fi
   9558 
   9559 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9560 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9561 		fi
   9562 
   9563 		CFLAGS="$CFLAGS -Wmain"
   9564 
   9565 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9566 printf %s "checking if $CC supports -Wmain... " >&6; }
   9567 		cacheid=xorg_cv_cc_flag__Wmain
   9568 		if eval test \${$cacheid+y}
   9569 then :
   9570   printf %s "(cached) " >&6
   9571 else case e in #(
   9572   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9573 /* end confdefs.h.  */
   9574 int i;
   9575 int
   9576 main (void)
   9577 {
   9578 
   9579   ;
   9580   return 0;
   9581 }
   9582 _ACEOF
   9583 if ac_fn_c_try_link "$LINENO"
   9584 then :
   9585   eval $cacheid=yes
   9586 else case e in #(
   9587   e) eval $cacheid=no ;;
   9588 esac
   9589 fi
   9590 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9591     conftest$ac_exeext conftest.$ac_ext ;;
   9592 esac
   9593 fi
   9594 
   9595 
   9596 		CFLAGS="$xorg_testset_save_CFLAGS"
   9597 
   9598 		eval supported=\$$cacheid
   9599 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9600 printf "%s\n" "$supported" >&6; }
   9601 		if test "$supported" = "yes" ; then
   9602 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9603 			found="yes"
   9604 		fi
   9605 	fi
   9606 
   9607 
   9608 
   9609 
   9610 
   9611 
   9612 
   9613 
   9614 
   9615 
   9616 
   9617 
   9618 
   9619 
   9620 
   9621 xorg_testset_save_CFLAGS="$CFLAGS"
   9622 
   9623 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9624 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9625 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9626 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9627 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9628 then :
   9629   printf %s "(cached) " >&6
   9630 else case e in #(
   9631   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9632 /* end confdefs.h.  */
   9633 int i;
   9634 _ACEOF
   9635 if ac_fn_c_try_compile "$LINENO"
   9636 then :
   9637   xorg_cv_cc_flag_unknown_warning_option=yes
   9638 else case e in #(
   9639   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9640 esac
   9641 fi
   9642 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9643 esac
   9644 fi
   9645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9646 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9647 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9648 	CFLAGS="$xorg_testset_save_CFLAGS"
   9649 fi
   9650 
   9651 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9652 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9653 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9654 	fi
   9655 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9656 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9657 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9658 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9659 then :
   9660   printf %s "(cached) " >&6
   9661 else case e in #(
   9662   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9663 /* end confdefs.h.  */
   9664 int i;
   9665 _ACEOF
   9666 if ac_fn_c_try_compile "$LINENO"
   9667 then :
   9668   xorg_cv_cc_flag_unused_command_line_argument=yes
   9669 else case e in #(
   9670   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9671 esac
   9672 fi
   9673 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9674 esac
   9675 fi
   9676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9677 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9678 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9679 	CFLAGS="$xorg_testset_save_CFLAGS"
   9680 fi
   9681 
   9682 found="no"
   9683 
   9684 	if test $found = "no" ; then
   9685 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9686 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9687 		fi
   9688 
   9689 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9690 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9691 		fi
   9692 
   9693 		CFLAGS="$CFLAGS -Wmissing-braces"
   9694 
   9695 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9696 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9697 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9698 		if eval test \${$cacheid+y}
   9699 then :
   9700   printf %s "(cached) " >&6
   9701 else case e in #(
   9702   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9703 /* end confdefs.h.  */
   9704 int i;
   9705 int
   9706 main (void)
   9707 {
   9708 
   9709   ;
   9710   return 0;
   9711 }
   9712 _ACEOF
   9713 if ac_fn_c_try_link "$LINENO"
   9714 then :
   9715   eval $cacheid=yes
   9716 else case e in #(
   9717   e) eval $cacheid=no ;;
   9718 esac
   9719 fi
   9720 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9721     conftest$ac_exeext conftest.$ac_ext ;;
   9722 esac
   9723 fi
   9724 
   9725 
   9726 		CFLAGS="$xorg_testset_save_CFLAGS"
   9727 
   9728 		eval supported=\$$cacheid
   9729 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9730 printf "%s\n" "$supported" >&6; }
   9731 		if test "$supported" = "yes" ; then
   9732 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9733 			found="yes"
   9734 		fi
   9735 	fi
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 xorg_testset_save_CFLAGS="$CFLAGS"
   9752 
   9753 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9754 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9755 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9756 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9757 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9758 then :
   9759   printf %s "(cached) " >&6
   9760 else case e in #(
   9761   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9762 /* end confdefs.h.  */
   9763 int i;
   9764 _ACEOF
   9765 if ac_fn_c_try_compile "$LINENO"
   9766 then :
   9767   xorg_cv_cc_flag_unknown_warning_option=yes
   9768 else case e in #(
   9769   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9770 esac
   9771 fi
   9772 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9773 esac
   9774 fi
   9775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9776 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9777 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9778 	CFLAGS="$xorg_testset_save_CFLAGS"
   9779 fi
   9780 
   9781 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9782 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9783 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9784 	fi
   9785 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9786 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9787 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9788 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9789 then :
   9790   printf %s "(cached) " >&6
   9791 else case e in #(
   9792   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9793 /* end confdefs.h.  */
   9794 int i;
   9795 _ACEOF
   9796 if ac_fn_c_try_compile "$LINENO"
   9797 then :
   9798   xorg_cv_cc_flag_unused_command_line_argument=yes
   9799 else case e in #(
   9800   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9801 esac
   9802 fi
   9803 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9804 esac
   9805 fi
   9806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9807 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9808 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9809 	CFLAGS="$xorg_testset_save_CFLAGS"
   9810 fi
   9811 
   9812 found="no"
   9813 
   9814 	if test $found = "no" ; then
   9815 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9816 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9817 		fi
   9818 
   9819 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9820 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9821 		fi
   9822 
   9823 		CFLAGS="$CFLAGS -Wsequence-point"
   9824 
   9825 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9826 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9827 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9828 		if eval test \${$cacheid+y}
   9829 then :
   9830   printf %s "(cached) " >&6
   9831 else case e in #(
   9832   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9833 /* end confdefs.h.  */
   9834 int i;
   9835 int
   9836 main (void)
   9837 {
   9838 
   9839   ;
   9840   return 0;
   9841 }
   9842 _ACEOF
   9843 if ac_fn_c_try_link "$LINENO"
   9844 then :
   9845   eval $cacheid=yes
   9846 else case e in #(
   9847   e) eval $cacheid=no ;;
   9848 esac
   9849 fi
   9850 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9851     conftest$ac_exeext conftest.$ac_ext ;;
   9852 esac
   9853 fi
   9854 
   9855 
   9856 		CFLAGS="$xorg_testset_save_CFLAGS"
   9857 
   9858 		eval supported=\$$cacheid
   9859 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9860 printf "%s\n" "$supported" >&6; }
   9861 		if test "$supported" = "yes" ; then
   9862 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9863 			found="yes"
   9864 		fi
   9865 	fi
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 xorg_testset_save_CFLAGS="$CFLAGS"
   9882 
   9883 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9884 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9885 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9886 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9887 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9888 then :
   9889   printf %s "(cached) " >&6
   9890 else case e in #(
   9891   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9892 /* end confdefs.h.  */
   9893 int i;
   9894 _ACEOF
   9895 if ac_fn_c_try_compile "$LINENO"
   9896 then :
   9897   xorg_cv_cc_flag_unknown_warning_option=yes
   9898 else case e in #(
   9899   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9900 esac
   9901 fi
   9902 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9903 esac
   9904 fi
   9905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9906 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9907 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9908 	CFLAGS="$xorg_testset_save_CFLAGS"
   9909 fi
   9910 
   9911 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9912 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9913 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9914 	fi
   9915 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9916 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9917 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9918 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9919 then :
   9920   printf %s "(cached) " >&6
   9921 else case e in #(
   9922   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9923 /* end confdefs.h.  */
   9924 int i;
   9925 _ACEOF
   9926 if ac_fn_c_try_compile "$LINENO"
   9927 then :
   9928   xorg_cv_cc_flag_unused_command_line_argument=yes
   9929 else case e in #(
   9930   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9931 esac
   9932 fi
   9933 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9934 esac
   9935 fi
   9936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9937 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9938 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9939 	CFLAGS="$xorg_testset_save_CFLAGS"
   9940 fi
   9941 
   9942 found="no"
   9943 
   9944 	if test $found = "no" ; then
   9945 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9946 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9947 		fi
   9948 
   9949 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9950 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9951 		fi
   9952 
   9953 		CFLAGS="$CFLAGS -Wreturn-type"
   9954 
   9955 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9956 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9957 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9958 		if eval test \${$cacheid+y}
   9959 then :
   9960   printf %s "(cached) " >&6
   9961 else case e in #(
   9962   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9963 /* end confdefs.h.  */
   9964 int i;
   9965 int
   9966 main (void)
   9967 {
   9968 
   9969   ;
   9970   return 0;
   9971 }
   9972 _ACEOF
   9973 if ac_fn_c_try_link "$LINENO"
   9974 then :
   9975   eval $cacheid=yes
   9976 else case e in #(
   9977   e) eval $cacheid=no ;;
   9978 esac
   9979 fi
   9980 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9981     conftest$ac_exeext conftest.$ac_ext ;;
   9982 esac
   9983 fi
   9984 
   9985 
   9986 		CFLAGS="$xorg_testset_save_CFLAGS"
   9987 
   9988 		eval supported=\$$cacheid
   9989 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9990 printf "%s\n" "$supported" >&6; }
   9991 		if test "$supported" = "yes" ; then
   9992 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9993 			found="yes"
   9994 		fi
   9995 	fi
   9996 
   9997 
   9998 
   9999 
   10000 
   10001 
   10002 
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 xorg_testset_save_CFLAGS="$CFLAGS"
   10012 
   10013 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10014 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10015 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10016 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10017 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10018 then :
   10019   printf %s "(cached) " >&6
   10020 else case e in #(
   10021   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10022 /* end confdefs.h.  */
   10023 int i;
   10024 _ACEOF
   10025 if ac_fn_c_try_compile "$LINENO"
   10026 then :
   10027   xorg_cv_cc_flag_unknown_warning_option=yes
   10028 else case e in #(
   10029   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10030 esac
   10031 fi
   10032 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10033 esac
   10034 fi
   10035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10036 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10037 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10038 	CFLAGS="$xorg_testset_save_CFLAGS"
   10039 fi
   10040 
   10041 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10042 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10043 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10044 	fi
   10045 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10046 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10047 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10048 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10049 then :
   10050   printf %s "(cached) " >&6
   10051 else case e in #(
   10052   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10053 /* end confdefs.h.  */
   10054 int i;
   10055 _ACEOF
   10056 if ac_fn_c_try_compile "$LINENO"
   10057 then :
   10058   xorg_cv_cc_flag_unused_command_line_argument=yes
   10059 else case e in #(
   10060   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10061 esac
   10062 fi
   10063 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10064 esac
   10065 fi
   10066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10067 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10068 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10069 	CFLAGS="$xorg_testset_save_CFLAGS"
   10070 fi
   10071 
   10072 found="no"
   10073 
   10074 	if test $found = "no" ; then
   10075 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10076 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10077 		fi
   10078 
   10079 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10080 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10081 		fi
   10082 
   10083 		CFLAGS="$CFLAGS -Wtrigraphs"
   10084 
   10085 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10086 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10087 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10088 		if eval test \${$cacheid+y}
   10089 then :
   10090   printf %s "(cached) " >&6
   10091 else case e in #(
   10092   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10093 /* end confdefs.h.  */
   10094 int i;
   10095 int
   10096 main (void)
   10097 {
   10098 
   10099   ;
   10100   return 0;
   10101 }
   10102 _ACEOF
   10103 if ac_fn_c_try_link "$LINENO"
   10104 then :
   10105   eval $cacheid=yes
   10106 else case e in #(
   10107   e) eval $cacheid=no ;;
   10108 esac
   10109 fi
   10110 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10111     conftest$ac_exeext conftest.$ac_ext ;;
   10112 esac
   10113 fi
   10114 
   10115 
   10116 		CFLAGS="$xorg_testset_save_CFLAGS"
   10117 
   10118 		eval supported=\$$cacheid
   10119 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10120 printf "%s\n" "$supported" >&6; }
   10121 		if test "$supported" = "yes" ; then
   10122 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10123 			found="yes"
   10124 		fi
   10125 	fi
   10126 
   10127 
   10128 
   10129 
   10130 
   10131 
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 xorg_testset_save_CFLAGS="$CFLAGS"
   10142 
   10143 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10144 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10145 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10146 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10147 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10148 then :
   10149   printf %s "(cached) " >&6
   10150 else case e in #(
   10151   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10152 /* end confdefs.h.  */
   10153 int i;
   10154 _ACEOF
   10155 if ac_fn_c_try_compile "$LINENO"
   10156 then :
   10157   xorg_cv_cc_flag_unknown_warning_option=yes
   10158 else case e in #(
   10159   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10160 esac
   10161 fi
   10162 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10163 esac
   10164 fi
   10165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10166 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10167 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10168 	CFLAGS="$xorg_testset_save_CFLAGS"
   10169 fi
   10170 
   10171 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10172 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10173 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10174 	fi
   10175 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10176 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10177 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10178 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10179 then :
   10180   printf %s "(cached) " >&6
   10181 else case e in #(
   10182   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10183 /* end confdefs.h.  */
   10184 int i;
   10185 _ACEOF
   10186 if ac_fn_c_try_compile "$LINENO"
   10187 then :
   10188   xorg_cv_cc_flag_unused_command_line_argument=yes
   10189 else case e in #(
   10190   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10191 esac
   10192 fi
   10193 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10194 esac
   10195 fi
   10196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10197 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10198 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10199 	CFLAGS="$xorg_testset_save_CFLAGS"
   10200 fi
   10201 
   10202 found="no"
   10203 
   10204 	if test $found = "no" ; then
   10205 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10206 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10207 		fi
   10208 
   10209 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10210 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10211 		fi
   10212 
   10213 		CFLAGS="$CFLAGS -Warray-bounds"
   10214 
   10215 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10216 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10217 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10218 		if eval test \${$cacheid+y}
   10219 then :
   10220   printf %s "(cached) " >&6
   10221 else case e in #(
   10222   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10223 /* end confdefs.h.  */
   10224 int i;
   10225 int
   10226 main (void)
   10227 {
   10228 
   10229   ;
   10230   return 0;
   10231 }
   10232 _ACEOF
   10233 if ac_fn_c_try_link "$LINENO"
   10234 then :
   10235   eval $cacheid=yes
   10236 else case e in #(
   10237   e) eval $cacheid=no ;;
   10238 esac
   10239 fi
   10240 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10241     conftest$ac_exeext conftest.$ac_ext ;;
   10242 esac
   10243 fi
   10244 
   10245 
   10246 		CFLAGS="$xorg_testset_save_CFLAGS"
   10247 
   10248 		eval supported=\$$cacheid
   10249 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10250 printf "%s\n" "$supported" >&6; }
   10251 		if test "$supported" = "yes" ; then
   10252 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10253 			found="yes"
   10254 		fi
   10255 	fi
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 
   10264 
   10265 
   10266 
   10267 
   10268 
   10269 
   10270 
   10271 xorg_testset_save_CFLAGS="$CFLAGS"
   10272 
   10273 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10274 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10275 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10276 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10277 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10278 then :
   10279   printf %s "(cached) " >&6
   10280 else case e in #(
   10281   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10282 /* end confdefs.h.  */
   10283 int i;
   10284 _ACEOF
   10285 if ac_fn_c_try_compile "$LINENO"
   10286 then :
   10287   xorg_cv_cc_flag_unknown_warning_option=yes
   10288 else case e in #(
   10289   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10290 esac
   10291 fi
   10292 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10293 esac
   10294 fi
   10295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10296 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10297 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10298 	CFLAGS="$xorg_testset_save_CFLAGS"
   10299 fi
   10300 
   10301 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10302 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10303 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10304 	fi
   10305 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10306 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10307 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10308 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10309 then :
   10310   printf %s "(cached) " >&6
   10311 else case e in #(
   10312   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10313 /* end confdefs.h.  */
   10314 int i;
   10315 _ACEOF
   10316 if ac_fn_c_try_compile "$LINENO"
   10317 then :
   10318   xorg_cv_cc_flag_unused_command_line_argument=yes
   10319 else case e in #(
   10320   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10321 esac
   10322 fi
   10323 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10324 esac
   10325 fi
   10326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10327 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10328 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10329 	CFLAGS="$xorg_testset_save_CFLAGS"
   10330 fi
   10331 
   10332 found="no"
   10333 
   10334 	if test $found = "no" ; then
   10335 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10336 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10337 		fi
   10338 
   10339 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10340 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10341 		fi
   10342 
   10343 		CFLAGS="$CFLAGS -Wwrite-strings"
   10344 
   10345 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10346 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10347 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10348 		if eval test \${$cacheid+y}
   10349 then :
   10350   printf %s "(cached) " >&6
   10351 else case e in #(
   10352   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10353 /* end confdefs.h.  */
   10354 int i;
   10355 int
   10356 main (void)
   10357 {
   10358 
   10359   ;
   10360   return 0;
   10361 }
   10362 _ACEOF
   10363 if ac_fn_c_try_link "$LINENO"
   10364 then :
   10365   eval $cacheid=yes
   10366 else case e in #(
   10367   e) eval $cacheid=no ;;
   10368 esac
   10369 fi
   10370 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10371     conftest$ac_exeext conftest.$ac_ext ;;
   10372 esac
   10373 fi
   10374 
   10375 
   10376 		CFLAGS="$xorg_testset_save_CFLAGS"
   10377 
   10378 		eval supported=\$$cacheid
   10379 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10380 printf "%s\n" "$supported" >&6; }
   10381 		if test "$supported" = "yes" ; then
   10382 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10383 			found="yes"
   10384 		fi
   10385 	fi
   10386 
   10387 
   10388 
   10389 
   10390 
   10391 
   10392 
   10393 
   10394 
   10395 
   10396 
   10397 
   10398 
   10399 
   10400 
   10401 xorg_testset_save_CFLAGS="$CFLAGS"
   10402 
   10403 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10404 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10405 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10406 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10407 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10408 then :
   10409   printf %s "(cached) " >&6
   10410 else case e in #(
   10411   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10412 /* end confdefs.h.  */
   10413 int i;
   10414 _ACEOF
   10415 if ac_fn_c_try_compile "$LINENO"
   10416 then :
   10417   xorg_cv_cc_flag_unknown_warning_option=yes
   10418 else case e in #(
   10419   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10420 esac
   10421 fi
   10422 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10423 esac
   10424 fi
   10425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10426 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10427 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10428 	CFLAGS="$xorg_testset_save_CFLAGS"
   10429 fi
   10430 
   10431 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10432 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10433 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10434 	fi
   10435 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10436 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10437 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10438 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10439 then :
   10440   printf %s "(cached) " >&6
   10441 else case e in #(
   10442   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10443 /* end confdefs.h.  */
   10444 int i;
   10445 _ACEOF
   10446 if ac_fn_c_try_compile "$LINENO"
   10447 then :
   10448   xorg_cv_cc_flag_unused_command_line_argument=yes
   10449 else case e in #(
   10450   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10451 esac
   10452 fi
   10453 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10454 esac
   10455 fi
   10456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10457 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10458 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10459 	CFLAGS="$xorg_testset_save_CFLAGS"
   10460 fi
   10461 
   10462 found="no"
   10463 
   10464 	if test $found = "no" ; then
   10465 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10466 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10467 		fi
   10468 
   10469 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10470 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10471 		fi
   10472 
   10473 		CFLAGS="$CFLAGS -Waddress"
   10474 
   10475 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10476 printf %s "checking if $CC supports -Waddress... " >&6; }
   10477 		cacheid=xorg_cv_cc_flag__Waddress
   10478 		if eval test \${$cacheid+y}
   10479 then :
   10480   printf %s "(cached) " >&6
   10481 else case e in #(
   10482   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10483 /* end confdefs.h.  */
   10484 int i;
   10485 int
   10486 main (void)
   10487 {
   10488 
   10489   ;
   10490   return 0;
   10491 }
   10492 _ACEOF
   10493 if ac_fn_c_try_link "$LINENO"
   10494 then :
   10495   eval $cacheid=yes
   10496 else case e in #(
   10497   e) eval $cacheid=no ;;
   10498 esac
   10499 fi
   10500 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10501     conftest$ac_exeext conftest.$ac_ext ;;
   10502 esac
   10503 fi
   10504 
   10505 
   10506 		CFLAGS="$xorg_testset_save_CFLAGS"
   10507 
   10508 		eval supported=\$$cacheid
   10509 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10510 printf "%s\n" "$supported" >&6; }
   10511 		if test "$supported" = "yes" ; then
   10512 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10513 			found="yes"
   10514 		fi
   10515 	fi
   10516 
   10517 
   10518 
   10519 
   10520 
   10521 
   10522 
   10523 
   10524 
   10525 
   10526 
   10527 
   10528 
   10529 
   10530 
   10531 xorg_testset_save_CFLAGS="$CFLAGS"
   10532 
   10533 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10534 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10535 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10536 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10537 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10538 then :
   10539   printf %s "(cached) " >&6
   10540 else case e in #(
   10541   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10542 /* end confdefs.h.  */
   10543 int i;
   10544 _ACEOF
   10545 if ac_fn_c_try_compile "$LINENO"
   10546 then :
   10547   xorg_cv_cc_flag_unknown_warning_option=yes
   10548 else case e in #(
   10549   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10550 esac
   10551 fi
   10552 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10553 esac
   10554 fi
   10555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10556 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10557 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10558 	CFLAGS="$xorg_testset_save_CFLAGS"
   10559 fi
   10560 
   10561 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10562 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10563 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10564 	fi
   10565 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10566 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10567 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10568 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10569 then :
   10570   printf %s "(cached) " >&6
   10571 else case e in #(
   10572   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10573 /* end confdefs.h.  */
   10574 int i;
   10575 _ACEOF
   10576 if ac_fn_c_try_compile "$LINENO"
   10577 then :
   10578   xorg_cv_cc_flag_unused_command_line_argument=yes
   10579 else case e in #(
   10580   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10581 esac
   10582 fi
   10583 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10584 esac
   10585 fi
   10586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10587 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10588 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10589 	CFLAGS="$xorg_testset_save_CFLAGS"
   10590 fi
   10591 
   10592 found="no"
   10593 
   10594 	if test $found = "no" ; then
   10595 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10596 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10597 		fi
   10598 
   10599 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10600 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10601 		fi
   10602 
   10603 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10604 
   10605 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10606 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10607 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10608 		if eval test \${$cacheid+y}
   10609 then :
   10610   printf %s "(cached) " >&6
   10611 else case e in #(
   10612   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10613 /* end confdefs.h.  */
   10614 int i;
   10615 int
   10616 main (void)
   10617 {
   10618 
   10619   ;
   10620   return 0;
   10621 }
   10622 _ACEOF
   10623 if ac_fn_c_try_link "$LINENO"
   10624 then :
   10625   eval $cacheid=yes
   10626 else case e in #(
   10627   e) eval $cacheid=no ;;
   10628 esac
   10629 fi
   10630 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10631     conftest$ac_exeext conftest.$ac_ext ;;
   10632 esac
   10633 fi
   10634 
   10635 
   10636 		CFLAGS="$xorg_testset_save_CFLAGS"
   10637 
   10638 		eval supported=\$$cacheid
   10639 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10640 printf "%s\n" "$supported" >&6; }
   10641 		if test "$supported" = "yes" ; then
   10642 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10643 			found="yes"
   10644 		fi
   10645 	fi
   10646 
   10647 
   10648 
   10649 
   10650 
   10651 
   10652 
   10653 
   10654 
   10655 
   10656 
   10657 
   10658 
   10659 
   10660 
   10661 xorg_testset_save_CFLAGS="$CFLAGS"
   10662 
   10663 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10664 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10665 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10666 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10667 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10668 then :
   10669   printf %s "(cached) " >&6
   10670 else case e in #(
   10671   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10672 /* end confdefs.h.  */
   10673 int i;
   10674 _ACEOF
   10675 if ac_fn_c_try_compile "$LINENO"
   10676 then :
   10677   xorg_cv_cc_flag_unknown_warning_option=yes
   10678 else case e in #(
   10679   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10680 esac
   10681 fi
   10682 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10683 esac
   10684 fi
   10685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10686 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10687 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10688 	CFLAGS="$xorg_testset_save_CFLAGS"
   10689 fi
   10690 
   10691 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10692 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10693 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10694 	fi
   10695 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10696 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10697 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10698 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10699 then :
   10700   printf %s "(cached) " >&6
   10701 else case e in #(
   10702   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10703 /* end confdefs.h.  */
   10704 int i;
   10705 _ACEOF
   10706 if ac_fn_c_try_compile "$LINENO"
   10707 then :
   10708   xorg_cv_cc_flag_unused_command_line_argument=yes
   10709 else case e in #(
   10710   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10711 esac
   10712 fi
   10713 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10714 esac
   10715 fi
   10716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10717 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10718 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10719 	CFLAGS="$xorg_testset_save_CFLAGS"
   10720 fi
   10721 
   10722 found="no"
   10723 
   10724 	if test $found = "no" ; then
   10725 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10726 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10727 		fi
   10728 
   10729 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10730 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10731 		fi
   10732 
   10733 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10734 
   10735 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10736 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10737 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10738 		if eval test \${$cacheid+y}
   10739 then :
   10740   printf %s "(cached) " >&6
   10741 else case e in #(
   10742   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10743 /* end confdefs.h.  */
   10744 int i;
   10745 int
   10746 main (void)
   10747 {
   10748 
   10749   ;
   10750   return 0;
   10751 }
   10752 _ACEOF
   10753 if ac_fn_c_try_link "$LINENO"
   10754 then :
   10755   eval $cacheid=yes
   10756 else case e in #(
   10757   e) eval $cacheid=no ;;
   10758 esac
   10759 fi
   10760 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10761     conftest$ac_exeext conftest.$ac_ext ;;
   10762 esac
   10763 fi
   10764 
   10765 
   10766 		CFLAGS="$xorg_testset_save_CFLAGS"
   10767 
   10768 		eval supported=\$$cacheid
   10769 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10770 printf "%s\n" "$supported" >&6; }
   10771 		if test "$supported" = "yes" ; then
   10772 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10773 			found="yes"
   10774 		fi
   10775 	fi
   10776 
   10777 
   10778 fi
   10779 
   10780 
   10781 
   10782 
   10783 
   10784 
   10785 
   10786 		CWARNFLAGS="$BASE_CFLAGS"
   10787 		if  test "x$GCC" = xyes ; then
   10788 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10789 		fi
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 
   10798 # Check whether --enable-strict-compilation was given.
   10799 if test ${enable_strict_compilation+y}
   10800 then :
   10801   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10802 else case e in #(
   10803   e) STRICT_COMPILE=no ;;
   10804 esac
   10805 fi
   10806 
   10807 
   10808 
   10809 
   10810 
   10811 
   10812 STRICT_CFLAGS=""
   10813 
   10814 
   10815 
   10816 
   10817 
   10818 
   10819 
   10820 
   10821 
   10822 
   10823 
   10824 
   10825 
   10826 xorg_testset_save_CFLAGS="$CFLAGS"
   10827 
   10828 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10829 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10830 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10831 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10832 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10833 then :
   10834   printf %s "(cached) " >&6
   10835 else case e in #(
   10836   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10837 /* end confdefs.h.  */
   10838 int i;
   10839 _ACEOF
   10840 if ac_fn_c_try_compile "$LINENO"
   10841 then :
   10842   xorg_cv_cc_flag_unknown_warning_option=yes
   10843 else case e in #(
   10844   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10845 esac
   10846 fi
   10847 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10848 esac
   10849 fi
   10850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10851 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10852 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10853 	CFLAGS="$xorg_testset_save_CFLAGS"
   10854 fi
   10855 
   10856 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10857 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10858 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10859 	fi
   10860 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10861 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10862 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10863 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10864 then :
   10865   printf %s "(cached) " >&6
   10866 else case e in #(
   10867   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10868 /* end confdefs.h.  */
   10869 int i;
   10870 _ACEOF
   10871 if ac_fn_c_try_compile "$LINENO"
   10872 then :
   10873   xorg_cv_cc_flag_unused_command_line_argument=yes
   10874 else case e in #(
   10875   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10876 esac
   10877 fi
   10878 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10879 esac
   10880 fi
   10881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10882 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10883 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10884 	CFLAGS="$xorg_testset_save_CFLAGS"
   10885 fi
   10886 
   10887 found="no"
   10888 
   10889 	if test $found = "no" ; then
   10890 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10891 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10892 		fi
   10893 
   10894 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10895 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10896 		fi
   10897 
   10898 		CFLAGS="$CFLAGS -pedantic"
   10899 
   10900 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10901 printf %s "checking if $CC supports -pedantic... " >&6; }
   10902 		cacheid=xorg_cv_cc_flag__pedantic
   10903 		if eval test \${$cacheid+y}
   10904 then :
   10905   printf %s "(cached) " >&6
   10906 else case e in #(
   10907   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10908 /* end confdefs.h.  */
   10909 int i;
   10910 int
   10911 main (void)
   10912 {
   10913 
   10914   ;
   10915   return 0;
   10916 }
   10917 _ACEOF
   10918 if ac_fn_c_try_link "$LINENO"
   10919 then :
   10920   eval $cacheid=yes
   10921 else case e in #(
   10922   e) eval $cacheid=no ;;
   10923 esac
   10924 fi
   10925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10926     conftest$ac_exeext conftest.$ac_ext ;;
   10927 esac
   10928 fi
   10929 
   10930 
   10931 		CFLAGS="$xorg_testset_save_CFLAGS"
   10932 
   10933 		eval supported=\$$cacheid
   10934 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10935 printf "%s\n" "$supported" >&6; }
   10936 		if test "$supported" = "yes" ; then
   10937 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10938 			found="yes"
   10939 		fi
   10940 	fi
   10941 
   10942 
   10943 
   10944 
   10945 
   10946 
   10947 
   10948 
   10949 
   10950 
   10951 
   10952 
   10953 
   10954 
   10955 
   10956 xorg_testset_save_CFLAGS="$CFLAGS"
   10957 
   10958 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10959 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10960 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10961 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10962 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10963 then :
   10964   printf %s "(cached) " >&6
   10965 else case e in #(
   10966   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10967 /* end confdefs.h.  */
   10968 int i;
   10969 _ACEOF
   10970 if ac_fn_c_try_compile "$LINENO"
   10971 then :
   10972   xorg_cv_cc_flag_unknown_warning_option=yes
   10973 else case e in #(
   10974   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10975 esac
   10976 fi
   10977 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10978 esac
   10979 fi
   10980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10981 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10982 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10983 	CFLAGS="$xorg_testset_save_CFLAGS"
   10984 fi
   10985 
   10986 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10987 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10988 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10989 	fi
   10990 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10991 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10992 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10993 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10994 then :
   10995   printf %s "(cached) " >&6
   10996 else case e in #(
   10997   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10998 /* end confdefs.h.  */
   10999 int i;
   11000 _ACEOF
   11001 if ac_fn_c_try_compile "$LINENO"
   11002 then :
   11003   xorg_cv_cc_flag_unused_command_line_argument=yes
   11004 else case e in #(
   11005   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11006 esac
   11007 fi
   11008 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11009 esac
   11010 fi
   11011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11012 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11013 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11014 	CFLAGS="$xorg_testset_save_CFLAGS"
   11015 fi
   11016 
   11017 found="no"
   11018 
   11019 	if test $found = "no" ; then
   11020 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11021 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11022 		fi
   11023 
   11024 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11025 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11026 		fi
   11027 
   11028 		CFLAGS="$CFLAGS -Werror"
   11029 
   11030 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11031 printf %s "checking if $CC supports -Werror... " >&6; }
   11032 		cacheid=xorg_cv_cc_flag__Werror
   11033 		if eval test \${$cacheid+y}
   11034 then :
   11035   printf %s "(cached) " >&6
   11036 else case e in #(
   11037   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11038 /* end confdefs.h.  */
   11039 int i;
   11040 int
   11041 main (void)
   11042 {
   11043 
   11044   ;
   11045   return 0;
   11046 }
   11047 _ACEOF
   11048 if ac_fn_c_try_link "$LINENO"
   11049 then :
   11050   eval $cacheid=yes
   11051 else case e in #(
   11052   e) eval $cacheid=no ;;
   11053 esac
   11054 fi
   11055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11056     conftest$ac_exeext conftest.$ac_ext ;;
   11057 esac
   11058 fi
   11059 
   11060 
   11061 		CFLAGS="$xorg_testset_save_CFLAGS"
   11062 
   11063 		eval supported=\$$cacheid
   11064 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11065 printf "%s\n" "$supported" >&6; }
   11066 		if test "$supported" = "yes" ; then
   11067 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11068 			found="yes"
   11069 		fi
   11070 	fi
   11071 
   11072 	if test $found = "no" ; then
   11073 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11074 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11075 		fi
   11076 
   11077 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11078 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11079 		fi
   11080 
   11081 		CFLAGS="$CFLAGS -errwarn"
   11082 
   11083 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11084 printf %s "checking if $CC supports -errwarn... " >&6; }
   11085 		cacheid=xorg_cv_cc_flag__errwarn
   11086 		if eval test \${$cacheid+y}
   11087 then :
   11088   printf %s "(cached) " >&6
   11089 else case e in #(
   11090   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11091 /* end confdefs.h.  */
   11092 int i;
   11093 int
   11094 main (void)
   11095 {
   11096 
   11097   ;
   11098   return 0;
   11099 }
   11100 _ACEOF
   11101 if ac_fn_c_try_link "$LINENO"
   11102 then :
   11103   eval $cacheid=yes
   11104 else case e in #(
   11105   e) eval $cacheid=no ;;
   11106 esac
   11107 fi
   11108 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11109     conftest$ac_exeext conftest.$ac_ext ;;
   11110 esac
   11111 fi
   11112 
   11113 
   11114 		CFLAGS="$xorg_testset_save_CFLAGS"
   11115 
   11116 		eval supported=\$$cacheid
   11117 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11118 printf "%s\n" "$supported" >&6; }
   11119 		if test "$supported" = "yes" ; then
   11120 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11121 			found="yes"
   11122 		fi
   11123 	fi
   11124 
   11125 
   11126 
   11127 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11128 # activate it with -Werror, so we add it here explicitly.
   11129 
   11130 
   11131 
   11132 
   11133 
   11134 
   11135 
   11136 
   11137 
   11138 
   11139 
   11140 
   11141 
   11142 xorg_testset_save_CFLAGS="$CFLAGS"
   11143 
   11144 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11145 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11146 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11147 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11148 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11149 then :
   11150   printf %s "(cached) " >&6
   11151 else case e in #(
   11152   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11153 /* end confdefs.h.  */
   11154 int i;
   11155 _ACEOF
   11156 if ac_fn_c_try_compile "$LINENO"
   11157 then :
   11158   xorg_cv_cc_flag_unknown_warning_option=yes
   11159 else case e in #(
   11160   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11161 esac
   11162 fi
   11163 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11164 esac
   11165 fi
   11166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11167 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11168 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11169 	CFLAGS="$xorg_testset_save_CFLAGS"
   11170 fi
   11171 
   11172 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11173 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11174 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11175 	fi
   11176 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11177 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11178 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11179 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11180 then :
   11181   printf %s "(cached) " >&6
   11182 else case e in #(
   11183   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11184 /* end confdefs.h.  */
   11185 int i;
   11186 _ACEOF
   11187 if ac_fn_c_try_compile "$LINENO"
   11188 then :
   11189   xorg_cv_cc_flag_unused_command_line_argument=yes
   11190 else case e in #(
   11191   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11192 esac
   11193 fi
   11194 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11195 esac
   11196 fi
   11197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11198 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11199 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11200 	CFLAGS="$xorg_testset_save_CFLAGS"
   11201 fi
   11202 
   11203 found="no"
   11204 
   11205 	if test $found = "no" ; then
   11206 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11207 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11208 		fi
   11209 
   11210 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11211 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11212 		fi
   11213 
   11214 		CFLAGS="$CFLAGS -Werror=attributes"
   11215 
   11216 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11217 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11218 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11219 		if eval test \${$cacheid+y}
   11220 then :
   11221   printf %s "(cached) " >&6
   11222 else case e in #(
   11223   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11224 /* end confdefs.h.  */
   11225 int i;
   11226 int
   11227 main (void)
   11228 {
   11229 
   11230   ;
   11231   return 0;
   11232 }
   11233 _ACEOF
   11234 if ac_fn_c_try_link "$LINENO"
   11235 then :
   11236   eval $cacheid=yes
   11237 else case e in #(
   11238   e) eval $cacheid=no ;;
   11239 esac
   11240 fi
   11241 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11242     conftest$ac_exeext conftest.$ac_ext ;;
   11243 esac
   11244 fi
   11245 
   11246 
   11247 		CFLAGS="$xorg_testset_save_CFLAGS"
   11248 
   11249 		eval supported=\$$cacheid
   11250 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11251 printf "%s\n" "$supported" >&6; }
   11252 		if test "$supported" = "yes" ; then
   11253 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11254 			found="yes"
   11255 		fi
   11256 	fi
   11257 
   11258 
   11259 
   11260 if test "x$STRICT_COMPILE" = "xyes"; then
   11261     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11262     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11263 fi
   11264 
   11265 
   11266 
   11267 
   11268 
   11269 
   11270 
   11271 
   11272 cat >>confdefs.h <<_ACEOF
   11273 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11274 _ACEOF
   11275 
   11276 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11277 	if test "x$PVM" = "x"; then
   11278 		PVM="0"
   11279 	fi
   11280 
   11281 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11282 
   11283 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11284 	if test "x$PVP" = "x"; then
   11285 		PVP="0"
   11286 	fi
   11287 
   11288 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11289 
   11290 
   11291 
   11292 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11293 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11294 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11295 touch \$(top_srcdir)/ChangeLog; \
   11296 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11297 
   11298 
   11299 
   11300 
   11301 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11302 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11303 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11304 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11305 touch \$(top_srcdir)/INSTALL; \
   11306 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11307 
   11308 
   11309 
   11310 
   11311 
   11312 
   11313 case $host_os in
   11314     solaris*)
   11315         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11316         # check for a man page file found in later versions that use
   11317         # traditional section numbers instead
   11318         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11319 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11320 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11321 then :
   11322   printf %s "(cached) " >&6
   11323 else case e in #(
   11324   e) test "$cross_compiling" = yes &&
   11325   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11326 if test -r "/usr/share/man/man7/attributes.7"; then
   11327   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11328 else
   11329   ac_cv_file__usr_share_man_man7_attributes_7=no
   11330 fi ;;
   11331 esac
   11332 fi
   11333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11334 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11335 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11336 then :
   11337   SYSV_MAN_SECTIONS=false
   11338 else case e in #(
   11339   e) SYSV_MAN_SECTIONS=true ;;
   11340 esac
   11341 fi
   11342 
   11343         ;;
   11344     *) SYSV_MAN_SECTIONS=false ;;
   11345 esac
   11346 
   11347 if test x$APP_MAN_SUFFIX = x    ; then
   11348     APP_MAN_SUFFIX=1
   11349 fi
   11350 if test x$APP_MAN_DIR = x    ; then
   11351     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11352 fi
   11353 
   11354 if test x$LIB_MAN_SUFFIX = x    ; then
   11355     LIB_MAN_SUFFIX=3
   11356 fi
   11357 if test x$LIB_MAN_DIR = x    ; then
   11358     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11359 fi
   11360 
   11361 if test x$FILE_MAN_SUFFIX = x    ; then
   11362     case $SYSV_MAN_SECTIONS in
   11363 	true)				FILE_MAN_SUFFIX=4  ;;
   11364 	*)				FILE_MAN_SUFFIX=5  ;;
   11365     esac
   11366 fi
   11367 if test x$FILE_MAN_DIR = x    ; then
   11368     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11369 fi
   11370 
   11371 if test x$MISC_MAN_SUFFIX = x    ; then
   11372     case $SYSV_MAN_SECTIONS in
   11373 	true)				MISC_MAN_SUFFIX=5  ;;
   11374 	*)				MISC_MAN_SUFFIX=7  ;;
   11375     esac
   11376 fi
   11377 if test x$MISC_MAN_DIR = x    ; then
   11378     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11379 fi
   11380 
   11381 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11382     case $SYSV_MAN_SECTIONS in
   11383 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11384 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11385     esac
   11386 fi
   11387 if test x$DRIVER_MAN_DIR = x    ; then
   11388     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11389 fi
   11390 
   11391 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11392     case $SYSV_MAN_SECTIONS in
   11393 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11394 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11395     esac
   11396 fi
   11397 if test x$ADMIN_MAN_DIR = x    ; then
   11398     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11399 fi
   11400 
   11401 
   11402 
   11403 
   11404 
   11405 
   11406 
   11407 
   11408 
   11409 
   11410 
   11411 
   11412 
   11413 
   11414 
   11415 XORG_MAN_PAGE="X Version 11"
   11416 
   11417 MAN_SUBSTS="\
   11418 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11419 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11420 	-e 's|__xservername__|Xorg|g' \
   11421 	-e 's|__xconfigfile__|xorg.conf|g' \
   11422 	-e 's|__projectroot__|\$(prefix)|g' \
   11423 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11424 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11425 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11426 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11427 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11428 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11429 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11430 
   11431 
   11432 
   11433 
   11434 AM_DEFAULT_VERBOSITY=0
   11435 
   11436 
   11437 
   11438 for ac_prog in 'bison -y' byacc
   11439 do
   11440   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11441 set dummy $ac_prog; ac_word=$2
   11442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11443 printf %s "checking for $ac_word... " >&6; }
   11444 if test ${ac_cv_prog_YACC+y}
   11445 then :
   11446   printf %s "(cached) " >&6
   11447 else case e in #(
   11448   e) if test -n "$YACC"; then
   11449   ac_cv_prog_YACC="$YACC" # Let the user override the test.
   11450 else
   11451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11452 for as_dir in $PATH
   11453 do
   11454   IFS=$as_save_IFS
   11455   case $as_dir in #(((
   11456     '') as_dir=./ ;;
   11457     */) ;;
   11458     *) as_dir=$as_dir/ ;;
   11459   esac
   11460     for ac_exec_ext in '' $ac_executable_extensions; do
   11461   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11462     ac_cv_prog_YACC="$ac_prog"
   11463     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11464     break 2
   11465   fi
   11466 done
   11467   done
   11468 IFS=$as_save_IFS
   11469 
   11470 fi ;;
   11471 esac
   11472 fi
   11473 YACC=$ac_cv_prog_YACC
   11474 if test -n "$YACC"; then
   11475   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
   11476 printf "%s\n" "$YACC" >&6; }
   11477 else
   11478   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11479 printf "%s\n" "no" >&6; }
   11480 fi
   11481 
   11482 
   11483   test -n "$YACC" && break
   11484 done
   11485 test -n "$YACC" || YACC="yacc"
   11486 
   11487 # Extract the first word of "$YACC", so it can be a program name with args.
   11488 set dummy $YACC; ac_word=$2
   11489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11490 printf %s "checking for $ac_word... " >&6; }
   11491 if test ${ac_cv_path_YACC_INST+y}
   11492 then :
   11493   printf %s "(cached) " >&6
   11494 else case e in #(
   11495   e) case $YACC_INST in
   11496   [\\/]* | ?:[\\/]*)
   11497   ac_cv_path_YACC_INST="$YACC_INST" # Let the user override the test with a path.
   11498   ;;
   11499   *)
   11500   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11501 for as_dir in $PATH
   11502 do
   11503   IFS=$as_save_IFS
   11504   case $as_dir in #(((
   11505     '') as_dir=./ ;;
   11506     */) ;;
   11507     *) as_dir=$as_dir/ ;;
   11508   esac
   11509     for ac_exec_ext in '' $ac_executable_extensions; do
   11510   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11511     ac_cv_path_YACC_INST="$as_dir$ac_word$ac_exec_ext"
   11512     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11513     break 2
   11514   fi
   11515 done
   11516   done
   11517 IFS=$as_save_IFS
   11518 
   11519   ;;
   11520 esac ;;
   11521 esac
   11522 fi
   11523 YACC_INST=$ac_cv_path_YACC_INST
   11524 if test -n "$YACC_INST"; then
   11525   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $YACC_INST" >&5
   11526 printf "%s\n" "$YACC_INST" >&6; }
   11527 else
   11528   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11529 printf "%s\n" "no" >&6; }
   11530 fi
   11531 
   11532 
   11533 if test ! -f "cfgparse.c"; then
   11534    if test -z "$YACC_INST"; then
   11535       as_fn_error $? "yacc not found - unable to compile cfgparse.y" "$LINENO" 5
   11536    fi
   11537 fi
   11538 
   11539 # Checks for pkg-config packages
   11540 
   11541 pkg_failed=no
   11542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XKBEVD" >&5
   11543 printf %s "checking for XKBEVD... " >&6; }
   11544 
   11545 if test -n "$XKBEVD_CFLAGS"; then
   11546     pkg_cv_XKBEVD_CFLAGS="$XKBEVD_CFLAGS"
   11547  elif test -n "$PKG_CONFIG"; then
   11548     if test -n "$PKG_CONFIG" && \
   11549     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbfile x11\""; } >&5
   11550   ($PKG_CONFIG --exists --print-errors "xkbfile x11") 2>&5
   11551   ac_status=$?
   11552   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11553   test $ac_status = 0; }; then
   11554   pkg_cv_XKBEVD_CFLAGS=`$PKG_CONFIG --cflags "xkbfile x11" 2>/dev/null`
   11555 		      test "x$?" != "x0" && pkg_failed=yes
   11556 else
   11557   pkg_failed=yes
   11558 fi
   11559  else
   11560     pkg_failed=untried
   11561 fi
   11562 if test -n "$XKBEVD_LIBS"; then
   11563     pkg_cv_XKBEVD_LIBS="$XKBEVD_LIBS"
   11564  elif test -n "$PKG_CONFIG"; then
   11565     if test -n "$PKG_CONFIG" && \
   11566     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbfile x11\""; } >&5
   11567   ($PKG_CONFIG --exists --print-errors "xkbfile x11") 2>&5
   11568   ac_status=$?
   11569   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11570   test $ac_status = 0; }; then
   11571   pkg_cv_XKBEVD_LIBS=`$PKG_CONFIG --libs "xkbfile x11" 2>/dev/null`
   11572 		      test "x$?" != "x0" && pkg_failed=yes
   11573 else
   11574   pkg_failed=yes
   11575 fi
   11576  else
   11577     pkg_failed=untried
   11578 fi
   11579 
   11580 
   11581 
   11582 if test $pkg_failed = yes; then
   11583    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11584 printf "%s\n" "no" >&6; }
   11585 
   11586 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11587         _pkg_short_errors_supported=yes
   11588 else
   11589         _pkg_short_errors_supported=no
   11590 fi
   11591         if test $_pkg_short_errors_supported = yes; then
   11592 	        XKBEVD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xkbfile x11" 2>&1`
   11593         else
   11594 	        XKBEVD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xkbfile x11" 2>&1`
   11595         fi
   11596 	# Put the nasty error message in config.log where it belongs
   11597 	echo "$XKBEVD_PKG_ERRORS" >&5
   11598 
   11599 	as_fn_error $? "Package requirements (xkbfile x11) were not met:
   11600 
   11601 $XKBEVD_PKG_ERRORS
   11602 
   11603 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11604 installed software in a non-standard prefix.
   11605 
   11606 Alternatively, you may set the environment variables XKBEVD_CFLAGS
   11607 and XKBEVD_LIBS to avoid the need to call pkg-config.
   11608 See the pkg-config man page for more details." "$LINENO" 5
   11609 elif test $pkg_failed = untried; then
   11610      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11611 printf "%s\n" "no" >&6; }
   11612 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11613 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   11614 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11615 is in your PATH or set the PKG_CONFIG environment variable to the full
   11616 path to pkg-config.
   11617 
   11618 Alternatively, you may set the environment variables XKBEVD_CFLAGS
   11619 and XKBEVD_LIBS to avoid the need to call pkg-config.
   11620 See the pkg-config man page for more details.
   11621 
   11622 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11623 See 'config.log' for more details" "$LINENO" 5; }
   11624 else
   11625 	XKBEVD_CFLAGS=$pkg_cv_XKBEVD_CFLAGS
   11626 	XKBEVD_LIBS=$pkg_cv_XKBEVD_LIBS
   11627         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11628 printf "%s\n" "yes" >&6; }
   11629 
   11630 fi
   11631 
   11632 ac_config_files="$ac_config_files Makefile man/Makefile"
   11633 
   11634 cat >confcache <<\_ACEOF
   11635 # This file is a shell script that caches the results of configure
   11636 # tests run on this system so they can be shared between configure
   11637 # scripts and configure runs, see configure's option --config-cache.
   11638 # It is not useful on other systems.  If it contains results you don't
   11639 # want to keep, you may remove or edit it.
   11640 #
   11641 # config.status only pays attention to the cache file if you give it
   11642 # the --recheck option to rerun configure.
   11643 #
   11644 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   11645 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   11646 # following values.
   11647 
   11648 _ACEOF
   11649 
   11650 # The following way of writing the cache mishandles newlines in values,
   11651 # but we know of no workaround that is simple, portable, and efficient.
   11652 # So, we kill variables containing newlines.
   11653 # Ultrix sh set writes to stderr and can't be redirected directly,
   11654 # and sets the high bit in the cache file unless we assign to the vars.
   11655 (
   11656   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11657     eval ac_val=\$$ac_var
   11658     case $ac_val in #(
   11659     *${as_nl}*)
   11660       case $ac_var in #(
   11661       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11662 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11663       esac
   11664       case $ac_var in #(
   11665       _ | IFS | as_nl) ;; #(
   11666       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11667       *) { eval $ac_var=; unset $ac_var;} ;;
   11668       esac ;;
   11669     esac
   11670   done
   11671 
   11672   (set) 2>&1 |
   11673     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11674     *${as_nl}ac_space=\ *)
   11675       # 'set' does not quote correctly, so add quotes: double-quote
   11676       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11677       sed -n \
   11678 	"s/'/'\\\\''/g;
   11679 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11680       ;; #(
   11681     *)
   11682       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   11683       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11684       ;;
   11685     esac |
   11686     sort
   11687 ) |
   11688   sed '
   11689      /^ac_cv_env_/b end
   11690      t clear
   11691      :clear
   11692      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11693      t end
   11694      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11695      :end' >>confcache
   11696 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11697   if test -w "$cache_file"; then
   11698     if test "x$cache_file" != "x/dev/null"; then
   11699       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11700 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11701       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11702 	cat confcache >"$cache_file"
   11703       else
   11704         case $cache_file in #(
   11705         */* | ?:*)
   11706 	  mv -f confcache "$cache_file"$$ &&
   11707 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11708         *)
   11709 	  mv -f confcache "$cache_file" ;;
   11710 	esac
   11711       fi
   11712     fi
   11713   else
   11714     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11715 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11716   fi
   11717 fi
   11718 rm -f confcache
   11719 
   11720 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11721 # Let make expand exec_prefix.
   11722 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11723 
   11724 DEFS=-DHAVE_CONFIG_H
   11725 
   11726 ac_libobjs=
   11727 ac_ltlibobjs=
   11728 U=
   11729 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11730   # 1. Remove the extension, and $U if already installed.
   11731   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11732   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   11733   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11734   #    will be set to the directory where LIBOBJS objects are built.
   11735   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11736   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11737 done
   11738 LIBOBJS=$ac_libobjs
   11739 
   11740 LTLIBOBJS=$ac_ltlibobjs
   11741 
   11742 
   11743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11744 printf %s "checking that generated files are newer than configure... " >&6; }
   11745    if test -n "$am_sleep_pid"; then
   11746      # Hide warnings about reused PIDs.
   11747      wait $am_sleep_pid 2>/dev/null
   11748    fi
   11749    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11750 printf "%s\n" "done" >&6; }
   11751 case $enable_silent_rules in # (((
   11752   yes) AM_DEFAULT_VERBOSITY=0;;
   11753    no) AM_DEFAULT_VERBOSITY=1;;
   11754 esac
   11755 if test $am_cv_make_support_nested_variables = yes; then
   11756     AM_V='$(V)'
   11757   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11758 else
   11759   AM_V=$AM_DEFAULT_VERBOSITY
   11760   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11761 fi
   11762 
   11763  if test -n "$EXEEXT"; then
   11764   am__EXEEXT_TRUE=
   11765   am__EXEEXT_FALSE='#'
   11766 else
   11767   am__EXEEXT_TRUE='#'
   11768   am__EXEEXT_FALSE=
   11769 fi
   11770 
   11771 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11772   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11773 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11774 fi
   11775 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11776   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11777 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11778 fi
   11779 
   11780 : "${CONFIG_STATUS=./config.status}"
   11781 ac_write_fail=0
   11782 ac_clean_files_save=$ac_clean_files
   11783 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11785 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   11786 as_write_fail=0
   11787 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11788 #! $SHELL
   11789 # Generated by $as_me.
   11790 # Run this file to recreate the current configuration.
   11791 # Compiler output produced by configure, useful for debugging
   11792 # configure, is in config.log if it exists.
   11793 
   11794 debug=false
   11795 ac_cs_recheck=false
   11796 ac_cs_silent=false
   11797 
   11798 SHELL=\${CONFIG_SHELL-$SHELL}
   11799 export SHELL
   11800 _ASEOF
   11801 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11802 ## -------------------- ##
   11803 ## M4sh Initialization. ##
   11804 ## -------------------- ##
   11805 
   11806 # Be more Bourne compatible
   11807 DUALCASE=1; export DUALCASE # for MKS sh
   11808 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   11809 then :
   11810   emulate sh
   11811   NULLCMD=:
   11812   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11813   # is contrary to our usage.  Disable this feature.
   11814   alias -g '${1+"$@"}'='"$@"'
   11815   setopt NO_GLOB_SUBST
   11816 else case e in #(
   11817   e) case `(set -o) 2>/dev/null` in #(
   11818   *posix*) :
   11819     set -o posix ;; #(
   11820   *) :
   11821      ;;
   11822 esac ;;
   11823 esac
   11824 fi
   11825 
   11826 
   11827 
   11828 # Reset variables that may have inherited troublesome values from
   11829 # the environment.
   11830 
   11831 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   11832 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   11833 # side effect of setting IFS to empty, thus disabling word splitting.)
   11834 # Quoting is to prevent editors from complaining about space-tab.
   11835 as_nl='
   11836 '
   11837 export as_nl
   11838 IFS=" ""	$as_nl"
   11839 
   11840 PS1='$ '
   11841 PS2='> '
   11842 PS4='+ '
   11843 
   11844 # Ensure predictable behavior from utilities with locale-dependent output.
   11845 LC_ALL=C
   11846 export LC_ALL
   11847 LANGUAGE=C
   11848 export LANGUAGE
   11849 
   11850 # We cannot yet rely on "unset" to work, but we need these variables
   11851 # to be unset--not just set to an empty or harmless value--now, to
   11852 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   11853 # also avoids known problems related to "unset" and subshell syntax
   11854 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   11855 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   11856 do eval test \${$as_var+y} \
   11857   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11858 done
   11859 
   11860 # Ensure that fds 0, 1, and 2 are open.
   11861 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   11862 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   11863 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   11864 
   11865 # The user is always right.
   11866 if ${PATH_SEPARATOR+false} :; then
   11867   PATH_SEPARATOR=:
   11868   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11869     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11870       PATH_SEPARATOR=';'
   11871   }
   11872 fi
   11873 
   11874 
   11875 # Find who we are.  Look in the path if we contain no directory separator.
   11876 as_myself=
   11877 case $0 in #((
   11878   *[\\/]* ) as_myself=$0 ;;
   11879   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11880 for as_dir in $PATH
   11881 do
   11882   IFS=$as_save_IFS
   11883   case $as_dir in #(((
   11884     '') as_dir=./ ;;
   11885     */) ;;
   11886     *) as_dir=$as_dir/ ;;
   11887   esac
   11888     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   11889   done
   11890 IFS=$as_save_IFS
   11891 
   11892      ;;
   11893 esac
   11894 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   11895 # in which case we are not to be found in the path.
   11896 if test "x$as_myself" = x; then
   11897   as_myself=$0
   11898 fi
   11899 if test ! -f "$as_myself"; then
   11900   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11901   exit 1
   11902 fi
   11903 
   11904 
   11905 
   11906 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11907 # ----------------------------------------
   11908 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11909 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11910 # script with STATUS, using 1 if that was 0.
   11911 as_fn_error ()
   11912 {
   11913   as_status=$1; test $as_status -eq 0 && as_status=1
   11914   if test "$4"; then
   11915     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11916     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11917   fi
   11918   printf "%s\n" "$as_me: error: $2" >&2
   11919   as_fn_exit $as_status
   11920 } # as_fn_error
   11921 
   11922 
   11923 # as_fn_set_status STATUS
   11924 # -----------------------
   11925 # Set $? to STATUS, without forking.
   11926 as_fn_set_status ()
   11927 {
   11928   return $1
   11929 } # as_fn_set_status
   11930 
   11931 # as_fn_exit STATUS
   11932 # -----------------
   11933 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11934 as_fn_exit ()
   11935 {
   11936   set +e
   11937   as_fn_set_status $1
   11938   exit $1
   11939 } # as_fn_exit
   11940 
   11941 # as_fn_unset VAR
   11942 # ---------------
   11943 # Portably unset VAR.
   11944 as_fn_unset ()
   11945 {
   11946   { eval $1=; unset $1;}
   11947 }
   11948 as_unset=as_fn_unset
   11949 
   11950 # as_fn_append VAR VALUE
   11951 # ----------------------
   11952 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11953 # advantage of any shell optimizations that allow amortized linear growth over
   11954 # repeated appends, instead of the typical quadratic growth present in naive
   11955 # implementations.
   11956 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   11957 then :
   11958   eval 'as_fn_append ()
   11959   {
   11960     eval $1+=\$2
   11961   }'
   11962 else case e in #(
   11963   e) as_fn_append ()
   11964   {
   11965     eval $1=\$$1\$2
   11966   } ;;
   11967 esac
   11968 fi # as_fn_append
   11969 
   11970 # as_fn_arith ARG...
   11971 # ------------------
   11972 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11973 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11974 # must be portable across $(()) and expr.
   11975 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   11976 then :
   11977   eval 'as_fn_arith ()
   11978   {
   11979     as_val=$(( $* ))
   11980   }'
   11981 else case e in #(
   11982   e) as_fn_arith ()
   11983   {
   11984     as_val=`expr "$@" || test $? -eq 1`
   11985   } ;;
   11986 esac
   11987 fi # as_fn_arith
   11988 
   11989 
   11990 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11991    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11992   as_expr=expr
   11993 else
   11994   as_expr=false
   11995 fi
   11996 
   11997 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11998   as_basename=basename
   11999 else
   12000   as_basename=false
   12001 fi
   12002 
   12003 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12004   as_dirname=dirname
   12005 else
   12006   as_dirname=false
   12007 fi
   12008 
   12009 as_me=`$as_basename -- "$0" ||
   12010 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12011 	 X"$0" : 'X\(//\)$' \| \
   12012 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12013 printf "%s\n" X/"$0" |
   12014     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12015 	    s//\1/
   12016 	    q
   12017 	  }
   12018 	  /^X\/\(\/\/\)$/{
   12019 	    s//\1/
   12020 	    q
   12021 	  }
   12022 	  /^X\/\(\/\).*/{
   12023 	    s//\1/
   12024 	    q
   12025 	  }
   12026 	  s/.*/./; q'`
   12027 
   12028 # Avoid depending upon Character Ranges.
   12029 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12030 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12031 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12032 as_cr_digits='0123456789'
   12033 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12034 
   12035 
   12036 # Determine whether it's possible to make 'echo' print without a newline.
   12037 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   12038 # for compatibility with existing Makefiles.
   12039 ECHO_C= ECHO_N= ECHO_T=
   12040 case `echo -n x` in #(((((
   12041 -n*)
   12042   case `echo 'xy\c'` in
   12043   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12044   xy)  ECHO_C='\c';;
   12045   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12046        ECHO_T='	';;
   12047   esac;;
   12048 *)
   12049   ECHO_N='-n';;
   12050 esac
   12051 
   12052 # For backward compatibility with old third-party macros, we provide
   12053 # the shell variables $as_echo and $as_echo_n.  New code should use
   12054 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   12055 as_echo='printf %s\n'
   12056 as_echo_n='printf %s'
   12057 
   12058 rm -f conf$$ conf$$.exe conf$$.file
   12059 if test -d conf$$.dir; then
   12060   rm -f conf$$.dir/conf$$.file
   12061 else
   12062   rm -f conf$$.dir
   12063   mkdir conf$$.dir 2>/dev/null
   12064 fi
   12065 if (echo >conf$$.file) 2>/dev/null; then
   12066   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12067     as_ln_s='ln -s'
   12068     # ... but there are two gotchas:
   12069     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   12070     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   12071     # In both cases, we have to default to 'cp -pR'.
   12072     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12073       as_ln_s='cp -pR'
   12074   elif ln conf$$.file conf$$ 2>/dev/null; then
   12075     as_ln_s=ln
   12076   else
   12077     as_ln_s='cp -pR'
   12078   fi
   12079 else
   12080   as_ln_s='cp -pR'
   12081 fi
   12082 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12083 rmdir conf$$.dir 2>/dev/null
   12084 
   12085 
   12086 # as_fn_mkdir_p
   12087 # -------------
   12088 # Create "$as_dir" as a directory, including parents if necessary.
   12089 as_fn_mkdir_p ()
   12090 {
   12091 
   12092   case $as_dir in #(
   12093   -*) as_dir=./$as_dir;;
   12094   esac
   12095   test -d "$as_dir" || eval $as_mkdir_p || {
   12096     as_dirs=
   12097     while :; do
   12098       case $as_dir in #(
   12099       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12100       *) as_qdir=$as_dir;;
   12101       esac
   12102       as_dirs="'$as_qdir' $as_dirs"
   12103       as_dir=`$as_dirname -- "$as_dir" ||
   12104 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12105 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12106 	 X"$as_dir" : 'X\(//\)$' \| \
   12107 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12108 printf "%s\n" X"$as_dir" |
   12109     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12110 	    s//\1/
   12111 	    q
   12112 	  }
   12113 	  /^X\(\/\/\)[^/].*/{
   12114 	    s//\1/
   12115 	    q
   12116 	  }
   12117 	  /^X\(\/\/\)$/{
   12118 	    s//\1/
   12119 	    q
   12120 	  }
   12121 	  /^X\(\/\).*/{
   12122 	    s//\1/
   12123 	    q
   12124 	  }
   12125 	  s/.*/./; q'`
   12126       test -d "$as_dir" && break
   12127     done
   12128     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12129   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12130 
   12131 
   12132 } # as_fn_mkdir_p
   12133 if mkdir -p . 2>/dev/null; then
   12134   as_mkdir_p='mkdir -p "$as_dir"'
   12135 else
   12136   test -d ./-p && rmdir ./-p
   12137   as_mkdir_p=false
   12138 fi
   12139 
   12140 
   12141 # as_fn_executable_p FILE
   12142 # -----------------------
   12143 # Test if FILE is an executable regular file.
   12144 as_fn_executable_p ()
   12145 {
   12146   test -f "$1" && test -x "$1"
   12147 } # as_fn_executable_p
   12148 as_test_x='test -x'
   12149 as_executable_p=as_fn_executable_p
   12150 
   12151 # Sed expression to map a string onto a valid CPP name.
   12152 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   12153 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   12154 
   12155 # Sed expression to map a string onto a valid variable name.
   12156 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   12157 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   12158 
   12159 
   12160 exec 6>&1
   12161 ## ----------------------------------- ##
   12162 ## Main body of $CONFIG_STATUS script. ##
   12163 ## ----------------------------------- ##
   12164 _ASEOF
   12165 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12166 
   12167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12168 # Save the log message, to keep $0 and so on meaningful, and to
   12169 # report actual input values of CONFIG_FILES etc. instead of their
   12170 # values after options handling.
   12171 ac_log="
   12172 This file was extended by xkbevd $as_me 1.1.6, which was
   12173 generated by GNU Autoconf 2.72.  Invocation command line was
   12174 
   12175   CONFIG_FILES    = $CONFIG_FILES
   12176   CONFIG_HEADERS  = $CONFIG_HEADERS
   12177   CONFIG_LINKS    = $CONFIG_LINKS
   12178   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12179   $ $0 $@
   12180 
   12181 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12182 "
   12183 
   12184 _ACEOF
   12185 
   12186 case $ac_config_files in *"
   12187 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12188 esac
   12189 
   12190 case $ac_config_headers in *"
   12191 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12192 esac
   12193 
   12194 
   12195 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12196 # Files that config.status was made for.
   12197 config_files="$ac_config_files"
   12198 config_headers="$ac_config_headers"
   12199 config_commands="$ac_config_commands"
   12200 
   12201 _ACEOF
   12202 
   12203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12204 ac_cs_usage="\
   12205 '$as_me' instantiates files and other configuration actions
   12206 from templates according to the current configuration.  Unless the files
   12207 and actions are specified as TAGs, all are instantiated by default.
   12208 
   12209 Usage: $0 [OPTION]... [TAG]...
   12210 
   12211   -h, --help       print this help, then exit
   12212   -V, --version    print version number and configuration settings, then exit
   12213       --config     print configuration, then exit
   12214   -q, --quiet, --silent
   12215                    do not print progress messages
   12216   -d, --debug      don't remove temporary files
   12217       --recheck    update $as_me by reconfiguring in the same conditions
   12218       --file=FILE[:TEMPLATE]
   12219                    instantiate the configuration file FILE
   12220       --header=FILE[:TEMPLATE]
   12221                    instantiate the configuration header FILE
   12222 
   12223 Configuration files:
   12224 $config_files
   12225 
   12226 Configuration headers:
   12227 $config_headers
   12228 
   12229 Configuration commands:
   12230 $config_commands
   12231 
   12232 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xkbevd/-/issues>."
   12233 
   12234 _ACEOF
   12235 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12236 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12237 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12238 ac_cs_config='$ac_cs_config_escaped'
   12239 ac_cs_version="\\
   12240 xkbevd config.status 1.1.6
   12241 configured by $0, generated by GNU Autoconf 2.72,
   12242   with options \\"\$ac_cs_config\\"
   12243 
   12244 Copyright (C) 2023 Free Software Foundation, Inc.
   12245 This config.status script is free software; the Free Software Foundation
   12246 gives unlimited permission to copy, distribute and modify it."
   12247 
   12248 ac_pwd='$ac_pwd'
   12249 srcdir='$srcdir'
   12250 INSTALL='$INSTALL'
   12251 MKDIR_P='$MKDIR_P'
   12252 AWK='$AWK'
   12253 test -n "\$AWK" || AWK=awk
   12254 _ACEOF
   12255 
   12256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12257 # The default lists apply if the user does not specify any file.
   12258 ac_need_defaults=:
   12259 while test $# != 0
   12260 do
   12261   case $1 in
   12262   --*=?*)
   12263     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12264     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12265     ac_shift=:
   12266     ;;
   12267   --*=)
   12268     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12269     ac_optarg=
   12270     ac_shift=:
   12271     ;;
   12272   *)
   12273     ac_option=$1
   12274     ac_optarg=$2
   12275     ac_shift=shift
   12276     ;;
   12277   esac
   12278 
   12279   case $ac_option in
   12280   # Handling of the options.
   12281   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12282     ac_cs_recheck=: ;;
   12283   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12284     printf "%s\n" "$ac_cs_version"; exit ;;
   12285   --config | --confi | --conf | --con | --co | --c )
   12286     printf "%s\n" "$ac_cs_config"; exit ;;
   12287   --debug | --debu | --deb | --de | --d | -d )
   12288     debug=: ;;
   12289   --file | --fil | --fi | --f )
   12290     $ac_shift
   12291     case $ac_optarg in
   12292     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12293     '') as_fn_error $? "missing file argument" ;;
   12294     esac
   12295     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12296     ac_need_defaults=false;;
   12297   --header | --heade | --head | --hea )
   12298     $ac_shift
   12299     case $ac_optarg in
   12300     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12301     esac
   12302     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12303     ac_need_defaults=false;;
   12304   --he | --h)
   12305     # Conflict between --help and --header
   12306     as_fn_error $? "ambiguous option: '$1'
   12307 Try '$0 --help' for more information.";;
   12308   --help | --hel | -h )
   12309     printf "%s\n" "$ac_cs_usage"; exit ;;
   12310   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12311   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12312     ac_cs_silent=: ;;
   12313 
   12314   # This is an error.
   12315   -*) as_fn_error $? "unrecognized option: '$1'
   12316 Try '$0 --help' for more information." ;;
   12317 
   12318   *) as_fn_append ac_config_targets " $1"
   12319      ac_need_defaults=false ;;
   12320 
   12321   esac
   12322   shift
   12323 done
   12324 
   12325 ac_configure_extra_args=
   12326 
   12327 if $ac_cs_silent; then
   12328   exec 6>/dev/null
   12329   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12330 fi
   12331 
   12332 _ACEOF
   12333 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12334 if \$ac_cs_recheck; then
   12335   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12336   shift
   12337   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12338   CONFIG_SHELL='$SHELL'
   12339   export CONFIG_SHELL
   12340   exec "\$@"
   12341 fi
   12342 
   12343 _ACEOF
   12344 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12345 exec 5>>config.log
   12346 {
   12347   echo
   12348   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12349 ## Running $as_me. ##
   12350 _ASBOX
   12351   printf "%s\n" "$ac_log"
   12352 } >&5
   12353 
   12354 _ACEOF
   12355 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12356 #
   12357 # INIT-COMMANDS
   12358 #
   12359 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12360 
   12361 _ACEOF
   12362 
   12363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12364 
   12365 # Handling of arguments.
   12366 for ac_config_target in $ac_config_targets
   12367 do
   12368   case $ac_config_target in
   12369     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12370     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12371     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12372     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12373 
   12374   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   12375   esac
   12376 done
   12377 
   12378 
   12379 # If the user did not use the arguments to specify the items to instantiate,
   12380 # then the envvar interface is used.  Set only those that are not.
   12381 # We use the long form for the default assignment because of an extremely
   12382 # bizarre bug on SunOS 4.1.3.
   12383 if $ac_need_defaults; then
   12384   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12385   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12386   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12387 fi
   12388 
   12389 # Have a temporary directory for convenience.  Make it in the build tree
   12390 # simply because there is no reason against having it here, and in addition,
   12391 # creating and moving files from /tmp can sometimes cause problems.
   12392 # Hook for its removal unless debugging.
   12393 # Note that there is a small window in which the directory will not be cleaned:
   12394 # after its creation but before its name has been assigned to '$tmp'.
   12395 $debug ||
   12396 {
   12397   tmp= ac_tmp=
   12398   trap 'exit_status=$?
   12399   : "${ac_tmp:=$tmp}"
   12400   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12401 ' 0
   12402   trap 'as_fn_exit 1' 1 2 13 15
   12403 }
   12404 # Create a (secure) tmp directory for tmp files.
   12405 
   12406 {
   12407   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12408   test -d "$tmp"
   12409 }  ||
   12410 {
   12411   tmp=./conf$$-$RANDOM
   12412   (umask 077 && mkdir "$tmp")
   12413 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12414 ac_tmp=$tmp
   12415 
   12416 # Set up the scripts for CONFIG_FILES section.
   12417 # No need to generate them if there are no CONFIG_FILES.
   12418 # This happens for instance with './config.status config.h'.
   12419 if test -n "$CONFIG_FILES"; then
   12420 
   12421 
   12422 ac_cr=`echo X | tr X '\015'`
   12423 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12424 # But we know of no other shell where ac_cr would be empty at this
   12425 # point, so we can use a bashism as a fallback.
   12426 if test "x$ac_cr" = x; then
   12427   eval ac_cr=\$\'\\r\'
   12428 fi
   12429 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12430 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12431   ac_cs_awk_cr='\\r'
   12432 else
   12433   ac_cs_awk_cr=$ac_cr
   12434 fi
   12435 
   12436 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12437 _ACEOF
   12438 
   12439 
   12440 {
   12441   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12442   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12443   echo "_ACEOF"
   12444 } >conf$$subs.sh ||
   12445   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12446 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12447 ac_delim='%!_!# '
   12448 for ac_last_try in false false false false false :; do
   12449   . ./conf$$subs.sh ||
   12450     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12451 
   12452   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12453   if test $ac_delim_n = $ac_delim_num; then
   12454     break
   12455   elif $ac_last_try; then
   12456     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12457   else
   12458     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12459   fi
   12460 done
   12461 rm -f conf$$subs.sh
   12462 
   12463 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12464 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12465 _ACEOF
   12466 sed -n '
   12467 h
   12468 s/^/S["/; s/!.*/"]=/
   12469 p
   12470 g
   12471 s/^[^!]*!//
   12472 :repl
   12473 t repl
   12474 s/'"$ac_delim"'$//
   12475 t delim
   12476 :nl
   12477 h
   12478 s/\(.\{148\}\)..*/\1/
   12479 t more1
   12480 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12481 p
   12482 n
   12483 b repl
   12484 :more1
   12485 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12486 p
   12487 g
   12488 s/.\{148\}//
   12489 t nl
   12490 :delim
   12491 h
   12492 s/\(.\{148\}\)..*/\1/
   12493 t more2
   12494 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12495 p
   12496 b
   12497 :more2
   12498 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12499 p
   12500 g
   12501 s/.\{148\}//
   12502 t delim
   12503 ' <conf$$subs.awk | sed '
   12504 /^[^""]/{
   12505   N
   12506   s/\n//
   12507 }
   12508 ' >>$CONFIG_STATUS || ac_write_fail=1
   12509 rm -f conf$$subs.awk
   12510 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12511 _ACAWK
   12512 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12513   for (key in S) S_is_set[key] = 1
   12514   FS = ""
   12515 
   12516 }
   12517 {
   12518   line = $ 0
   12519   nfields = split(line, field, "@")
   12520   substed = 0
   12521   len = length(field[1])
   12522   for (i = 2; i < nfields; i++) {
   12523     key = field[i]
   12524     keylen = length(key)
   12525     if (S_is_set[key]) {
   12526       value = S[key]
   12527       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12528       len += length(value) + length(field[++i])
   12529       substed = 1
   12530     } else
   12531       len += 1 + keylen
   12532   }
   12533 
   12534   print line
   12535 }
   12536 
   12537 _ACAWK
   12538 _ACEOF
   12539 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12540 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12541   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12542 else
   12543   cat
   12544 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12545   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12546 _ACEOF
   12547 
   12548 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12549 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12550 # trailing colons and then remove the whole line if VPATH becomes empty
   12551 # (actually we leave an empty line to preserve line numbers).
   12552 if test "x$srcdir" = x.; then
   12553   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12554 h
   12555 s///
   12556 s/^/:/
   12557 s/[	 ]*$/:/
   12558 s/:\$(srcdir):/:/g
   12559 s/:\${srcdir}:/:/g
   12560 s/:@srcdir@:/:/g
   12561 s/^:*//
   12562 s/:*$//
   12563 x
   12564 s/\(=[	 ]*\).*/\1/
   12565 G
   12566 s/\n//
   12567 s/^[^=]*=[	 ]*$//
   12568 }'
   12569 fi
   12570 
   12571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12572 fi # test -n "$CONFIG_FILES"
   12573 
   12574 # Set up the scripts for CONFIG_HEADERS section.
   12575 # No need to generate them if there are no CONFIG_HEADERS.
   12576 # This happens for instance with './config.status Makefile'.
   12577 if test -n "$CONFIG_HEADERS"; then
   12578 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12579 BEGIN {
   12580 _ACEOF
   12581 
   12582 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   12583 # here-document in config.status, that substitutes the proper values into
   12584 # config.h.in to produce config.h.
   12585 
   12586 # Create a delimiter string that does not exist in confdefs.h, to ease
   12587 # handling of long lines.
   12588 ac_delim='%!_!# '
   12589 for ac_last_try in false false :; do
   12590   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12591   if test -z "$ac_tt"; then
   12592     break
   12593   elif $ac_last_try; then
   12594     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12595   else
   12596     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12597   fi
   12598 done
   12599 
   12600 # For the awk script, D is an array of macro values keyed by name,
   12601 # likewise P contains macro parameters if any.  Preserve backslash
   12602 # newline sequences.
   12603 
   12604 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12605 sed -n '
   12606 s/.\{148\}/&'"$ac_delim"'/g
   12607 t rset
   12608 :rset
   12609 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12610 t def
   12611 d
   12612 :def
   12613 s/\\$//
   12614 t bsnl
   12615 s/["\\]/\\&/g
   12616 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12617 D["\1"]=" \3"/p
   12618 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12619 d
   12620 :bsnl
   12621 s/["\\]/\\&/g
   12622 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12623 D["\1"]=" \3\\\\\\n"\\/p
   12624 t cont
   12625 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12626 t cont
   12627 d
   12628 :cont
   12629 n
   12630 s/.\{148\}/&'"$ac_delim"'/g
   12631 t clear
   12632 :clear
   12633 s/\\$//
   12634 t bsnlc
   12635 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12636 d
   12637 :bsnlc
   12638 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12639 b cont
   12640 ' <confdefs.h | sed '
   12641 s/'"$ac_delim"'/"\\\
   12642 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12643 
   12644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12645   for (key in D) D_is_set[key] = 1
   12646   FS = ""
   12647 }
   12648 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12649   line = \$ 0
   12650   split(line, arg, " ")
   12651   if (arg[1] == "#") {
   12652     defundef = arg[2]
   12653     mac1 = arg[3]
   12654   } else {
   12655     defundef = substr(arg[1], 2)
   12656     mac1 = arg[2]
   12657   }
   12658   split(mac1, mac2, "(") #)
   12659   macro = mac2[1]
   12660   prefix = substr(line, 1, index(line, defundef) - 1)
   12661   if (D_is_set[macro]) {
   12662     # Preserve the white space surrounding the "#".
   12663     print prefix "define", macro P[macro] D[macro]
   12664     next
   12665   } else {
   12666     # Replace #undef with comments.  This is necessary, for example,
   12667     # in the case of _POSIX_SOURCE, which is predefined and required
   12668     # on some systems where configure will not decide to define it.
   12669     if (defundef == "undef") {
   12670       print "/*", prefix defundef, macro, "*/"
   12671       next
   12672     }
   12673   }
   12674 }
   12675 { print }
   12676 _ACAWK
   12677 _ACEOF
   12678 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12679   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12680 fi # test -n "$CONFIG_HEADERS"
   12681 
   12682 
   12683 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12684 shift
   12685 for ac_tag
   12686 do
   12687   case $ac_tag in
   12688   :[FHLC]) ac_mode=$ac_tag; continue;;
   12689   esac
   12690   case $ac_mode$ac_tag in
   12691   :[FHL]*:*);;
   12692   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   12693   :[FH]-) ac_tag=-:-;;
   12694   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12695   esac
   12696   ac_save_IFS=$IFS
   12697   IFS=:
   12698   set x $ac_tag
   12699   IFS=$ac_save_IFS
   12700   shift
   12701   ac_file=$1
   12702   shift
   12703 
   12704   case $ac_mode in
   12705   :L) ac_source=$1;;
   12706   :[FH])
   12707     ac_file_inputs=
   12708     for ac_f
   12709     do
   12710       case $ac_f in
   12711       -) ac_f="$ac_tmp/stdin";;
   12712       *) # Look for the file first in the build tree, then in the source tree
   12713 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12714 	 # because $ac_f cannot contain ':'.
   12715 	 test -f "$ac_f" ||
   12716 	   case $ac_f in
   12717 	   [\\/$]*) false;;
   12718 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12719 	   esac ||
   12720 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   12721       esac
   12722       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12723       as_fn_append ac_file_inputs " '$ac_f'"
   12724     done
   12725 
   12726     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   12727     # use $as_me), people would be surprised to read:
   12728     #    /* config.h.  Generated by config.status.  */
   12729     configure_input='Generated from '`
   12730 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12731 	`' by configure.'
   12732     if test x"$ac_file" != x-; then
   12733       configure_input="$ac_file.  $configure_input"
   12734       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12735 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   12736     fi
   12737     # Neutralize special characters interpreted by sed in replacement strings.
   12738     case $configure_input in #(
   12739     *\&* | *\|* | *\\* )
   12740        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   12741        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12742     *) ac_sed_conf_input=$configure_input;;
   12743     esac
   12744 
   12745     case $ac_tag in
   12746     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12747       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12748     esac
   12749     ;;
   12750   esac
   12751 
   12752   ac_dir=`$as_dirname -- "$ac_file" ||
   12753 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12754 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12755 	 X"$ac_file" : 'X\(//\)$' \| \
   12756 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12757 printf "%s\n" X"$ac_file" |
   12758     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12759 	    s//\1/
   12760 	    q
   12761 	  }
   12762 	  /^X\(\/\/\)[^/].*/{
   12763 	    s//\1/
   12764 	    q
   12765 	  }
   12766 	  /^X\(\/\/\)$/{
   12767 	    s//\1/
   12768 	    q
   12769 	  }
   12770 	  /^X\(\/\).*/{
   12771 	    s//\1/
   12772 	    q
   12773 	  }
   12774 	  s/.*/./; q'`
   12775   as_dir="$ac_dir"; as_fn_mkdir_p
   12776   ac_builddir=.
   12777 
   12778 case "$ac_dir" in
   12779 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12780 *)
   12781   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   12782   # A ".." for each directory in $ac_dir_suffix.
   12783   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12784   case $ac_top_builddir_sub in
   12785   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12786   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12787   esac ;;
   12788 esac
   12789 ac_abs_top_builddir=$ac_pwd
   12790 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12791 # for backward compatibility:
   12792 ac_top_builddir=$ac_top_build_prefix
   12793 
   12794 case $srcdir in
   12795   .)  # We are building in place.
   12796     ac_srcdir=.
   12797     ac_top_srcdir=$ac_top_builddir_sub
   12798     ac_abs_top_srcdir=$ac_pwd ;;
   12799   [\\/]* | ?:[\\/]* )  # Absolute name.
   12800     ac_srcdir=$srcdir$ac_dir_suffix;
   12801     ac_top_srcdir=$srcdir
   12802     ac_abs_top_srcdir=$srcdir ;;
   12803   *) # Relative name.
   12804     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12805     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12806     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12807 esac
   12808 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12809 
   12810 
   12811   case $ac_mode in
   12812   :F)
   12813   #
   12814   # CONFIG_FILE
   12815   #
   12816 
   12817   case $INSTALL in
   12818   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12819   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12820   esac
   12821   ac_MKDIR_P=$MKDIR_P
   12822   case $MKDIR_P in
   12823   [\\/$]* | ?:[\\/]* ) ;;
   12824   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12825   esac
   12826 _ACEOF
   12827 
   12828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12829 # If the template does not know about datarootdir, expand it.
   12830 # FIXME: This hack should be removed a few years after 2.60.
   12831 ac_datarootdir_hack=; ac_datarootdir_seen=
   12832 ac_sed_dataroot='
   12833 /datarootdir/ {
   12834   p
   12835   q
   12836 }
   12837 /@datadir@/p
   12838 /@docdir@/p
   12839 /@infodir@/p
   12840 /@localedir@/p
   12841 /@mandir@/p'
   12842 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12843 *datarootdir*) ac_datarootdir_seen=yes;;
   12844 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12845   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12846 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12847 _ACEOF
   12848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12849   ac_datarootdir_hack='
   12850   s&@datadir@&$datadir&g
   12851   s&@docdir@&$docdir&g
   12852   s&@infodir@&$infodir&g
   12853   s&@localedir@&$localedir&g
   12854   s&@mandir@&$mandir&g
   12855   s&\\\${datarootdir}&$datarootdir&g' ;;
   12856 esac
   12857 _ACEOF
   12858 
   12859 # Neutralize VPATH when '$srcdir' = '.'.
   12860 # Shell code in configure.ac might set extrasub.
   12861 # FIXME: do we really want to maintain this feature?
   12862 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12863 ac_sed_extra="$ac_vpsub
   12864 $extrasub
   12865 _ACEOF
   12866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12867 :t
   12868 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12869 s|@configure_input@|$ac_sed_conf_input|;t t
   12870 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12871 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12872 s&@srcdir@&$ac_srcdir&;t t
   12873 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12874 s&@top_srcdir@&$ac_top_srcdir&;t t
   12875 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12876 s&@builddir@&$ac_builddir&;t t
   12877 s&@abs_builddir@&$ac_abs_builddir&;t t
   12878 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12879 s&@INSTALL@&$ac_INSTALL&;t t
   12880 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12881 $ac_datarootdir_hack
   12882 "
   12883 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12884   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12885 
   12886 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12887   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12888   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12889       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12890   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   12891 which seems to be undefined.  Please make sure it is defined" >&5
   12892 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   12893 which seems to be undefined.  Please make sure it is defined" >&2;}
   12894 
   12895   rm -f "$ac_tmp/stdin"
   12896   case $ac_file in
   12897   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12898   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12899   esac \
   12900   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12901  ;;
   12902   :H)
   12903   #
   12904   # CONFIG_HEADER
   12905   #
   12906   if test x"$ac_file" != x-; then
   12907     {
   12908       printf "%s\n" "/* $configure_input  */" >&1 \
   12909       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12910     } >"$ac_tmp/config.h" \
   12911       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12912     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12913       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12914 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   12915     else
   12916       rm -f "$ac_file"
   12917       mv "$ac_tmp/config.h" "$ac_file" \
   12918 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12919     fi
   12920   else
   12921     printf "%s\n" "/* $configure_input  */" >&1 \
   12922       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12923       || as_fn_error $? "could not create -" "$LINENO" 5
   12924   fi
   12925 # Compute "$ac_file"'s index in $config_headers.
   12926 _am_arg="$ac_file"
   12927 _am_stamp_count=1
   12928 for _am_header in $config_headers :; do
   12929   case $_am_header in
   12930     $_am_arg | $_am_arg:* )
   12931       break ;;
   12932     * )
   12933       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12934   esac
   12935 done
   12936 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12937 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12938 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12939 	 X"$_am_arg" : 'X\(//\)$' \| \
   12940 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12941 printf "%s\n" X"$_am_arg" |
   12942     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12943 	    s//\1/
   12944 	    q
   12945 	  }
   12946 	  /^X\(\/\/\)[^/].*/{
   12947 	    s//\1/
   12948 	    q
   12949 	  }
   12950 	  /^X\(\/\/\)$/{
   12951 	    s//\1/
   12952 	    q
   12953 	  }
   12954 	  /^X\(\/\).*/{
   12955 	    s//\1/
   12956 	    q
   12957 	  }
   12958 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12959  ;;
   12960 
   12961   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12962 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   12963  ;;
   12964   esac
   12965 
   12966 
   12967   case $ac_file$ac_mode in
   12968     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12969   # Older Autoconf quotes --file arguments for eval, but not when files
   12970   # are listed without --file.  Let's play safe and only enable the eval
   12971   # if we detect the quoting.
   12972   # TODO: see whether this extra hack can be removed once we start
   12973   # requiring Autoconf 2.70 or later.
   12974   case $CONFIG_FILES in #(
   12975   *\'*) :
   12976     eval set x "$CONFIG_FILES" ;; #(
   12977   *) :
   12978     set x $CONFIG_FILES ;; #(
   12979   *) :
   12980      ;;
   12981 esac
   12982   shift
   12983   # Used to flag and report bootstrapping failures.
   12984   am_rc=0
   12985   for am_mf
   12986   do
   12987     # Strip MF so we end up with the name of the file.
   12988     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   12989     # Check whether this is an Automake generated Makefile which includes
   12990     # dependency-tracking related rules and includes.
   12991     # Grep'ing the whole file directly is not great: AIX grep has a line
   12992     # limit of 2048, but all sed's we know have understand at least 4000.
   12993     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   12994       || continue
   12995     am_dirpart=`$as_dirname -- "$am_mf" ||
   12996 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12997 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   12998 	 X"$am_mf" : 'X\(//\)$' \| \
   12999 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13000 printf "%s\n" X"$am_mf" |
   13001     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13002 	    s//\1/
   13003 	    q
   13004 	  }
   13005 	  /^X\(\/\/\)[^/].*/{
   13006 	    s//\1/
   13007 	    q
   13008 	  }
   13009 	  /^X\(\/\/\)$/{
   13010 	    s//\1/
   13011 	    q
   13012 	  }
   13013 	  /^X\(\/\).*/{
   13014 	    s//\1/
   13015 	    q
   13016 	  }
   13017 	  s/.*/./; q'`
   13018     am_filepart=`$as_basename -- "$am_mf" ||
   13019 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13020 	 X"$am_mf" : 'X\(//\)$' \| \
   13021 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13022 printf "%s\n" X/"$am_mf" |
   13023     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13024 	    s//\1/
   13025 	    q
   13026 	  }
   13027 	  /^X\/\(\/\/\)$/{
   13028 	    s//\1/
   13029 	    q
   13030 	  }
   13031 	  /^X\/\(\/\).*/{
   13032 	    s//\1/
   13033 	    q
   13034 	  }
   13035 	  s/.*/./; q'`
   13036     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13037       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13038         | $MAKE -f - am--depfiles" >&5
   13039    (cd "$am_dirpart" \
   13040       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13041         | $MAKE -f - am--depfiles) >&5 2>&5
   13042    ac_status=$?
   13043    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13044    (exit $ac_status); } || am_rc=$?
   13045   done
   13046   if test $am_rc -ne 0; then
   13047     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13048 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13049 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13050     for automatic dependency tracking.  If GNU make was not used, consider
   13051     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13052     necessary).  You can also try re-running configure with the
   13053     '--disable-dependency-tracking' option to at least be able to build
   13054     the package (albeit without support for automatic dependency tracking).
   13055 See 'config.log' for more details" "$LINENO" 5; }
   13056   fi
   13057   { am_dirpart=; unset am_dirpart;}
   13058   { am_filepart=; unset am_filepart;}
   13059   { am_mf=; unset am_mf;}
   13060   { am_rc=; unset am_rc;}
   13061   rm -f conftest-deps.mk
   13062 }
   13063  ;;
   13064 
   13065   esac
   13066 done # for ac_tag
   13067 
   13068 
   13069 as_fn_exit 0
   13070 _ACEOF
   13071 ac_clean_files=$ac_clean_files_save
   13072 
   13073 test $ac_write_fail = 0 ||
   13074   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13075 
   13076 
   13077 # configure is writing to config.log, and then calls config.status.
   13078 # config.status does its own redirection, appending to config.log.
   13079 # Unfortunately, on DOS this fails, as config.log is still kept open
   13080 # by configure, so config.status won't be able to write to it; its
   13081 # output is simply discarded.  So we exec the FD to /dev/null,
   13082 # effectively closing config.log, so it can be properly (re)opened and
   13083 # appended to by config.status.  When coming back to configure, we
   13084 # need to make the FD available again.
   13085 if test "$no_create" != yes; then
   13086   ac_cs_success=:
   13087   ac_config_status_args=
   13088   test "$silent" = yes &&
   13089     ac_config_status_args="$ac_config_status_args --quiet"
   13090   exec 5>/dev/null
   13091   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13092   exec 5>>config.log
   13093   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13094   # would make configure fail if this is the last instruction.
   13095   $ac_cs_success || as_fn_exit 1
   13096 fi
   13097 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13098   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13099 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13100 fi
   13101 
   13102 
   13103