Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for xkbprint 1.0.7.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xkbprint/-/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/xkbprint/-/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='xkbprint'
    607 PACKAGE_TARNAME='xkbprint'
    608 PACKAGE_VERSION='1.0.7'
    609 PACKAGE_STRING='xkbprint 1.0.7'
    610 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xkbprint/-/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 enable_year2038=no
    647 ac_subst_vars='am__EXEEXT_FALSE
    648 am__EXEEXT_TRUE
    649 LTLIBOBJS
    650 LIBOBJS
    651 XKBPRINT_LIBS
    652 XKBPRINT_CFLAGS
    653 MAN_SUBSTS
    654 XORG_MAN_PAGE
    655 ADMIN_MAN_DIR
    656 DRIVER_MAN_DIR
    657 MISC_MAN_DIR
    658 FILE_MAN_DIR
    659 LIB_MAN_DIR
    660 APP_MAN_DIR
    661 ADMIN_MAN_SUFFIX
    662 DRIVER_MAN_SUFFIX
    663 MISC_MAN_SUFFIX
    664 FILE_MAN_SUFFIX
    665 LIB_MAN_SUFFIX
    666 APP_MAN_SUFFIX
    667 SED
    668 host_os
    669 host_vendor
    670 host_cpu
    671 host
    672 build_os
    673 build_vendor
    674 build_cpu
    675 build
    676 INSTALL_CMD
    677 PKG_CONFIG_LIBDIR
    678 PKG_CONFIG_PATH
    679 PKG_CONFIG
    680 CHANGELOG_CMD
    681 STRICT_CFLAGS
    682 CWARNFLAGS
    683 BASE_CFLAGS
    684 am__xargs_n
    685 am__rm_f_notfound
    686 AM_BACKSLASH
    687 AM_DEFAULT_VERBOSITY
    688 AM_DEFAULT_V
    689 AM_V
    690 CSCOPE
    691 ETAGS
    692 CTAGS
    693 am__fastdepCC_FALSE
    694 am__fastdepCC_TRUE
    695 CCDEPMODE
    696 am__nodep
    697 AMDEPBACKSLASH
    698 AMDEP_FALSE
    699 AMDEP_TRUE
    700 am__include
    701 DEPDIR
    702 am__untar
    703 am__tar
    704 AMTAR
    705 am__leading_dot
    706 SET_MAKE
    707 AWK
    708 mkdir_p
    709 MKDIR_P
    710 INSTALL_STRIP_PROGRAM
    711 STRIP
    712 install_sh
    713 MAKEINFO
    714 AUTOHEADER
    715 AUTOMAKE
    716 AUTOCONF
    717 ACLOCAL
    718 VERSION
    719 PACKAGE
    720 CYGPATH_W
    721 am__isrc
    722 INSTALL_DATA
    723 INSTALL_SCRIPT
    724 INSTALL_PROGRAM
    725 OBJEXT
    726 EXEEXT
    727 ac_ct_CC
    728 CPPFLAGS
    729 LDFLAGS
    730 CFLAGS
    731 CC
    732 target_alias
    733 host_alias
    734 build_alias
    735 LIBS
    736 ECHO_T
    737 ECHO_N
    738 ECHO_C
    739 DEFS
    740 mandir
    741 localedir
    742 libdir
    743 psdir
    744 pdfdir
    745 dvidir
    746 htmldir
    747 infodir
    748 docdir
    749 oldincludedir
    750 includedir
    751 runstatedir
    752 localstatedir
    753 sharedstatedir
    754 sysconfdir
    755 datadir
    756 datarootdir
    757 libexecdir
    758 sbindir
    759 bindir
    760 program_transform_name
    761 prefix
    762 exec_prefix
    763 PACKAGE_URL
    764 PACKAGE_BUGREPORT
    765 PACKAGE_STRING
    766 PACKAGE_VERSION
    767 PACKAGE_TARNAME
    768 PACKAGE_NAME
    769 PATH_SEPARATOR
    770 SHELL
    771 am__quote'
    772 ac_subst_files=''
    773 ac_user_opts='
    774 enable_option_checking
    775 enable_dependency_tracking
    776 enable_silent_rules
    777 enable_selective_werror
    778 enable_strict_compilation
    779 enable_largefile
    780 enable_year2038
    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 XKBPRINT_CFLAGS
    794 XKBPRINT_LIBS'
    795 
    796 
    797 # Initialize some variables set by options.
    798 ac_init_help=
    799 ac_init_version=false
    800 ac_unrecognized_opts=
    801 ac_unrecognized_sep=
    802 # The variables have the same names as the options, with
    803 # dashes changed to underlines.
    804 cache_file=/dev/null
    805 exec_prefix=NONE
    806 no_create=
    807 no_recursion=
    808 prefix=NONE
    809 program_prefix=NONE
    810 program_suffix=NONE
    811 program_transform_name=s,x,x,
    812 silent=
    813 site=
    814 srcdir=
    815 verbose=
    816 x_includes=NONE
    817 x_libraries=NONE
    818 
    819 # Installation directory options.
    820 # These are left unexpanded so users can "make install exec_prefix=/foo"
    821 # and all the variables that are supposed to be based on exec_prefix
    822 # by default will actually change.
    823 # Use braces instead of parens because sh, perl, etc. also accept them.
    824 # (The list follows the same order as the GNU Coding Standards.)
    825 bindir='${exec_prefix}/bin'
    826 sbindir='${exec_prefix}/sbin'
    827 libexecdir='${exec_prefix}/libexec'
    828 datarootdir='${prefix}/share'
    829 datadir='${datarootdir}'
    830 sysconfdir='${prefix}/etc'
    831 sharedstatedir='${prefix}/com'
    832 localstatedir='${prefix}/var'
    833 runstatedir='${localstatedir}/run'
    834 includedir='${prefix}/include'
    835 oldincludedir='/usr/include'
    836 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    837 infodir='${datarootdir}/info'
    838 htmldir='${docdir}'
    839 dvidir='${docdir}'
    840 pdfdir='${docdir}'
    841 psdir='${docdir}'
    842 libdir='${exec_prefix}/lib'
    843 localedir='${datarootdir}/locale'
    844 mandir='${datarootdir}/man'
    845 
    846 ac_prev=
    847 ac_dashdash=
    848 for ac_option
    849 do
    850   # If the previous option needs an argument, assign it.
    851   if test -n "$ac_prev"; then
    852     eval $ac_prev=\$ac_option
    853     ac_prev=
    854     continue
    855   fi
    856 
    857   case $ac_option in
    858   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    859   *=)   ac_optarg= ;;
    860   *)    ac_optarg=yes ;;
    861   esac
    862 
    863   case $ac_dashdash$ac_option in
    864   --)
    865     ac_dashdash=yes ;;
    866 
    867   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    868     ac_prev=bindir ;;
    869   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    870     bindir=$ac_optarg ;;
    871 
    872   -build | --build | --buil | --bui | --bu)
    873     ac_prev=build_alias ;;
    874   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    875     build_alias=$ac_optarg ;;
    876 
    877   -cache-file | --cache-file | --cache-fil | --cache-fi \
    878   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    879     ac_prev=cache_file ;;
    880   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    881   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    882     cache_file=$ac_optarg ;;
    883 
    884   --config-cache | -C)
    885     cache_file=config.cache ;;
    886 
    887   -datadir | --datadir | --datadi | --datad)
    888     ac_prev=datadir ;;
    889   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    890     datadir=$ac_optarg ;;
    891 
    892   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    893   | --dataroo | --dataro | --datar)
    894     ac_prev=datarootdir ;;
    895   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    896   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    897     datarootdir=$ac_optarg ;;
    898 
    899   -disable-* | --disable-*)
    900     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    901     # Reject names that are not valid shell variable names.
    902     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    903       as_fn_error $? "invalid feature name: '$ac_useropt'"
    904     ac_useropt_orig=$ac_useropt
    905     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    906     case $ac_user_opts in
    907       *"
    908 "enable_$ac_useropt"
    909 "*) ;;
    910       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    911 	 ac_unrecognized_sep=', ';;
    912     esac
    913     eval enable_$ac_useropt=no ;;
    914 
    915   -docdir | --docdir | --docdi | --doc | --do)
    916     ac_prev=docdir ;;
    917   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    918     docdir=$ac_optarg ;;
    919 
    920   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    921     ac_prev=dvidir ;;
    922   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    923     dvidir=$ac_optarg ;;
    924 
    925   -enable-* | --enable-*)
    926     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    927     # Reject names that are not valid shell variable names.
    928     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    929       as_fn_error $? "invalid feature name: '$ac_useropt'"
    930     ac_useropt_orig=$ac_useropt
    931     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    932     case $ac_user_opts in
    933       *"
    934 "enable_$ac_useropt"
    935 "*) ;;
    936       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    937 	 ac_unrecognized_sep=', ';;
    938     esac
    939     eval enable_$ac_useropt=\$ac_optarg ;;
    940 
    941   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    942   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    943   | --exec | --exe | --ex)
    944     ac_prev=exec_prefix ;;
    945   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    946   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    947   | --exec=* | --exe=* | --ex=*)
    948     exec_prefix=$ac_optarg ;;
    949 
    950   -gas | --gas | --ga | --g)
    951     # Obsolete; use --with-gas.
    952     with_gas=yes ;;
    953 
    954   -help | --help | --hel | --he | -h)
    955     ac_init_help=long ;;
    956   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    957     ac_init_help=recursive ;;
    958   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    959     ac_init_help=short ;;
    960 
    961   -host | --host | --hos | --ho)
    962     ac_prev=host_alias ;;
    963   -host=* | --host=* | --hos=* | --ho=*)
    964     host_alias=$ac_optarg ;;
    965 
    966   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    967     ac_prev=htmldir ;;
    968   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    969   | --ht=*)
    970     htmldir=$ac_optarg ;;
    971 
    972   -includedir | --includedir | --includedi | --included | --include \
    973   | --includ | --inclu | --incl | --inc)
    974     ac_prev=includedir ;;
    975   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    976   | --includ=* | --inclu=* | --incl=* | --inc=*)
    977     includedir=$ac_optarg ;;
    978 
    979   -infodir | --infodir | --infodi | --infod | --info | --inf)
    980     ac_prev=infodir ;;
    981   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    982     infodir=$ac_optarg ;;
    983 
    984   -libdir | --libdir | --libdi | --libd)
    985     ac_prev=libdir ;;
    986   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    987     libdir=$ac_optarg ;;
    988 
    989   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    990   | --libexe | --libex | --libe)
    991     ac_prev=libexecdir ;;
    992   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    993   | --libexe=* | --libex=* | --libe=*)
    994     libexecdir=$ac_optarg ;;
    995 
    996   -localedir | --localedir | --localedi | --localed | --locale)
    997     ac_prev=localedir ;;
    998   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    999     localedir=$ac_optarg ;;
   1000 
   1001   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1002   | --localstate | --localstat | --localsta | --localst | --locals)
   1003     ac_prev=localstatedir ;;
   1004   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1005   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1006     localstatedir=$ac_optarg ;;
   1007 
   1008   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1009     ac_prev=mandir ;;
   1010   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1011     mandir=$ac_optarg ;;
   1012 
   1013   -nfp | --nfp | --nf)
   1014     # Obsolete; use --without-fp.
   1015     with_fp=no ;;
   1016 
   1017   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1018   | --no-cr | --no-c | -n)
   1019     no_create=yes ;;
   1020 
   1021   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1022   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1023     no_recursion=yes ;;
   1024 
   1025   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1026   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1027   | --oldin | --oldi | --old | --ol | --o)
   1028     ac_prev=oldincludedir ;;
   1029   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1030   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1031   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1032     oldincludedir=$ac_optarg ;;
   1033 
   1034   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1035     ac_prev=prefix ;;
   1036   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1037     prefix=$ac_optarg ;;
   1038 
   1039   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1040   | --program-pre | --program-pr | --program-p)
   1041     ac_prev=program_prefix ;;
   1042   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1043   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1044     program_prefix=$ac_optarg ;;
   1045 
   1046   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1047   | --program-suf | --program-su | --program-s)
   1048     ac_prev=program_suffix ;;
   1049   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1050   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1051     program_suffix=$ac_optarg ;;
   1052 
   1053   -program-transform-name | --program-transform-name \
   1054   | --program-transform-nam | --program-transform-na \
   1055   | --program-transform-n | --program-transform- \
   1056   | --program-transform | --program-transfor \
   1057   | --program-transfo | --program-transf \
   1058   | --program-trans | --program-tran \
   1059   | --progr-tra | --program-tr | --program-t)
   1060     ac_prev=program_transform_name ;;
   1061   -program-transform-name=* | --program-transform-name=* \
   1062   | --program-transform-nam=* | --program-transform-na=* \
   1063   | --program-transform-n=* | --program-transform-=* \
   1064   | --program-transform=* | --program-transfor=* \
   1065   | --program-transfo=* | --program-transf=* \
   1066   | --program-trans=* | --program-tran=* \
   1067   | --progr-tra=* | --program-tr=* | --program-t=*)
   1068     program_transform_name=$ac_optarg ;;
   1069 
   1070   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1071     ac_prev=pdfdir ;;
   1072   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1073     pdfdir=$ac_optarg ;;
   1074 
   1075   -psdir | --psdir | --psdi | --psd | --ps)
   1076     ac_prev=psdir ;;
   1077   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1078     psdir=$ac_optarg ;;
   1079 
   1080   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1081   | -silent | --silent | --silen | --sile | --sil)
   1082     silent=yes ;;
   1083 
   1084   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1085   | --runstate | --runstat | --runsta | --runst | --runs \
   1086   | --run | --ru | --r)
   1087     ac_prev=runstatedir ;;
   1088   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1089   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1090   | --run=* | --ru=* | --r=*)
   1091     runstatedir=$ac_optarg ;;
   1092 
   1093   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1094     ac_prev=sbindir ;;
   1095   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1096   | --sbi=* | --sb=*)
   1097     sbindir=$ac_optarg ;;
   1098 
   1099   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1100   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1101   | --sharedst | --shareds | --shared | --share | --shar \
   1102   | --sha | --sh)
   1103     ac_prev=sharedstatedir ;;
   1104   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1105   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1106   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1107   | --sha=* | --sh=*)
   1108     sharedstatedir=$ac_optarg ;;
   1109 
   1110   -site | --site | --sit)
   1111     ac_prev=site ;;
   1112   -site=* | --site=* | --sit=*)
   1113     site=$ac_optarg ;;
   1114 
   1115   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1116     ac_prev=srcdir ;;
   1117   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1118     srcdir=$ac_optarg ;;
   1119 
   1120   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1121   | --syscon | --sysco | --sysc | --sys | --sy)
   1122     ac_prev=sysconfdir ;;
   1123   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1124   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1125     sysconfdir=$ac_optarg ;;
   1126 
   1127   -target | --target | --targe | --targ | --tar | --ta | --t)
   1128     ac_prev=target_alias ;;
   1129   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1130     target_alias=$ac_optarg ;;
   1131 
   1132   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1133     verbose=yes ;;
   1134 
   1135   -version | --version | --versio | --versi | --vers | -V)
   1136     ac_init_version=: ;;
   1137 
   1138   -with-* | --with-*)
   1139     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1140     # Reject names that are not valid shell variable names.
   1141     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1142       as_fn_error $? "invalid package name: '$ac_useropt'"
   1143     ac_useropt_orig=$ac_useropt
   1144     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1145     case $ac_user_opts in
   1146       *"
   1147 "with_$ac_useropt"
   1148 "*) ;;
   1149       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1150 	 ac_unrecognized_sep=', ';;
   1151     esac
   1152     eval with_$ac_useropt=\$ac_optarg ;;
   1153 
   1154   -without-* | --without-*)
   1155     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1156     # Reject names that are not valid shell variable names.
   1157     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1158       as_fn_error $? "invalid package name: '$ac_useropt'"
   1159     ac_useropt_orig=$ac_useropt
   1160     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1161     case $ac_user_opts in
   1162       *"
   1163 "with_$ac_useropt"
   1164 "*) ;;
   1165       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1166 	 ac_unrecognized_sep=', ';;
   1167     esac
   1168     eval with_$ac_useropt=no ;;
   1169 
   1170   --x)
   1171     # Obsolete; use --with-x.
   1172     with_x=yes ;;
   1173 
   1174   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1175   | --x-incl | --x-inc | --x-in | --x-i)
   1176     ac_prev=x_includes ;;
   1177   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1178   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1179     x_includes=$ac_optarg ;;
   1180 
   1181   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1182   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1183     ac_prev=x_libraries ;;
   1184   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1185   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1186     x_libraries=$ac_optarg ;;
   1187 
   1188   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1189 Try '$0 --help' for more information"
   1190     ;;
   1191 
   1192   *=*)
   1193     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1194     # Reject names that are not valid shell variable names.
   1195     case $ac_envvar in #(
   1196       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1197       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1198     esac
   1199     eval $ac_envvar=\$ac_optarg
   1200     export $ac_envvar ;;
   1201 
   1202   *)
   1203     # FIXME: should be removed in autoconf 3.0.
   1204     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1205     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1206       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1207     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1208     ;;
   1209 
   1210   esac
   1211 done
   1212 
   1213 if test -n "$ac_prev"; then
   1214   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1215   as_fn_error $? "missing argument to $ac_option"
   1216 fi
   1217 
   1218 if test -n "$ac_unrecognized_opts"; then
   1219   case $enable_option_checking in
   1220     no) ;;
   1221     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1222     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1223   esac
   1224 fi
   1225 
   1226 # Check all directory arguments for consistency.
   1227 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1228 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1229 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1230 		libdir localedir mandir runstatedir
   1231 do
   1232   eval ac_val=\$$ac_var
   1233   # Remove trailing slashes.
   1234   case $ac_val in
   1235     */ )
   1236       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1237       eval $ac_var=\$ac_val;;
   1238   esac
   1239   # Be sure to have absolute directory names.
   1240   case $ac_val in
   1241     [\\/$]* | ?:[\\/]* )  continue;;
   1242     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1243   esac
   1244   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1245 done
   1246 
   1247 # There might be people who depend on the old broken behavior: '$host'
   1248 # used to hold the argument of --host etc.
   1249 # FIXME: To remove some day.
   1250 build=$build_alias
   1251 host=$host_alias
   1252 target=$target_alias
   1253 
   1254 # FIXME: To remove some day.
   1255 if test "x$host_alias" != x; then
   1256   if test "x$build_alias" = x; then
   1257     cross_compiling=maybe
   1258   elif test "x$build_alias" != "x$host_alias"; then
   1259     cross_compiling=yes
   1260   fi
   1261 fi
   1262 
   1263 ac_tool_prefix=
   1264 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1265 
   1266 test "$silent" = yes && exec 6>/dev/null
   1267 
   1268 
   1269 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1270 ac_ls_di=`ls -di .` &&
   1271 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1272   as_fn_error $? "working directory cannot be determined"
   1273 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1274   as_fn_error $? "pwd does not report name of working directory"
   1275 
   1276 
   1277 # Find the source files, if location was not specified.
   1278 if test -z "$srcdir"; then
   1279   ac_srcdir_defaulted=yes
   1280   # Try the directory containing this script, then the parent directory.
   1281   ac_confdir=`$as_dirname -- "$as_myself" ||
   1282 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1283 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1284 	 X"$as_myself" : 'X\(//\)$' \| \
   1285 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1286 printf "%s\n" X"$as_myself" |
   1287     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1288 	    s//\1/
   1289 	    q
   1290 	  }
   1291 	  /^X\(\/\/\)[^/].*/{
   1292 	    s//\1/
   1293 	    q
   1294 	  }
   1295 	  /^X\(\/\/\)$/{
   1296 	    s//\1/
   1297 	    q
   1298 	  }
   1299 	  /^X\(\/\).*/{
   1300 	    s//\1/
   1301 	    q
   1302 	  }
   1303 	  s/.*/./; q'`
   1304   srcdir=$ac_confdir
   1305   if test ! -r "$srcdir/$ac_unique_file"; then
   1306     srcdir=..
   1307   fi
   1308 else
   1309   ac_srcdir_defaulted=no
   1310 fi
   1311 if test ! -r "$srcdir/$ac_unique_file"; then
   1312   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1313   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1314 fi
   1315 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1316 ac_abs_confdir=`(
   1317 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1318 	pwd)`
   1319 # When building in place, set srcdir=.
   1320 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1321   srcdir=.
   1322 fi
   1323 # Remove unnecessary trailing slashes from srcdir.
   1324 # Double slashes in file names in object file debugging info
   1325 # mess up M-x gdb in Emacs.
   1326 case $srcdir in
   1327 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1328 esac
   1329 for ac_var in $ac_precious_vars; do
   1330   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1331   eval ac_env_${ac_var}_value=\$${ac_var}
   1332   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1333   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1334 done
   1335 
   1336 #
   1337 # Report the --help message.
   1338 #
   1339 if test "$ac_init_help" = "long"; then
   1340   # Omit some internal or obsolete options to make the list less imposing.
   1341   # This message is too long to be a string in the A/UX 3.1 sh.
   1342   cat <<_ACEOF
   1343 'configure' configures xkbprint 1.0.7 to adapt to many kinds of systems.
   1344 
   1345 Usage: $0 [OPTION]... [VAR=VALUE]...
   1346 
   1347 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1348 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1349 
   1350 Defaults for the options are specified in brackets.
   1351 
   1352 Configuration:
   1353   -h, --help              display this help and exit
   1354       --help=short        display options specific to this package
   1355       --help=recursive    display the short help of all the included packages
   1356   -V, --version           display version information and exit
   1357   -q, --quiet, --silent   do not print 'checking ...' messages
   1358       --cache-file=FILE   cache test results in FILE [disabled]
   1359   -C, --config-cache      alias for '--cache-file=config.cache'
   1360   -n, --no-create         do not create output files
   1361       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1362 
   1363 Installation directories:
   1364   --prefix=PREFIX         install architecture-independent files in PREFIX
   1365                           [$ac_default_prefix]
   1366   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1367                           [PREFIX]
   1368 
   1369 By default, 'make install' will install all the files in
   1370 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1371 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1372 for instance '--prefix=\$HOME'.
   1373 
   1374 For better control, use the options below.
   1375 
   1376 Fine tuning of the installation directories:
   1377   --bindir=DIR            user executables [EPREFIX/bin]
   1378   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1379   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1380   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1381   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1382   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1383   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1384   --libdir=DIR            object code libraries [EPREFIX/lib]
   1385   --includedir=DIR        C header files [PREFIX/include]
   1386   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1387   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1388   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1389   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1390   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1391   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1392   --docdir=DIR            documentation root [DATAROOTDIR/doc/xkbprint]
   1393   --htmldir=DIR           html documentation [DOCDIR]
   1394   --dvidir=DIR            dvi documentation [DOCDIR]
   1395   --pdfdir=DIR            pdf documentation [DOCDIR]
   1396   --psdir=DIR             ps documentation [DOCDIR]
   1397 _ACEOF
   1398 
   1399   cat <<\_ACEOF
   1400 
   1401 Program names:
   1402   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1403   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1404   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1405 
   1406 System types:
   1407   --build=BUILD     configure for building on BUILD [guessed]
   1408   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1409 _ACEOF
   1410 fi
   1411 
   1412 if test -n "$ac_init_help"; then
   1413   case $ac_init_help in
   1414      short | recursive ) echo "Configuration of xkbprint 1.0.7:";;
   1415    esac
   1416   cat <<\_ACEOF
   1417 
   1418 Optional Features:
   1419   --disable-option-checking  ignore unrecognized --enable/--with options
   1420   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1421   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1422   --enable-dependency-tracking
   1423                           do not reject slow dependency extractors
   1424   --disable-dependency-tracking
   1425                           speeds up one-time build
   1426   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1427   --disable-silent-rules  verbose build output (undo: "make V=0")
   1428   --disable-selective-werror
   1429                           Turn off selective compiler errors. (default:
   1430                           enabled)
   1431   --enable-strict-compilation
   1432                           Enable all warnings from compiler and make them
   1433                           errors (default: disabled)
   1434   --disable-largefile     omit support for large files
   1435   --enable-year2038       support timestamps after 2038
   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   XKBPRINT_CFLAGS
   1451               C compiler flags for XKBPRINT, overriding pkg-config
   1452   XKBPRINT_LIBS
   1453               linker flags for XKBPRINT, overriding pkg-config
   1454 
   1455 Use these variables to override the choices made by 'configure' or to help
   1456 it to find libraries and programs with nonstandard names/locations.
   1457 
   1458 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xkbprint/-/issues>.
   1459 _ACEOF
   1460 ac_status=$?
   1461 fi
   1462 
   1463 if test "$ac_init_help" = "recursive"; then
   1464   # If there are subdirs, report their specific --help.
   1465   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1466     test -d "$ac_dir" ||
   1467       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1468       continue
   1469     ac_builddir=.
   1470 
   1471 case "$ac_dir" in
   1472 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1473 *)
   1474   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1475   # A ".." for each directory in $ac_dir_suffix.
   1476   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1477   case $ac_top_builddir_sub in
   1478   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1479   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1480   esac ;;
   1481 esac
   1482 ac_abs_top_builddir=$ac_pwd
   1483 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1484 # for backward compatibility:
   1485 ac_top_builddir=$ac_top_build_prefix
   1486 
   1487 case $srcdir in
   1488   .)  # We are building in place.
   1489     ac_srcdir=.
   1490     ac_top_srcdir=$ac_top_builddir_sub
   1491     ac_abs_top_srcdir=$ac_pwd ;;
   1492   [\\/]* | ?:[\\/]* )  # Absolute name.
   1493     ac_srcdir=$srcdir$ac_dir_suffix;
   1494     ac_top_srcdir=$srcdir
   1495     ac_abs_top_srcdir=$srcdir ;;
   1496   *) # Relative name.
   1497     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1498     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1499     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1500 esac
   1501 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1502 
   1503     cd "$ac_dir" || { ac_status=$?; continue; }
   1504     # Check for configure.gnu first; this name is used for a wrapper for
   1505     # Metaconfig's "Configure" on case-insensitive file systems.
   1506     if test -f "$ac_srcdir/configure.gnu"; then
   1507       echo &&
   1508       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1509     elif test -f "$ac_srcdir/configure"; then
   1510       echo &&
   1511       $SHELL "$ac_srcdir/configure" --help=recursive
   1512     else
   1513       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1514     fi || ac_status=$?
   1515     cd "$ac_pwd" || { ac_status=$?; break; }
   1516   done
   1517 fi
   1518 
   1519 test -n "$ac_init_help" && exit $ac_status
   1520 if $ac_init_version; then
   1521   cat <<\_ACEOF
   1522 xkbprint configure 1.0.7
   1523 generated by GNU Autoconf 2.72
   1524 
   1525 Copyright (C) 2023 Free Software Foundation, Inc.
   1526 This configure script is free software; the Free Software Foundation
   1527 gives unlimited permission to copy, distribute and modify it.
   1528 _ACEOF
   1529   exit
   1530 fi
   1531 
   1532 ## ------------------------ ##
   1533 ## Autoconf initialization. ##
   1534 ## ------------------------ ##
   1535 
   1536 # ac_fn_c_try_compile LINENO
   1537 # --------------------------
   1538 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1539 ac_fn_c_try_compile ()
   1540 {
   1541   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1542   rm -f conftest.$ac_objext conftest.beam
   1543   if { { ac_try="$ac_compile"
   1544 case "(($ac_try" in
   1545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1546   *) ac_try_echo=$ac_try;;
   1547 esac
   1548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1549 printf "%s\n" "$ac_try_echo"; } >&5
   1550   (eval "$ac_compile") 2>conftest.err
   1551   ac_status=$?
   1552   if test -s conftest.err; then
   1553     grep -v '^ *+' conftest.err >conftest.er1
   1554     cat conftest.er1 >&5
   1555     mv -f conftest.er1 conftest.err
   1556   fi
   1557   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1558   test $ac_status = 0; } && {
   1559 	 test -z "$ac_c_werror_flag" ||
   1560 	 test ! -s conftest.err
   1561        } && test -s conftest.$ac_objext
   1562 then :
   1563   ac_retval=0
   1564 else case e in #(
   1565   e) printf "%s\n" "$as_me: failed program was:" >&5
   1566 sed 's/^/| /' conftest.$ac_ext >&5
   1567 
   1568 	ac_retval=1 ;;
   1569 esac
   1570 fi
   1571   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1572   as_fn_set_status $ac_retval
   1573 
   1574 } # ac_fn_c_try_compile
   1575 
   1576 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1577 # -------------------------------------------------------
   1578 # Tests whether HEADER exists and can be compiled using the include files in
   1579 # INCLUDES, setting the cache variable VAR accordingly.
   1580 ac_fn_c_check_header_compile ()
   1581 {
   1582   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1583   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1584 printf %s "checking for $2... " >&6; }
   1585 if eval test \${$3+y}
   1586 then :
   1587   printf %s "(cached) " >&6
   1588 else case e in #(
   1589   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1590 /* end confdefs.h.  */
   1591 $4
   1592 #include <$2>
   1593 _ACEOF
   1594 if ac_fn_c_try_compile "$LINENO"
   1595 then :
   1596   eval "$3=yes"
   1597 else case e in #(
   1598   e) eval "$3=no" ;;
   1599 esac
   1600 fi
   1601 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1602 esac
   1603 fi
   1604 eval ac_res=\$$3
   1605 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1606 printf "%s\n" "$ac_res" >&6; }
   1607   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1608 
   1609 } # ac_fn_c_check_header_compile
   1610 
   1611 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1612 # ------------------------------------------------------------------
   1613 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1614 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1615 ac_fn_check_decl ()
   1616 {
   1617   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1618   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1619   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1620 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1621 if eval test \${$3+y}
   1622 then :
   1623   printf %s "(cached) " >&6
   1624 else case e in #(
   1625   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1626   eval ac_save_FLAGS=\$$6
   1627   as_fn_append $6 " $5"
   1628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1629 /* end confdefs.h.  */
   1630 $4
   1631 int
   1632 main (void)
   1633 {
   1634 #ifndef $as_decl_name
   1635 #ifdef __cplusplus
   1636   (void) $as_decl_use;
   1637 #else
   1638   (void) $as_decl_name;
   1639 #endif
   1640 #endif
   1641 
   1642   ;
   1643   return 0;
   1644 }
   1645 _ACEOF
   1646 if ac_fn_c_try_compile "$LINENO"
   1647 then :
   1648   eval "$3=yes"
   1649 else case e in #(
   1650   e) eval "$3=no" ;;
   1651 esac
   1652 fi
   1653 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1654   eval $6=\$ac_save_FLAGS
   1655  ;;
   1656 esac
   1657 fi
   1658 eval ac_res=\$$3
   1659 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1660 printf "%s\n" "$ac_res" >&6; }
   1661   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1662 
   1663 } # ac_fn_check_decl
   1664 
   1665 # ac_fn_c_try_link LINENO
   1666 # -----------------------
   1667 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1668 ac_fn_c_try_link ()
   1669 {
   1670   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1671   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1672   if { { ac_try="$ac_link"
   1673 case "(($ac_try" in
   1674   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1675   *) ac_try_echo=$ac_try;;
   1676 esac
   1677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1678 printf "%s\n" "$ac_try_echo"; } >&5
   1679   (eval "$ac_link") 2>conftest.err
   1680   ac_status=$?
   1681   if test -s conftest.err; then
   1682     grep -v '^ *+' conftest.err >conftest.er1
   1683     cat conftest.er1 >&5
   1684     mv -f conftest.er1 conftest.err
   1685   fi
   1686   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1687   test $ac_status = 0; } && {
   1688 	 test -z "$ac_c_werror_flag" ||
   1689 	 test ! -s conftest.err
   1690        } && test -s conftest$ac_exeext && {
   1691 	 test "$cross_compiling" = yes ||
   1692 	 test -x conftest$ac_exeext
   1693        }
   1694 then :
   1695   ac_retval=0
   1696 else case e in #(
   1697   e) printf "%s\n" "$as_me: failed program was:" >&5
   1698 sed 's/^/| /' conftest.$ac_ext >&5
   1699 
   1700 	ac_retval=1 ;;
   1701 esac
   1702 fi
   1703   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1704   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1705   # interfere with the next link command; also delete a directory that is
   1706   # left behind by Apple's compiler.  We do this before executing the actions.
   1707   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1708   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1709   as_fn_set_status $ac_retval
   1710 
   1711 } # ac_fn_c_try_link
   1712 
   1713 # ac_fn_c_check_func LINENO FUNC VAR
   1714 # ----------------------------------
   1715 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1716 ac_fn_c_check_func ()
   1717 {
   1718   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1719   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1720 printf %s "checking for $2... " >&6; }
   1721 if eval test \${$3+y}
   1722 then :
   1723   printf %s "(cached) " >&6
   1724 else case e in #(
   1725   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1726 /* end confdefs.h.  */
   1727 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1728    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1729 #define $2 innocuous_$2
   1730 
   1731 /* System header to define __stub macros and hopefully few prototypes,
   1732    which can conflict with char $2 (void); below.  */
   1733 
   1734 #include <limits.h>
   1735 #undef $2
   1736 
   1737 /* Override any GCC internal prototype to avoid an error.
   1738    Use char because int might match the return type of a GCC
   1739    builtin and then its argument prototype would still apply.  */
   1740 #ifdef __cplusplus
   1741 extern "C"
   1742 #endif
   1743 char $2 (void);
   1744 /* The GNU C library defines this for functions which it implements
   1745     to always fail with ENOSYS.  Some functions are actually named
   1746     something starting with __ and the normal name is an alias.  */
   1747 #if defined __stub_$2 || defined __stub___$2
   1748 choke me
   1749 #endif
   1750 
   1751 int
   1752 main (void)
   1753 {
   1754 return $2 ();
   1755   ;
   1756   return 0;
   1757 }
   1758 _ACEOF
   1759 if ac_fn_c_try_link "$LINENO"
   1760 then :
   1761   eval "$3=yes"
   1762 else case e in #(
   1763   e) eval "$3=no" ;;
   1764 esac
   1765 fi
   1766 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1767     conftest$ac_exeext conftest.$ac_ext ;;
   1768 esac
   1769 fi
   1770 eval ac_res=\$$3
   1771 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1772 printf "%s\n" "$ac_res" >&6; }
   1773   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1774 
   1775 } # ac_fn_c_check_func
   1776 ac_configure_args_raw=
   1777 for ac_arg
   1778 do
   1779   case $ac_arg in
   1780   *\'*)
   1781     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1782   esac
   1783   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1784 done
   1785 
   1786 case $ac_configure_args_raw in
   1787   *$as_nl*)
   1788     ac_safe_unquote= ;;
   1789   *)
   1790     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1791     ac_unsafe_a="$ac_unsafe_z#~"
   1792     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1793     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1794 esac
   1795 
   1796 cat >config.log <<_ACEOF
   1797 This file contains any messages produced by compilers while
   1798 running configure, to aid debugging if configure makes a mistake.
   1799 
   1800 It was created by xkbprint $as_me 1.0.7, which was
   1801 generated by GNU Autoconf 2.72.  Invocation command line was
   1802 
   1803   $ $0$ac_configure_args_raw
   1804 
   1805 _ACEOF
   1806 exec 5>>config.log
   1807 {
   1808 cat <<_ASUNAME
   1809 ## --------- ##
   1810 ## Platform. ##
   1811 ## --------- ##
   1812 
   1813 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1814 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1815 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1816 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1817 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1818 
   1819 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1820 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1821 
   1822 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1823 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1824 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1825 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1826 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1827 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1828 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1829 
   1830 _ASUNAME
   1831 
   1832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1833 for as_dir in $PATH
   1834 do
   1835   IFS=$as_save_IFS
   1836   case $as_dir in #(((
   1837     '') as_dir=./ ;;
   1838     */) ;;
   1839     *) as_dir=$as_dir/ ;;
   1840   esac
   1841     printf "%s\n" "PATH: $as_dir"
   1842   done
   1843 IFS=$as_save_IFS
   1844 
   1845 } >&5
   1846 
   1847 cat >&5 <<_ACEOF
   1848 
   1849 
   1850 ## ----------- ##
   1851 ## Core tests. ##
   1852 ## ----------- ##
   1853 
   1854 _ACEOF
   1855 
   1856 
   1857 # Keep a trace of the command line.
   1858 # Strip out --no-create and --no-recursion so they do not pile up.
   1859 # Strip out --silent because we don't want to record it for future runs.
   1860 # Also quote any args containing shell meta-characters.
   1861 # Make two passes to allow for proper duplicate-argument suppression.
   1862 ac_configure_args=
   1863 ac_configure_args0=
   1864 ac_configure_args1=
   1865 ac_must_keep_next=false
   1866 for ac_pass in 1 2
   1867 do
   1868   for ac_arg
   1869   do
   1870     case $ac_arg in
   1871     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1872     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1873     | -silent | --silent | --silen | --sile | --sil)
   1874       continue ;;
   1875     *\'*)
   1876       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1877     esac
   1878     case $ac_pass in
   1879     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1880     2)
   1881       as_fn_append ac_configure_args1 " '$ac_arg'"
   1882       if test $ac_must_keep_next = true; then
   1883 	ac_must_keep_next=false # Got value, back to normal.
   1884       else
   1885 	case $ac_arg in
   1886 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1887 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1888 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1889 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1890 	    case "$ac_configure_args0 " in
   1891 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1892 	    esac
   1893 	    ;;
   1894 	  -* ) ac_must_keep_next=true ;;
   1895 	esac
   1896       fi
   1897       as_fn_append ac_configure_args " '$ac_arg'"
   1898       ;;
   1899     esac
   1900   done
   1901 done
   1902 { ac_configure_args0=; unset ac_configure_args0;}
   1903 { ac_configure_args1=; unset ac_configure_args1;}
   1904 
   1905 # When interrupted or exit'd, cleanup temporary files, and complete
   1906 # config.log.  We remove comments because anyway the quotes in there
   1907 # would cause problems or look ugly.
   1908 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1909 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1910 trap 'exit_status=$?
   1911   # Sanitize IFS.
   1912   IFS=" ""	$as_nl"
   1913   # Save into config.log some information that might help in debugging.
   1914   {
   1915     echo
   1916 
   1917     printf "%s\n" "## ---------------- ##
   1918 ## Cache variables. ##
   1919 ## ---------------- ##"
   1920     echo
   1921     # The following way of writing the cache mishandles newlines in values,
   1922 (
   1923   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1924     eval ac_val=\$$ac_var
   1925     case $ac_val in #(
   1926     *${as_nl}*)
   1927       case $ac_var in #(
   1928       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1929 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1930       esac
   1931       case $ac_var in #(
   1932       _ | IFS | as_nl) ;; #(
   1933       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1934       *) { eval $ac_var=; unset $ac_var;} ;;
   1935       esac ;;
   1936     esac
   1937   done
   1938   (set) 2>&1 |
   1939     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1940     *${as_nl}ac_space=\ *)
   1941       sed -n \
   1942 	"s/'\''/'\''\\\\'\'''\''/g;
   1943 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1944       ;; #(
   1945     *)
   1946       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1947       ;;
   1948     esac |
   1949     sort
   1950 )
   1951     echo
   1952 
   1953     printf "%s\n" "## ----------------- ##
   1954 ## Output variables. ##
   1955 ## ----------------- ##"
   1956     echo
   1957     for ac_var in $ac_subst_vars
   1958     do
   1959       eval ac_val=\$$ac_var
   1960       case $ac_val in
   1961       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1962       esac
   1963       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1964     done | sort
   1965     echo
   1966 
   1967     if test -n "$ac_subst_files"; then
   1968       printf "%s\n" "## ------------------- ##
   1969 ## File substitutions. ##
   1970 ## ------------------- ##"
   1971       echo
   1972       for ac_var in $ac_subst_files
   1973       do
   1974 	eval ac_val=\$$ac_var
   1975 	case $ac_val in
   1976 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1977 	esac
   1978 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1979       done | sort
   1980       echo
   1981     fi
   1982 
   1983     if test -s confdefs.h; then
   1984       printf "%s\n" "## ----------- ##
   1985 ## confdefs.h. ##
   1986 ## ----------- ##"
   1987       echo
   1988       cat confdefs.h
   1989       echo
   1990     fi
   1991     test "$ac_signal" != 0 &&
   1992       printf "%s\n" "$as_me: caught signal $ac_signal"
   1993     printf "%s\n" "$as_me: exit $exit_status"
   1994   } >&5
   1995   rm -f core *.core core.conftest.* &&
   1996     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1997     exit $exit_status
   1998 ' 0
   1999 for ac_signal in 1 2 13 15; do
   2000   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2001 done
   2002 ac_signal=0
   2003 
   2004 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2005 rm -f -r conftest* confdefs.h
   2006 
   2007 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2008 
   2009 # Predefined preprocessor variables.
   2010 
   2011 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2012 
   2013 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2014 
   2015 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2016 
   2017 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2018 
   2019 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2020 
   2021 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2022 
   2023 
   2024 # Let the site file select an alternate cache file if it wants to.
   2025 # Prefer an explicitly selected file to automatically selected ones.
   2026 if test -n "$CONFIG_SITE"; then
   2027   ac_site_files="$CONFIG_SITE"
   2028 elif test "x$prefix" != xNONE; then
   2029   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2030 else
   2031   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2032 fi
   2033 
   2034 for ac_site_file in $ac_site_files
   2035 do
   2036   case $ac_site_file in #(
   2037   */*) :
   2038      ;; #(
   2039   *) :
   2040     ac_site_file=./$ac_site_file ;;
   2041 esac
   2042   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2043     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2044 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2045     sed 's/^/| /' "$ac_site_file" >&5
   2046     . "$ac_site_file" \
   2047       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2048 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2049 as_fn_error $? "failed to load site script $ac_site_file
   2050 See 'config.log' for more details" "$LINENO" 5; }
   2051   fi
   2052 done
   2053 
   2054 if test -r "$cache_file"; then
   2055   # Some versions of bash will fail to source /dev/null (special files
   2056   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2057   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2058     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2059 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2060     case $cache_file in
   2061       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2062       *)                      . "./$cache_file";;
   2063     esac
   2064   fi
   2065 else
   2066   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2067 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2068   >$cache_file
   2069 fi
   2070 
   2071 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2072 # Test code for whether the C compiler supports C89 (global declarations)
   2073 ac_c_conftest_c89_globals='
   2074 /* Does the compiler advertise C89 conformance?
   2075    Do not test the value of __STDC__, because some compilers set it to 0
   2076    while being otherwise adequately conformant. */
   2077 #if !defined __STDC__
   2078 # error "Compiler does not advertise C89 conformance"
   2079 #endif
   2080 
   2081 #include <stddef.h>
   2082 #include <stdarg.h>
   2083 struct stat;
   2084 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2085 struct buf { int x; };
   2086 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2087 static char *e (char **p, int i)
   2088 {
   2089   return p[i];
   2090 }
   2091 static char *f (char * (*g) (char **, int), char **p, ...)
   2092 {
   2093   char *s;
   2094   va_list v;
   2095   va_start (v,p);
   2096   s = g (p, va_arg (v,int));
   2097   va_end (v);
   2098   return s;
   2099 }
   2100 
   2101 /* C89 style stringification. */
   2102 #define noexpand_stringify(a) #a
   2103 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2104 
   2105 /* C89 style token pasting.  Exercises some of the corner cases that
   2106    e.g. old MSVC gets wrong, but not very hard. */
   2107 #define noexpand_concat(a,b) a##b
   2108 #define expand_concat(a,b) noexpand_concat(a,b)
   2109 extern int vA;
   2110 extern int vbee;
   2111 #define aye A
   2112 #define bee B
   2113 int *pvA = &expand_concat(v,aye);
   2114 int *pvbee = &noexpand_concat(v,bee);
   2115 
   2116 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2117    function prototypes and stuff, but not \xHH hex character constants.
   2118    These do not provoke an error unfortunately, instead are silently treated
   2119    as an "x".  The following induces an error, until -std is added to get
   2120    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2121    array size at least.  It is necessary to write \x00 == 0 to get something
   2122    that is true only with -std.  */
   2123 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2124 
   2125 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2126    inside strings and character constants.  */
   2127 #define FOO(x) '\''x'\''
   2128 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2129 
   2130 int test (int i, double x);
   2131 struct s1 {int (*f) (int a);};
   2132 struct s2 {int (*f) (double a);};
   2133 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2134                int, int);'
   2135 
   2136 # Test code for whether the C compiler supports C89 (body of main).
   2137 ac_c_conftest_c89_main='
   2138 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2139 '
   2140 
   2141 # Test code for whether the C compiler supports C99 (global declarations)
   2142 ac_c_conftest_c99_globals='
   2143 /* Does the compiler advertise C99 conformance? */
   2144 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2145 # error "Compiler does not advertise C99 conformance"
   2146 #endif
   2147 
   2148 // See if C++-style comments work.
   2149 
   2150 #include <stdbool.h>
   2151 extern int puts (const char *);
   2152 extern int printf (const char *, ...);
   2153 extern int dprintf (int, const char *, ...);
   2154 extern void *malloc (size_t);
   2155 extern void free (void *);
   2156 
   2157 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2158 // dprintf is used instead of fprintf to avoid needing to declare
   2159 // FILE and stderr.
   2160 #define debug(...) dprintf (2, __VA_ARGS__)
   2161 #define showlist(...) puts (#__VA_ARGS__)
   2162 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2163 static void
   2164 test_varargs_macros (void)
   2165 {
   2166   int x = 1234;
   2167   int y = 5678;
   2168   debug ("Flag");
   2169   debug ("X = %d\n", x);
   2170   showlist (The first, second, and third items.);
   2171   report (x>y, "x is %d but y is %d", x, y);
   2172 }
   2173 
   2174 // Check long long types.
   2175 #define BIG64 18446744073709551615ull
   2176 #define BIG32 4294967295ul
   2177 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2178 #if !BIG_OK
   2179   #error "your preprocessor is broken"
   2180 #endif
   2181 #if BIG_OK
   2182 #else
   2183   #error "your preprocessor is broken"
   2184 #endif
   2185 static long long int bignum = -9223372036854775807LL;
   2186 static unsigned long long int ubignum = BIG64;
   2187 
   2188 struct incomplete_array
   2189 {
   2190   int datasize;
   2191   double data[];
   2192 };
   2193 
   2194 struct named_init {
   2195   int number;
   2196   const wchar_t *name;
   2197   double average;
   2198 };
   2199 
   2200 typedef const char *ccp;
   2201 
   2202 static inline int
   2203 test_restrict (ccp restrict text)
   2204 {
   2205   // Iterate through items via the restricted pointer.
   2206   // Also check for declarations in for loops.
   2207   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2208     continue;
   2209   return 0;
   2210 }
   2211 
   2212 // Check varargs and va_copy.
   2213 static bool
   2214 test_varargs (const char *format, ...)
   2215 {
   2216   va_list args;
   2217   va_start (args, format);
   2218   va_list args_copy;
   2219   va_copy (args_copy, args);
   2220 
   2221   const char *str = "";
   2222   int number = 0;
   2223   float fnumber = 0;
   2224 
   2225   while (*format)
   2226     {
   2227       switch (*format++)
   2228 	{
   2229 	case '\''s'\'': // string
   2230 	  str = va_arg (args_copy, const char *);
   2231 	  break;
   2232 	case '\''d'\'': // int
   2233 	  number = va_arg (args_copy, int);
   2234 	  break;
   2235 	case '\''f'\'': // float
   2236 	  fnumber = va_arg (args_copy, double);
   2237 	  break;
   2238 	default:
   2239 	  break;
   2240 	}
   2241     }
   2242   va_end (args_copy);
   2243   va_end (args);
   2244 
   2245   return *str && number && fnumber;
   2246 }
   2247 '
   2248 
   2249 # Test code for whether the C compiler supports C99 (body of main).
   2250 ac_c_conftest_c99_main='
   2251   // Check bool.
   2252   _Bool success = false;
   2253   success |= (argc != 0);
   2254 
   2255   // Check restrict.
   2256   if (test_restrict ("String literal") == 0)
   2257     success = true;
   2258   char *restrict newvar = "Another string";
   2259 
   2260   // Check varargs.
   2261   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2262   test_varargs_macros ();
   2263 
   2264   // Check flexible array members.
   2265   struct incomplete_array *ia =
   2266     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2267   ia->datasize = 10;
   2268   for (int i = 0; i < ia->datasize; ++i)
   2269     ia->data[i] = i * 1.234;
   2270   // Work around memory leak warnings.
   2271   free (ia);
   2272 
   2273   // Check named initializers.
   2274   struct named_init ni = {
   2275     .number = 34,
   2276     .name = L"Test wide string",
   2277     .average = 543.34343,
   2278   };
   2279 
   2280   ni.number = 58;
   2281 
   2282   int dynamic_array[ni.number];
   2283   dynamic_array[0] = argv[0][0];
   2284   dynamic_array[ni.number - 1] = 543;
   2285 
   2286   // work around unused variable warnings
   2287   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2288 	 || dynamic_array[ni.number - 1] != 543);
   2289 '
   2290 
   2291 # Test code for whether the C compiler supports C11 (global declarations)
   2292 ac_c_conftest_c11_globals='
   2293 /* Does the compiler advertise C11 conformance? */
   2294 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2295 # error "Compiler does not advertise C11 conformance"
   2296 #endif
   2297 
   2298 // Check _Alignas.
   2299 char _Alignas (double) aligned_as_double;
   2300 char _Alignas (0) no_special_alignment;
   2301 extern char aligned_as_int;
   2302 char _Alignas (0) _Alignas (int) aligned_as_int;
   2303 
   2304 // Check _Alignof.
   2305 enum
   2306 {
   2307   int_alignment = _Alignof (int),
   2308   int_array_alignment = _Alignof (int[100]),
   2309   char_alignment = _Alignof (char)
   2310 };
   2311 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2312 
   2313 // Check _Noreturn.
   2314 int _Noreturn does_not_return (void) { for (;;) continue; }
   2315 
   2316 // Check _Static_assert.
   2317 struct test_static_assert
   2318 {
   2319   int x;
   2320   _Static_assert (sizeof (int) <= sizeof (long int),
   2321                   "_Static_assert does not work in struct");
   2322   long int y;
   2323 };
   2324 
   2325 // Check UTF-8 literals.
   2326 #define u8 syntax error!
   2327 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2328 
   2329 // Check duplicate typedefs.
   2330 typedef long *long_ptr;
   2331 typedef long int *long_ptr;
   2332 typedef long_ptr long_ptr;
   2333 
   2334 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2335 struct anonymous
   2336 {
   2337   union {
   2338     struct { int i; int j; };
   2339     struct { int k; long int l; } w;
   2340   };
   2341   int m;
   2342 } v1;
   2343 '
   2344 
   2345 # Test code for whether the C compiler supports C11 (body of main).
   2346 ac_c_conftest_c11_main='
   2347   _Static_assert ((offsetof (struct anonymous, i)
   2348 		   == offsetof (struct anonymous, w.k)),
   2349 		  "Anonymous union alignment botch");
   2350   v1.i = 2;
   2351   v1.w.k = 5;
   2352   ok |= v1.i != 5;
   2353 '
   2354 
   2355 # Test code for whether the C compiler supports C11 (complete).
   2356 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2357 ${ac_c_conftest_c99_globals}
   2358 ${ac_c_conftest_c11_globals}
   2359 
   2360 int
   2361 main (int argc, char **argv)
   2362 {
   2363   int ok = 0;
   2364   ${ac_c_conftest_c89_main}
   2365   ${ac_c_conftest_c99_main}
   2366   ${ac_c_conftest_c11_main}
   2367   return ok;
   2368 }
   2369 "
   2370 
   2371 # Test code for whether the C compiler supports C99 (complete).
   2372 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2373 ${ac_c_conftest_c99_globals}
   2374 
   2375 int
   2376 main (int argc, char **argv)
   2377 {
   2378   int ok = 0;
   2379   ${ac_c_conftest_c89_main}
   2380   ${ac_c_conftest_c99_main}
   2381   return ok;
   2382 }
   2383 "
   2384 
   2385 # Test code for whether the C compiler supports C89 (complete).
   2386 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2387 
   2388 int
   2389 main (int argc, char **argv)
   2390 {
   2391   int ok = 0;
   2392   ${ac_c_conftest_c89_main}
   2393   return ok;
   2394 }
   2395 "
   2396 
   2397 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2398 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2399 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2400 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2401 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2402 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2403 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2404 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2405 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2406 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2407 
   2408 # Auxiliary files required by this configure script.
   2409 ac_aux_files="config.guess config.sub missing install-sh compile"
   2410 
   2411 # Locations in which to look for auxiliary files.
   2412 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2413 
   2414 # Search for a directory containing all of the required auxiliary files,
   2415 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2416 # If we don't find one directory that contains all the files we need,
   2417 # we report the set of missing files from the *first* directory in
   2418 # $ac_aux_dir_candidates and give up.
   2419 ac_missing_aux_files=""
   2420 ac_first_candidate=:
   2421 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2423 as_found=false
   2424 for as_dir in $ac_aux_dir_candidates
   2425 do
   2426   IFS=$as_save_IFS
   2427   case $as_dir in #(((
   2428     '') as_dir=./ ;;
   2429     */) ;;
   2430     *) as_dir=$as_dir/ ;;
   2431   esac
   2432   as_found=:
   2433 
   2434   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2435   ac_aux_dir_found=yes
   2436   ac_install_sh=
   2437   for ac_aux in $ac_aux_files
   2438   do
   2439     # As a special case, if "install-sh" is required, that requirement
   2440     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2441     # and $ac_install_sh is set appropriately for whichever one is found.
   2442     if test x"$ac_aux" = x"install-sh"
   2443     then
   2444       if test -f "${as_dir}install-sh"; then
   2445         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2446         ac_install_sh="${as_dir}install-sh -c"
   2447       elif test -f "${as_dir}install.sh"; then
   2448         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2449         ac_install_sh="${as_dir}install.sh -c"
   2450       elif test -f "${as_dir}shtool"; then
   2451         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2452         ac_install_sh="${as_dir}shtool install -c"
   2453       else
   2454         ac_aux_dir_found=no
   2455         if $ac_first_candidate; then
   2456           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2457         else
   2458           break
   2459         fi
   2460       fi
   2461     else
   2462       if test -f "${as_dir}${ac_aux}"; then
   2463         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2464       else
   2465         ac_aux_dir_found=no
   2466         if $ac_first_candidate; then
   2467           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2468         else
   2469           break
   2470         fi
   2471       fi
   2472     fi
   2473   done
   2474   if test "$ac_aux_dir_found" = yes; then
   2475     ac_aux_dir="$as_dir"
   2476     break
   2477   fi
   2478   ac_first_candidate=false
   2479 
   2480   as_found=false
   2481 done
   2482 IFS=$as_save_IFS
   2483 if $as_found
   2484 then :
   2485 
   2486 else case e in #(
   2487   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2488 esac
   2489 fi
   2490 
   2491 
   2492 # These three variables are undocumented and unsupported,
   2493 # and are intended to be withdrawn in a future Autoconf release.
   2494 # They can cause serious problems if a builder's source tree is in a directory
   2495 # whose full name contains unusual characters.
   2496 if test -f "${ac_aux_dir}config.guess"; then
   2497   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2498 fi
   2499 if test -f "${ac_aux_dir}config.sub"; then
   2500   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2501 fi
   2502 if test -f "$ac_aux_dir/configure"; then
   2503   ac_configure="$SHELL ${ac_aux_dir}configure"
   2504 fi
   2505 
   2506 # Check that the precious variables saved in the cache have kept the same
   2507 # value.
   2508 ac_cache_corrupted=false
   2509 for ac_var in $ac_precious_vars; do
   2510   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2511   eval ac_new_set=\$ac_env_${ac_var}_set
   2512   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2513   eval ac_new_val=\$ac_env_${ac_var}_value
   2514   case $ac_old_set,$ac_new_set in
   2515     set,)
   2516       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2517 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2518       ac_cache_corrupted=: ;;
   2519     ,set)
   2520       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2521 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2522       ac_cache_corrupted=: ;;
   2523     ,);;
   2524     *)
   2525       if test "x$ac_old_val" != "x$ac_new_val"; then
   2526 	# differences in whitespace do not lead to failure.
   2527 	ac_old_val_w=`echo x $ac_old_val`
   2528 	ac_new_val_w=`echo x $ac_new_val`
   2529 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2530 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2531 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2532 	  ac_cache_corrupted=:
   2533 	else
   2534 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2535 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2536 	  eval $ac_var=\$ac_old_val
   2537 	fi
   2538 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2539 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2540 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2541 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2542       fi;;
   2543   esac
   2544   # Pass precious variables to config.status.
   2545   if test "$ac_new_set" = set; then
   2546     case $ac_new_val in
   2547     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2548     *) ac_arg=$ac_var=$ac_new_val ;;
   2549     esac
   2550     case " $ac_configure_args " in
   2551       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2552       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2553     esac
   2554   fi
   2555 done
   2556 if $ac_cache_corrupted; then
   2557   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2558 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2559   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2560 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2561   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2562 	    and start over" "$LINENO" 5
   2563 fi
   2564 ## -------------------- ##
   2565 ## Main body of script. ##
   2566 ## -------------------- ##
   2567 
   2568 ac_ext=c
   2569 ac_cpp='$CPP $CPPFLAGS'
   2570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2573 
   2574 
   2575 
   2576 ac_config_headers="$ac_config_headers config.h"
   2577 
   2578 # Needed for asprintf on GNU libc
   2579 
   2580 
   2581 
   2582 
   2583 
   2584 
   2585 
   2586 
   2587 
   2588 
   2589 
   2590 # Expand $ac_aux_dir to an absolute path.
   2591 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2592 
   2593 ac_ext=c
   2594 ac_cpp='$CPP $CPPFLAGS'
   2595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2598 if test -n "$ac_tool_prefix"; then
   2599   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2600 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2602 printf %s "checking for $ac_word... " >&6; }
   2603 if test ${ac_cv_prog_CC+y}
   2604 then :
   2605   printf %s "(cached) " >&6
   2606 else case e in #(
   2607   e) if test -n "$CC"; then
   2608   ac_cv_prog_CC="$CC" # Let the user override the test.
   2609 else
   2610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2611 for as_dir in $PATH
   2612 do
   2613   IFS=$as_save_IFS
   2614   case $as_dir in #(((
   2615     '') as_dir=./ ;;
   2616     */) ;;
   2617     *) as_dir=$as_dir/ ;;
   2618   esac
   2619     for ac_exec_ext in '' $ac_executable_extensions; do
   2620   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2621     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2622     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2623     break 2
   2624   fi
   2625 done
   2626   done
   2627 IFS=$as_save_IFS
   2628 
   2629 fi ;;
   2630 esac
   2631 fi
   2632 CC=$ac_cv_prog_CC
   2633 if test -n "$CC"; then
   2634   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2635 printf "%s\n" "$CC" >&6; }
   2636 else
   2637   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2638 printf "%s\n" "no" >&6; }
   2639 fi
   2640 
   2641 
   2642 fi
   2643 if test -z "$ac_cv_prog_CC"; then
   2644   ac_ct_CC=$CC
   2645   # Extract the first word of "gcc", so it can be a program name with args.
   2646 set dummy gcc; ac_word=$2
   2647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2648 printf %s "checking for $ac_word... " >&6; }
   2649 if test ${ac_cv_prog_ac_ct_CC+y}
   2650 then :
   2651   printf %s "(cached) " >&6
   2652 else case e in #(
   2653   e) if test -n "$ac_ct_CC"; then
   2654   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2655 else
   2656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2657 for as_dir in $PATH
   2658 do
   2659   IFS=$as_save_IFS
   2660   case $as_dir in #(((
   2661     '') as_dir=./ ;;
   2662     */) ;;
   2663     *) as_dir=$as_dir/ ;;
   2664   esac
   2665     for ac_exec_ext in '' $ac_executable_extensions; do
   2666   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2667     ac_cv_prog_ac_ct_CC="gcc"
   2668     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2669     break 2
   2670   fi
   2671 done
   2672   done
   2673 IFS=$as_save_IFS
   2674 
   2675 fi ;;
   2676 esac
   2677 fi
   2678 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2679 if test -n "$ac_ct_CC"; then
   2680   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2681 printf "%s\n" "$ac_ct_CC" >&6; }
   2682 else
   2683   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2684 printf "%s\n" "no" >&6; }
   2685 fi
   2686 
   2687   if test "x$ac_ct_CC" = x; then
   2688     CC=""
   2689   else
   2690     case $cross_compiling:$ac_tool_warned in
   2691 yes:)
   2692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2693 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2694 ac_tool_warned=yes ;;
   2695 esac
   2696     CC=$ac_ct_CC
   2697   fi
   2698 else
   2699   CC="$ac_cv_prog_CC"
   2700 fi
   2701 
   2702 if test -z "$CC"; then
   2703           if test -n "$ac_tool_prefix"; then
   2704     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2705 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2707 printf %s "checking for $ac_word... " >&6; }
   2708 if test ${ac_cv_prog_CC+y}
   2709 then :
   2710   printf %s "(cached) " >&6
   2711 else case e in #(
   2712   e) if test -n "$CC"; then
   2713   ac_cv_prog_CC="$CC" # Let the user override the test.
   2714 else
   2715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2716 for as_dir in $PATH
   2717 do
   2718   IFS=$as_save_IFS
   2719   case $as_dir in #(((
   2720     '') as_dir=./ ;;
   2721     */) ;;
   2722     *) as_dir=$as_dir/ ;;
   2723   esac
   2724     for ac_exec_ext in '' $ac_executable_extensions; do
   2725   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2726     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2727     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2728     break 2
   2729   fi
   2730 done
   2731   done
   2732 IFS=$as_save_IFS
   2733 
   2734 fi ;;
   2735 esac
   2736 fi
   2737 CC=$ac_cv_prog_CC
   2738 if test -n "$CC"; then
   2739   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2740 printf "%s\n" "$CC" >&6; }
   2741 else
   2742   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2743 printf "%s\n" "no" >&6; }
   2744 fi
   2745 
   2746 
   2747   fi
   2748 fi
   2749 if test -z "$CC"; then
   2750   # Extract the first word of "cc", so it can be a program name with args.
   2751 set dummy cc; ac_word=$2
   2752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2753 printf %s "checking for $ac_word... " >&6; }
   2754 if test ${ac_cv_prog_CC+y}
   2755 then :
   2756   printf %s "(cached) " >&6
   2757 else case e in #(
   2758   e) if test -n "$CC"; then
   2759   ac_cv_prog_CC="$CC" # Let the user override the test.
   2760 else
   2761   ac_prog_rejected=no
   2762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2763 for as_dir in $PATH
   2764 do
   2765   IFS=$as_save_IFS
   2766   case $as_dir in #(((
   2767     '') as_dir=./ ;;
   2768     */) ;;
   2769     *) as_dir=$as_dir/ ;;
   2770   esac
   2771     for ac_exec_ext in '' $ac_executable_extensions; do
   2772   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2773     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2774        ac_prog_rejected=yes
   2775        continue
   2776      fi
   2777     ac_cv_prog_CC="cc"
   2778     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2779     break 2
   2780   fi
   2781 done
   2782   done
   2783 IFS=$as_save_IFS
   2784 
   2785 if test $ac_prog_rejected = yes; then
   2786   # We found a bogon in the path, so make sure we never use it.
   2787   set dummy $ac_cv_prog_CC
   2788   shift
   2789   if test $# != 0; then
   2790     # We chose a different compiler from the bogus one.
   2791     # However, it has the same basename, so the bogon will be chosen
   2792     # first if we set CC to just the basename; use the full file name.
   2793     shift
   2794     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   2795   fi
   2796 fi
   2797 fi ;;
   2798 esac
   2799 fi
   2800 CC=$ac_cv_prog_CC
   2801 if test -n "$CC"; then
   2802   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2803 printf "%s\n" "$CC" >&6; }
   2804 else
   2805   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2806 printf "%s\n" "no" >&6; }
   2807 fi
   2808 
   2809 
   2810 fi
   2811 if test -z "$CC"; then
   2812   if test -n "$ac_tool_prefix"; then
   2813   for ac_prog in cl.exe
   2814   do
   2815     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2816 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2818 printf %s "checking for $ac_word... " >&6; }
   2819 if test ${ac_cv_prog_CC+y}
   2820 then :
   2821   printf %s "(cached) " >&6
   2822 else case e in #(
   2823   e) if test -n "$CC"; then
   2824   ac_cv_prog_CC="$CC" # Let the user override the test.
   2825 else
   2826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2827 for as_dir in $PATH
   2828 do
   2829   IFS=$as_save_IFS
   2830   case $as_dir in #(((
   2831     '') as_dir=./ ;;
   2832     */) ;;
   2833     *) as_dir=$as_dir/ ;;
   2834   esac
   2835     for ac_exec_ext in '' $ac_executable_extensions; do
   2836   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2837     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2838     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2839     break 2
   2840   fi
   2841 done
   2842   done
   2843 IFS=$as_save_IFS
   2844 
   2845 fi ;;
   2846 esac
   2847 fi
   2848 CC=$ac_cv_prog_CC
   2849 if test -n "$CC"; then
   2850   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2851 printf "%s\n" "$CC" >&6; }
   2852 else
   2853   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2854 printf "%s\n" "no" >&6; }
   2855 fi
   2856 
   2857 
   2858     test -n "$CC" && break
   2859   done
   2860 fi
   2861 if test -z "$CC"; then
   2862   ac_ct_CC=$CC
   2863   for ac_prog in cl.exe
   2864 do
   2865   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2866 set dummy $ac_prog; ac_word=$2
   2867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2868 printf %s "checking for $ac_word... " >&6; }
   2869 if test ${ac_cv_prog_ac_ct_CC+y}
   2870 then :
   2871   printf %s "(cached) " >&6
   2872 else case e in #(
   2873   e) if test -n "$ac_ct_CC"; then
   2874   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2875 else
   2876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2877 for as_dir in $PATH
   2878 do
   2879   IFS=$as_save_IFS
   2880   case $as_dir in #(((
   2881     '') as_dir=./ ;;
   2882     */) ;;
   2883     *) as_dir=$as_dir/ ;;
   2884   esac
   2885     for ac_exec_ext in '' $ac_executable_extensions; do
   2886   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2887     ac_cv_prog_ac_ct_CC="$ac_prog"
   2888     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2889     break 2
   2890   fi
   2891 done
   2892   done
   2893 IFS=$as_save_IFS
   2894 
   2895 fi ;;
   2896 esac
   2897 fi
   2898 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2899 if test -n "$ac_ct_CC"; then
   2900   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2901 printf "%s\n" "$ac_ct_CC" >&6; }
   2902 else
   2903   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2904 printf "%s\n" "no" >&6; }
   2905 fi
   2906 
   2907 
   2908   test -n "$ac_ct_CC" && break
   2909 done
   2910 
   2911   if test "x$ac_ct_CC" = x; then
   2912     CC=""
   2913   else
   2914     case $cross_compiling:$ac_tool_warned in
   2915 yes:)
   2916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2917 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2918 ac_tool_warned=yes ;;
   2919 esac
   2920     CC=$ac_ct_CC
   2921   fi
   2922 fi
   2923 
   2924 fi
   2925 if test -z "$CC"; then
   2926   if test -n "$ac_tool_prefix"; then
   2927   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   2928 set dummy ${ac_tool_prefix}clang; ac_word=$2
   2929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2930 printf %s "checking for $ac_word... " >&6; }
   2931 if test ${ac_cv_prog_CC+y}
   2932 then :
   2933   printf %s "(cached) " >&6
   2934 else case e in #(
   2935   e) if test -n "$CC"; then
   2936   ac_cv_prog_CC="$CC" # Let the user override the test.
   2937 else
   2938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2939 for as_dir in $PATH
   2940 do
   2941   IFS=$as_save_IFS
   2942   case $as_dir in #(((
   2943     '') as_dir=./ ;;
   2944     */) ;;
   2945     *) as_dir=$as_dir/ ;;
   2946   esac
   2947     for ac_exec_ext in '' $ac_executable_extensions; do
   2948   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2949     ac_cv_prog_CC="${ac_tool_prefix}clang"
   2950     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2951     break 2
   2952   fi
   2953 done
   2954   done
   2955 IFS=$as_save_IFS
   2956 
   2957 fi ;;
   2958 esac
   2959 fi
   2960 CC=$ac_cv_prog_CC
   2961 if test -n "$CC"; then
   2962   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2963 printf "%s\n" "$CC" >&6; }
   2964 else
   2965   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2966 printf "%s\n" "no" >&6; }
   2967 fi
   2968 
   2969 
   2970 fi
   2971 if test -z "$ac_cv_prog_CC"; then
   2972   ac_ct_CC=$CC
   2973   # Extract the first word of "clang", so it can be a program name with args.
   2974 set dummy clang; ac_word=$2
   2975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2976 printf %s "checking for $ac_word... " >&6; }
   2977 if test ${ac_cv_prog_ac_ct_CC+y}
   2978 then :
   2979   printf %s "(cached) " >&6
   2980 else case e in #(
   2981   e) if test -n "$ac_ct_CC"; then
   2982   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2983 else
   2984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2985 for as_dir in $PATH
   2986 do
   2987   IFS=$as_save_IFS
   2988   case $as_dir in #(((
   2989     '') as_dir=./ ;;
   2990     */) ;;
   2991     *) as_dir=$as_dir/ ;;
   2992   esac
   2993     for ac_exec_ext in '' $ac_executable_extensions; do
   2994   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2995     ac_cv_prog_ac_ct_CC="clang"
   2996     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2997     break 2
   2998   fi
   2999 done
   3000   done
   3001 IFS=$as_save_IFS
   3002 
   3003 fi ;;
   3004 esac
   3005 fi
   3006 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3007 if test -n "$ac_ct_CC"; then
   3008   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3009 printf "%s\n" "$ac_ct_CC" >&6; }
   3010 else
   3011   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3012 printf "%s\n" "no" >&6; }
   3013 fi
   3014 
   3015   if test "x$ac_ct_CC" = x; then
   3016     CC=""
   3017   else
   3018     case $cross_compiling:$ac_tool_warned in
   3019 yes:)
   3020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3021 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3022 ac_tool_warned=yes ;;
   3023 esac
   3024     CC=$ac_ct_CC
   3025   fi
   3026 else
   3027   CC="$ac_cv_prog_CC"
   3028 fi
   3029 
   3030 fi
   3031 
   3032 
   3033 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3034 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3035 as_fn_error $? "no acceptable C compiler found in \$PATH
   3036 See 'config.log' for more details" "$LINENO" 5; }
   3037 
   3038 # Provide some information about the compiler.
   3039 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3040 set X $ac_compile
   3041 ac_compiler=$2
   3042 for ac_option in --version -v -V -qversion -version; do
   3043   { { ac_try="$ac_compiler $ac_option >&5"
   3044 case "(($ac_try" in
   3045   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3046   *) ac_try_echo=$ac_try;;
   3047 esac
   3048 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3049 printf "%s\n" "$ac_try_echo"; } >&5
   3050   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3051   ac_status=$?
   3052   if test -s conftest.err; then
   3053     sed '10a\
   3054 ... rest of stderr output deleted ...
   3055          10q' conftest.err >conftest.er1
   3056     cat conftest.er1 >&5
   3057   fi
   3058   rm -f conftest.er1 conftest.err
   3059   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3060   test $ac_status = 0; }
   3061 done
   3062 
   3063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3064 /* end confdefs.h.  */
   3065 
   3066 int
   3067 main (void)
   3068 {
   3069 
   3070   ;
   3071   return 0;
   3072 }
   3073 _ACEOF
   3074 ac_clean_files_save=$ac_clean_files
   3075 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3076 # Try to create an executable without -o first, disregard a.out.
   3077 # It will help us diagnose broken compilers, and finding out an intuition
   3078 # of exeext.
   3079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3080 printf %s "checking whether the C compiler works... " >&6; }
   3081 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3082 
   3083 # The possible output files:
   3084 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3085 
   3086 ac_rmfiles=
   3087 for ac_file in $ac_files
   3088 do
   3089   case $ac_file in
   3090     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3091     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3092   esac
   3093 done
   3094 rm -f $ac_rmfiles
   3095 
   3096 if { { ac_try="$ac_link_default"
   3097 case "(($ac_try" in
   3098   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3099   *) ac_try_echo=$ac_try;;
   3100 esac
   3101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3102 printf "%s\n" "$ac_try_echo"; } >&5
   3103   (eval "$ac_link_default") 2>&5
   3104   ac_status=$?
   3105   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3106   test $ac_status = 0; }
   3107 then :
   3108   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3109 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3110 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3111 # so that the user can short-circuit this test for compilers unknown to
   3112 # Autoconf.
   3113 for ac_file in $ac_files ''
   3114 do
   3115   test -f "$ac_file" || continue
   3116   case $ac_file in
   3117     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3118 	;;
   3119     [ab].out )
   3120 	# We found the default executable, but exeext='' is most
   3121 	# certainly right.
   3122 	break;;
   3123     *.* )
   3124 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3125 	then :; else
   3126 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3127 	fi
   3128 	# We set ac_cv_exeext here because the later test for it is not
   3129 	# safe: cross compilers may not add the suffix if given an '-o'
   3130 	# argument, so we may need to know it at that point already.
   3131 	# Even if this section looks crufty: it has the advantage of
   3132 	# actually working.
   3133 	break;;
   3134     * )
   3135 	break;;
   3136   esac
   3137 done
   3138 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3139 
   3140 else case e in #(
   3141   e) ac_file='' ;;
   3142 esac
   3143 fi
   3144 if test -z "$ac_file"
   3145 then :
   3146   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3147 printf "%s\n" "no" >&6; }
   3148 printf "%s\n" "$as_me: failed program was:" >&5
   3149 sed 's/^/| /' conftest.$ac_ext >&5
   3150 
   3151 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3152 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3153 as_fn_error 77 "C compiler cannot create executables
   3154 See 'config.log' for more details" "$LINENO" 5; }
   3155 else case e in #(
   3156   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3157 printf "%s\n" "yes" >&6; } ;;
   3158 esac
   3159 fi
   3160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3161 printf %s "checking for C compiler default output file name... " >&6; }
   3162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3163 printf "%s\n" "$ac_file" >&6; }
   3164 ac_exeext=$ac_cv_exeext
   3165 
   3166 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3167 ac_clean_files=$ac_clean_files_save
   3168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3169 printf %s "checking for suffix of executables... " >&6; }
   3170 if { { ac_try="$ac_link"
   3171 case "(($ac_try" in
   3172   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3173   *) ac_try_echo=$ac_try;;
   3174 esac
   3175 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3176 printf "%s\n" "$ac_try_echo"; } >&5
   3177   (eval "$ac_link") 2>&5
   3178   ac_status=$?
   3179   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3180   test $ac_status = 0; }
   3181 then :
   3182   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3183 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3184 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3185 # 'rm'.
   3186 for ac_file in conftest.exe conftest conftest.*; do
   3187   test -f "$ac_file" || continue
   3188   case $ac_file in
   3189     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3190     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3191 	  break;;
   3192     * ) break;;
   3193   esac
   3194 done
   3195 else case e in #(
   3196   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3197 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3198 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3199 See 'config.log' for more details" "$LINENO" 5; } ;;
   3200 esac
   3201 fi
   3202 rm -f conftest conftest$ac_cv_exeext
   3203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3204 printf "%s\n" "$ac_cv_exeext" >&6; }
   3205 
   3206 rm -f conftest.$ac_ext
   3207 EXEEXT=$ac_cv_exeext
   3208 ac_exeext=$EXEEXT
   3209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3210 /* end confdefs.h.  */
   3211 #include <stdio.h>
   3212 int
   3213 main (void)
   3214 {
   3215 FILE *f = fopen ("conftest.out", "w");
   3216  if (!f)
   3217   return 1;
   3218  return ferror (f) || fclose (f) != 0;
   3219 
   3220   ;
   3221   return 0;
   3222 }
   3223 _ACEOF
   3224 ac_clean_files="$ac_clean_files conftest.out"
   3225 # Check that the compiler produces executables we can run.  If not, either
   3226 # the compiler is broken, or we cross compile.
   3227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3228 printf %s "checking whether we are cross compiling... " >&6; }
   3229 if test "$cross_compiling" != yes; then
   3230   { { ac_try="$ac_link"
   3231 case "(($ac_try" in
   3232   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3233   *) ac_try_echo=$ac_try;;
   3234 esac
   3235 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3236 printf "%s\n" "$ac_try_echo"; } >&5
   3237   (eval "$ac_link") 2>&5
   3238   ac_status=$?
   3239   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3240   test $ac_status = 0; }
   3241   if { ac_try='./conftest$ac_cv_exeext'
   3242   { { case "(($ac_try" in
   3243   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3244   *) ac_try_echo=$ac_try;;
   3245 esac
   3246 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3247 printf "%s\n" "$ac_try_echo"; } >&5
   3248   (eval "$ac_try") 2>&5
   3249   ac_status=$?
   3250   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3251   test $ac_status = 0; }; }; then
   3252     cross_compiling=no
   3253   else
   3254     if test "$cross_compiling" = maybe; then
   3255 	cross_compiling=yes
   3256     else
   3257 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3258 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3259 as_fn_error 77 "cannot run C compiled programs.
   3260 If you meant to cross compile, use '--host'.
   3261 See 'config.log' for more details" "$LINENO" 5; }
   3262     fi
   3263   fi
   3264 fi
   3265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3266 printf "%s\n" "$cross_compiling" >&6; }
   3267 
   3268 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   3269   conftest.o conftest.obj conftest.out
   3270 ac_clean_files=$ac_clean_files_save
   3271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3272 printf %s "checking for suffix of object files... " >&6; }
   3273 if test ${ac_cv_objext+y}
   3274 then :
   3275   printf %s "(cached) " >&6
   3276 else case e in #(
   3277   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3278 /* end confdefs.h.  */
   3279 
   3280 int
   3281 main (void)
   3282 {
   3283 
   3284   ;
   3285   return 0;
   3286 }
   3287 _ACEOF
   3288 rm -f conftest.o conftest.obj
   3289 if { { ac_try="$ac_compile"
   3290 case "(($ac_try" in
   3291   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3292   *) ac_try_echo=$ac_try;;
   3293 esac
   3294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3295 printf "%s\n" "$ac_try_echo"; } >&5
   3296   (eval "$ac_compile") 2>&5
   3297   ac_status=$?
   3298   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3299   test $ac_status = 0; }
   3300 then :
   3301   for ac_file in conftest.o conftest.obj conftest.*; do
   3302   test -f "$ac_file" || continue;
   3303   case $ac_file in
   3304     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3305     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3306        break;;
   3307   esac
   3308 done
   3309 else case e in #(
   3310   e) printf "%s\n" "$as_me: failed program was:" >&5
   3311 sed 's/^/| /' conftest.$ac_ext >&5
   3312 
   3313 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3314 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3315 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3316 See 'config.log' for more details" "$LINENO" 5; } ;;
   3317 esac
   3318 fi
   3319 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   3320 esac
   3321 fi
   3322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3323 printf "%s\n" "$ac_cv_objext" >&6; }
   3324 OBJEXT=$ac_cv_objext
   3325 ac_objext=$OBJEXT
   3326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3327 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3328 if test ${ac_cv_c_compiler_gnu+y}
   3329 then :
   3330   printf %s "(cached) " >&6
   3331 else case e in #(
   3332   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3333 /* end confdefs.h.  */
   3334 
   3335 int
   3336 main (void)
   3337 {
   3338 #ifndef __GNUC__
   3339        choke me
   3340 #endif
   3341 
   3342   ;
   3343   return 0;
   3344 }
   3345 _ACEOF
   3346 if ac_fn_c_try_compile "$LINENO"
   3347 then :
   3348   ac_compiler_gnu=yes
   3349 else case e in #(
   3350   e) ac_compiler_gnu=no ;;
   3351 esac
   3352 fi
   3353 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3354 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3355  ;;
   3356 esac
   3357 fi
   3358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3359 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3361 
   3362 if test $ac_compiler_gnu = yes; then
   3363   GCC=yes
   3364 else
   3365   GCC=
   3366 fi
   3367 ac_test_CFLAGS=${CFLAGS+y}
   3368 ac_save_CFLAGS=$CFLAGS
   3369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3370 printf %s "checking whether $CC accepts -g... " >&6; }
   3371 if test ${ac_cv_prog_cc_g+y}
   3372 then :
   3373   printf %s "(cached) " >&6
   3374 else case e in #(
   3375   e) ac_save_c_werror_flag=$ac_c_werror_flag
   3376    ac_c_werror_flag=yes
   3377    ac_cv_prog_cc_g=no
   3378    CFLAGS="-g"
   3379    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3380 /* end confdefs.h.  */
   3381 
   3382 int
   3383 main (void)
   3384 {
   3385 
   3386   ;
   3387   return 0;
   3388 }
   3389 _ACEOF
   3390 if ac_fn_c_try_compile "$LINENO"
   3391 then :
   3392   ac_cv_prog_cc_g=yes
   3393 else case e in #(
   3394   e) CFLAGS=""
   3395       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3396 /* end confdefs.h.  */
   3397 
   3398 int
   3399 main (void)
   3400 {
   3401 
   3402   ;
   3403   return 0;
   3404 }
   3405 _ACEOF
   3406 if ac_fn_c_try_compile "$LINENO"
   3407 then :
   3408 
   3409 else case e in #(
   3410   e) ac_c_werror_flag=$ac_save_c_werror_flag
   3411 	 CFLAGS="-g"
   3412 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3413 /* end confdefs.h.  */
   3414 
   3415 int
   3416 main (void)
   3417 {
   3418 
   3419   ;
   3420   return 0;
   3421 }
   3422 _ACEOF
   3423 if ac_fn_c_try_compile "$LINENO"
   3424 then :
   3425   ac_cv_prog_cc_g=yes
   3426 fi
   3427 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3428 esac
   3429 fi
   3430 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3431 esac
   3432 fi
   3433 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3434    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   3435 esac
   3436 fi
   3437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3438 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   3439 if test $ac_test_CFLAGS; then
   3440   CFLAGS=$ac_save_CFLAGS
   3441 elif test $ac_cv_prog_cc_g = yes; then
   3442   if test "$GCC" = yes; then
   3443     CFLAGS="-g -O2"
   3444   else
   3445     CFLAGS="-g"
   3446   fi
   3447 else
   3448   if test "$GCC" = yes; then
   3449     CFLAGS="-O2"
   3450   else
   3451     CFLAGS=
   3452   fi
   3453 fi
   3454 ac_prog_cc_stdc=no
   3455 if test x$ac_prog_cc_stdc = xno
   3456 then :
   3457   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   3458 printf %s "checking for $CC option to enable C11 features... " >&6; }
   3459 if test ${ac_cv_prog_cc_c11+y}
   3460 then :
   3461   printf %s "(cached) " >&6
   3462 else case e in #(
   3463   e) ac_cv_prog_cc_c11=no
   3464 ac_save_CC=$CC
   3465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3466 /* end confdefs.h.  */
   3467 $ac_c_conftest_c11_program
   3468 _ACEOF
   3469 for ac_arg in '' -std=gnu11
   3470 do
   3471   CC="$ac_save_CC $ac_arg"
   3472   if ac_fn_c_try_compile "$LINENO"
   3473 then :
   3474   ac_cv_prog_cc_c11=$ac_arg
   3475 fi
   3476 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3477   test "x$ac_cv_prog_cc_c11" != "xno" && break
   3478 done
   3479 rm -f conftest.$ac_ext
   3480 CC=$ac_save_CC ;;
   3481 esac
   3482 fi
   3483 
   3484 if test "x$ac_cv_prog_cc_c11" = xno
   3485 then :
   3486   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3487 printf "%s\n" "unsupported" >&6; }
   3488 else case e in #(
   3489   e) if test "x$ac_cv_prog_cc_c11" = x
   3490 then :
   3491   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3492 printf "%s\n" "none needed" >&6; }
   3493 else case e in #(
   3494   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   3495 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   3496      CC="$CC $ac_cv_prog_cc_c11" ;;
   3497 esac
   3498 fi
   3499   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   3500   ac_prog_cc_stdc=c11 ;;
   3501 esac
   3502 fi
   3503 fi
   3504 if test x$ac_prog_cc_stdc = xno
   3505 then :
   3506   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   3507 printf %s "checking for $CC option to enable C99 features... " >&6; }
   3508 if test ${ac_cv_prog_cc_c99+y}
   3509 then :
   3510   printf %s "(cached) " >&6
   3511 else case e in #(
   3512   e) ac_cv_prog_cc_c99=no
   3513 ac_save_CC=$CC
   3514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3515 /* end confdefs.h.  */
   3516 $ac_c_conftest_c99_program
   3517 _ACEOF
   3518 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   3519 do
   3520   CC="$ac_save_CC $ac_arg"
   3521   if ac_fn_c_try_compile "$LINENO"
   3522 then :
   3523   ac_cv_prog_cc_c99=$ac_arg
   3524 fi
   3525 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3526   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3527 done
   3528 rm -f conftest.$ac_ext
   3529 CC=$ac_save_CC ;;
   3530 esac
   3531 fi
   3532 
   3533 if test "x$ac_cv_prog_cc_c99" = xno
   3534 then :
   3535   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3536 printf "%s\n" "unsupported" >&6; }
   3537 else case e in #(
   3538   e) if test "x$ac_cv_prog_cc_c99" = x
   3539 then :
   3540   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3541 printf "%s\n" "none needed" >&6; }
   3542 else case e in #(
   3543   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3544 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   3545      CC="$CC $ac_cv_prog_cc_c99" ;;
   3546 esac
   3547 fi
   3548   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   3549   ac_prog_cc_stdc=c99 ;;
   3550 esac
   3551 fi
   3552 fi
   3553 if test x$ac_prog_cc_stdc = xno
   3554 then :
   3555   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   3556 printf %s "checking for $CC option to enable C89 features... " >&6; }
   3557 if test ${ac_cv_prog_cc_c89+y}
   3558 then :
   3559   printf %s "(cached) " >&6
   3560 else case e in #(
   3561   e) ac_cv_prog_cc_c89=no
   3562 ac_save_CC=$CC
   3563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3564 /* end confdefs.h.  */
   3565 $ac_c_conftest_c89_program
   3566 _ACEOF
   3567 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3568 do
   3569   CC="$ac_save_CC $ac_arg"
   3570   if ac_fn_c_try_compile "$LINENO"
   3571 then :
   3572   ac_cv_prog_cc_c89=$ac_arg
   3573 fi
   3574 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3575   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3576 done
   3577 rm -f conftest.$ac_ext
   3578 CC=$ac_save_CC ;;
   3579 esac
   3580 fi
   3581 
   3582 if test "x$ac_cv_prog_cc_c89" = xno
   3583 then :
   3584   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3585 printf "%s\n" "unsupported" >&6; }
   3586 else case e in #(
   3587   e) if test "x$ac_cv_prog_cc_c89" = x
   3588 then :
   3589   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3590 printf "%s\n" "none needed" >&6; }
   3591 else case e in #(
   3592   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3593 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   3594      CC="$CC $ac_cv_prog_cc_c89" ;;
   3595 esac
   3596 fi
   3597   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   3598   ac_prog_cc_stdc=c89 ;;
   3599 esac
   3600 fi
   3601 fi
   3602 
   3603 ac_ext=c
   3604 ac_cpp='$CPP $CPPFLAGS'
   3605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3608 
   3609 
   3610   ac_ext=c
   3611 ac_cpp='$CPP $CPPFLAGS'
   3612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3616 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   3617 if test ${am_cv_prog_cc_c_o+y}
   3618 then :
   3619   printf %s "(cached) " >&6
   3620 else case e in #(
   3621   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3622 /* end confdefs.h.  */
   3623 
   3624 int
   3625 main (void)
   3626 {
   3627 
   3628   ;
   3629   return 0;
   3630 }
   3631 _ACEOF
   3632   # Make sure it works both with $CC and with simple cc.
   3633   # Following AC_PROG_CC_C_O, we do the test twice because some
   3634   # compilers refuse to overwrite an existing .o file with -o,
   3635   # though they will create one.
   3636   am_cv_prog_cc_c_o=yes
   3637   for am_i in 1 2; do
   3638     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3639    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3640    ac_status=$?
   3641    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3642    (exit $ac_status); } \
   3643          && test -f conftest2.$ac_objext; then
   3644       : OK
   3645     else
   3646       am_cv_prog_cc_c_o=no
   3647       break
   3648     fi
   3649   done
   3650   rm -f core conftest*
   3651   unset am_i ;;
   3652 esac
   3653 fi
   3654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3655 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   3656 if test "$am_cv_prog_cc_c_o" != yes; then
   3657    # Losing compiler, so override with the script.
   3658    # FIXME: It is wrong to rewrite CC.
   3659    # But if we don't then we get into trouble of one sort or another.
   3660    # A longer-term fix would be to have automake use am__CC in this case,
   3661    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3662    CC="$am_aux_dir/compile $CC"
   3663 fi
   3664 ac_ext=c
   3665 ac_cpp='$CPP $CPPFLAGS'
   3666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3669 
   3670 
   3671 
   3672 ac_header= ac_cache=
   3673 for ac_item in $ac_header_c_list
   3674 do
   3675   if test $ac_cache; then
   3676     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   3677     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   3678       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   3679     fi
   3680     ac_header= ac_cache=
   3681   elif test $ac_header; then
   3682     ac_cache=$ac_item
   3683   else
   3684     ac_header=$ac_item
   3685   fi
   3686 done
   3687 
   3688 
   3689 
   3690 
   3691 
   3692 
   3693 
   3694 
   3695 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   3696 then :
   3697 
   3698 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   3699 
   3700 fi
   3701 
   3702 
   3703 
   3704 
   3705 
   3706 
   3707   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3708 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3709 if test ${ac_cv_safe_to_define___extensions__+y}
   3710 then :
   3711   printf %s "(cached) " >&6
   3712 else case e in #(
   3713   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3714 /* end confdefs.h.  */
   3715 
   3716 #         define __EXTENSIONS__ 1
   3717           $ac_includes_default
   3718 int
   3719 main (void)
   3720 {
   3721 
   3722   ;
   3723   return 0;
   3724 }
   3725 _ACEOF
   3726 if ac_fn_c_try_compile "$LINENO"
   3727 then :
   3728   ac_cv_safe_to_define___extensions__=yes
   3729 else case e in #(
   3730   e) ac_cv_safe_to_define___extensions__=no ;;
   3731 esac
   3732 fi
   3733 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3734 esac
   3735 fi
   3736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3737 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   3738 
   3739   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   3740 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   3741 if test ${ac_cv_should_define__xopen_source+y}
   3742 then :
   3743   printf %s "(cached) " >&6
   3744 else case e in #(
   3745   e) ac_cv_should_define__xopen_source=no
   3746     if test $ac_cv_header_wchar_h = yes
   3747 then :
   3748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3749 /* end confdefs.h.  */
   3750 
   3751           #include <wchar.h>
   3752           mbstate_t x;
   3753 int
   3754 main (void)
   3755 {
   3756 
   3757   ;
   3758   return 0;
   3759 }
   3760 _ACEOF
   3761 if ac_fn_c_try_compile "$LINENO"
   3762 then :
   3763 
   3764 else case e in #(
   3765   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3766 /* end confdefs.h.  */
   3767 
   3768             #define _XOPEN_SOURCE 500
   3769             #include <wchar.h>
   3770             mbstate_t x;
   3771 int
   3772 main (void)
   3773 {
   3774 
   3775   ;
   3776   return 0;
   3777 }
   3778 _ACEOF
   3779 if ac_fn_c_try_compile "$LINENO"
   3780 then :
   3781   ac_cv_should_define__xopen_source=yes
   3782 fi
   3783 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3784 esac
   3785 fi
   3786 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3787 fi ;;
   3788 esac
   3789 fi
   3790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   3791 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   3792 
   3793   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   3794 
   3795   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   3796 
   3797   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   3798 
   3799   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   3800 
   3801   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   3802 
   3803   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   3804 
   3805   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3806 
   3807   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   3808 
   3809   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   3810 
   3811   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   3812 
   3813   printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
   3814 
   3815   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   3816 
   3817   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   3818 
   3819   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   3820 
   3821   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   3822 
   3823   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   3824 
   3825   if test $ac_cv_header_minix_config_h = yes
   3826 then :
   3827   MINIX=yes
   3828     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   3829 
   3830     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   3831 
   3832     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3833 
   3834 else case e in #(
   3835   e) MINIX= ;;
   3836 esac
   3837 fi
   3838   if test $ac_cv_safe_to_define___extensions__ = yes
   3839 then :
   3840   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   3841 
   3842 fi
   3843   if test $ac_cv_should_define__xopen_source = yes
   3844 then :
   3845   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   3846 
   3847 fi
   3848 
   3849 
   3850 # Initialize Automake
   3851 am__api_version='1.17'
   3852 
   3853 
   3854   # Find a good install program.  We prefer a C program (faster),
   3855 # so one script is as good as another.  But avoid the broken or
   3856 # incompatible versions:
   3857 # SysV /etc/install, /usr/sbin/install
   3858 # SunOS /usr/etc/install
   3859 # IRIX /sbin/install
   3860 # AIX /bin/install
   3861 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3862 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3863 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3864 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3865 # OS/2's system install, which has a completely different semantic
   3866 # ./install, which can be erroneously created by make from ./install.sh.
   3867 # Reject install programs that cannot install multiple files.
   3868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3869 printf %s "checking for a BSD-compatible install... " >&6; }
   3870 if test -z "$INSTALL"; then
   3871 if test ${ac_cv_path_install+y}
   3872 then :
   3873   printf %s "(cached) " >&6
   3874 else case e in #(
   3875   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3876 for as_dir in $PATH
   3877 do
   3878   IFS=$as_save_IFS
   3879   case $as_dir in #(((
   3880     '') as_dir=./ ;;
   3881     */) ;;
   3882     *) as_dir=$as_dir/ ;;
   3883   esac
   3884     # Account for fact that we put trailing slashes in our PATH walk.
   3885 case $as_dir in #((
   3886   ./ | /[cC]/* | \
   3887   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3888   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3889   /usr/ucb/* ) ;;
   3890   *)
   3891     # OSF1 and SCO ODT 3.0 have their own names for install.
   3892     # Don't use installbsd from OSF since it installs stuff as root
   3893     # by default.
   3894     for ac_prog in ginstall scoinst install; do
   3895       for ac_exec_ext in '' $ac_executable_extensions; do
   3896 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   3897 	  if test $ac_prog = install &&
   3898 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3899 	    # AIX install.  It has an incompatible calling convention.
   3900 	    :
   3901 	  elif test $ac_prog = install &&
   3902 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3903 	    # program-specific install script used by HP pwplus--don't use.
   3904 	    :
   3905 	  else
   3906 	    rm -rf conftest.one conftest.two conftest.dir
   3907 	    echo one > conftest.one
   3908 	    echo two > conftest.two
   3909 	    mkdir conftest.dir
   3910 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   3911 	      test -s conftest.one && test -s conftest.two &&
   3912 	      test -s conftest.dir/conftest.one &&
   3913 	      test -s conftest.dir/conftest.two
   3914 	    then
   3915 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   3916 	      break 3
   3917 	    fi
   3918 	  fi
   3919 	fi
   3920       done
   3921     done
   3922     ;;
   3923 esac
   3924 
   3925   done
   3926 IFS=$as_save_IFS
   3927 
   3928 rm -rf conftest.one conftest.two conftest.dir
   3929  ;;
   3930 esac
   3931 fi
   3932   if test ${ac_cv_path_install+y}; then
   3933     INSTALL=$ac_cv_path_install
   3934   else
   3935     # As a last resort, use the slow shell script.  Don't cache a
   3936     # value for INSTALL within a source directory, because that will
   3937     # break other packages using the cache if that directory is
   3938     # removed, or if the value is a relative name.
   3939     INSTALL=$ac_install_sh
   3940   fi
   3941 fi
   3942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3943 printf "%s\n" "$INSTALL" >&6; }
   3944 
   3945 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3946 # It thinks the first close brace ends the variable substitution.
   3947 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3948 
   3949 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3950 
   3951 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3952 
   3953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   3954 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   3955 if test ${am_cv_sleep_fractional_seconds+y}
   3956 then :
   3957   printf %s "(cached) " >&6
   3958 else case e in #(
   3959   e) if sleep 0.001 2>/dev/null
   3960 then :
   3961   am_cv_sleep_fractional_seconds=yes
   3962 else case e in #(
   3963   e) am_cv_sleep_fractional_seconds=no ;;
   3964 esac
   3965 fi
   3966  ;;
   3967 esac
   3968 fi
   3969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   3970 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   3971 
   3972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   3973 printf %s "checking filesystem timestamp resolution... " >&6; }
   3974 if test ${am_cv_filesystem_timestamp_resolution+y}
   3975 then :
   3976   printf %s "(cached) " >&6
   3977 else case e in #(
   3978   e) # Default to the worst case.
   3979 am_cv_filesystem_timestamp_resolution=2
   3980 
   3981 # Only try to go finer than 1 sec if sleep can do it.
   3982 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   3983 # - 1 sec is not much of a win compared to 2 sec, and
   3984 # - it takes 2 seconds to perform the test whether 1 sec works.
   3985 #
   3986 # Instead, just use the default 2s on platforms that have 1s resolution,
   3987 # accept the extra 1s delay when using $sleep in the Automake tests, in
   3988 # exchange for not incurring the 2s delay for running the test for all
   3989 # packages.
   3990 #
   3991 am_try_resolutions=
   3992 if test "$am_cv_sleep_fractional_seconds" = yes; then
   3993   # Even a millisecond often causes a bunch of false positives,
   3994   # so just try a hundredth of a second. The time saved between .001 and
   3995   # .01 is not terribly consequential.
   3996   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   3997 fi
   3998 
   3999 # In order to catch current-generation FAT out, we must *modify* files
   4000 # that already exist; the *creation* timestamp is finer.  Use names
   4001 # that make ls -t sort them differently when they have equal
   4002 # timestamps than when they have distinct timestamps, keeping
   4003 # in mind that ls -t prints the *newest* file first.
   4004 rm -f conftest.ts?
   4005 : > conftest.ts1
   4006 : > conftest.ts2
   4007 : > conftest.ts3
   4008 
   4009 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   4010 # clobber the current shell's arguments. (Outer-level square brackets
   4011 # are removed by m4; they're present so that m4 does not expand
   4012 # <dollar><star>; be careful, easy to get confused.)
   4013 if (
   4014      set X `ls -t conftest.ts[12]` &&
   4015      {
   4016        test "$*" != "X conftest.ts1 conftest.ts2" ||
   4017        test "$*" != "X conftest.ts2 conftest.ts1";
   4018      }
   4019 ); then :; else
   4020   # If neither matched, then we have a broken ls.  This can happen
   4021   # if, for instance, CONFIG_SHELL is bash and it inherits a
   4022   # broken ls alias from the environment.  This has actually
   4023   # happened.  Such a system could not be considered "sane".
   4024   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   4025   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4026 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4027 as_fn_error $? "ls -t produces unexpected output.
   4028 Make sure there is not a broken ls alias in your environment.
   4029 See 'config.log' for more details" "$LINENO" 5; }
   4030 fi
   4031 
   4032 for am_try_res in $am_try_resolutions; do
   4033   # Any one fine-grained sleep might happen to cross the boundary
   4034   # between two values of a coarser actual resolution, but if we do
   4035   # two fine-grained sleeps in a row, at least one of them will fall
   4036   # entirely within a coarse interval.
   4037   echo alpha > conftest.ts1
   4038   sleep $am_try_res
   4039   echo beta > conftest.ts2
   4040   sleep $am_try_res
   4041   echo gamma > conftest.ts3
   4042 
   4043   # We assume that 'ls -t' will make use of high-resolution
   4044   # timestamps if the operating system supports them at all.
   4045   if (set X `ls -t conftest.ts?` &&
   4046       test "$2" = conftest.ts3 &&
   4047       test "$3" = conftest.ts2 &&
   4048       test "$4" = conftest.ts1); then
   4049     #
   4050     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   4051     # because we don't need to test make.
   4052     make_ok=true
   4053     if test $am_try_res != 1; then
   4054       # But if we've succeeded so far with a subsecond resolution, we
   4055       # have one more thing to check: make. It can happen that
   4056       # everything else supports the subsecond mtimes, but make doesn't;
   4057       # notably on macOS, which ships make 3.81 from 2006 (the last one
   4058       # released under GPLv2). https://bugs.gnu.org/68808
   4059       #
   4060       # We test $MAKE if it is defined in the environment, else "make".
   4061       # It might get overridden later, but our hope is that in practice
   4062       # it does not matter: it is the system "make" which is (by far)
   4063       # the most likely to be broken, whereas if the user overrides it,
   4064       # probably they did so with a better, or at least not worse, make.
   4065       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   4066       #
   4067       # Create a Makefile (real tab character here):
   4068       rm -f conftest.mk
   4069       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   4070       echo '	touch conftest.ts2' >>conftest.mk
   4071       #
   4072       # Now, running
   4073       #   touch conftest.ts1; touch conftest.ts2; make
   4074       # should touch ts1 because ts2 is newer. This could happen by luck,
   4075       # but most often, it will fail if make's support is insufficient. So
   4076       # test for several consecutive successes.
   4077       #
   4078       # (We reuse conftest.ts[12] because we still want to modify existing
   4079       # files, not create new ones, per above.)
   4080       n=0
   4081       make=${MAKE-make}
   4082       until test $n -eq 3; do
   4083         echo one > conftest.ts1
   4084         sleep $am_try_res
   4085         echo two > conftest.ts2 # ts2 should now be newer than ts1
   4086         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   4087           make_ok=false
   4088           break # out of $n loop
   4089         fi
   4090         n=`expr $n + 1`
   4091       done
   4092     fi
   4093     #
   4094     if $make_ok; then
   4095       # Everything we know to check worked out, so call this resolution good.
   4096       am_cv_filesystem_timestamp_resolution=$am_try_res
   4097       break # out of $am_try_res loop
   4098     fi
   4099     # Otherwise, we'll go on to check the next resolution.
   4100   fi
   4101 done
   4102 rm -f conftest.ts?
   4103 # (end _am_filesystem_timestamp_resolution)
   4104  ;;
   4105 esac
   4106 fi
   4107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   4108 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   4109 
   4110 # This check should not be cached, as it may vary across builds of
   4111 # different projects.
   4112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   4113 printf %s "checking whether build environment is sane... " >&6; }
   4114 # Reject unsafe characters in $srcdir or the absolute working directory
   4115 # name.  Accept space and tab only in the latter.
   4116 am_lf='
   4117 '
   4118 case `pwd` in
   4119   *[\\\"\#\$\&\'\`$am_lf]*)
   4120     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   4121 esac
   4122 case $srcdir in
   4123   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   4124     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   4125 esac
   4126 
   4127 # Do 'set' in a subshell so we don't clobber the current shell's
   4128 # arguments.  Must try -L first in case configure is actually a
   4129 # symlink; some systems play weird games with the mod time of symlinks
   4130 # (eg FreeBSD returns the mod time of the symlink's containing
   4131 # directory).
   4132 am_build_env_is_sane=no
   4133 am_has_slept=no
   4134 rm -f conftest.file
   4135 for am_try in 1 2; do
   4136   echo "timestamp, slept: $am_has_slept" > conftest.file
   4137   if (
   4138     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4139     if test "$*" = "X"; then
   4140       # -L didn't work.
   4141       set X `ls -t "$srcdir/configure" conftest.file`
   4142     fi
   4143     test "$2" = conftest.file
   4144   ); then
   4145     am_build_env_is_sane=yes
   4146     break
   4147   fi
   4148   # Just in case.
   4149   sleep "$am_cv_filesystem_timestamp_resolution"
   4150   am_has_slept=yes
   4151 done
   4152 
   4153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   4154 printf "%s\n" "$am_build_env_is_sane" >&6; }
   4155 if test "$am_build_env_is_sane" = no; then
   4156   as_fn_error $? "newly created file is older than distributed files!
   4157 Check your system clock" "$LINENO" 5
   4158 fi
   4159 
   4160 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4161 # generated files are strictly newer.
   4162 am_sleep_pid=
   4163 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   4164 then :
   4165 
   4166 else case e in #(
   4167   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   4168   am_sleep_pid=$!
   4169  ;;
   4170 esac
   4171 fi
   4172 
   4173 rm -f conftest.file
   4174 
   4175 test "$program_prefix" != NONE &&
   4176   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4177 # Use a double $ so make ignores it.
   4178 test "$program_suffix" != NONE &&
   4179   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4180 # Double any \ or $.
   4181 # By default was 's,x,x', remove it if useless.
   4182 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4183 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   4184 
   4185 
   4186   if test x"${MISSING+set}" != xset; then
   4187   MISSING="\${SHELL} '$am_aux_dir/missing'"
   4188 fi
   4189 # Use eval to expand $SHELL
   4190 if eval "$MISSING --is-lightweight"; then
   4191   am_missing_run="$MISSING "
   4192 else
   4193   am_missing_run=
   4194   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4195 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4196 fi
   4197 
   4198 if test x"${install_sh+set}" != xset; then
   4199   case $am_aux_dir in
   4200   *\ * | *\	*)
   4201     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4202   *)
   4203     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4204   esac
   4205 fi
   4206 
   4207 # Installed binaries are usually stripped using 'strip' when the user
   4208 # run "make install-strip".  However 'strip' might not be the right
   4209 # tool to use in cross-compilation environments, therefore Automake
   4210 # will honor the 'STRIP' environment variable to overrule this program.
   4211 if test "$cross_compiling" != no; then
   4212   if test -n "$ac_tool_prefix"; then
   4213   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4214 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4216 printf %s "checking for $ac_word... " >&6; }
   4217 if test ${ac_cv_prog_STRIP+y}
   4218 then :
   4219   printf %s "(cached) " >&6
   4220 else case e in #(
   4221   e) if test -n "$STRIP"; then
   4222   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4223 else
   4224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4225 for as_dir in $PATH
   4226 do
   4227   IFS=$as_save_IFS
   4228   case $as_dir in #(((
   4229     '') as_dir=./ ;;
   4230     */) ;;
   4231     *) as_dir=$as_dir/ ;;
   4232   esac
   4233     for ac_exec_ext in '' $ac_executable_extensions; do
   4234   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4235     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4236     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4237     break 2
   4238   fi
   4239 done
   4240   done
   4241 IFS=$as_save_IFS
   4242 
   4243 fi ;;
   4244 esac
   4245 fi
   4246 STRIP=$ac_cv_prog_STRIP
   4247 if test -n "$STRIP"; then
   4248   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4249 printf "%s\n" "$STRIP" >&6; }
   4250 else
   4251   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4252 printf "%s\n" "no" >&6; }
   4253 fi
   4254 
   4255 
   4256 fi
   4257 if test -z "$ac_cv_prog_STRIP"; then
   4258   ac_ct_STRIP=$STRIP
   4259   # Extract the first word of "strip", so it can be a program name with args.
   4260 set dummy strip; ac_word=$2
   4261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4262 printf %s "checking for $ac_word... " >&6; }
   4263 if test ${ac_cv_prog_ac_ct_STRIP+y}
   4264 then :
   4265   printf %s "(cached) " >&6
   4266 else case e in #(
   4267   e) if test -n "$ac_ct_STRIP"; then
   4268   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4269 else
   4270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4271 for as_dir in $PATH
   4272 do
   4273   IFS=$as_save_IFS
   4274   case $as_dir in #(((
   4275     '') as_dir=./ ;;
   4276     */) ;;
   4277     *) as_dir=$as_dir/ ;;
   4278   esac
   4279     for ac_exec_ext in '' $ac_executable_extensions; do
   4280   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4281     ac_cv_prog_ac_ct_STRIP="strip"
   4282     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4283     break 2
   4284   fi
   4285 done
   4286   done
   4287 IFS=$as_save_IFS
   4288 
   4289 fi ;;
   4290 esac
   4291 fi
   4292 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4293 if test -n "$ac_ct_STRIP"; then
   4294   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4295 printf "%s\n" "$ac_ct_STRIP" >&6; }
   4296 else
   4297   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4298 printf "%s\n" "no" >&6; }
   4299 fi
   4300 
   4301   if test "x$ac_ct_STRIP" = x; then
   4302     STRIP=":"
   4303   else
   4304     case $cross_compiling:$ac_tool_warned in
   4305 yes:)
   4306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4307 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4308 ac_tool_warned=yes ;;
   4309 esac
   4310     STRIP=$ac_ct_STRIP
   4311   fi
   4312 else
   4313   STRIP="$ac_cv_prog_STRIP"
   4314 fi
   4315 
   4316 fi
   4317 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4318 
   4319 
   4320   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   4321 printf %s "checking for a race-free mkdir -p... " >&6; }
   4322 if test -z "$MKDIR_P"; then
   4323   if test ${ac_cv_path_mkdir+y}
   4324 then :
   4325   printf %s "(cached) " >&6
   4326 else case e in #(
   4327   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4328 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4329 do
   4330   IFS=$as_save_IFS
   4331   case $as_dir in #(((
   4332     '') as_dir=./ ;;
   4333     */) ;;
   4334     *) as_dir=$as_dir/ ;;
   4335   esac
   4336     for ac_prog in mkdir gmkdir; do
   4337 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4338 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   4339 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4340 	     'mkdir ('*'coreutils) '* | \
   4341 	     *'BusyBox '* | \
   4342 	     'mkdir (fileutils) '4.1*)
   4343 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   4344 	       break 3;;
   4345 	   esac
   4346 	 done
   4347        done
   4348   done
   4349 IFS=$as_save_IFS
   4350  ;;
   4351 esac
   4352 fi
   4353 
   4354   test -d ./--version && rmdir ./--version
   4355   if test ${ac_cv_path_mkdir+y}; then
   4356     MKDIR_P="$ac_cv_path_mkdir -p"
   4357   else
   4358     # As a last resort, use plain mkdir -p,
   4359     # in the hope it doesn't have the bugs of ancient mkdir.
   4360     MKDIR_P='mkdir -p'
   4361   fi
   4362 fi
   4363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4364 printf "%s\n" "$MKDIR_P" >&6; }
   4365 
   4366 for ac_prog in gawk mawk nawk awk
   4367 do
   4368   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4369 set dummy $ac_prog; ac_word=$2
   4370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4371 printf %s "checking for $ac_word... " >&6; }
   4372 if test ${ac_cv_prog_AWK+y}
   4373 then :
   4374   printf %s "(cached) " >&6
   4375 else case e in #(
   4376   e) if test -n "$AWK"; then
   4377   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4378 else
   4379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4380 for as_dir in $PATH
   4381 do
   4382   IFS=$as_save_IFS
   4383   case $as_dir in #(((
   4384     '') as_dir=./ ;;
   4385     */) ;;
   4386     *) as_dir=$as_dir/ ;;
   4387   esac
   4388     for ac_exec_ext in '' $ac_executable_extensions; do
   4389   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4390     ac_cv_prog_AWK="$ac_prog"
   4391     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4392     break 2
   4393   fi
   4394 done
   4395   done
   4396 IFS=$as_save_IFS
   4397 
   4398 fi ;;
   4399 esac
   4400 fi
   4401 AWK=$ac_cv_prog_AWK
   4402 if test -n "$AWK"; then
   4403   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4404 printf "%s\n" "$AWK" >&6; }
   4405 else
   4406   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4407 printf "%s\n" "no" >&6; }
   4408 fi
   4409 
   4410 
   4411   test -n "$AWK" && break
   4412 done
   4413 
   4414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4415 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4416 set x ${MAKE-make}
   4417 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4418 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   4419 then :
   4420   printf %s "(cached) " >&6
   4421 else case e in #(
   4422   e) cat >conftest.make <<\_ACEOF
   4423 SHELL = /bin/sh
   4424 all:
   4425 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4426 _ACEOF
   4427 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4428 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4429   *@@@%%%=?*=@@@%%%*)
   4430     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4431   *)
   4432     eval ac_cv_prog_make_${ac_make}_set=no;;
   4433 esac
   4434 rm -f conftest.make ;;
   4435 esac
   4436 fi
   4437 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4438   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4439 printf "%s\n" "yes" >&6; }
   4440   SET_MAKE=
   4441 else
   4442   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4443 printf "%s\n" "no" >&6; }
   4444   SET_MAKE="MAKE=${MAKE-make}"
   4445 fi
   4446 
   4447 rm -rf .tst 2>/dev/null
   4448 mkdir .tst 2>/dev/null
   4449 if test -d .tst; then
   4450   am__leading_dot=.
   4451 else
   4452   am__leading_dot=_
   4453 fi
   4454 rmdir .tst 2>/dev/null
   4455 
   4456 DEPDIR="${am__leading_dot}deps"
   4457 
   4458 ac_config_commands="$ac_config_commands depfiles"
   4459 
   4460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4461 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4462 cat > confinc.mk << 'END'
   4463 am__doit:
   4464 	@echo this is the am__doit target >confinc.out
   4465 .PHONY: am__doit
   4466 END
   4467 am__include="#"
   4468 am__quote=
   4469 # BSD make does it like this.
   4470 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4471 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4472 echo 'include confinc.mk # ignored' > confmf.GNU
   4473 _am_result=no
   4474 for s in GNU BSD; do
   4475   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4476    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4477    ac_status=$?
   4478    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4479    (exit $ac_status); }
   4480   case $?:`cat confinc.out 2>/dev/null` in #(
   4481   '0:this is the am__doit target') :
   4482     case $s in #(
   4483   BSD) :
   4484     am__include='.include' am__quote='"' ;; #(
   4485   *) :
   4486     am__include='include' am__quote='' ;;
   4487 esac ;; #(
   4488   *) :
   4489      ;;
   4490 esac
   4491   if test "$am__include" != "#"; then
   4492     _am_result="yes ($s style)"
   4493     break
   4494   fi
   4495 done
   4496 rm -f confinc.* confmf.*
   4497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4498 printf "%s\n" "${_am_result}" >&6; }
   4499 
   4500 # Check whether --enable-dependency-tracking was given.
   4501 if test ${enable_dependency_tracking+y}
   4502 then :
   4503   enableval=$enable_dependency_tracking;
   4504 fi
   4505 
   4506 if test "x$enable_dependency_tracking" != xno; then
   4507   am_depcomp="$ac_aux_dir/depcomp"
   4508   AMDEPBACKSLASH='\'
   4509   am__nodep='_no'
   4510 fi
   4511  if test "x$enable_dependency_tracking" != xno; then
   4512   AMDEP_TRUE=
   4513   AMDEP_FALSE='#'
   4514 else
   4515   AMDEP_TRUE='#'
   4516   AMDEP_FALSE=
   4517 fi
   4518 
   4519 
   4520 AM_DEFAULT_VERBOSITY=1
   4521 # Check whether --enable-silent-rules was given.
   4522 if test ${enable_silent_rules+y}
   4523 then :
   4524   enableval=$enable_silent_rules;
   4525 fi
   4526 
   4527 am_make=${MAKE-make}
   4528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4529 printf %s "checking whether $am_make supports nested variables... " >&6; }
   4530 if test ${am_cv_make_support_nested_variables+y}
   4531 then :
   4532   printf %s "(cached) " >&6
   4533 else case e in #(
   4534   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   4535 BAR0=false
   4536 BAR1=true
   4537 V=1
   4538 am__doit:
   4539 	@$(TRUE)
   4540 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4541   am_cv_make_support_nested_variables=yes
   4542 else
   4543   am_cv_make_support_nested_variables=no
   4544 fi ;;
   4545 esac
   4546 fi
   4547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4548 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   4549 AM_BACKSLASH='\'
   4550 
   4551 am__rm_f_notfound=
   4552 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   4553 then :
   4554 
   4555 else case e in #(
   4556   e) am__rm_f_notfound='""' ;;
   4557 esac
   4558 fi
   4559 
   4560 
   4561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   4562 printf %s "checking xargs -n works... " >&6; }
   4563 if test ${am_cv_xargs_n_works+y}
   4564 then :
   4565   printf %s "(cached) " >&6
   4566 else case e in #(
   4567   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   4568 3"
   4569 then :
   4570   am_cv_xargs_n_works=yes
   4571 else case e in #(
   4572   e) am_cv_xargs_n_works=no ;;
   4573 esac
   4574 fi ;;
   4575 esac
   4576 fi
   4577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   4578 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   4579 if test "$am_cv_xargs_n_works" = yes
   4580 then :
   4581   am__xargs_n='xargs -n'
   4582 else case e in #(
   4583   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   4584  ;;
   4585 esac
   4586 fi
   4587 
   4588 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4589   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4590   # is not polluted with repeated "-I."
   4591   am__isrc=' -I$(srcdir)'
   4592   # test to see if srcdir already configured
   4593   if test -f $srcdir/config.status; then
   4594     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4595   fi
   4596 fi
   4597 
   4598 # test whether we have cygpath
   4599 if test -z "$CYGPATH_W"; then
   4600   if (cygpath --version) >/dev/null 2>/dev/null; then
   4601     CYGPATH_W='cygpath -w'
   4602   else
   4603     CYGPATH_W=echo
   4604   fi
   4605 fi
   4606 
   4607 
   4608 # Define the identity of the package.
   4609  PACKAGE='xkbprint'
   4610  VERSION='1.0.7'
   4611 
   4612 
   4613 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   4614 
   4615 
   4616 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   4617 
   4618 # Some tools Automake needs.
   4619 
   4620 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4621 
   4622 
   4623 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4624 
   4625 
   4626 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4627 
   4628 
   4629 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4630 
   4631 
   4632 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4633 
   4634 # For better backward compatibility.  To be removed once Automake 1.9.x
   4635 # dies out for good.  For more background, see:
   4636 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4637 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4638 mkdir_p='$(MKDIR_P)'
   4639 
   4640 # We need awk for the "check" target (and possibly the TAP driver).  The
   4641 # system "awk" is bad on some platforms.
   4642 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4643 # in the wild :-(  We should find a proper way to deprecate it ...
   4644 AMTAR='$${TAR-tar}'
   4645 
   4646 
   4647 # We'll loop over all known methods to create a tar archive until one works.
   4648 _am_tools='gnutar  pax cpio none'
   4649 
   4650 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4651 
   4652 
   4653 
   4654 
   4655 
   4656 depcc="$CC"   am_compiler_list=
   4657 
   4658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4659 printf %s "checking dependency style of $depcc... " >&6; }
   4660 if test ${am_cv_CC_dependencies_compiler_type+y}
   4661 then :
   4662   printf %s "(cached) " >&6
   4663 else case e in #(
   4664   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4665   # We make a subdir and do the tests there.  Otherwise we can end up
   4666   # making bogus files that we don't know about and never remove.  For
   4667   # instance it was reported that on HP-UX the gcc test will end up
   4668   # making a dummy file named 'D' -- because '-MD' means "put the output
   4669   # in D".
   4670   rm -rf conftest.dir
   4671   mkdir conftest.dir
   4672   # Copy depcomp to subdir because otherwise we won't find it if we're
   4673   # using a relative directory.
   4674   cp "$am_depcomp" conftest.dir
   4675   cd conftest.dir
   4676   # We will build objects and dependencies in a subdirectory because
   4677   # it helps to detect inapplicable dependency modes.  For instance
   4678   # both Tru64's cc and ICC support -MD to output dependencies as a
   4679   # side effect of compilation, but ICC will put the dependencies in
   4680   # the current directory while Tru64 will put them in the object
   4681   # directory.
   4682   mkdir sub
   4683 
   4684   am_cv_CC_dependencies_compiler_type=none
   4685   if test "$am_compiler_list" = ""; then
   4686      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4687   fi
   4688   am__universal=false
   4689   case " $depcc " in #(
   4690      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4691      esac
   4692 
   4693   for depmode in $am_compiler_list; do
   4694     # Setup a source with many dependencies, because some compilers
   4695     # like to wrap large dependency lists on column 80 (with \), and
   4696     # we should not choose a depcomp mode which is confused by this.
   4697     #
   4698     # We need to recreate these files for each test, as the compiler may
   4699     # overwrite some of them when testing with obscure command lines.
   4700     # This happens at least with the AIX C compiler.
   4701     : > sub/conftest.c
   4702     for i in 1 2 3 4 5 6; do
   4703       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4704       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4705       # Solaris 10 /bin/sh.
   4706       echo '/* dummy */' > sub/conftst$i.h
   4707     done
   4708     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4709 
   4710     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4711     # mode.  It turns out that the SunPro C++ compiler does not properly
   4712     # handle '-M -o', and we need to detect this.  Also, some Intel
   4713     # versions had trouble with output in subdirs.
   4714     am__obj=sub/conftest.${OBJEXT-o}
   4715     am__minus_obj="-o $am__obj"
   4716     case $depmode in
   4717     gcc)
   4718       # This depmode causes a compiler race in universal mode.
   4719       test "$am__universal" = false || continue
   4720       ;;
   4721     nosideeffect)
   4722       # After this tag, mechanisms are not by side-effect, so they'll
   4723       # only be used when explicitly requested.
   4724       if test "x$enable_dependency_tracking" = xyes; then
   4725 	continue
   4726       else
   4727 	break
   4728       fi
   4729       ;;
   4730     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4731       # This compiler won't grok '-c -o', but also, the minuso test has
   4732       # not run yet.  These depmodes are late enough in the game, and
   4733       # so weak that their functioning should not be impacted.
   4734       am__obj=conftest.${OBJEXT-o}
   4735       am__minus_obj=
   4736       ;;
   4737     none) break ;;
   4738     esac
   4739     if depmode=$depmode \
   4740        source=sub/conftest.c object=$am__obj \
   4741        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4742        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4743          >/dev/null 2>conftest.err &&
   4744        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4745        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4746        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4747        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4748       # icc doesn't choke on unknown options, it will just issue warnings
   4749       # or remarks (even with -Werror).  So we grep stderr for any message
   4750       # that says an option was ignored or not supported.
   4751       # When given -MP, icc 7.0 and 7.1 complain thus:
   4752       #   icc: Command line warning: ignoring option '-M'; no argument required
   4753       # The diagnosis changed in icc 8.0:
   4754       #   icc: Command line remark: option '-MP' not supported
   4755       if (grep 'ignoring option' conftest.err ||
   4756           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4757         am_cv_CC_dependencies_compiler_type=$depmode
   4758         break
   4759       fi
   4760     fi
   4761   done
   4762 
   4763   cd ..
   4764   rm -rf conftest.dir
   4765 else
   4766   am_cv_CC_dependencies_compiler_type=none
   4767 fi
   4768  ;;
   4769 esac
   4770 fi
   4771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4772 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4773 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4774 
   4775  if
   4776   test "x$enable_dependency_tracking" != xno \
   4777   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4778   am__fastdepCC_TRUE=
   4779   am__fastdepCC_FALSE='#'
   4780 else
   4781   am__fastdepCC_TRUE='#'
   4782   am__fastdepCC_FALSE=
   4783 fi
   4784 
   4785 
   4786 # Variables for tags utilities; see am/tags.am
   4787 if test -z "$CTAGS"; then
   4788   CTAGS=ctags
   4789 fi
   4790 
   4791 if test -z "$ETAGS"; then
   4792   ETAGS=etags
   4793 fi
   4794 
   4795 if test -z "$CSCOPE"; then
   4796   CSCOPE=cscope
   4797 fi
   4798 
   4799 
   4800 
   4801 
   4802 
   4803 
   4804 
   4805 
   4806 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4807 
   4808 
   4809 
   4810 
   4811 
   4812 
   4813 
   4814 
   4815 
   4816 
   4817 
   4818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4819 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4820 if test ${ac_cv_c_undeclared_builtin_options+y}
   4821 then :
   4822   printf %s "(cached) " >&6
   4823 else case e in #(
   4824   e) ac_save_CFLAGS=$CFLAGS
   4825    ac_cv_c_undeclared_builtin_options='cannot detect'
   4826    for ac_arg in '' -fno-builtin; do
   4827      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4828      # This test program should *not* compile successfully.
   4829      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4830 /* end confdefs.h.  */
   4831 
   4832 int
   4833 main (void)
   4834 {
   4835 (void) strchr;
   4836   ;
   4837   return 0;
   4838 }
   4839 _ACEOF
   4840 if ac_fn_c_try_compile "$LINENO"
   4841 then :
   4842 
   4843 else case e in #(
   4844   e) # This test program should compile successfully.
   4845         # No library function is consistently available on
   4846         # freestanding implementations, so test against a dummy
   4847         # declaration.  Include always-available headers on the
   4848         # off chance that they somehow elicit warnings.
   4849         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4850 /* end confdefs.h.  */
   4851 #include <float.h>
   4852 #include <limits.h>
   4853 #include <stdarg.h>
   4854 #include <stddef.h>
   4855 extern void ac_decl (int, char *);
   4856 
   4857 int
   4858 main (void)
   4859 {
   4860 (void) ac_decl (0, (char *) 0);
   4861   (void) ac_decl;
   4862 
   4863   ;
   4864   return 0;
   4865 }
   4866 _ACEOF
   4867 if ac_fn_c_try_compile "$LINENO"
   4868 then :
   4869   if test x"$ac_arg" = x
   4870 then :
   4871   ac_cv_c_undeclared_builtin_options='none needed'
   4872 else case e in #(
   4873   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4874 esac
   4875 fi
   4876           break
   4877 fi
   4878 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4879 esac
   4880 fi
   4881 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4882     done
   4883     CFLAGS=$ac_save_CFLAGS
   4884    ;;
   4885 esac
   4886 fi
   4887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4888 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4889   case $ac_cv_c_undeclared_builtin_options in #(
   4890   'cannot detect') :
   4891     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4892 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4893 as_fn_error $? "cannot make $CC report undeclared builtins
   4894 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4895   'none needed') :
   4896     ac_c_undeclared_builtin_options='' ;; #(
   4897   *) :
   4898     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4899 esac
   4900 
   4901 
   4902 
   4903 
   4904 
   4905 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4906 if test "x$ac_cv_have_decl___clang__" = xyes
   4907 then :
   4908   CLANGCC="yes"
   4909 else case e in #(
   4910   e) CLANGCC="no" ;;
   4911 esac
   4912 fi
   4913 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4914 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4915 then :
   4916   INTELCC="yes"
   4917 else case e in #(
   4918   e) INTELCC="no" ;;
   4919 esac
   4920 fi
   4921 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4922 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4923 then :
   4924   SUNCC="yes"
   4925 else case e in #(
   4926   e) SUNCC="no" ;;
   4927 esac
   4928 fi
   4929 
   4930 
   4931 
   4932 
   4933 
   4934 
   4935 
   4936 
   4937 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4938 	if test -n "$ac_tool_prefix"; then
   4939   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4940 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4942 printf %s "checking for $ac_word... " >&6; }
   4943 if test ${ac_cv_path_PKG_CONFIG+y}
   4944 then :
   4945   printf %s "(cached) " >&6
   4946 else case e in #(
   4947   e) case $PKG_CONFIG in
   4948   [\\/]* | ?:[\\/]*)
   4949   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4950   ;;
   4951   *)
   4952   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4953 for as_dir in $PATH
   4954 do
   4955   IFS=$as_save_IFS
   4956   case $as_dir in #(((
   4957     '') as_dir=./ ;;
   4958     */) ;;
   4959     *) as_dir=$as_dir/ ;;
   4960   esac
   4961     for ac_exec_ext in '' $ac_executable_extensions; do
   4962   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4963     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4964     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4965     break 2
   4966   fi
   4967 done
   4968   done
   4969 IFS=$as_save_IFS
   4970 
   4971   ;;
   4972 esac ;;
   4973 esac
   4974 fi
   4975 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4976 if test -n "$PKG_CONFIG"; then
   4977   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4978 printf "%s\n" "$PKG_CONFIG" >&6; }
   4979 else
   4980   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4981 printf "%s\n" "no" >&6; }
   4982 fi
   4983 
   4984 
   4985 fi
   4986 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4987   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4988   # Extract the first word of "pkg-config", so it can be a program name with args.
   4989 set dummy pkg-config; ac_word=$2
   4990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4991 printf %s "checking for $ac_word... " >&6; }
   4992 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4993 then :
   4994   printf %s "(cached) " >&6
   4995 else case e in #(
   4996   e) case $ac_pt_PKG_CONFIG in
   4997   [\\/]* | ?:[\\/]*)
   4998   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4999   ;;
   5000   *)
   5001   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5002 for as_dir in $PATH
   5003 do
   5004   IFS=$as_save_IFS
   5005   case $as_dir in #(((
   5006     '') as_dir=./ ;;
   5007     */) ;;
   5008     *) as_dir=$as_dir/ ;;
   5009   esac
   5010     for ac_exec_ext in '' $ac_executable_extensions; do
   5011   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5012     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5013     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5014     break 2
   5015   fi
   5016 done
   5017   done
   5018 IFS=$as_save_IFS
   5019 
   5020   ;;
   5021 esac ;;
   5022 esac
   5023 fi
   5024 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5025 if test -n "$ac_pt_PKG_CONFIG"; then
   5026   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   5027 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   5028 else
   5029   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5030 printf "%s\n" "no" >&6; }
   5031 fi
   5032 
   5033   if test "x$ac_pt_PKG_CONFIG" = x; then
   5034     PKG_CONFIG=""
   5035   else
   5036     case $cross_compiling:$ac_tool_warned in
   5037 yes:)
   5038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5039 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5040 ac_tool_warned=yes ;;
   5041 esac
   5042     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5043   fi
   5044 else
   5045   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5046 fi
   5047 
   5048 fi
   5049 if test -n "$PKG_CONFIG"; then
   5050 	_pkg_min_version=0.9.0
   5051 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5052 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5053 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5054 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5055 printf "%s\n" "yes" >&6; }
   5056 	else
   5057 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5058 printf "%s\n" "no" >&6; }
   5059 		PKG_CONFIG=""
   5060 	fi
   5061 fi
   5062 
   5063 
   5064   # Make sure we can run config.sub.
   5065 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   5066   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   5067 
   5068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5069 printf %s "checking build system type... " >&6; }
   5070 if test ${ac_cv_build+y}
   5071 then :
   5072   printf %s "(cached) " >&6
   5073 else case e in #(
   5074   e) ac_build_alias=$build_alias
   5075 test "x$ac_build_alias" = x &&
   5076   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   5077 test "x$ac_build_alias" = x &&
   5078   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5079 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   5080   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   5081  ;;
   5082 esac
   5083 fi
   5084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5085 printf "%s\n" "$ac_cv_build" >&6; }
   5086 case $ac_cv_build in
   5087 *-*-*) ;;
   5088 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5089 esac
   5090 build=$ac_cv_build
   5091 ac_save_IFS=$IFS; IFS='-'
   5092 set x $ac_cv_build
   5093 shift
   5094 build_cpu=$1
   5095 build_vendor=$2
   5096 shift; shift
   5097 # Remember, the first character of IFS is used to create $*,
   5098 # except with old shells:
   5099 build_os=$*
   5100 IFS=$ac_save_IFS
   5101 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   5102 
   5103 
   5104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5105 printf %s "checking host system type... " >&6; }
   5106 if test ${ac_cv_host+y}
   5107 then :
   5108   printf %s "(cached) " >&6
   5109 else case e in #(
   5110   e) if test "x$host_alias" = x; then
   5111   ac_cv_host=$ac_cv_build
   5112 else
   5113   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   5114     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   5115 fi
   5116  ;;
   5117 esac
   5118 fi
   5119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5120 printf "%s\n" "$ac_cv_host" >&6; }
   5121 case $ac_cv_host in
   5122 *-*-*) ;;
   5123 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5124 esac
   5125 host=$ac_cv_host
   5126 ac_save_IFS=$IFS; IFS='-'
   5127 set x $ac_cv_host
   5128 shift
   5129 host_cpu=$1
   5130 host_vendor=$2
   5131 shift; shift
   5132 # Remember, the first character of IFS is used to create $*,
   5133 # except with old shells:
   5134 host_os=$*
   5135 IFS=$ac_save_IFS
   5136 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5137 
   5138 
   5139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5140 printf %s "checking for a sed that does not truncate output... " >&6; }
   5141 if test ${ac_cv_path_SED+y}
   5142 then :
   5143   printf %s "(cached) " >&6
   5144 else case e in #(
   5145   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5146      for ac_i in 1 2 3 4 5 6 7; do
   5147        ac_script="$ac_script$as_nl$ac_script"
   5148      done
   5149      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5150      { ac_script=; unset ac_script;}
   5151      if test -z "$SED"; then
   5152   ac_path_SED_found=false
   5153   # Loop through the user's path and test for each of PROGNAME-LIST
   5154   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5155 for as_dir in $PATH
   5156 do
   5157   IFS=$as_save_IFS
   5158   case $as_dir in #(((
   5159     '') as_dir=./ ;;
   5160     */) ;;
   5161     *) as_dir=$as_dir/ ;;
   5162   esac
   5163     for ac_prog in sed gsed
   5164    do
   5165     for ac_exec_ext in '' $ac_executable_extensions; do
   5166       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5167       as_fn_executable_p "$ac_path_SED" || continue
   5168 # Check for GNU ac_path_SED and select it if it is found.
   5169   # Check for GNU $ac_path_SED
   5170 case `"$ac_path_SED" --version 2>&1` in #(
   5171 *GNU*)
   5172   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5173 #(
   5174 *)
   5175   ac_count=0
   5176   printf %s 0123456789 >"conftest.in"
   5177   while :
   5178   do
   5179     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5180     mv "conftest.tmp" "conftest.in"
   5181     cp "conftest.in" "conftest.nl"
   5182     printf "%s\n" '' >> "conftest.nl"
   5183     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5184     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5185     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5186     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5187       # Best one so far, save it but keep looking for a better one
   5188       ac_cv_path_SED="$ac_path_SED"
   5189       ac_path_SED_max=$ac_count
   5190     fi
   5191     # 10*(2^10) chars as input seems more than enough
   5192     test $ac_count -gt 10 && break
   5193   done
   5194   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5195 esac
   5196 
   5197       $ac_path_SED_found && break 3
   5198     done
   5199   done
   5200   done
   5201 IFS=$as_save_IFS
   5202   if test -z "$ac_cv_path_SED"; then
   5203     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5204   fi
   5205 else
   5206   ac_cv_path_SED=$SED
   5207 fi
   5208  ;;
   5209 esac
   5210 fi
   5211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5212 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5213  SED="$ac_cv_path_SED"
   5214   rm -f conftest.sed
   5215 
   5216 
   5217 
   5218 
   5219 
   5220 
   5221 # Check whether --enable-selective-werror was given.
   5222 if test ${enable_selective_werror+y}
   5223 then :
   5224   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5225 else case e in #(
   5226   e) SELECTIVE_WERROR=yes ;;
   5227 esac
   5228 fi
   5229 
   5230 
   5231 
   5232 
   5233 
   5234 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5235 if test "x$SUNCC" = "xyes"; then
   5236     BASE_CFLAGS="-v"
   5237 else
   5238     BASE_CFLAGS=""
   5239 fi
   5240 
   5241 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5242 
   5243 
   5244 
   5245 
   5246 
   5247 
   5248 
   5249 
   5250 
   5251 
   5252 
   5253 
   5254 
   5255 xorg_testset_save_CFLAGS="$CFLAGS"
   5256 
   5257 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5258 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5259 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5260 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5261 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5262 then :
   5263   printf %s "(cached) " >&6
   5264 else case e in #(
   5265   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5266 /* end confdefs.h.  */
   5267 int i;
   5268 _ACEOF
   5269 if ac_fn_c_try_compile "$LINENO"
   5270 then :
   5271   xorg_cv_cc_flag_unknown_warning_option=yes
   5272 else case e in #(
   5273   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5274 esac
   5275 fi
   5276 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5277 esac
   5278 fi
   5279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5280 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5281 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5282 	CFLAGS="$xorg_testset_save_CFLAGS"
   5283 fi
   5284 
   5285 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5286 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5287 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5288 	fi
   5289 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5290 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5291 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5292 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5293 then :
   5294   printf %s "(cached) " >&6
   5295 else case e in #(
   5296   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5297 /* end confdefs.h.  */
   5298 int i;
   5299 _ACEOF
   5300 if ac_fn_c_try_compile "$LINENO"
   5301 then :
   5302   xorg_cv_cc_flag_unused_command_line_argument=yes
   5303 else case e in #(
   5304   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5305 esac
   5306 fi
   5307 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5308 esac
   5309 fi
   5310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5311 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5312 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5313 	CFLAGS="$xorg_testset_save_CFLAGS"
   5314 fi
   5315 
   5316 found="no"
   5317 
   5318 	if test $found = "no" ; then
   5319 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5320 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5321 		fi
   5322 
   5323 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5324 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5325 		fi
   5326 
   5327 		CFLAGS="$CFLAGS -Wall"
   5328 
   5329 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5330 printf %s "checking if $CC supports -Wall... " >&6; }
   5331 		cacheid=xorg_cv_cc_flag__Wall
   5332 		if eval test \${$cacheid+y}
   5333 then :
   5334   printf %s "(cached) " >&6
   5335 else case e in #(
   5336   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5337 /* end confdefs.h.  */
   5338 int i;
   5339 int
   5340 main (void)
   5341 {
   5342 
   5343   ;
   5344   return 0;
   5345 }
   5346 _ACEOF
   5347 if ac_fn_c_try_link "$LINENO"
   5348 then :
   5349   eval $cacheid=yes
   5350 else case e in #(
   5351   e) eval $cacheid=no ;;
   5352 esac
   5353 fi
   5354 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5355     conftest$ac_exeext conftest.$ac_ext ;;
   5356 esac
   5357 fi
   5358 
   5359 
   5360 		CFLAGS="$xorg_testset_save_CFLAGS"
   5361 
   5362 		eval supported=\$$cacheid
   5363 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5364 printf "%s\n" "$supported" >&6; }
   5365 		if test "$supported" = "yes" ; then
   5366 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5367 			found="yes"
   5368 		fi
   5369 	fi
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 
   5385 xorg_testset_save_CFLAGS="$CFLAGS"
   5386 
   5387 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5388 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5389 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5390 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5391 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5392 then :
   5393   printf %s "(cached) " >&6
   5394 else case e in #(
   5395   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5396 /* end confdefs.h.  */
   5397 int i;
   5398 _ACEOF
   5399 if ac_fn_c_try_compile "$LINENO"
   5400 then :
   5401   xorg_cv_cc_flag_unknown_warning_option=yes
   5402 else case e in #(
   5403   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5404 esac
   5405 fi
   5406 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5407 esac
   5408 fi
   5409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5410 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5411 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5412 	CFLAGS="$xorg_testset_save_CFLAGS"
   5413 fi
   5414 
   5415 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5416 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5417 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5418 	fi
   5419 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5420 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5421 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5422 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5423 then :
   5424   printf %s "(cached) " >&6
   5425 else case e in #(
   5426   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5427 /* end confdefs.h.  */
   5428 int i;
   5429 _ACEOF
   5430 if ac_fn_c_try_compile "$LINENO"
   5431 then :
   5432   xorg_cv_cc_flag_unused_command_line_argument=yes
   5433 else case e in #(
   5434   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5435 esac
   5436 fi
   5437 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5438 esac
   5439 fi
   5440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5441 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5442 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5443 	CFLAGS="$xorg_testset_save_CFLAGS"
   5444 fi
   5445 
   5446 found="no"
   5447 
   5448 	if test $found = "no" ; then
   5449 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5450 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5451 		fi
   5452 
   5453 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5454 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5455 		fi
   5456 
   5457 		CFLAGS="$CFLAGS -Wpointer-arith"
   5458 
   5459 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5460 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5461 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5462 		if eval test \${$cacheid+y}
   5463 then :
   5464   printf %s "(cached) " >&6
   5465 else case e in #(
   5466   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5467 /* end confdefs.h.  */
   5468 int i;
   5469 int
   5470 main (void)
   5471 {
   5472 
   5473   ;
   5474   return 0;
   5475 }
   5476 _ACEOF
   5477 if ac_fn_c_try_link "$LINENO"
   5478 then :
   5479   eval $cacheid=yes
   5480 else case e in #(
   5481   e) eval $cacheid=no ;;
   5482 esac
   5483 fi
   5484 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5485     conftest$ac_exeext conftest.$ac_ext ;;
   5486 esac
   5487 fi
   5488 
   5489 
   5490 		CFLAGS="$xorg_testset_save_CFLAGS"
   5491 
   5492 		eval supported=\$$cacheid
   5493 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5494 printf "%s\n" "$supported" >&6; }
   5495 		if test "$supported" = "yes" ; then
   5496 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5497 			found="yes"
   5498 		fi
   5499 	fi
   5500 
   5501 
   5502 
   5503 
   5504 
   5505 
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 
   5515 xorg_testset_save_CFLAGS="$CFLAGS"
   5516 
   5517 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5518 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5519 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5520 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5521 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5522 then :
   5523   printf %s "(cached) " >&6
   5524 else case e in #(
   5525   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5526 /* end confdefs.h.  */
   5527 int i;
   5528 _ACEOF
   5529 if ac_fn_c_try_compile "$LINENO"
   5530 then :
   5531   xorg_cv_cc_flag_unknown_warning_option=yes
   5532 else case e in #(
   5533   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5534 esac
   5535 fi
   5536 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5537 esac
   5538 fi
   5539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5540 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5541 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5542 	CFLAGS="$xorg_testset_save_CFLAGS"
   5543 fi
   5544 
   5545 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5546 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5547 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5548 	fi
   5549 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5550 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5551 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5552 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5553 then :
   5554   printf %s "(cached) " >&6
   5555 else case e in #(
   5556   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5557 /* end confdefs.h.  */
   5558 int i;
   5559 _ACEOF
   5560 if ac_fn_c_try_compile "$LINENO"
   5561 then :
   5562   xorg_cv_cc_flag_unused_command_line_argument=yes
   5563 else case e in #(
   5564   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5565 esac
   5566 fi
   5567 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5568 esac
   5569 fi
   5570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5571 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5572 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5573 	CFLAGS="$xorg_testset_save_CFLAGS"
   5574 fi
   5575 
   5576 found="no"
   5577 
   5578 	if test $found = "no" ; then
   5579 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5580 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5581 		fi
   5582 
   5583 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5584 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5585 		fi
   5586 
   5587 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5588 
   5589 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5590 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5591 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5592 		if eval test \${$cacheid+y}
   5593 then :
   5594   printf %s "(cached) " >&6
   5595 else case e in #(
   5596   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5597 /* end confdefs.h.  */
   5598 int i;
   5599 int
   5600 main (void)
   5601 {
   5602 
   5603   ;
   5604   return 0;
   5605 }
   5606 _ACEOF
   5607 if ac_fn_c_try_link "$LINENO"
   5608 then :
   5609   eval $cacheid=yes
   5610 else case e in #(
   5611   e) eval $cacheid=no ;;
   5612 esac
   5613 fi
   5614 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5615     conftest$ac_exeext conftest.$ac_ext ;;
   5616 esac
   5617 fi
   5618 
   5619 
   5620 		CFLAGS="$xorg_testset_save_CFLAGS"
   5621 
   5622 		eval supported=\$$cacheid
   5623 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5624 printf "%s\n" "$supported" >&6; }
   5625 		if test "$supported" = "yes" ; then
   5626 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5627 			found="yes"
   5628 		fi
   5629 	fi
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 
   5645 xorg_testset_save_CFLAGS="$CFLAGS"
   5646 
   5647 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5648 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5649 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5650 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5651 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5652 then :
   5653   printf %s "(cached) " >&6
   5654 else case e in #(
   5655   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5656 /* end confdefs.h.  */
   5657 int i;
   5658 _ACEOF
   5659 if ac_fn_c_try_compile "$LINENO"
   5660 then :
   5661   xorg_cv_cc_flag_unknown_warning_option=yes
   5662 else case e in #(
   5663   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5664 esac
   5665 fi
   5666 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5667 esac
   5668 fi
   5669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5670 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5671 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5672 	CFLAGS="$xorg_testset_save_CFLAGS"
   5673 fi
   5674 
   5675 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5676 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5677 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5678 	fi
   5679 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5680 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5681 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5682 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5683 then :
   5684   printf %s "(cached) " >&6
   5685 else case e in #(
   5686   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5687 /* end confdefs.h.  */
   5688 int i;
   5689 _ACEOF
   5690 if ac_fn_c_try_compile "$LINENO"
   5691 then :
   5692   xorg_cv_cc_flag_unused_command_line_argument=yes
   5693 else case e in #(
   5694   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5695 esac
   5696 fi
   5697 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5698 esac
   5699 fi
   5700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5701 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5702 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5703 	CFLAGS="$xorg_testset_save_CFLAGS"
   5704 fi
   5705 
   5706 found="no"
   5707 
   5708 	if test $found = "no" ; then
   5709 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5710 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5711 		fi
   5712 
   5713 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5714 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5715 		fi
   5716 
   5717 		CFLAGS="$CFLAGS -Wformat=2"
   5718 
   5719 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5720 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5721 		cacheid=xorg_cv_cc_flag__Wformat_2
   5722 		if eval test \${$cacheid+y}
   5723 then :
   5724   printf %s "(cached) " >&6
   5725 else case e in #(
   5726   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5727 /* end confdefs.h.  */
   5728 int i;
   5729 int
   5730 main (void)
   5731 {
   5732 
   5733   ;
   5734   return 0;
   5735 }
   5736 _ACEOF
   5737 if ac_fn_c_try_link "$LINENO"
   5738 then :
   5739   eval $cacheid=yes
   5740 else case e in #(
   5741   e) eval $cacheid=no ;;
   5742 esac
   5743 fi
   5744 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5745     conftest$ac_exeext conftest.$ac_ext ;;
   5746 esac
   5747 fi
   5748 
   5749 
   5750 		CFLAGS="$xorg_testset_save_CFLAGS"
   5751 
   5752 		eval supported=\$$cacheid
   5753 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5754 printf "%s\n" "$supported" >&6; }
   5755 		if test "$supported" = "yes" ; then
   5756 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5757 			found="yes"
   5758 		fi
   5759 	fi
   5760 
   5761 	if test $found = "no" ; then
   5762 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5763 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5764 		fi
   5765 
   5766 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5767 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5768 		fi
   5769 
   5770 		CFLAGS="$CFLAGS -Wformat"
   5771 
   5772 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5773 printf %s "checking if $CC supports -Wformat... " >&6; }
   5774 		cacheid=xorg_cv_cc_flag__Wformat
   5775 		if eval test \${$cacheid+y}
   5776 then :
   5777   printf %s "(cached) " >&6
   5778 else case e in #(
   5779   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5780 /* end confdefs.h.  */
   5781 int i;
   5782 int
   5783 main (void)
   5784 {
   5785 
   5786   ;
   5787   return 0;
   5788 }
   5789 _ACEOF
   5790 if ac_fn_c_try_link "$LINENO"
   5791 then :
   5792   eval $cacheid=yes
   5793 else case e in #(
   5794   e) eval $cacheid=no ;;
   5795 esac
   5796 fi
   5797 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5798     conftest$ac_exeext conftest.$ac_ext ;;
   5799 esac
   5800 fi
   5801 
   5802 
   5803 		CFLAGS="$xorg_testset_save_CFLAGS"
   5804 
   5805 		eval supported=\$$cacheid
   5806 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5807 printf "%s\n" "$supported" >&6; }
   5808 		if test "$supported" = "yes" ; then
   5809 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5810 			found="yes"
   5811 		fi
   5812 	fi
   5813 
   5814 
   5815 
   5816 
   5817 
   5818 
   5819 
   5820 
   5821 
   5822 
   5823 
   5824 
   5825 
   5826 
   5827 
   5828 
   5829 
   5830 xorg_testset_save_CFLAGS="$CFLAGS"
   5831 
   5832 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5833 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5834 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5835 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5836 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5837 then :
   5838   printf %s "(cached) " >&6
   5839 else case e in #(
   5840   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5841 /* end confdefs.h.  */
   5842 int i;
   5843 _ACEOF
   5844 if ac_fn_c_try_compile "$LINENO"
   5845 then :
   5846   xorg_cv_cc_flag_unknown_warning_option=yes
   5847 else case e in #(
   5848   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5849 esac
   5850 fi
   5851 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5852 esac
   5853 fi
   5854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5855 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5856 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5857 	CFLAGS="$xorg_testset_save_CFLAGS"
   5858 fi
   5859 
   5860 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5861 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5862 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5863 	fi
   5864 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5865 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5866 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5867 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5868 then :
   5869   printf %s "(cached) " >&6
   5870 else case e in #(
   5871   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5872 /* end confdefs.h.  */
   5873 int i;
   5874 _ACEOF
   5875 if ac_fn_c_try_compile "$LINENO"
   5876 then :
   5877   xorg_cv_cc_flag_unused_command_line_argument=yes
   5878 else case e in #(
   5879   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5880 esac
   5881 fi
   5882 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5883 esac
   5884 fi
   5885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5886 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5887 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5888 	CFLAGS="$xorg_testset_save_CFLAGS"
   5889 fi
   5890 
   5891 found="no"
   5892 
   5893 	if test $found = "no" ; then
   5894 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5895 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5896 		fi
   5897 
   5898 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5899 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5900 		fi
   5901 
   5902 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5903 
   5904 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5905 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5906 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5907 		if eval test \${$cacheid+y}
   5908 then :
   5909   printf %s "(cached) " >&6
   5910 else case e in #(
   5911   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5912 /* end confdefs.h.  */
   5913 int i;
   5914 int
   5915 main (void)
   5916 {
   5917 
   5918   ;
   5919   return 0;
   5920 }
   5921 _ACEOF
   5922 if ac_fn_c_try_link "$LINENO"
   5923 then :
   5924   eval $cacheid=yes
   5925 else case e in #(
   5926   e) eval $cacheid=no ;;
   5927 esac
   5928 fi
   5929 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5930     conftest$ac_exeext conftest.$ac_ext ;;
   5931 esac
   5932 fi
   5933 
   5934 
   5935 		CFLAGS="$xorg_testset_save_CFLAGS"
   5936 
   5937 		eval supported=\$$cacheid
   5938 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5939 printf "%s\n" "$supported" >&6; }
   5940 		if test "$supported" = "yes" ; then
   5941 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5942 			found="yes"
   5943 		fi
   5944 	fi
   5945 
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 
   5952 
   5953 
   5954 
   5955 
   5956 
   5957 
   5958 
   5959 
   5960 xorg_testset_save_CFLAGS="$CFLAGS"
   5961 
   5962 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5963 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5964 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5965 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5966 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5967 then :
   5968   printf %s "(cached) " >&6
   5969 else case e in #(
   5970   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5971 /* end confdefs.h.  */
   5972 int i;
   5973 _ACEOF
   5974 if ac_fn_c_try_compile "$LINENO"
   5975 then :
   5976   xorg_cv_cc_flag_unknown_warning_option=yes
   5977 else case e in #(
   5978   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5979 esac
   5980 fi
   5981 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5982 esac
   5983 fi
   5984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5985 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5986 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5987 	CFLAGS="$xorg_testset_save_CFLAGS"
   5988 fi
   5989 
   5990 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5991 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5992 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5993 	fi
   5994 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5995 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5996 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5997 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5998 then :
   5999   printf %s "(cached) " >&6
   6000 else case e in #(
   6001   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6002 /* end confdefs.h.  */
   6003 int i;
   6004 _ACEOF
   6005 if ac_fn_c_try_compile "$LINENO"
   6006 then :
   6007   xorg_cv_cc_flag_unused_command_line_argument=yes
   6008 else case e in #(
   6009   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6010 esac
   6011 fi
   6012 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6013 esac
   6014 fi
   6015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6016 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6017 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6018 	CFLAGS="$xorg_testset_save_CFLAGS"
   6019 fi
   6020 
   6021 found="no"
   6022 
   6023 	if test $found = "no" ; then
   6024 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6025 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6026 		fi
   6027 
   6028 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6029 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6030 		fi
   6031 
   6032 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   6033 
   6034 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   6035 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   6036 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   6037 		if eval test \${$cacheid+y}
   6038 then :
   6039   printf %s "(cached) " >&6
   6040 else case e in #(
   6041   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6042 /* end confdefs.h.  */
   6043 int i;
   6044 int
   6045 main (void)
   6046 {
   6047 
   6048   ;
   6049   return 0;
   6050 }
   6051 _ACEOF
   6052 if ac_fn_c_try_link "$LINENO"
   6053 then :
   6054   eval $cacheid=yes
   6055 else case e in #(
   6056   e) eval $cacheid=no ;;
   6057 esac
   6058 fi
   6059 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6060     conftest$ac_exeext conftest.$ac_ext ;;
   6061 esac
   6062 fi
   6063 
   6064 
   6065 		CFLAGS="$xorg_testset_save_CFLAGS"
   6066 
   6067 		eval supported=\$$cacheid
   6068 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6069 printf "%s\n" "$supported" >&6; }
   6070 		if test "$supported" = "yes" ; then
   6071 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   6072 			found="yes"
   6073 		fi
   6074 	fi
   6075 
   6076 
   6077 
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 
   6084 
   6085 
   6086 
   6087 
   6088 
   6089 
   6090 xorg_testset_save_CFLAGS="$CFLAGS"
   6091 
   6092 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6093 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6094 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6095 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6096 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6097 then :
   6098   printf %s "(cached) " >&6
   6099 else case e in #(
   6100   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6101 /* end confdefs.h.  */
   6102 int i;
   6103 _ACEOF
   6104 if ac_fn_c_try_compile "$LINENO"
   6105 then :
   6106   xorg_cv_cc_flag_unknown_warning_option=yes
   6107 else case e in #(
   6108   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6109 esac
   6110 fi
   6111 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6112 esac
   6113 fi
   6114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6115 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6116 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6117 	CFLAGS="$xorg_testset_save_CFLAGS"
   6118 fi
   6119 
   6120 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6121 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6122 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6123 	fi
   6124 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6125 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6126 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6127 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6128 then :
   6129   printf %s "(cached) " >&6
   6130 else case e in #(
   6131   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6132 /* end confdefs.h.  */
   6133 int i;
   6134 _ACEOF
   6135 if ac_fn_c_try_compile "$LINENO"
   6136 then :
   6137   xorg_cv_cc_flag_unused_command_line_argument=yes
   6138 else case e in #(
   6139   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6140 esac
   6141 fi
   6142 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6143 esac
   6144 fi
   6145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6146 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6147 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6148 	CFLAGS="$xorg_testset_save_CFLAGS"
   6149 fi
   6150 
   6151 found="no"
   6152 
   6153 	if test $found = "no" ; then
   6154 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6155 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6156 		fi
   6157 
   6158 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6159 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6160 		fi
   6161 
   6162 		CFLAGS="$CFLAGS -Wnested-externs"
   6163 
   6164 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   6165 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   6166 		cacheid=xorg_cv_cc_flag__Wnested_externs
   6167 		if eval test \${$cacheid+y}
   6168 then :
   6169   printf %s "(cached) " >&6
   6170 else case e in #(
   6171   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6172 /* end confdefs.h.  */
   6173 int i;
   6174 int
   6175 main (void)
   6176 {
   6177 
   6178   ;
   6179   return 0;
   6180 }
   6181 _ACEOF
   6182 if ac_fn_c_try_link "$LINENO"
   6183 then :
   6184   eval $cacheid=yes
   6185 else case e in #(
   6186   e) eval $cacheid=no ;;
   6187 esac
   6188 fi
   6189 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6190     conftest$ac_exeext conftest.$ac_ext ;;
   6191 esac
   6192 fi
   6193 
   6194 
   6195 		CFLAGS="$xorg_testset_save_CFLAGS"
   6196 
   6197 		eval supported=\$$cacheid
   6198 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6199 printf "%s\n" "$supported" >&6; }
   6200 		if test "$supported" = "yes" ; then
   6201 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6202 			found="yes"
   6203 		fi
   6204 	fi
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 
   6214 
   6215 
   6216 
   6217 
   6218 
   6219 
   6220 xorg_testset_save_CFLAGS="$CFLAGS"
   6221 
   6222 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6223 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6224 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6225 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6226 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6227 then :
   6228   printf %s "(cached) " >&6
   6229 else case e in #(
   6230   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6231 /* end confdefs.h.  */
   6232 int i;
   6233 _ACEOF
   6234 if ac_fn_c_try_compile "$LINENO"
   6235 then :
   6236   xorg_cv_cc_flag_unknown_warning_option=yes
   6237 else case e in #(
   6238   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6239 esac
   6240 fi
   6241 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6242 esac
   6243 fi
   6244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6245 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6246 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6247 	CFLAGS="$xorg_testset_save_CFLAGS"
   6248 fi
   6249 
   6250 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6251 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6252 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6253 	fi
   6254 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6255 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6256 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6257 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6258 then :
   6259   printf %s "(cached) " >&6
   6260 else case e in #(
   6261   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6262 /* end confdefs.h.  */
   6263 int i;
   6264 _ACEOF
   6265 if ac_fn_c_try_compile "$LINENO"
   6266 then :
   6267   xorg_cv_cc_flag_unused_command_line_argument=yes
   6268 else case e in #(
   6269   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6270 esac
   6271 fi
   6272 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6273 esac
   6274 fi
   6275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6276 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6277 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6278 	CFLAGS="$xorg_testset_save_CFLAGS"
   6279 fi
   6280 
   6281 found="no"
   6282 
   6283 	if test $found = "no" ; then
   6284 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6285 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6286 		fi
   6287 
   6288 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6289 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6290 		fi
   6291 
   6292 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6293 
   6294 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6295 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6296 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6297 		if eval test \${$cacheid+y}
   6298 then :
   6299   printf %s "(cached) " >&6
   6300 else case e in #(
   6301   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6302 /* end confdefs.h.  */
   6303 int i;
   6304 int
   6305 main (void)
   6306 {
   6307 
   6308   ;
   6309   return 0;
   6310 }
   6311 _ACEOF
   6312 if ac_fn_c_try_link "$LINENO"
   6313 then :
   6314   eval $cacheid=yes
   6315 else case e in #(
   6316   e) eval $cacheid=no ;;
   6317 esac
   6318 fi
   6319 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6320     conftest$ac_exeext conftest.$ac_ext ;;
   6321 esac
   6322 fi
   6323 
   6324 
   6325 		CFLAGS="$xorg_testset_save_CFLAGS"
   6326 
   6327 		eval supported=\$$cacheid
   6328 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6329 printf "%s\n" "$supported" >&6; }
   6330 		if test "$supported" = "yes" ; then
   6331 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6332 			found="yes"
   6333 		fi
   6334 	fi
   6335 
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 
   6342 
   6343 
   6344 
   6345 
   6346 
   6347 
   6348 
   6349 
   6350 xorg_testset_save_CFLAGS="$CFLAGS"
   6351 
   6352 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6353 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6354 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6355 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6356 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6357 then :
   6358   printf %s "(cached) " >&6
   6359 else case e in #(
   6360   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6361 /* end confdefs.h.  */
   6362 int i;
   6363 _ACEOF
   6364 if ac_fn_c_try_compile "$LINENO"
   6365 then :
   6366   xorg_cv_cc_flag_unknown_warning_option=yes
   6367 else case e in #(
   6368   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6369 esac
   6370 fi
   6371 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6372 esac
   6373 fi
   6374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6375 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6376 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6377 	CFLAGS="$xorg_testset_save_CFLAGS"
   6378 fi
   6379 
   6380 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6381 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6382 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6383 	fi
   6384 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6385 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6386 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6387 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6388 then :
   6389   printf %s "(cached) " >&6
   6390 else case e in #(
   6391   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6392 /* end confdefs.h.  */
   6393 int i;
   6394 _ACEOF
   6395 if ac_fn_c_try_compile "$LINENO"
   6396 then :
   6397   xorg_cv_cc_flag_unused_command_line_argument=yes
   6398 else case e in #(
   6399   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6400 esac
   6401 fi
   6402 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6403 esac
   6404 fi
   6405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6406 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6407 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6408 	CFLAGS="$xorg_testset_save_CFLAGS"
   6409 fi
   6410 
   6411 found="no"
   6412 
   6413 	if test $found = "no" ; then
   6414 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6415 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6416 		fi
   6417 
   6418 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6419 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6420 		fi
   6421 
   6422 		CFLAGS="$CFLAGS -Wold-style-definition"
   6423 
   6424 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6425 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6426 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6427 		if eval test \${$cacheid+y}
   6428 then :
   6429   printf %s "(cached) " >&6
   6430 else case e in #(
   6431   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6432 /* end confdefs.h.  */
   6433 int i;
   6434 int
   6435 main (void)
   6436 {
   6437 
   6438   ;
   6439   return 0;
   6440 }
   6441 _ACEOF
   6442 if ac_fn_c_try_link "$LINENO"
   6443 then :
   6444   eval $cacheid=yes
   6445 else case e in #(
   6446   e) eval $cacheid=no ;;
   6447 esac
   6448 fi
   6449 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6450     conftest$ac_exeext conftest.$ac_ext ;;
   6451 esac
   6452 fi
   6453 
   6454 
   6455 		CFLAGS="$xorg_testset_save_CFLAGS"
   6456 
   6457 		eval supported=\$$cacheid
   6458 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6459 printf "%s\n" "$supported" >&6; }
   6460 		if test "$supported" = "yes" ; then
   6461 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6462 			found="yes"
   6463 		fi
   6464 	fi
   6465 
   6466 	if test $found = "no" ; then
   6467 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6468 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6469 		fi
   6470 
   6471 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6472 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6473 		fi
   6474 
   6475 		CFLAGS="$CFLAGS -fd"
   6476 
   6477 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6478 printf %s "checking if $CC supports -fd... " >&6; }
   6479 		cacheid=xorg_cv_cc_flag__fd
   6480 		if eval test \${$cacheid+y}
   6481 then :
   6482   printf %s "(cached) " >&6
   6483 else case e in #(
   6484   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6485 /* end confdefs.h.  */
   6486 int i;
   6487 int
   6488 main (void)
   6489 {
   6490 
   6491   ;
   6492   return 0;
   6493 }
   6494 _ACEOF
   6495 if ac_fn_c_try_link "$LINENO"
   6496 then :
   6497   eval $cacheid=yes
   6498 else case e in #(
   6499   e) eval $cacheid=no ;;
   6500 esac
   6501 fi
   6502 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6503     conftest$ac_exeext conftest.$ac_ext ;;
   6504 esac
   6505 fi
   6506 
   6507 
   6508 		CFLAGS="$xorg_testset_save_CFLAGS"
   6509 
   6510 		eval supported=\$$cacheid
   6511 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6512 printf "%s\n" "$supported" >&6; }
   6513 		if test "$supported" = "yes" ; then
   6514 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6515 			found="yes"
   6516 		fi
   6517 	fi
   6518 
   6519 
   6520 
   6521 
   6522 
   6523 # This chunk adds additional warnings that could catch undesired effects.
   6524 
   6525 
   6526 
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 
   6537 xorg_testset_save_CFLAGS="$CFLAGS"
   6538 
   6539 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6540 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6541 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6542 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6543 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6544 then :
   6545   printf %s "(cached) " >&6
   6546 else case e in #(
   6547   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6548 /* end confdefs.h.  */
   6549 int i;
   6550 _ACEOF
   6551 if ac_fn_c_try_compile "$LINENO"
   6552 then :
   6553   xorg_cv_cc_flag_unknown_warning_option=yes
   6554 else case e in #(
   6555   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6556 esac
   6557 fi
   6558 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6559 esac
   6560 fi
   6561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6562 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6563 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6564 	CFLAGS="$xorg_testset_save_CFLAGS"
   6565 fi
   6566 
   6567 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6568 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6569 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6570 	fi
   6571 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6572 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6573 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6574 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6575 then :
   6576   printf %s "(cached) " >&6
   6577 else case e in #(
   6578   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6579 /* end confdefs.h.  */
   6580 int i;
   6581 _ACEOF
   6582 if ac_fn_c_try_compile "$LINENO"
   6583 then :
   6584   xorg_cv_cc_flag_unused_command_line_argument=yes
   6585 else case e in #(
   6586   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6587 esac
   6588 fi
   6589 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6590 esac
   6591 fi
   6592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6593 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6594 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6595 	CFLAGS="$xorg_testset_save_CFLAGS"
   6596 fi
   6597 
   6598 found="no"
   6599 
   6600 	if test $found = "no" ; then
   6601 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6602 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6603 		fi
   6604 
   6605 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6606 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6607 		fi
   6608 
   6609 		CFLAGS="$CFLAGS -Wunused"
   6610 
   6611 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6612 printf %s "checking if $CC supports -Wunused... " >&6; }
   6613 		cacheid=xorg_cv_cc_flag__Wunused
   6614 		if eval test \${$cacheid+y}
   6615 then :
   6616   printf %s "(cached) " >&6
   6617 else case e in #(
   6618   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6619 /* end confdefs.h.  */
   6620 int i;
   6621 int
   6622 main (void)
   6623 {
   6624 
   6625   ;
   6626   return 0;
   6627 }
   6628 _ACEOF
   6629 if ac_fn_c_try_link "$LINENO"
   6630 then :
   6631   eval $cacheid=yes
   6632 else case e in #(
   6633   e) eval $cacheid=no ;;
   6634 esac
   6635 fi
   6636 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6637     conftest$ac_exeext conftest.$ac_ext ;;
   6638 esac
   6639 fi
   6640 
   6641 
   6642 		CFLAGS="$xorg_testset_save_CFLAGS"
   6643 
   6644 		eval supported=\$$cacheid
   6645 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6646 printf "%s\n" "$supported" >&6; }
   6647 		if test "$supported" = "yes" ; then
   6648 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6649 			found="yes"
   6650 		fi
   6651 	fi
   6652 
   6653 
   6654 
   6655 
   6656 
   6657 
   6658 
   6659 
   6660 
   6661 
   6662 
   6663 
   6664 
   6665 
   6666 
   6667 xorg_testset_save_CFLAGS="$CFLAGS"
   6668 
   6669 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6670 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6671 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6672 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6673 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6674 then :
   6675   printf %s "(cached) " >&6
   6676 else case e in #(
   6677   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6678 /* end confdefs.h.  */
   6679 int i;
   6680 _ACEOF
   6681 if ac_fn_c_try_compile "$LINENO"
   6682 then :
   6683   xorg_cv_cc_flag_unknown_warning_option=yes
   6684 else case e in #(
   6685   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6686 esac
   6687 fi
   6688 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6689 esac
   6690 fi
   6691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6692 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6693 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6694 	CFLAGS="$xorg_testset_save_CFLAGS"
   6695 fi
   6696 
   6697 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6698 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6699 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6700 	fi
   6701 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6702 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6703 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6704 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6705 then :
   6706   printf %s "(cached) " >&6
   6707 else case e in #(
   6708   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6709 /* end confdefs.h.  */
   6710 int i;
   6711 _ACEOF
   6712 if ac_fn_c_try_compile "$LINENO"
   6713 then :
   6714   xorg_cv_cc_flag_unused_command_line_argument=yes
   6715 else case e in #(
   6716   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6717 esac
   6718 fi
   6719 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6720 esac
   6721 fi
   6722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6723 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6724 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6725 	CFLAGS="$xorg_testset_save_CFLAGS"
   6726 fi
   6727 
   6728 found="no"
   6729 
   6730 	if test $found = "no" ; then
   6731 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6732 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6733 		fi
   6734 
   6735 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6736 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6737 		fi
   6738 
   6739 		CFLAGS="$CFLAGS -Wuninitialized"
   6740 
   6741 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6742 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6743 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6744 		if eval test \${$cacheid+y}
   6745 then :
   6746   printf %s "(cached) " >&6
   6747 else case e in #(
   6748   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6749 /* end confdefs.h.  */
   6750 int i;
   6751 int
   6752 main (void)
   6753 {
   6754 
   6755   ;
   6756   return 0;
   6757 }
   6758 _ACEOF
   6759 if ac_fn_c_try_link "$LINENO"
   6760 then :
   6761   eval $cacheid=yes
   6762 else case e in #(
   6763   e) eval $cacheid=no ;;
   6764 esac
   6765 fi
   6766 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6767     conftest$ac_exeext conftest.$ac_ext ;;
   6768 esac
   6769 fi
   6770 
   6771 
   6772 		CFLAGS="$xorg_testset_save_CFLAGS"
   6773 
   6774 		eval supported=\$$cacheid
   6775 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6776 printf "%s\n" "$supported" >&6; }
   6777 		if test "$supported" = "yes" ; then
   6778 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6779 			found="yes"
   6780 		fi
   6781 	fi
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 
   6792 
   6793 
   6794 
   6795 
   6796 
   6797 xorg_testset_save_CFLAGS="$CFLAGS"
   6798 
   6799 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6800 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6801 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6802 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6803 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6804 then :
   6805   printf %s "(cached) " >&6
   6806 else case e in #(
   6807   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6808 /* end confdefs.h.  */
   6809 int i;
   6810 _ACEOF
   6811 if ac_fn_c_try_compile "$LINENO"
   6812 then :
   6813   xorg_cv_cc_flag_unknown_warning_option=yes
   6814 else case e in #(
   6815   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6816 esac
   6817 fi
   6818 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6819 esac
   6820 fi
   6821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6822 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6823 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6824 	CFLAGS="$xorg_testset_save_CFLAGS"
   6825 fi
   6826 
   6827 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6828 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6829 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6830 	fi
   6831 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6832 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6833 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6834 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6835 then :
   6836   printf %s "(cached) " >&6
   6837 else case e in #(
   6838   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6839 /* end confdefs.h.  */
   6840 int i;
   6841 _ACEOF
   6842 if ac_fn_c_try_compile "$LINENO"
   6843 then :
   6844   xorg_cv_cc_flag_unused_command_line_argument=yes
   6845 else case e in #(
   6846   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6847 esac
   6848 fi
   6849 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6850 esac
   6851 fi
   6852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6853 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6854 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6855 	CFLAGS="$xorg_testset_save_CFLAGS"
   6856 fi
   6857 
   6858 found="no"
   6859 
   6860 	if test $found = "no" ; then
   6861 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6862 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6863 		fi
   6864 
   6865 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6866 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6867 		fi
   6868 
   6869 		CFLAGS="$CFLAGS -Wshadow"
   6870 
   6871 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6872 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6873 		cacheid=xorg_cv_cc_flag__Wshadow
   6874 		if eval test \${$cacheid+y}
   6875 then :
   6876   printf %s "(cached) " >&6
   6877 else case e in #(
   6878   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6879 /* end confdefs.h.  */
   6880 int i;
   6881 int
   6882 main (void)
   6883 {
   6884 
   6885   ;
   6886   return 0;
   6887 }
   6888 _ACEOF
   6889 if ac_fn_c_try_link "$LINENO"
   6890 then :
   6891   eval $cacheid=yes
   6892 else case e in #(
   6893   e) eval $cacheid=no ;;
   6894 esac
   6895 fi
   6896 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6897     conftest$ac_exeext conftest.$ac_ext ;;
   6898 esac
   6899 fi
   6900 
   6901 
   6902 		CFLAGS="$xorg_testset_save_CFLAGS"
   6903 
   6904 		eval supported=\$$cacheid
   6905 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6906 printf "%s\n" "$supported" >&6; }
   6907 		if test "$supported" = "yes" ; then
   6908 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6909 			found="yes"
   6910 		fi
   6911 	fi
   6912 
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 xorg_testset_save_CFLAGS="$CFLAGS"
   6928 
   6929 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6930 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6931 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6932 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6933 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6934 then :
   6935   printf %s "(cached) " >&6
   6936 else case e in #(
   6937   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6938 /* end confdefs.h.  */
   6939 int i;
   6940 _ACEOF
   6941 if ac_fn_c_try_compile "$LINENO"
   6942 then :
   6943   xorg_cv_cc_flag_unknown_warning_option=yes
   6944 else case e in #(
   6945   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6946 esac
   6947 fi
   6948 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6949 esac
   6950 fi
   6951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6952 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6953 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6954 	CFLAGS="$xorg_testset_save_CFLAGS"
   6955 fi
   6956 
   6957 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6958 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6959 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6960 	fi
   6961 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6962 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6963 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6964 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6965 then :
   6966   printf %s "(cached) " >&6
   6967 else case e in #(
   6968   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6969 /* end confdefs.h.  */
   6970 int i;
   6971 _ACEOF
   6972 if ac_fn_c_try_compile "$LINENO"
   6973 then :
   6974   xorg_cv_cc_flag_unused_command_line_argument=yes
   6975 else case e in #(
   6976   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6977 esac
   6978 fi
   6979 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6980 esac
   6981 fi
   6982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6983 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6984 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6985 	CFLAGS="$xorg_testset_save_CFLAGS"
   6986 fi
   6987 
   6988 found="no"
   6989 
   6990 	if test $found = "no" ; then
   6991 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6992 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6993 		fi
   6994 
   6995 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6996 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6997 		fi
   6998 
   6999 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   7000 
   7001 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   7002 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   7003 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   7004 		if eval test \${$cacheid+y}
   7005 then :
   7006   printf %s "(cached) " >&6
   7007 else case e in #(
   7008   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7009 /* end confdefs.h.  */
   7010 int i;
   7011 int
   7012 main (void)
   7013 {
   7014 
   7015   ;
   7016   return 0;
   7017 }
   7018 _ACEOF
   7019 if ac_fn_c_try_link "$LINENO"
   7020 then :
   7021   eval $cacheid=yes
   7022 else case e in #(
   7023   e) eval $cacheid=no ;;
   7024 esac
   7025 fi
   7026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7027     conftest$ac_exeext conftest.$ac_ext ;;
   7028 esac
   7029 fi
   7030 
   7031 
   7032 		CFLAGS="$xorg_testset_save_CFLAGS"
   7033 
   7034 		eval supported=\$$cacheid
   7035 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7036 printf "%s\n" "$supported" >&6; }
   7037 		if test "$supported" = "yes" ; then
   7038 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   7039 			found="yes"
   7040 		fi
   7041 	fi
   7042 
   7043 
   7044 
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 
   7052 
   7053 
   7054 
   7055 
   7056 
   7057 xorg_testset_save_CFLAGS="$CFLAGS"
   7058 
   7059 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7060 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7061 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7062 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7063 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7064 then :
   7065   printf %s "(cached) " >&6
   7066 else case e in #(
   7067   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7068 /* end confdefs.h.  */
   7069 int i;
   7070 _ACEOF
   7071 if ac_fn_c_try_compile "$LINENO"
   7072 then :
   7073   xorg_cv_cc_flag_unknown_warning_option=yes
   7074 else case e in #(
   7075   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7076 esac
   7077 fi
   7078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7079 esac
   7080 fi
   7081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7082 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7083 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7084 	CFLAGS="$xorg_testset_save_CFLAGS"
   7085 fi
   7086 
   7087 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7088 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7089 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7090 	fi
   7091 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7092 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7093 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7094 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7095 then :
   7096   printf %s "(cached) " >&6
   7097 else case e in #(
   7098   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7099 /* end confdefs.h.  */
   7100 int i;
   7101 _ACEOF
   7102 if ac_fn_c_try_compile "$LINENO"
   7103 then :
   7104   xorg_cv_cc_flag_unused_command_line_argument=yes
   7105 else case e in #(
   7106   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7107 esac
   7108 fi
   7109 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7110 esac
   7111 fi
   7112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7113 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7114 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7115 	CFLAGS="$xorg_testset_save_CFLAGS"
   7116 fi
   7117 
   7118 found="no"
   7119 
   7120 	if test $found = "no" ; then
   7121 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7122 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7123 		fi
   7124 
   7125 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7126 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7127 		fi
   7128 
   7129 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7130 
   7131 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7132 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7133 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7134 		if eval test \${$cacheid+y}
   7135 then :
   7136   printf %s "(cached) " >&6
   7137 else case e in #(
   7138   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7139 /* end confdefs.h.  */
   7140 int i;
   7141 int
   7142 main (void)
   7143 {
   7144 
   7145   ;
   7146   return 0;
   7147 }
   7148 _ACEOF
   7149 if ac_fn_c_try_link "$LINENO"
   7150 then :
   7151   eval $cacheid=yes
   7152 else case e in #(
   7153   e) eval $cacheid=no ;;
   7154 esac
   7155 fi
   7156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7157     conftest$ac_exeext conftest.$ac_ext ;;
   7158 esac
   7159 fi
   7160 
   7161 
   7162 		CFLAGS="$xorg_testset_save_CFLAGS"
   7163 
   7164 		eval supported=\$$cacheid
   7165 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7166 printf "%s\n" "$supported" >&6; }
   7167 		if test "$supported" = "yes" ; then
   7168 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7169 			found="yes"
   7170 		fi
   7171 	fi
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 
   7187 xorg_testset_save_CFLAGS="$CFLAGS"
   7188 
   7189 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7190 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7191 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7192 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7193 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7194 then :
   7195   printf %s "(cached) " >&6
   7196 else case e in #(
   7197   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7198 /* end confdefs.h.  */
   7199 int i;
   7200 _ACEOF
   7201 if ac_fn_c_try_compile "$LINENO"
   7202 then :
   7203   xorg_cv_cc_flag_unknown_warning_option=yes
   7204 else case e in #(
   7205   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7206 esac
   7207 fi
   7208 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7209 esac
   7210 fi
   7211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7212 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7213 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7214 	CFLAGS="$xorg_testset_save_CFLAGS"
   7215 fi
   7216 
   7217 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7218 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7219 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7220 	fi
   7221 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7222 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7223 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7224 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7225 then :
   7226   printf %s "(cached) " >&6
   7227 else case e in #(
   7228   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7229 /* end confdefs.h.  */
   7230 int i;
   7231 _ACEOF
   7232 if ac_fn_c_try_compile "$LINENO"
   7233 then :
   7234   xorg_cv_cc_flag_unused_command_line_argument=yes
   7235 else case e in #(
   7236   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7237 esac
   7238 fi
   7239 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7240 esac
   7241 fi
   7242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7243 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7244 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7245 	CFLAGS="$xorg_testset_save_CFLAGS"
   7246 fi
   7247 
   7248 found="no"
   7249 
   7250 	if test $found = "no" ; then
   7251 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7252 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7253 		fi
   7254 
   7255 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7256 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7257 		fi
   7258 
   7259 		CFLAGS="$CFLAGS -Wredundant-decls"
   7260 
   7261 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7262 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7263 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7264 		if eval test \${$cacheid+y}
   7265 then :
   7266   printf %s "(cached) " >&6
   7267 else case e in #(
   7268   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7269 /* end confdefs.h.  */
   7270 int i;
   7271 int
   7272 main (void)
   7273 {
   7274 
   7275   ;
   7276   return 0;
   7277 }
   7278 _ACEOF
   7279 if ac_fn_c_try_link "$LINENO"
   7280 then :
   7281   eval $cacheid=yes
   7282 else case e in #(
   7283   e) eval $cacheid=no ;;
   7284 esac
   7285 fi
   7286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7287     conftest$ac_exeext conftest.$ac_ext ;;
   7288 esac
   7289 fi
   7290 
   7291 
   7292 		CFLAGS="$xorg_testset_save_CFLAGS"
   7293 
   7294 		eval supported=\$$cacheid
   7295 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7296 printf "%s\n" "$supported" >&6; }
   7297 		if test "$supported" = "yes" ; then
   7298 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7299 			found="yes"
   7300 		fi
   7301 	fi
   7302 
   7303 
   7304 
   7305 
   7306 
   7307 
   7308 
   7309 
   7310 
   7311 
   7312 
   7313 
   7314 
   7315 
   7316 
   7317 xorg_testset_save_CFLAGS="$CFLAGS"
   7318 
   7319 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7320 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7321 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7322 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7323 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7324 then :
   7325   printf %s "(cached) " >&6
   7326 else case e in #(
   7327   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7328 /* end confdefs.h.  */
   7329 int i;
   7330 _ACEOF
   7331 if ac_fn_c_try_compile "$LINENO"
   7332 then :
   7333   xorg_cv_cc_flag_unknown_warning_option=yes
   7334 else case e in #(
   7335   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7336 esac
   7337 fi
   7338 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7339 esac
   7340 fi
   7341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7342 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7343 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7344 	CFLAGS="$xorg_testset_save_CFLAGS"
   7345 fi
   7346 
   7347 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7348 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7349 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7350 	fi
   7351 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7352 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7353 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7354 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7355 then :
   7356   printf %s "(cached) " >&6
   7357 else case e in #(
   7358   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7359 /* end confdefs.h.  */
   7360 int i;
   7361 _ACEOF
   7362 if ac_fn_c_try_compile "$LINENO"
   7363 then :
   7364   xorg_cv_cc_flag_unused_command_line_argument=yes
   7365 else case e in #(
   7366   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7367 esac
   7368 fi
   7369 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7370 esac
   7371 fi
   7372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7373 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7374 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7375 	CFLAGS="$xorg_testset_save_CFLAGS"
   7376 fi
   7377 
   7378 found="no"
   7379 
   7380 	if test $found = "no" ; then
   7381 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7382 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7383 		fi
   7384 
   7385 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7386 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7387 		fi
   7388 
   7389 		CFLAGS="$CFLAGS -Wlogical-op"
   7390 
   7391 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7392 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7393 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7394 		if eval test \${$cacheid+y}
   7395 then :
   7396   printf %s "(cached) " >&6
   7397 else case e in #(
   7398   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7399 /* end confdefs.h.  */
   7400 int i;
   7401 int
   7402 main (void)
   7403 {
   7404 
   7405   ;
   7406   return 0;
   7407 }
   7408 _ACEOF
   7409 if ac_fn_c_try_link "$LINENO"
   7410 then :
   7411   eval $cacheid=yes
   7412 else case e in #(
   7413   e) eval $cacheid=no ;;
   7414 esac
   7415 fi
   7416 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7417     conftest$ac_exeext conftest.$ac_ext ;;
   7418 esac
   7419 fi
   7420 
   7421 
   7422 		CFLAGS="$xorg_testset_save_CFLAGS"
   7423 
   7424 		eval supported=\$$cacheid
   7425 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7426 printf "%s\n" "$supported" >&6; }
   7427 		if test "$supported" = "yes" ; then
   7428 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7429 			found="yes"
   7430 		fi
   7431 	fi
   7432 
   7433 
   7434 
   7435 # These are currently disabled because they are noisy.  They will be enabled
   7436 # in the future once the codebase is sufficiently modernized to silence
   7437 # them.  For now, I don't want them to drown out the other warnings.
   7438 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7439 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7440 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7441 
   7442 # Turn some warnings into errors, so we don't accidentally get successful builds
   7443 # when there are problems that should be fixed.
   7444 
   7445 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7446 
   7447 
   7448 
   7449 
   7450 
   7451 
   7452 
   7453 
   7454 
   7455 
   7456 
   7457 
   7458 
   7459 xorg_testset_save_CFLAGS="$CFLAGS"
   7460 
   7461 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7462 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7463 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7464 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7465 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7466 then :
   7467   printf %s "(cached) " >&6
   7468 else case e in #(
   7469   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7470 /* end confdefs.h.  */
   7471 int i;
   7472 _ACEOF
   7473 if ac_fn_c_try_compile "$LINENO"
   7474 then :
   7475   xorg_cv_cc_flag_unknown_warning_option=yes
   7476 else case e in #(
   7477   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7478 esac
   7479 fi
   7480 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7481 esac
   7482 fi
   7483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7484 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7485 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7486 	CFLAGS="$xorg_testset_save_CFLAGS"
   7487 fi
   7488 
   7489 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7490 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7491 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7492 	fi
   7493 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7494 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7495 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7496 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7497 then :
   7498   printf %s "(cached) " >&6
   7499 else case e in #(
   7500   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7501 /* end confdefs.h.  */
   7502 int i;
   7503 _ACEOF
   7504 if ac_fn_c_try_compile "$LINENO"
   7505 then :
   7506   xorg_cv_cc_flag_unused_command_line_argument=yes
   7507 else case e in #(
   7508   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7509 esac
   7510 fi
   7511 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7512 esac
   7513 fi
   7514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7515 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7516 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7517 	CFLAGS="$xorg_testset_save_CFLAGS"
   7518 fi
   7519 
   7520 found="no"
   7521 
   7522 	if test $found = "no" ; then
   7523 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7524 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7525 		fi
   7526 
   7527 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7528 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7529 		fi
   7530 
   7531 		CFLAGS="$CFLAGS -Werror=implicit"
   7532 
   7533 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7534 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7535 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7536 		if eval test \${$cacheid+y}
   7537 then :
   7538   printf %s "(cached) " >&6
   7539 else case e in #(
   7540   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7541 /* end confdefs.h.  */
   7542 int i;
   7543 int
   7544 main (void)
   7545 {
   7546 
   7547   ;
   7548   return 0;
   7549 }
   7550 _ACEOF
   7551 if ac_fn_c_try_link "$LINENO"
   7552 then :
   7553   eval $cacheid=yes
   7554 else case e in #(
   7555   e) eval $cacheid=no ;;
   7556 esac
   7557 fi
   7558 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7559     conftest$ac_exeext conftest.$ac_ext ;;
   7560 esac
   7561 fi
   7562 
   7563 
   7564 		CFLAGS="$xorg_testset_save_CFLAGS"
   7565 
   7566 		eval supported=\$$cacheid
   7567 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7568 printf "%s\n" "$supported" >&6; }
   7569 		if test "$supported" = "yes" ; then
   7570 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7571 			found="yes"
   7572 		fi
   7573 	fi
   7574 
   7575 	if test $found = "no" ; then
   7576 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7577 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7578 		fi
   7579 
   7580 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7581 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7582 		fi
   7583 
   7584 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7585 
   7586 		{ 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
   7587 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7588 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7589 		if eval test \${$cacheid+y}
   7590 then :
   7591   printf %s "(cached) " >&6
   7592 else case e in #(
   7593   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7594 /* end confdefs.h.  */
   7595 int i;
   7596 int
   7597 main (void)
   7598 {
   7599 
   7600   ;
   7601   return 0;
   7602 }
   7603 _ACEOF
   7604 if ac_fn_c_try_link "$LINENO"
   7605 then :
   7606   eval $cacheid=yes
   7607 else case e in #(
   7608   e) eval $cacheid=no ;;
   7609 esac
   7610 fi
   7611 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7612     conftest$ac_exeext conftest.$ac_ext ;;
   7613 esac
   7614 fi
   7615 
   7616 
   7617 		CFLAGS="$xorg_testset_save_CFLAGS"
   7618 
   7619 		eval supported=\$$cacheid
   7620 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7621 printf "%s\n" "$supported" >&6; }
   7622 		if test "$supported" = "yes" ; then
   7623 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7624 			found="yes"
   7625 		fi
   7626 	fi
   7627 
   7628 
   7629 
   7630 
   7631 
   7632 
   7633 
   7634 
   7635 
   7636 
   7637 
   7638 
   7639 
   7640 
   7641 
   7642 xorg_testset_save_CFLAGS="$CFLAGS"
   7643 
   7644 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7645 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7646 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7647 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7648 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7649 then :
   7650   printf %s "(cached) " >&6
   7651 else case e in #(
   7652   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7653 /* end confdefs.h.  */
   7654 int i;
   7655 _ACEOF
   7656 if ac_fn_c_try_compile "$LINENO"
   7657 then :
   7658   xorg_cv_cc_flag_unknown_warning_option=yes
   7659 else case e in #(
   7660   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7661 esac
   7662 fi
   7663 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7664 esac
   7665 fi
   7666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7667 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7668 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7669 	CFLAGS="$xorg_testset_save_CFLAGS"
   7670 fi
   7671 
   7672 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7673 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7674 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7675 	fi
   7676 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7677 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7678 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7679 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7680 then :
   7681   printf %s "(cached) " >&6
   7682 else case e in #(
   7683   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7684 /* end confdefs.h.  */
   7685 int i;
   7686 _ACEOF
   7687 if ac_fn_c_try_compile "$LINENO"
   7688 then :
   7689   xorg_cv_cc_flag_unused_command_line_argument=yes
   7690 else case e in #(
   7691   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7692 esac
   7693 fi
   7694 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7695 esac
   7696 fi
   7697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7698 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7699 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7700 	CFLAGS="$xorg_testset_save_CFLAGS"
   7701 fi
   7702 
   7703 found="no"
   7704 
   7705 	if test $found = "no" ; then
   7706 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7707 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7708 		fi
   7709 
   7710 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7711 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7712 		fi
   7713 
   7714 		CFLAGS="$CFLAGS -Werror=nonnull"
   7715 
   7716 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7717 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7718 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7719 		if eval test \${$cacheid+y}
   7720 then :
   7721   printf %s "(cached) " >&6
   7722 else case e in #(
   7723   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7724 /* end confdefs.h.  */
   7725 int i;
   7726 int
   7727 main (void)
   7728 {
   7729 
   7730   ;
   7731   return 0;
   7732 }
   7733 _ACEOF
   7734 if ac_fn_c_try_link "$LINENO"
   7735 then :
   7736   eval $cacheid=yes
   7737 else case e in #(
   7738   e) eval $cacheid=no ;;
   7739 esac
   7740 fi
   7741 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7742     conftest$ac_exeext conftest.$ac_ext ;;
   7743 esac
   7744 fi
   7745 
   7746 
   7747 		CFLAGS="$xorg_testset_save_CFLAGS"
   7748 
   7749 		eval supported=\$$cacheid
   7750 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7751 printf "%s\n" "$supported" >&6; }
   7752 		if test "$supported" = "yes" ; then
   7753 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7754 			found="yes"
   7755 		fi
   7756 	fi
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 
   7771 
   7772 xorg_testset_save_CFLAGS="$CFLAGS"
   7773 
   7774 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7775 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7776 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7777 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7778 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7779 then :
   7780   printf %s "(cached) " >&6
   7781 else case e in #(
   7782   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7783 /* end confdefs.h.  */
   7784 int i;
   7785 _ACEOF
   7786 if ac_fn_c_try_compile "$LINENO"
   7787 then :
   7788   xorg_cv_cc_flag_unknown_warning_option=yes
   7789 else case e in #(
   7790   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7791 esac
   7792 fi
   7793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7794 esac
   7795 fi
   7796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7797 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7798 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7799 	CFLAGS="$xorg_testset_save_CFLAGS"
   7800 fi
   7801 
   7802 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7803 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7804 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7805 	fi
   7806 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7807 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7808 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7809 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7810 then :
   7811   printf %s "(cached) " >&6
   7812 else case e in #(
   7813   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7814 /* end confdefs.h.  */
   7815 int i;
   7816 _ACEOF
   7817 if ac_fn_c_try_compile "$LINENO"
   7818 then :
   7819   xorg_cv_cc_flag_unused_command_line_argument=yes
   7820 else case e in #(
   7821   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7822 esac
   7823 fi
   7824 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7825 esac
   7826 fi
   7827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7828 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7829 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7830 	CFLAGS="$xorg_testset_save_CFLAGS"
   7831 fi
   7832 
   7833 found="no"
   7834 
   7835 	if test $found = "no" ; then
   7836 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7837 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7838 		fi
   7839 
   7840 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7841 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7842 		fi
   7843 
   7844 		CFLAGS="$CFLAGS -Werror=init-self"
   7845 
   7846 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7847 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7848 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7849 		if eval test \${$cacheid+y}
   7850 then :
   7851   printf %s "(cached) " >&6
   7852 else case e in #(
   7853   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7854 /* end confdefs.h.  */
   7855 int i;
   7856 int
   7857 main (void)
   7858 {
   7859 
   7860   ;
   7861   return 0;
   7862 }
   7863 _ACEOF
   7864 if ac_fn_c_try_link "$LINENO"
   7865 then :
   7866   eval $cacheid=yes
   7867 else case e in #(
   7868   e) eval $cacheid=no ;;
   7869 esac
   7870 fi
   7871 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7872     conftest$ac_exeext conftest.$ac_ext ;;
   7873 esac
   7874 fi
   7875 
   7876 
   7877 		CFLAGS="$xorg_testset_save_CFLAGS"
   7878 
   7879 		eval supported=\$$cacheid
   7880 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7881 printf "%s\n" "$supported" >&6; }
   7882 		if test "$supported" = "yes" ; then
   7883 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7884 			found="yes"
   7885 		fi
   7886 	fi
   7887 
   7888 
   7889 
   7890 
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 
   7897 
   7898 
   7899 
   7900 
   7901 
   7902 xorg_testset_save_CFLAGS="$CFLAGS"
   7903 
   7904 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7905 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7906 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7907 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7908 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7909 then :
   7910   printf %s "(cached) " >&6
   7911 else case e in #(
   7912   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7913 /* end confdefs.h.  */
   7914 int i;
   7915 _ACEOF
   7916 if ac_fn_c_try_compile "$LINENO"
   7917 then :
   7918   xorg_cv_cc_flag_unknown_warning_option=yes
   7919 else case e in #(
   7920   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7921 esac
   7922 fi
   7923 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7924 esac
   7925 fi
   7926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7927 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7928 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7929 	CFLAGS="$xorg_testset_save_CFLAGS"
   7930 fi
   7931 
   7932 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7933 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7934 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7935 	fi
   7936 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7937 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7938 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7939 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7940 then :
   7941   printf %s "(cached) " >&6
   7942 else case e in #(
   7943   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7944 /* end confdefs.h.  */
   7945 int i;
   7946 _ACEOF
   7947 if ac_fn_c_try_compile "$LINENO"
   7948 then :
   7949   xorg_cv_cc_flag_unused_command_line_argument=yes
   7950 else case e in #(
   7951   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7952 esac
   7953 fi
   7954 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7955 esac
   7956 fi
   7957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7958 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7959 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7960 	CFLAGS="$xorg_testset_save_CFLAGS"
   7961 fi
   7962 
   7963 found="no"
   7964 
   7965 	if test $found = "no" ; then
   7966 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7967 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7968 		fi
   7969 
   7970 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7971 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7972 		fi
   7973 
   7974 		CFLAGS="$CFLAGS -Werror=main"
   7975 
   7976 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7977 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7978 		cacheid=xorg_cv_cc_flag__Werror_main
   7979 		if eval test \${$cacheid+y}
   7980 then :
   7981   printf %s "(cached) " >&6
   7982 else case e in #(
   7983   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7984 /* end confdefs.h.  */
   7985 int i;
   7986 int
   7987 main (void)
   7988 {
   7989 
   7990   ;
   7991   return 0;
   7992 }
   7993 _ACEOF
   7994 if ac_fn_c_try_link "$LINENO"
   7995 then :
   7996   eval $cacheid=yes
   7997 else case e in #(
   7998   e) eval $cacheid=no ;;
   7999 esac
   8000 fi
   8001 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8002     conftest$ac_exeext conftest.$ac_ext ;;
   8003 esac
   8004 fi
   8005 
   8006 
   8007 		CFLAGS="$xorg_testset_save_CFLAGS"
   8008 
   8009 		eval supported=\$$cacheid
   8010 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8011 printf "%s\n" "$supported" >&6; }
   8012 		if test "$supported" = "yes" ; then
   8013 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   8014 			found="yes"
   8015 		fi
   8016 	fi
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 
   8024 
   8025 
   8026 
   8027 
   8028 
   8029 
   8030 
   8031 
   8032 xorg_testset_save_CFLAGS="$CFLAGS"
   8033 
   8034 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8035 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8036 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8037 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8038 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8039 then :
   8040   printf %s "(cached) " >&6
   8041 else case e in #(
   8042   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8043 /* end confdefs.h.  */
   8044 int i;
   8045 _ACEOF
   8046 if ac_fn_c_try_compile "$LINENO"
   8047 then :
   8048   xorg_cv_cc_flag_unknown_warning_option=yes
   8049 else case e in #(
   8050   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8051 esac
   8052 fi
   8053 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8054 esac
   8055 fi
   8056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8057 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8058 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8059 	CFLAGS="$xorg_testset_save_CFLAGS"
   8060 fi
   8061 
   8062 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8063 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8064 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8065 	fi
   8066 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8067 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8068 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8069 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8070 then :
   8071   printf %s "(cached) " >&6
   8072 else case e in #(
   8073   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8074 /* end confdefs.h.  */
   8075 int i;
   8076 _ACEOF
   8077 if ac_fn_c_try_compile "$LINENO"
   8078 then :
   8079   xorg_cv_cc_flag_unused_command_line_argument=yes
   8080 else case e in #(
   8081   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8082 esac
   8083 fi
   8084 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8085 esac
   8086 fi
   8087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8088 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8089 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8090 	CFLAGS="$xorg_testset_save_CFLAGS"
   8091 fi
   8092 
   8093 found="no"
   8094 
   8095 	if test $found = "no" ; then
   8096 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8097 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8098 		fi
   8099 
   8100 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8101 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8102 		fi
   8103 
   8104 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8105 
   8106 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8107 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8108 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8109 		if eval test \${$cacheid+y}
   8110 then :
   8111   printf %s "(cached) " >&6
   8112 else case e in #(
   8113   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8114 /* end confdefs.h.  */
   8115 int i;
   8116 int
   8117 main (void)
   8118 {
   8119 
   8120   ;
   8121   return 0;
   8122 }
   8123 _ACEOF
   8124 if ac_fn_c_try_link "$LINENO"
   8125 then :
   8126   eval $cacheid=yes
   8127 else case e in #(
   8128   e) eval $cacheid=no ;;
   8129 esac
   8130 fi
   8131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8132     conftest$ac_exeext conftest.$ac_ext ;;
   8133 esac
   8134 fi
   8135 
   8136 
   8137 		CFLAGS="$xorg_testset_save_CFLAGS"
   8138 
   8139 		eval supported=\$$cacheid
   8140 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8141 printf "%s\n" "$supported" >&6; }
   8142 		if test "$supported" = "yes" ; then
   8143 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8144 			found="yes"
   8145 		fi
   8146 	fi
   8147 
   8148 
   8149 
   8150 
   8151 
   8152 
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 xorg_testset_save_CFLAGS="$CFLAGS"
   8163 
   8164 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8165 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8166 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8167 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8168 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8169 then :
   8170   printf %s "(cached) " >&6
   8171 else case e in #(
   8172   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8173 /* end confdefs.h.  */
   8174 int i;
   8175 _ACEOF
   8176 if ac_fn_c_try_compile "$LINENO"
   8177 then :
   8178   xorg_cv_cc_flag_unknown_warning_option=yes
   8179 else case e in #(
   8180   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8181 esac
   8182 fi
   8183 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8184 esac
   8185 fi
   8186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8187 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8188 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8189 	CFLAGS="$xorg_testset_save_CFLAGS"
   8190 fi
   8191 
   8192 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8193 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8194 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8195 	fi
   8196 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8197 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8198 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8199 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8200 then :
   8201   printf %s "(cached) " >&6
   8202 else case e in #(
   8203   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8204 /* end confdefs.h.  */
   8205 int i;
   8206 _ACEOF
   8207 if ac_fn_c_try_compile "$LINENO"
   8208 then :
   8209   xorg_cv_cc_flag_unused_command_line_argument=yes
   8210 else case e in #(
   8211   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8212 esac
   8213 fi
   8214 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8215 esac
   8216 fi
   8217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8218 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8219 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8220 	CFLAGS="$xorg_testset_save_CFLAGS"
   8221 fi
   8222 
   8223 found="no"
   8224 
   8225 	if test $found = "no" ; then
   8226 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8227 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8228 		fi
   8229 
   8230 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8231 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8232 		fi
   8233 
   8234 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8235 
   8236 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8237 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8238 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8239 		if eval test \${$cacheid+y}
   8240 then :
   8241   printf %s "(cached) " >&6
   8242 else case e in #(
   8243   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8244 /* end confdefs.h.  */
   8245 int i;
   8246 int
   8247 main (void)
   8248 {
   8249 
   8250   ;
   8251   return 0;
   8252 }
   8253 _ACEOF
   8254 if ac_fn_c_try_link "$LINENO"
   8255 then :
   8256   eval $cacheid=yes
   8257 else case e in #(
   8258   e) eval $cacheid=no ;;
   8259 esac
   8260 fi
   8261 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8262     conftest$ac_exeext conftest.$ac_ext ;;
   8263 esac
   8264 fi
   8265 
   8266 
   8267 		CFLAGS="$xorg_testset_save_CFLAGS"
   8268 
   8269 		eval supported=\$$cacheid
   8270 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8271 printf "%s\n" "$supported" >&6; }
   8272 		if test "$supported" = "yes" ; then
   8273 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8274 			found="yes"
   8275 		fi
   8276 	fi
   8277 
   8278 
   8279 
   8280 
   8281 
   8282 
   8283 
   8284 
   8285 
   8286 
   8287 
   8288 
   8289 
   8290 
   8291 
   8292 xorg_testset_save_CFLAGS="$CFLAGS"
   8293 
   8294 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8295 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8296 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8297 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8298 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8299 then :
   8300   printf %s "(cached) " >&6
   8301 else case e in #(
   8302   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8303 /* end confdefs.h.  */
   8304 int i;
   8305 _ACEOF
   8306 if ac_fn_c_try_compile "$LINENO"
   8307 then :
   8308   xorg_cv_cc_flag_unknown_warning_option=yes
   8309 else case e in #(
   8310   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8311 esac
   8312 fi
   8313 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8314 esac
   8315 fi
   8316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8317 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8318 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8319 	CFLAGS="$xorg_testset_save_CFLAGS"
   8320 fi
   8321 
   8322 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8323 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8324 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8325 	fi
   8326 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8327 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8328 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8329 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8330 then :
   8331   printf %s "(cached) " >&6
   8332 else case e in #(
   8333   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8334 /* end confdefs.h.  */
   8335 int i;
   8336 _ACEOF
   8337 if ac_fn_c_try_compile "$LINENO"
   8338 then :
   8339   xorg_cv_cc_flag_unused_command_line_argument=yes
   8340 else case e in #(
   8341   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8342 esac
   8343 fi
   8344 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8345 esac
   8346 fi
   8347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8348 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8349 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8350 	CFLAGS="$xorg_testset_save_CFLAGS"
   8351 fi
   8352 
   8353 found="no"
   8354 
   8355 	if test $found = "no" ; then
   8356 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8357 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8358 		fi
   8359 
   8360 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8361 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8362 		fi
   8363 
   8364 		CFLAGS="$CFLAGS -Werror=return-type"
   8365 
   8366 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8367 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8368 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8369 		if eval test \${$cacheid+y}
   8370 then :
   8371   printf %s "(cached) " >&6
   8372 else case e in #(
   8373   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8374 /* end confdefs.h.  */
   8375 int i;
   8376 int
   8377 main (void)
   8378 {
   8379 
   8380   ;
   8381   return 0;
   8382 }
   8383 _ACEOF
   8384 if ac_fn_c_try_link "$LINENO"
   8385 then :
   8386   eval $cacheid=yes
   8387 else case e in #(
   8388   e) eval $cacheid=no ;;
   8389 esac
   8390 fi
   8391 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8392     conftest$ac_exeext conftest.$ac_ext ;;
   8393 esac
   8394 fi
   8395 
   8396 
   8397 		CFLAGS="$xorg_testset_save_CFLAGS"
   8398 
   8399 		eval supported=\$$cacheid
   8400 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8401 printf "%s\n" "$supported" >&6; }
   8402 		if test "$supported" = "yes" ; then
   8403 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8404 			found="yes"
   8405 		fi
   8406 	fi
   8407 
   8408 	if test $found = "no" ; then
   8409 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8410 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8411 		fi
   8412 
   8413 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8414 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8415 		fi
   8416 
   8417 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8418 
   8419 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8420 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8421 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8422 		if eval test \${$cacheid+y}
   8423 then :
   8424   printf %s "(cached) " >&6
   8425 else case e in #(
   8426   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8427 /* end confdefs.h.  */
   8428 int i;
   8429 int
   8430 main (void)
   8431 {
   8432 
   8433   ;
   8434   return 0;
   8435 }
   8436 _ACEOF
   8437 if ac_fn_c_try_link "$LINENO"
   8438 then :
   8439   eval $cacheid=yes
   8440 else case e in #(
   8441   e) eval $cacheid=no ;;
   8442 esac
   8443 fi
   8444 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8445     conftest$ac_exeext conftest.$ac_ext ;;
   8446 esac
   8447 fi
   8448 
   8449 
   8450 		CFLAGS="$xorg_testset_save_CFLAGS"
   8451 
   8452 		eval supported=\$$cacheid
   8453 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8454 printf "%s\n" "$supported" >&6; }
   8455 		if test "$supported" = "yes" ; then
   8456 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8457 			found="yes"
   8458 		fi
   8459 	fi
   8460 
   8461 
   8462 
   8463 
   8464 
   8465 
   8466 
   8467 
   8468 
   8469 
   8470 
   8471 
   8472 
   8473 
   8474 
   8475 xorg_testset_save_CFLAGS="$CFLAGS"
   8476 
   8477 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8478 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8479 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8480 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8481 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8482 then :
   8483   printf %s "(cached) " >&6
   8484 else case e in #(
   8485   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8486 /* end confdefs.h.  */
   8487 int i;
   8488 _ACEOF
   8489 if ac_fn_c_try_compile "$LINENO"
   8490 then :
   8491   xorg_cv_cc_flag_unknown_warning_option=yes
   8492 else case e in #(
   8493   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8494 esac
   8495 fi
   8496 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8497 esac
   8498 fi
   8499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8500 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8501 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8502 	CFLAGS="$xorg_testset_save_CFLAGS"
   8503 fi
   8504 
   8505 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8506 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8507 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8508 	fi
   8509 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8510 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8511 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8512 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8513 then :
   8514   printf %s "(cached) " >&6
   8515 else case e in #(
   8516   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8517 /* end confdefs.h.  */
   8518 int i;
   8519 _ACEOF
   8520 if ac_fn_c_try_compile "$LINENO"
   8521 then :
   8522   xorg_cv_cc_flag_unused_command_line_argument=yes
   8523 else case e in #(
   8524   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8525 esac
   8526 fi
   8527 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8528 esac
   8529 fi
   8530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8531 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8532 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8533 	CFLAGS="$xorg_testset_save_CFLAGS"
   8534 fi
   8535 
   8536 found="no"
   8537 
   8538 	if test $found = "no" ; then
   8539 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8540 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8541 		fi
   8542 
   8543 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8544 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8545 		fi
   8546 
   8547 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8548 
   8549 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8550 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8551 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8552 		if eval test \${$cacheid+y}
   8553 then :
   8554   printf %s "(cached) " >&6
   8555 else case e in #(
   8556   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8557 /* end confdefs.h.  */
   8558 int i;
   8559 int
   8560 main (void)
   8561 {
   8562 
   8563   ;
   8564   return 0;
   8565 }
   8566 _ACEOF
   8567 if ac_fn_c_try_link "$LINENO"
   8568 then :
   8569   eval $cacheid=yes
   8570 else case e in #(
   8571   e) eval $cacheid=no ;;
   8572 esac
   8573 fi
   8574 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8575     conftest$ac_exeext conftest.$ac_ext ;;
   8576 esac
   8577 fi
   8578 
   8579 
   8580 		CFLAGS="$xorg_testset_save_CFLAGS"
   8581 
   8582 		eval supported=\$$cacheid
   8583 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8584 printf "%s\n" "$supported" >&6; }
   8585 		if test "$supported" = "yes" ; then
   8586 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8587 			found="yes"
   8588 		fi
   8589 	fi
   8590 
   8591 
   8592 
   8593 
   8594 
   8595 
   8596 
   8597 
   8598 
   8599 
   8600 
   8601 
   8602 
   8603 
   8604 
   8605 xorg_testset_save_CFLAGS="$CFLAGS"
   8606 
   8607 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8608 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8609 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8610 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8611 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8612 then :
   8613   printf %s "(cached) " >&6
   8614 else case e in #(
   8615   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8616 /* end confdefs.h.  */
   8617 int i;
   8618 _ACEOF
   8619 if ac_fn_c_try_compile "$LINENO"
   8620 then :
   8621   xorg_cv_cc_flag_unknown_warning_option=yes
   8622 else case e in #(
   8623   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8624 esac
   8625 fi
   8626 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8627 esac
   8628 fi
   8629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8630 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8631 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8632 	CFLAGS="$xorg_testset_save_CFLAGS"
   8633 fi
   8634 
   8635 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8636 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8637 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8638 	fi
   8639 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8640 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8641 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8642 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8643 then :
   8644   printf %s "(cached) " >&6
   8645 else case e in #(
   8646   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8647 /* end confdefs.h.  */
   8648 int i;
   8649 _ACEOF
   8650 if ac_fn_c_try_compile "$LINENO"
   8651 then :
   8652   xorg_cv_cc_flag_unused_command_line_argument=yes
   8653 else case e in #(
   8654   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8655 esac
   8656 fi
   8657 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8658 esac
   8659 fi
   8660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8661 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8662 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8663 	CFLAGS="$xorg_testset_save_CFLAGS"
   8664 fi
   8665 
   8666 found="no"
   8667 
   8668 	if test $found = "no" ; then
   8669 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8670 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8671 		fi
   8672 
   8673 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8674 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8675 		fi
   8676 
   8677 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8678 
   8679 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8680 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8681 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8682 		if eval test \${$cacheid+y}
   8683 then :
   8684   printf %s "(cached) " >&6
   8685 else case e in #(
   8686   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8687 /* end confdefs.h.  */
   8688 int i;
   8689 int
   8690 main (void)
   8691 {
   8692 
   8693   ;
   8694   return 0;
   8695 }
   8696 _ACEOF
   8697 if ac_fn_c_try_link "$LINENO"
   8698 then :
   8699   eval $cacheid=yes
   8700 else case e in #(
   8701   e) eval $cacheid=no ;;
   8702 esac
   8703 fi
   8704 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8705     conftest$ac_exeext conftest.$ac_ext ;;
   8706 esac
   8707 fi
   8708 
   8709 
   8710 		CFLAGS="$xorg_testset_save_CFLAGS"
   8711 
   8712 		eval supported=\$$cacheid
   8713 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8714 printf "%s\n" "$supported" >&6; }
   8715 		if test "$supported" = "yes" ; then
   8716 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8717 			found="yes"
   8718 		fi
   8719 	fi
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 
   8727 
   8728 
   8729 
   8730 
   8731 
   8732 
   8733 
   8734 
   8735 xorg_testset_save_CFLAGS="$CFLAGS"
   8736 
   8737 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8738 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8739 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8740 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8741 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8742 then :
   8743   printf %s "(cached) " >&6
   8744 else case e in #(
   8745   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8746 /* end confdefs.h.  */
   8747 int i;
   8748 _ACEOF
   8749 if ac_fn_c_try_compile "$LINENO"
   8750 then :
   8751   xorg_cv_cc_flag_unknown_warning_option=yes
   8752 else case e in #(
   8753   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8754 esac
   8755 fi
   8756 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8757 esac
   8758 fi
   8759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8760 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8761 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8762 	CFLAGS="$xorg_testset_save_CFLAGS"
   8763 fi
   8764 
   8765 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8766 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8767 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8768 	fi
   8769 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8770 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8771 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8772 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8773 then :
   8774   printf %s "(cached) " >&6
   8775 else case e in #(
   8776   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8777 /* end confdefs.h.  */
   8778 int i;
   8779 _ACEOF
   8780 if ac_fn_c_try_compile "$LINENO"
   8781 then :
   8782   xorg_cv_cc_flag_unused_command_line_argument=yes
   8783 else case e in #(
   8784   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8785 esac
   8786 fi
   8787 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8788 esac
   8789 fi
   8790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8791 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8792 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8793 	CFLAGS="$xorg_testset_save_CFLAGS"
   8794 fi
   8795 
   8796 found="no"
   8797 
   8798 	if test $found = "no" ; then
   8799 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8800 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8801 		fi
   8802 
   8803 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8804 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8805 		fi
   8806 
   8807 		CFLAGS="$CFLAGS -Werror=write-strings"
   8808 
   8809 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8810 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8811 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8812 		if eval test \${$cacheid+y}
   8813 then :
   8814   printf %s "(cached) " >&6
   8815 else case e in #(
   8816   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8817 /* end confdefs.h.  */
   8818 int i;
   8819 int
   8820 main (void)
   8821 {
   8822 
   8823   ;
   8824   return 0;
   8825 }
   8826 _ACEOF
   8827 if ac_fn_c_try_link "$LINENO"
   8828 then :
   8829   eval $cacheid=yes
   8830 else case e in #(
   8831   e) eval $cacheid=no ;;
   8832 esac
   8833 fi
   8834 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8835     conftest$ac_exeext conftest.$ac_ext ;;
   8836 esac
   8837 fi
   8838 
   8839 
   8840 		CFLAGS="$xorg_testset_save_CFLAGS"
   8841 
   8842 		eval supported=\$$cacheid
   8843 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8844 printf "%s\n" "$supported" >&6; }
   8845 		if test "$supported" = "yes" ; then
   8846 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8847 			found="yes"
   8848 		fi
   8849 	fi
   8850 
   8851 
   8852 
   8853 
   8854 
   8855 
   8856 
   8857 
   8858 
   8859 
   8860 
   8861 
   8862 
   8863 
   8864 
   8865 xorg_testset_save_CFLAGS="$CFLAGS"
   8866 
   8867 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8868 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8869 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8870 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8871 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8872 then :
   8873   printf %s "(cached) " >&6
   8874 else case e in #(
   8875   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8876 /* end confdefs.h.  */
   8877 int i;
   8878 _ACEOF
   8879 if ac_fn_c_try_compile "$LINENO"
   8880 then :
   8881   xorg_cv_cc_flag_unknown_warning_option=yes
   8882 else case e in #(
   8883   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8884 esac
   8885 fi
   8886 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8887 esac
   8888 fi
   8889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8890 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8891 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8892 	CFLAGS="$xorg_testset_save_CFLAGS"
   8893 fi
   8894 
   8895 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8896 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8897 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8898 	fi
   8899 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8900 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8901 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8902 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8903 then :
   8904   printf %s "(cached) " >&6
   8905 else case e in #(
   8906   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8907 /* end confdefs.h.  */
   8908 int i;
   8909 _ACEOF
   8910 if ac_fn_c_try_compile "$LINENO"
   8911 then :
   8912   xorg_cv_cc_flag_unused_command_line_argument=yes
   8913 else case e in #(
   8914   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8915 esac
   8916 fi
   8917 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8918 esac
   8919 fi
   8920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8921 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8922 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8923 	CFLAGS="$xorg_testset_save_CFLAGS"
   8924 fi
   8925 
   8926 found="no"
   8927 
   8928 	if test $found = "no" ; then
   8929 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8930 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8931 		fi
   8932 
   8933 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8934 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8935 		fi
   8936 
   8937 		CFLAGS="$CFLAGS -Werror=address"
   8938 
   8939 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8940 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8941 		cacheid=xorg_cv_cc_flag__Werror_address
   8942 		if eval test \${$cacheid+y}
   8943 then :
   8944   printf %s "(cached) " >&6
   8945 else case e in #(
   8946   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8947 /* end confdefs.h.  */
   8948 int i;
   8949 int
   8950 main (void)
   8951 {
   8952 
   8953   ;
   8954   return 0;
   8955 }
   8956 _ACEOF
   8957 if ac_fn_c_try_link "$LINENO"
   8958 then :
   8959   eval $cacheid=yes
   8960 else case e in #(
   8961   e) eval $cacheid=no ;;
   8962 esac
   8963 fi
   8964 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8965     conftest$ac_exeext conftest.$ac_ext ;;
   8966 esac
   8967 fi
   8968 
   8969 
   8970 		CFLAGS="$xorg_testset_save_CFLAGS"
   8971 
   8972 		eval supported=\$$cacheid
   8973 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8974 printf "%s\n" "$supported" >&6; }
   8975 		if test "$supported" = "yes" ; then
   8976 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8977 			found="yes"
   8978 		fi
   8979 	fi
   8980 
   8981 
   8982 
   8983 
   8984 
   8985 
   8986 
   8987 
   8988 
   8989 
   8990 
   8991 
   8992 
   8993 
   8994 
   8995 xorg_testset_save_CFLAGS="$CFLAGS"
   8996 
   8997 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8998 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8999 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9000 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9001 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9002 then :
   9003   printf %s "(cached) " >&6
   9004 else case e in #(
   9005   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9006 /* end confdefs.h.  */
   9007 int i;
   9008 _ACEOF
   9009 if ac_fn_c_try_compile "$LINENO"
   9010 then :
   9011   xorg_cv_cc_flag_unknown_warning_option=yes
   9012 else case e in #(
   9013   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9014 esac
   9015 fi
   9016 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9017 esac
   9018 fi
   9019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9020 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9021 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9022 	CFLAGS="$xorg_testset_save_CFLAGS"
   9023 fi
   9024 
   9025 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9026 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9027 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9028 	fi
   9029 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9030 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9031 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9032 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9033 then :
   9034   printf %s "(cached) " >&6
   9035 else case e in #(
   9036   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9037 /* end confdefs.h.  */
   9038 int i;
   9039 _ACEOF
   9040 if ac_fn_c_try_compile "$LINENO"
   9041 then :
   9042   xorg_cv_cc_flag_unused_command_line_argument=yes
   9043 else case e in #(
   9044   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9045 esac
   9046 fi
   9047 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9048 esac
   9049 fi
   9050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9051 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9052 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9053 	CFLAGS="$xorg_testset_save_CFLAGS"
   9054 fi
   9055 
   9056 found="no"
   9057 
   9058 	if test $found = "no" ; then
   9059 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9060 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9061 		fi
   9062 
   9063 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9064 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9065 		fi
   9066 
   9067 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   9068 
   9069 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   9070 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   9071 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   9072 		if eval test \${$cacheid+y}
   9073 then :
   9074   printf %s "(cached) " >&6
   9075 else case e in #(
   9076   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9077 /* end confdefs.h.  */
   9078 int i;
   9079 int
   9080 main (void)
   9081 {
   9082 
   9083   ;
   9084   return 0;
   9085 }
   9086 _ACEOF
   9087 if ac_fn_c_try_link "$LINENO"
   9088 then :
   9089   eval $cacheid=yes
   9090 else case e in #(
   9091   e) eval $cacheid=no ;;
   9092 esac
   9093 fi
   9094 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9095     conftest$ac_exeext conftest.$ac_ext ;;
   9096 esac
   9097 fi
   9098 
   9099 
   9100 		CFLAGS="$xorg_testset_save_CFLAGS"
   9101 
   9102 		eval supported=\$$cacheid
   9103 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9104 printf "%s\n" "$supported" >&6; }
   9105 		if test "$supported" = "yes" ; then
   9106 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9107 			found="yes"
   9108 		fi
   9109 	fi
   9110 
   9111 	if test $found = "no" ; then
   9112 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9113 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9114 		fi
   9115 
   9116 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9117 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9118 		fi
   9119 
   9120 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9121 
   9122 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9123 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9124 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9125 		if eval test \${$cacheid+y}
   9126 then :
   9127   printf %s "(cached) " >&6
   9128 else case e in #(
   9129   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9130 /* end confdefs.h.  */
   9131 int i;
   9132 int
   9133 main (void)
   9134 {
   9135 
   9136   ;
   9137   return 0;
   9138 }
   9139 _ACEOF
   9140 if ac_fn_c_try_link "$LINENO"
   9141 then :
   9142   eval $cacheid=yes
   9143 else case e in #(
   9144   e) eval $cacheid=no ;;
   9145 esac
   9146 fi
   9147 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9148     conftest$ac_exeext conftest.$ac_ext ;;
   9149 esac
   9150 fi
   9151 
   9152 
   9153 		CFLAGS="$xorg_testset_save_CFLAGS"
   9154 
   9155 		eval supported=\$$cacheid
   9156 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9157 printf "%s\n" "$supported" >&6; }
   9158 		if test "$supported" = "yes" ; then
   9159 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9160 			found="yes"
   9161 		fi
   9162 	fi
   9163 
   9164 
   9165 
   9166 
   9167 
   9168 
   9169 
   9170 
   9171 
   9172 
   9173 
   9174 
   9175 
   9176 
   9177 
   9178 xorg_testset_save_CFLAGS="$CFLAGS"
   9179 
   9180 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9181 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9182 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9183 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9184 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9185 then :
   9186   printf %s "(cached) " >&6
   9187 else case e in #(
   9188   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9189 /* end confdefs.h.  */
   9190 int i;
   9191 _ACEOF
   9192 if ac_fn_c_try_compile "$LINENO"
   9193 then :
   9194   xorg_cv_cc_flag_unknown_warning_option=yes
   9195 else case e in #(
   9196   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9197 esac
   9198 fi
   9199 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9200 esac
   9201 fi
   9202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9203 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9204 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9205 	CFLAGS="$xorg_testset_save_CFLAGS"
   9206 fi
   9207 
   9208 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9209 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9210 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9211 	fi
   9212 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9213 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9214 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9215 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9216 then :
   9217   printf %s "(cached) " >&6
   9218 else case e in #(
   9219   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9220 /* end confdefs.h.  */
   9221 int i;
   9222 _ACEOF
   9223 if ac_fn_c_try_compile "$LINENO"
   9224 then :
   9225   xorg_cv_cc_flag_unused_command_line_argument=yes
   9226 else case e in #(
   9227   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9228 esac
   9229 fi
   9230 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9231 esac
   9232 fi
   9233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9234 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9235 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9236 	CFLAGS="$xorg_testset_save_CFLAGS"
   9237 fi
   9238 
   9239 found="no"
   9240 
   9241 	if test $found = "no" ; then
   9242 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9243 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9244 		fi
   9245 
   9246 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9247 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9248 		fi
   9249 
   9250 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9251 
   9252 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9253 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9254 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9255 		if eval test \${$cacheid+y}
   9256 then :
   9257   printf %s "(cached) " >&6
   9258 else case e in #(
   9259   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9260 /* end confdefs.h.  */
   9261 int i;
   9262 int
   9263 main (void)
   9264 {
   9265 
   9266   ;
   9267   return 0;
   9268 }
   9269 _ACEOF
   9270 if ac_fn_c_try_link "$LINENO"
   9271 then :
   9272   eval $cacheid=yes
   9273 else case e in #(
   9274   e) eval $cacheid=no ;;
   9275 esac
   9276 fi
   9277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9278     conftest$ac_exeext conftest.$ac_ext ;;
   9279 esac
   9280 fi
   9281 
   9282 
   9283 		CFLAGS="$xorg_testset_save_CFLAGS"
   9284 
   9285 		eval supported=\$$cacheid
   9286 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9287 printf "%s\n" "$supported" >&6; }
   9288 		if test "$supported" = "yes" ; then
   9289 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9290 			found="yes"
   9291 		fi
   9292 	fi
   9293 
   9294  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9295 else
   9296 { 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
   9297 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;}
   9298 
   9299 
   9300 
   9301 
   9302 
   9303 
   9304 
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 xorg_testset_save_CFLAGS="$CFLAGS"
   9312 
   9313 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9314 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9315 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9316 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9317 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9318 then :
   9319   printf %s "(cached) " >&6
   9320 else case e in #(
   9321   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9322 /* end confdefs.h.  */
   9323 int i;
   9324 _ACEOF
   9325 if ac_fn_c_try_compile "$LINENO"
   9326 then :
   9327   xorg_cv_cc_flag_unknown_warning_option=yes
   9328 else case e in #(
   9329   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9330 esac
   9331 fi
   9332 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9333 esac
   9334 fi
   9335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9336 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9337 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9338 	CFLAGS="$xorg_testset_save_CFLAGS"
   9339 fi
   9340 
   9341 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9342 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9343 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9344 	fi
   9345 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9346 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9347 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9348 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9349 then :
   9350   printf %s "(cached) " >&6
   9351 else case e in #(
   9352   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9353 /* end confdefs.h.  */
   9354 int i;
   9355 _ACEOF
   9356 if ac_fn_c_try_compile "$LINENO"
   9357 then :
   9358   xorg_cv_cc_flag_unused_command_line_argument=yes
   9359 else case e in #(
   9360   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9361 esac
   9362 fi
   9363 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9364 esac
   9365 fi
   9366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9367 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9368 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9369 	CFLAGS="$xorg_testset_save_CFLAGS"
   9370 fi
   9371 
   9372 found="no"
   9373 
   9374 	if test $found = "no" ; then
   9375 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9376 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9377 		fi
   9378 
   9379 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9380 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9381 		fi
   9382 
   9383 		CFLAGS="$CFLAGS -Wimplicit"
   9384 
   9385 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9386 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9387 		cacheid=xorg_cv_cc_flag__Wimplicit
   9388 		if eval test \${$cacheid+y}
   9389 then :
   9390   printf %s "(cached) " >&6
   9391 else case e in #(
   9392   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9393 /* end confdefs.h.  */
   9394 int i;
   9395 int
   9396 main (void)
   9397 {
   9398 
   9399   ;
   9400   return 0;
   9401 }
   9402 _ACEOF
   9403 if ac_fn_c_try_link "$LINENO"
   9404 then :
   9405   eval $cacheid=yes
   9406 else case e in #(
   9407   e) eval $cacheid=no ;;
   9408 esac
   9409 fi
   9410 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9411     conftest$ac_exeext conftest.$ac_ext ;;
   9412 esac
   9413 fi
   9414 
   9415 
   9416 		CFLAGS="$xorg_testset_save_CFLAGS"
   9417 
   9418 		eval supported=\$$cacheid
   9419 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9420 printf "%s\n" "$supported" >&6; }
   9421 		if test "$supported" = "yes" ; then
   9422 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9423 			found="yes"
   9424 		fi
   9425 	fi
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 
   9436 
   9437 
   9438 
   9439 
   9440 
   9441 xorg_testset_save_CFLAGS="$CFLAGS"
   9442 
   9443 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9444 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9445 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9446 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9447 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9448 then :
   9449   printf %s "(cached) " >&6
   9450 else case e in #(
   9451   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9452 /* end confdefs.h.  */
   9453 int i;
   9454 _ACEOF
   9455 if ac_fn_c_try_compile "$LINENO"
   9456 then :
   9457   xorg_cv_cc_flag_unknown_warning_option=yes
   9458 else case e in #(
   9459   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9460 esac
   9461 fi
   9462 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9463 esac
   9464 fi
   9465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9466 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9467 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9468 	CFLAGS="$xorg_testset_save_CFLAGS"
   9469 fi
   9470 
   9471 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9472 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9473 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9474 	fi
   9475 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9476 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9477 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9478 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9479 then :
   9480   printf %s "(cached) " >&6
   9481 else case e in #(
   9482   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9483 /* end confdefs.h.  */
   9484 int i;
   9485 _ACEOF
   9486 if ac_fn_c_try_compile "$LINENO"
   9487 then :
   9488   xorg_cv_cc_flag_unused_command_line_argument=yes
   9489 else case e in #(
   9490   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9491 esac
   9492 fi
   9493 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9494 esac
   9495 fi
   9496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9497 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9498 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9499 	CFLAGS="$xorg_testset_save_CFLAGS"
   9500 fi
   9501 
   9502 found="no"
   9503 
   9504 	if test $found = "no" ; then
   9505 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9506 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9507 		fi
   9508 
   9509 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9510 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9511 		fi
   9512 
   9513 		CFLAGS="$CFLAGS -Wnonnull"
   9514 
   9515 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9516 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9517 		cacheid=xorg_cv_cc_flag__Wnonnull
   9518 		if eval test \${$cacheid+y}
   9519 then :
   9520   printf %s "(cached) " >&6
   9521 else case e in #(
   9522   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9523 /* end confdefs.h.  */
   9524 int i;
   9525 int
   9526 main (void)
   9527 {
   9528 
   9529   ;
   9530   return 0;
   9531 }
   9532 _ACEOF
   9533 if ac_fn_c_try_link "$LINENO"
   9534 then :
   9535   eval $cacheid=yes
   9536 else case e in #(
   9537   e) eval $cacheid=no ;;
   9538 esac
   9539 fi
   9540 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9541     conftest$ac_exeext conftest.$ac_ext ;;
   9542 esac
   9543 fi
   9544 
   9545 
   9546 		CFLAGS="$xorg_testset_save_CFLAGS"
   9547 
   9548 		eval supported=\$$cacheid
   9549 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9550 printf "%s\n" "$supported" >&6; }
   9551 		if test "$supported" = "yes" ; then
   9552 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9553 			found="yes"
   9554 		fi
   9555 	fi
   9556 
   9557 
   9558 
   9559 
   9560 
   9561 
   9562 
   9563 
   9564 
   9565 
   9566 
   9567 
   9568 
   9569 
   9570 
   9571 xorg_testset_save_CFLAGS="$CFLAGS"
   9572 
   9573 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9574 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9575 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9576 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9577 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9578 then :
   9579   printf %s "(cached) " >&6
   9580 else case e in #(
   9581   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9582 /* end confdefs.h.  */
   9583 int i;
   9584 _ACEOF
   9585 if ac_fn_c_try_compile "$LINENO"
   9586 then :
   9587   xorg_cv_cc_flag_unknown_warning_option=yes
   9588 else case e in #(
   9589   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9590 esac
   9591 fi
   9592 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9593 esac
   9594 fi
   9595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9596 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9597 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9598 	CFLAGS="$xorg_testset_save_CFLAGS"
   9599 fi
   9600 
   9601 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9602 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9603 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9604 	fi
   9605 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9606 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9607 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9608 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9609 then :
   9610   printf %s "(cached) " >&6
   9611 else case e in #(
   9612   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9613 /* end confdefs.h.  */
   9614 int i;
   9615 _ACEOF
   9616 if ac_fn_c_try_compile "$LINENO"
   9617 then :
   9618   xorg_cv_cc_flag_unused_command_line_argument=yes
   9619 else case e in #(
   9620   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9621 esac
   9622 fi
   9623 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9624 esac
   9625 fi
   9626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9627 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9628 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9629 	CFLAGS="$xorg_testset_save_CFLAGS"
   9630 fi
   9631 
   9632 found="no"
   9633 
   9634 	if test $found = "no" ; then
   9635 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9636 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9637 		fi
   9638 
   9639 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9640 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9641 		fi
   9642 
   9643 		CFLAGS="$CFLAGS -Winit-self"
   9644 
   9645 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9646 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9647 		cacheid=xorg_cv_cc_flag__Winit_self
   9648 		if eval test \${$cacheid+y}
   9649 then :
   9650   printf %s "(cached) " >&6
   9651 else case e in #(
   9652   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9653 /* end confdefs.h.  */
   9654 int i;
   9655 int
   9656 main (void)
   9657 {
   9658 
   9659   ;
   9660   return 0;
   9661 }
   9662 _ACEOF
   9663 if ac_fn_c_try_link "$LINENO"
   9664 then :
   9665   eval $cacheid=yes
   9666 else case e in #(
   9667   e) eval $cacheid=no ;;
   9668 esac
   9669 fi
   9670 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9671     conftest$ac_exeext conftest.$ac_ext ;;
   9672 esac
   9673 fi
   9674 
   9675 
   9676 		CFLAGS="$xorg_testset_save_CFLAGS"
   9677 
   9678 		eval supported=\$$cacheid
   9679 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9680 printf "%s\n" "$supported" >&6; }
   9681 		if test "$supported" = "yes" ; then
   9682 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9683 			found="yes"
   9684 		fi
   9685 	fi
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 xorg_testset_save_CFLAGS="$CFLAGS"
   9702 
   9703 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9704 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9705 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9706 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9707 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9708 then :
   9709   printf %s "(cached) " >&6
   9710 else case e in #(
   9711   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9712 /* end confdefs.h.  */
   9713 int i;
   9714 _ACEOF
   9715 if ac_fn_c_try_compile "$LINENO"
   9716 then :
   9717   xorg_cv_cc_flag_unknown_warning_option=yes
   9718 else case e in #(
   9719   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9720 esac
   9721 fi
   9722 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9723 esac
   9724 fi
   9725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9726 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9727 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9728 	CFLAGS="$xorg_testset_save_CFLAGS"
   9729 fi
   9730 
   9731 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9732 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9733 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9734 	fi
   9735 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9736 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9737 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9738 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9739 then :
   9740   printf %s "(cached) " >&6
   9741 else case e in #(
   9742   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9743 /* end confdefs.h.  */
   9744 int i;
   9745 _ACEOF
   9746 if ac_fn_c_try_compile "$LINENO"
   9747 then :
   9748   xorg_cv_cc_flag_unused_command_line_argument=yes
   9749 else case e in #(
   9750   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9751 esac
   9752 fi
   9753 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9754 esac
   9755 fi
   9756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9757 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9758 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9759 	CFLAGS="$xorg_testset_save_CFLAGS"
   9760 fi
   9761 
   9762 found="no"
   9763 
   9764 	if test $found = "no" ; then
   9765 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9766 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9767 		fi
   9768 
   9769 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9770 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9771 		fi
   9772 
   9773 		CFLAGS="$CFLAGS -Wmain"
   9774 
   9775 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9776 printf %s "checking if $CC supports -Wmain... " >&6; }
   9777 		cacheid=xorg_cv_cc_flag__Wmain
   9778 		if eval test \${$cacheid+y}
   9779 then :
   9780   printf %s "(cached) " >&6
   9781 else case e in #(
   9782   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9783 /* end confdefs.h.  */
   9784 int i;
   9785 int
   9786 main (void)
   9787 {
   9788 
   9789   ;
   9790   return 0;
   9791 }
   9792 _ACEOF
   9793 if ac_fn_c_try_link "$LINENO"
   9794 then :
   9795   eval $cacheid=yes
   9796 else case e in #(
   9797   e) eval $cacheid=no ;;
   9798 esac
   9799 fi
   9800 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9801     conftest$ac_exeext conftest.$ac_ext ;;
   9802 esac
   9803 fi
   9804 
   9805 
   9806 		CFLAGS="$xorg_testset_save_CFLAGS"
   9807 
   9808 		eval supported=\$$cacheid
   9809 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9810 printf "%s\n" "$supported" >&6; }
   9811 		if test "$supported" = "yes" ; then
   9812 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9813 			found="yes"
   9814 		fi
   9815 	fi
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 xorg_testset_save_CFLAGS="$CFLAGS"
   9832 
   9833 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9834 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9835 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9836 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9837 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9838 then :
   9839   printf %s "(cached) " >&6
   9840 else case e in #(
   9841   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9842 /* end confdefs.h.  */
   9843 int i;
   9844 _ACEOF
   9845 if ac_fn_c_try_compile "$LINENO"
   9846 then :
   9847   xorg_cv_cc_flag_unknown_warning_option=yes
   9848 else case e in #(
   9849   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9850 esac
   9851 fi
   9852 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9853 esac
   9854 fi
   9855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9856 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9857 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9858 	CFLAGS="$xorg_testset_save_CFLAGS"
   9859 fi
   9860 
   9861 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9862 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9863 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9864 	fi
   9865 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9866 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9867 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9868 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9869 then :
   9870   printf %s "(cached) " >&6
   9871 else case e in #(
   9872   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9873 /* end confdefs.h.  */
   9874 int i;
   9875 _ACEOF
   9876 if ac_fn_c_try_compile "$LINENO"
   9877 then :
   9878   xorg_cv_cc_flag_unused_command_line_argument=yes
   9879 else case e in #(
   9880   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9881 esac
   9882 fi
   9883 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9884 esac
   9885 fi
   9886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9887 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9888 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9889 	CFLAGS="$xorg_testset_save_CFLAGS"
   9890 fi
   9891 
   9892 found="no"
   9893 
   9894 	if test $found = "no" ; then
   9895 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9896 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9897 		fi
   9898 
   9899 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9900 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9901 		fi
   9902 
   9903 		CFLAGS="$CFLAGS -Wmissing-braces"
   9904 
   9905 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9906 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9907 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9908 		if eval test \${$cacheid+y}
   9909 then :
   9910   printf %s "(cached) " >&6
   9911 else case e in #(
   9912   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9913 /* end confdefs.h.  */
   9914 int i;
   9915 int
   9916 main (void)
   9917 {
   9918 
   9919   ;
   9920   return 0;
   9921 }
   9922 _ACEOF
   9923 if ac_fn_c_try_link "$LINENO"
   9924 then :
   9925   eval $cacheid=yes
   9926 else case e in #(
   9927   e) eval $cacheid=no ;;
   9928 esac
   9929 fi
   9930 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9931     conftest$ac_exeext conftest.$ac_ext ;;
   9932 esac
   9933 fi
   9934 
   9935 
   9936 		CFLAGS="$xorg_testset_save_CFLAGS"
   9937 
   9938 		eval supported=\$$cacheid
   9939 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9940 printf "%s\n" "$supported" >&6; }
   9941 		if test "$supported" = "yes" ; then
   9942 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9943 			found="yes"
   9944 		fi
   9945 	fi
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 
   9958 
   9959 
   9960 
   9961 xorg_testset_save_CFLAGS="$CFLAGS"
   9962 
   9963 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9964 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9965 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9966 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9967 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9968 then :
   9969   printf %s "(cached) " >&6
   9970 else case e in #(
   9971   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9972 /* end confdefs.h.  */
   9973 int i;
   9974 _ACEOF
   9975 if ac_fn_c_try_compile "$LINENO"
   9976 then :
   9977   xorg_cv_cc_flag_unknown_warning_option=yes
   9978 else case e in #(
   9979   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9980 esac
   9981 fi
   9982 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9983 esac
   9984 fi
   9985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9986 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9987 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9988 	CFLAGS="$xorg_testset_save_CFLAGS"
   9989 fi
   9990 
   9991 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9992 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9993 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9994 	fi
   9995 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9996 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9997 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9998 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9999 then :
   10000   printf %s "(cached) " >&6
   10001 else case e in #(
   10002   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10003 /* end confdefs.h.  */
   10004 int i;
   10005 _ACEOF
   10006 if ac_fn_c_try_compile "$LINENO"
   10007 then :
   10008   xorg_cv_cc_flag_unused_command_line_argument=yes
   10009 else case e in #(
   10010   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10011 esac
   10012 fi
   10013 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10014 esac
   10015 fi
   10016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10017 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10018 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10019 	CFLAGS="$xorg_testset_save_CFLAGS"
   10020 fi
   10021 
   10022 found="no"
   10023 
   10024 	if test $found = "no" ; then
   10025 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10026 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10027 		fi
   10028 
   10029 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10030 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10031 		fi
   10032 
   10033 		CFLAGS="$CFLAGS -Wsequence-point"
   10034 
   10035 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   10036 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   10037 		cacheid=xorg_cv_cc_flag__Wsequence_point
   10038 		if eval test \${$cacheid+y}
   10039 then :
   10040   printf %s "(cached) " >&6
   10041 else case e in #(
   10042   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10043 /* end confdefs.h.  */
   10044 int i;
   10045 int
   10046 main (void)
   10047 {
   10048 
   10049   ;
   10050   return 0;
   10051 }
   10052 _ACEOF
   10053 if ac_fn_c_try_link "$LINENO"
   10054 then :
   10055   eval $cacheid=yes
   10056 else case e in #(
   10057   e) eval $cacheid=no ;;
   10058 esac
   10059 fi
   10060 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10061     conftest$ac_exeext conftest.$ac_ext ;;
   10062 esac
   10063 fi
   10064 
   10065 
   10066 		CFLAGS="$xorg_testset_save_CFLAGS"
   10067 
   10068 		eval supported=\$$cacheid
   10069 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10070 printf "%s\n" "$supported" >&6; }
   10071 		if test "$supported" = "yes" ; then
   10072 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   10073 			found="yes"
   10074 		fi
   10075 	fi
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 xorg_testset_save_CFLAGS="$CFLAGS"
   10092 
   10093 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10094 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10095 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10096 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10097 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10098 then :
   10099   printf %s "(cached) " >&6
   10100 else case e in #(
   10101   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10102 /* end confdefs.h.  */
   10103 int i;
   10104 _ACEOF
   10105 if ac_fn_c_try_compile "$LINENO"
   10106 then :
   10107   xorg_cv_cc_flag_unknown_warning_option=yes
   10108 else case e in #(
   10109   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10110 esac
   10111 fi
   10112 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10113 esac
   10114 fi
   10115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10116 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10117 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10118 	CFLAGS="$xorg_testset_save_CFLAGS"
   10119 fi
   10120 
   10121 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10122 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10123 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10124 	fi
   10125 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10126 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10127 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10128 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10129 then :
   10130   printf %s "(cached) " >&6
   10131 else case e in #(
   10132   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10133 /* end confdefs.h.  */
   10134 int i;
   10135 _ACEOF
   10136 if ac_fn_c_try_compile "$LINENO"
   10137 then :
   10138   xorg_cv_cc_flag_unused_command_line_argument=yes
   10139 else case e in #(
   10140   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10141 esac
   10142 fi
   10143 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10144 esac
   10145 fi
   10146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10147 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10148 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10149 	CFLAGS="$xorg_testset_save_CFLAGS"
   10150 fi
   10151 
   10152 found="no"
   10153 
   10154 	if test $found = "no" ; then
   10155 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10156 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10157 		fi
   10158 
   10159 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10160 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10161 		fi
   10162 
   10163 		CFLAGS="$CFLAGS -Wreturn-type"
   10164 
   10165 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10166 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10167 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10168 		if eval test \${$cacheid+y}
   10169 then :
   10170   printf %s "(cached) " >&6
   10171 else case e in #(
   10172   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10173 /* end confdefs.h.  */
   10174 int i;
   10175 int
   10176 main (void)
   10177 {
   10178 
   10179   ;
   10180   return 0;
   10181 }
   10182 _ACEOF
   10183 if ac_fn_c_try_link "$LINENO"
   10184 then :
   10185   eval $cacheid=yes
   10186 else case e in #(
   10187   e) eval $cacheid=no ;;
   10188 esac
   10189 fi
   10190 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10191     conftest$ac_exeext conftest.$ac_ext ;;
   10192 esac
   10193 fi
   10194 
   10195 
   10196 		CFLAGS="$xorg_testset_save_CFLAGS"
   10197 
   10198 		eval supported=\$$cacheid
   10199 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10200 printf "%s\n" "$supported" >&6; }
   10201 		if test "$supported" = "yes" ; then
   10202 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10203 			found="yes"
   10204 		fi
   10205 	fi
   10206 
   10207 
   10208 
   10209 
   10210 
   10211 
   10212 
   10213 
   10214 
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 
   10221 xorg_testset_save_CFLAGS="$CFLAGS"
   10222 
   10223 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10224 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10225 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10226 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10227 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10228 then :
   10229   printf %s "(cached) " >&6
   10230 else case e in #(
   10231   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10232 /* end confdefs.h.  */
   10233 int i;
   10234 _ACEOF
   10235 if ac_fn_c_try_compile "$LINENO"
   10236 then :
   10237   xorg_cv_cc_flag_unknown_warning_option=yes
   10238 else case e in #(
   10239   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10240 esac
   10241 fi
   10242 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10243 esac
   10244 fi
   10245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10246 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10247 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10248 	CFLAGS="$xorg_testset_save_CFLAGS"
   10249 fi
   10250 
   10251 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10252 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10253 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10254 	fi
   10255 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10256 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10257 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10258 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10259 then :
   10260   printf %s "(cached) " >&6
   10261 else case e in #(
   10262   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10263 /* end confdefs.h.  */
   10264 int i;
   10265 _ACEOF
   10266 if ac_fn_c_try_compile "$LINENO"
   10267 then :
   10268   xorg_cv_cc_flag_unused_command_line_argument=yes
   10269 else case e in #(
   10270   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10271 esac
   10272 fi
   10273 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10274 esac
   10275 fi
   10276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10277 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10278 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10279 	CFLAGS="$xorg_testset_save_CFLAGS"
   10280 fi
   10281 
   10282 found="no"
   10283 
   10284 	if test $found = "no" ; then
   10285 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10286 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10287 		fi
   10288 
   10289 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10290 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10291 		fi
   10292 
   10293 		CFLAGS="$CFLAGS -Wtrigraphs"
   10294 
   10295 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10296 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10297 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10298 		if eval test \${$cacheid+y}
   10299 then :
   10300   printf %s "(cached) " >&6
   10301 else case e in #(
   10302   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10303 /* end confdefs.h.  */
   10304 int i;
   10305 int
   10306 main (void)
   10307 {
   10308 
   10309   ;
   10310   return 0;
   10311 }
   10312 _ACEOF
   10313 if ac_fn_c_try_link "$LINENO"
   10314 then :
   10315   eval $cacheid=yes
   10316 else case e in #(
   10317   e) eval $cacheid=no ;;
   10318 esac
   10319 fi
   10320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10321     conftest$ac_exeext conftest.$ac_ext ;;
   10322 esac
   10323 fi
   10324 
   10325 
   10326 		CFLAGS="$xorg_testset_save_CFLAGS"
   10327 
   10328 		eval supported=\$$cacheid
   10329 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10330 printf "%s\n" "$supported" >&6; }
   10331 		if test "$supported" = "yes" ; then
   10332 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10333 			found="yes"
   10334 		fi
   10335 	fi
   10336 
   10337 
   10338 
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 xorg_testset_save_CFLAGS="$CFLAGS"
   10352 
   10353 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10354 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10355 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10356 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10357 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10358 then :
   10359   printf %s "(cached) " >&6
   10360 else case e in #(
   10361   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10362 /* end confdefs.h.  */
   10363 int i;
   10364 _ACEOF
   10365 if ac_fn_c_try_compile "$LINENO"
   10366 then :
   10367   xorg_cv_cc_flag_unknown_warning_option=yes
   10368 else case e in #(
   10369   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10370 esac
   10371 fi
   10372 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10373 esac
   10374 fi
   10375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10376 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10377 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10378 	CFLAGS="$xorg_testset_save_CFLAGS"
   10379 fi
   10380 
   10381 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10382 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10383 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10384 	fi
   10385 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10386 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10387 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10388 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10389 then :
   10390   printf %s "(cached) " >&6
   10391 else case e in #(
   10392   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10393 /* end confdefs.h.  */
   10394 int i;
   10395 _ACEOF
   10396 if ac_fn_c_try_compile "$LINENO"
   10397 then :
   10398   xorg_cv_cc_flag_unused_command_line_argument=yes
   10399 else case e in #(
   10400   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10401 esac
   10402 fi
   10403 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10404 esac
   10405 fi
   10406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10407 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10408 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10409 	CFLAGS="$xorg_testset_save_CFLAGS"
   10410 fi
   10411 
   10412 found="no"
   10413 
   10414 	if test $found = "no" ; then
   10415 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10416 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10417 		fi
   10418 
   10419 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10420 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10421 		fi
   10422 
   10423 		CFLAGS="$CFLAGS -Warray-bounds"
   10424 
   10425 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10426 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10427 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10428 		if eval test \${$cacheid+y}
   10429 then :
   10430   printf %s "(cached) " >&6
   10431 else case e in #(
   10432   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10433 /* end confdefs.h.  */
   10434 int i;
   10435 int
   10436 main (void)
   10437 {
   10438 
   10439   ;
   10440   return 0;
   10441 }
   10442 _ACEOF
   10443 if ac_fn_c_try_link "$LINENO"
   10444 then :
   10445   eval $cacheid=yes
   10446 else case e in #(
   10447   e) eval $cacheid=no ;;
   10448 esac
   10449 fi
   10450 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10451     conftest$ac_exeext conftest.$ac_ext ;;
   10452 esac
   10453 fi
   10454 
   10455 
   10456 		CFLAGS="$xorg_testset_save_CFLAGS"
   10457 
   10458 		eval supported=\$$cacheid
   10459 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10460 printf "%s\n" "$supported" >&6; }
   10461 		if test "$supported" = "yes" ; then
   10462 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10463 			found="yes"
   10464 		fi
   10465 	fi
   10466 
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 
   10475 
   10476 
   10477 
   10478 
   10479 
   10480 
   10481 xorg_testset_save_CFLAGS="$CFLAGS"
   10482 
   10483 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10484 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10485 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10486 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10487 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10488 then :
   10489   printf %s "(cached) " >&6
   10490 else case e in #(
   10491   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10492 /* end confdefs.h.  */
   10493 int i;
   10494 _ACEOF
   10495 if ac_fn_c_try_compile "$LINENO"
   10496 then :
   10497   xorg_cv_cc_flag_unknown_warning_option=yes
   10498 else case e in #(
   10499   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10500 esac
   10501 fi
   10502 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10503 esac
   10504 fi
   10505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10506 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10507 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10508 	CFLAGS="$xorg_testset_save_CFLAGS"
   10509 fi
   10510 
   10511 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10512 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10513 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10514 	fi
   10515 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10516 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10517 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10518 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10519 then :
   10520   printf %s "(cached) " >&6
   10521 else case e in #(
   10522   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10523 /* end confdefs.h.  */
   10524 int i;
   10525 _ACEOF
   10526 if ac_fn_c_try_compile "$LINENO"
   10527 then :
   10528   xorg_cv_cc_flag_unused_command_line_argument=yes
   10529 else case e in #(
   10530   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10531 esac
   10532 fi
   10533 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10534 esac
   10535 fi
   10536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10537 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10538 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10539 	CFLAGS="$xorg_testset_save_CFLAGS"
   10540 fi
   10541 
   10542 found="no"
   10543 
   10544 	if test $found = "no" ; then
   10545 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10546 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10547 		fi
   10548 
   10549 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10550 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10551 		fi
   10552 
   10553 		CFLAGS="$CFLAGS -Wwrite-strings"
   10554 
   10555 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10556 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10557 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10558 		if eval test \${$cacheid+y}
   10559 then :
   10560   printf %s "(cached) " >&6
   10561 else case e in #(
   10562   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10563 /* end confdefs.h.  */
   10564 int i;
   10565 int
   10566 main (void)
   10567 {
   10568 
   10569   ;
   10570   return 0;
   10571 }
   10572 _ACEOF
   10573 if ac_fn_c_try_link "$LINENO"
   10574 then :
   10575   eval $cacheid=yes
   10576 else case e in #(
   10577   e) eval $cacheid=no ;;
   10578 esac
   10579 fi
   10580 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10581     conftest$ac_exeext conftest.$ac_ext ;;
   10582 esac
   10583 fi
   10584 
   10585 
   10586 		CFLAGS="$xorg_testset_save_CFLAGS"
   10587 
   10588 		eval supported=\$$cacheid
   10589 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10590 printf "%s\n" "$supported" >&6; }
   10591 		if test "$supported" = "yes" ; then
   10592 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10593 			found="yes"
   10594 		fi
   10595 	fi
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 xorg_testset_save_CFLAGS="$CFLAGS"
   10612 
   10613 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10614 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10615 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10616 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10617 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10618 then :
   10619   printf %s "(cached) " >&6
   10620 else case e in #(
   10621   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10622 /* end confdefs.h.  */
   10623 int i;
   10624 _ACEOF
   10625 if ac_fn_c_try_compile "$LINENO"
   10626 then :
   10627   xorg_cv_cc_flag_unknown_warning_option=yes
   10628 else case e in #(
   10629   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10630 esac
   10631 fi
   10632 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10633 esac
   10634 fi
   10635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10636 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10637 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10638 	CFLAGS="$xorg_testset_save_CFLAGS"
   10639 fi
   10640 
   10641 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10642 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10643 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10644 	fi
   10645 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10646 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10647 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10648 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10649 then :
   10650   printf %s "(cached) " >&6
   10651 else case e in #(
   10652   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10653 /* end confdefs.h.  */
   10654 int i;
   10655 _ACEOF
   10656 if ac_fn_c_try_compile "$LINENO"
   10657 then :
   10658   xorg_cv_cc_flag_unused_command_line_argument=yes
   10659 else case e in #(
   10660   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10661 esac
   10662 fi
   10663 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10664 esac
   10665 fi
   10666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10667 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10668 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10669 	CFLAGS="$xorg_testset_save_CFLAGS"
   10670 fi
   10671 
   10672 found="no"
   10673 
   10674 	if test $found = "no" ; then
   10675 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10676 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10677 		fi
   10678 
   10679 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10680 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10681 		fi
   10682 
   10683 		CFLAGS="$CFLAGS -Waddress"
   10684 
   10685 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10686 printf %s "checking if $CC supports -Waddress... " >&6; }
   10687 		cacheid=xorg_cv_cc_flag__Waddress
   10688 		if eval test \${$cacheid+y}
   10689 then :
   10690   printf %s "(cached) " >&6
   10691 else case e in #(
   10692   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10693 /* end confdefs.h.  */
   10694 int i;
   10695 int
   10696 main (void)
   10697 {
   10698 
   10699   ;
   10700   return 0;
   10701 }
   10702 _ACEOF
   10703 if ac_fn_c_try_link "$LINENO"
   10704 then :
   10705   eval $cacheid=yes
   10706 else case e in #(
   10707   e) eval $cacheid=no ;;
   10708 esac
   10709 fi
   10710 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10711     conftest$ac_exeext conftest.$ac_ext ;;
   10712 esac
   10713 fi
   10714 
   10715 
   10716 		CFLAGS="$xorg_testset_save_CFLAGS"
   10717 
   10718 		eval supported=\$$cacheid
   10719 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10720 printf "%s\n" "$supported" >&6; }
   10721 		if test "$supported" = "yes" ; then
   10722 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10723 			found="yes"
   10724 		fi
   10725 	fi
   10726 
   10727 
   10728 
   10729 
   10730 
   10731 
   10732 
   10733 
   10734 
   10735 
   10736 
   10737 
   10738 
   10739 
   10740 
   10741 xorg_testset_save_CFLAGS="$CFLAGS"
   10742 
   10743 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10744 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10745 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10746 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10747 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10748 then :
   10749   printf %s "(cached) " >&6
   10750 else case e in #(
   10751   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10752 /* end confdefs.h.  */
   10753 int i;
   10754 _ACEOF
   10755 if ac_fn_c_try_compile "$LINENO"
   10756 then :
   10757   xorg_cv_cc_flag_unknown_warning_option=yes
   10758 else case e in #(
   10759   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10760 esac
   10761 fi
   10762 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10763 esac
   10764 fi
   10765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10766 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10767 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10768 	CFLAGS="$xorg_testset_save_CFLAGS"
   10769 fi
   10770 
   10771 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10772 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10773 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10774 	fi
   10775 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10776 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10777 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10778 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10779 then :
   10780   printf %s "(cached) " >&6
   10781 else case e in #(
   10782   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10783 /* end confdefs.h.  */
   10784 int i;
   10785 _ACEOF
   10786 if ac_fn_c_try_compile "$LINENO"
   10787 then :
   10788   xorg_cv_cc_flag_unused_command_line_argument=yes
   10789 else case e in #(
   10790   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10791 esac
   10792 fi
   10793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10794 esac
   10795 fi
   10796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10797 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10798 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10799 	CFLAGS="$xorg_testset_save_CFLAGS"
   10800 fi
   10801 
   10802 found="no"
   10803 
   10804 	if test $found = "no" ; then
   10805 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10806 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10807 		fi
   10808 
   10809 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10810 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10811 		fi
   10812 
   10813 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10814 
   10815 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10816 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10817 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10818 		if eval test \${$cacheid+y}
   10819 then :
   10820   printf %s "(cached) " >&6
   10821 else case e in #(
   10822   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10823 /* end confdefs.h.  */
   10824 int i;
   10825 int
   10826 main (void)
   10827 {
   10828 
   10829   ;
   10830   return 0;
   10831 }
   10832 _ACEOF
   10833 if ac_fn_c_try_link "$LINENO"
   10834 then :
   10835   eval $cacheid=yes
   10836 else case e in #(
   10837   e) eval $cacheid=no ;;
   10838 esac
   10839 fi
   10840 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10841     conftest$ac_exeext conftest.$ac_ext ;;
   10842 esac
   10843 fi
   10844 
   10845 
   10846 		CFLAGS="$xorg_testset_save_CFLAGS"
   10847 
   10848 		eval supported=\$$cacheid
   10849 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10850 printf "%s\n" "$supported" >&6; }
   10851 		if test "$supported" = "yes" ; then
   10852 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10853 			found="yes"
   10854 		fi
   10855 	fi
   10856 
   10857 
   10858 
   10859 
   10860 
   10861 
   10862 
   10863 
   10864 
   10865 
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 xorg_testset_save_CFLAGS="$CFLAGS"
   10872 
   10873 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10874 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10875 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10876 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10877 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10878 then :
   10879   printf %s "(cached) " >&6
   10880 else case e in #(
   10881   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10882 /* end confdefs.h.  */
   10883 int i;
   10884 _ACEOF
   10885 if ac_fn_c_try_compile "$LINENO"
   10886 then :
   10887   xorg_cv_cc_flag_unknown_warning_option=yes
   10888 else case e in #(
   10889   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10890 esac
   10891 fi
   10892 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10893 esac
   10894 fi
   10895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10896 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10897 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10898 	CFLAGS="$xorg_testset_save_CFLAGS"
   10899 fi
   10900 
   10901 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10902 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10903 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10904 	fi
   10905 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10906 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10907 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10908 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10909 then :
   10910   printf %s "(cached) " >&6
   10911 else case e in #(
   10912   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10913 /* end confdefs.h.  */
   10914 int i;
   10915 _ACEOF
   10916 if ac_fn_c_try_compile "$LINENO"
   10917 then :
   10918   xorg_cv_cc_flag_unused_command_line_argument=yes
   10919 else case e in #(
   10920   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10921 esac
   10922 fi
   10923 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10924 esac
   10925 fi
   10926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10927 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10928 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10929 	CFLAGS="$xorg_testset_save_CFLAGS"
   10930 fi
   10931 
   10932 found="no"
   10933 
   10934 	if test $found = "no" ; then
   10935 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10936 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10937 		fi
   10938 
   10939 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10940 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10941 		fi
   10942 
   10943 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10944 
   10945 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10946 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10947 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10948 		if eval test \${$cacheid+y}
   10949 then :
   10950   printf %s "(cached) " >&6
   10951 else case e in #(
   10952   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10953 /* end confdefs.h.  */
   10954 int i;
   10955 int
   10956 main (void)
   10957 {
   10958 
   10959   ;
   10960   return 0;
   10961 }
   10962 _ACEOF
   10963 if ac_fn_c_try_link "$LINENO"
   10964 then :
   10965   eval $cacheid=yes
   10966 else case e in #(
   10967   e) eval $cacheid=no ;;
   10968 esac
   10969 fi
   10970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10971     conftest$ac_exeext conftest.$ac_ext ;;
   10972 esac
   10973 fi
   10974 
   10975 
   10976 		CFLAGS="$xorg_testset_save_CFLAGS"
   10977 
   10978 		eval supported=\$$cacheid
   10979 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10980 printf "%s\n" "$supported" >&6; }
   10981 		if test "$supported" = "yes" ; then
   10982 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10983 			found="yes"
   10984 		fi
   10985 	fi
   10986 
   10987 
   10988 fi
   10989 
   10990 
   10991 
   10992 
   10993 
   10994 
   10995 
   10996 		CWARNFLAGS="$BASE_CFLAGS"
   10997 		if  test "x$GCC" = xyes ; then
   10998 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10999 		fi
   11000 
   11001 
   11002 
   11003 
   11004 
   11005 
   11006 
   11007 
   11008 # Check whether --enable-strict-compilation was given.
   11009 if test ${enable_strict_compilation+y}
   11010 then :
   11011   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   11012 else case e in #(
   11013   e) STRICT_COMPILE=no ;;
   11014 esac
   11015 fi
   11016 
   11017 
   11018 
   11019 
   11020 
   11021 
   11022 STRICT_CFLAGS=""
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 
   11033 
   11034 
   11035 
   11036 xorg_testset_save_CFLAGS="$CFLAGS"
   11037 
   11038 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11039 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11040 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11041 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11042 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11043 then :
   11044   printf %s "(cached) " >&6
   11045 else case e in #(
   11046   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11047 /* end confdefs.h.  */
   11048 int i;
   11049 _ACEOF
   11050 if ac_fn_c_try_compile "$LINENO"
   11051 then :
   11052   xorg_cv_cc_flag_unknown_warning_option=yes
   11053 else case e in #(
   11054   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11055 esac
   11056 fi
   11057 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11058 esac
   11059 fi
   11060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11061 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11062 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11063 	CFLAGS="$xorg_testset_save_CFLAGS"
   11064 fi
   11065 
   11066 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11067 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11068 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11069 	fi
   11070 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11071 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11072 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11073 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11074 then :
   11075   printf %s "(cached) " >&6
   11076 else case e in #(
   11077   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11078 /* end confdefs.h.  */
   11079 int i;
   11080 _ACEOF
   11081 if ac_fn_c_try_compile "$LINENO"
   11082 then :
   11083   xorg_cv_cc_flag_unused_command_line_argument=yes
   11084 else case e in #(
   11085   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11086 esac
   11087 fi
   11088 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11089 esac
   11090 fi
   11091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11092 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11093 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11094 	CFLAGS="$xorg_testset_save_CFLAGS"
   11095 fi
   11096 
   11097 found="no"
   11098 
   11099 	if test $found = "no" ; then
   11100 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11101 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11102 		fi
   11103 
   11104 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11105 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11106 		fi
   11107 
   11108 		CFLAGS="$CFLAGS -pedantic"
   11109 
   11110 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11111 printf %s "checking if $CC supports -pedantic... " >&6; }
   11112 		cacheid=xorg_cv_cc_flag__pedantic
   11113 		if eval test \${$cacheid+y}
   11114 then :
   11115   printf %s "(cached) " >&6
   11116 else case e in #(
   11117   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11118 /* end confdefs.h.  */
   11119 int i;
   11120 int
   11121 main (void)
   11122 {
   11123 
   11124   ;
   11125   return 0;
   11126 }
   11127 _ACEOF
   11128 if ac_fn_c_try_link "$LINENO"
   11129 then :
   11130   eval $cacheid=yes
   11131 else case e in #(
   11132   e) eval $cacheid=no ;;
   11133 esac
   11134 fi
   11135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11136     conftest$ac_exeext conftest.$ac_ext ;;
   11137 esac
   11138 fi
   11139 
   11140 
   11141 		CFLAGS="$xorg_testset_save_CFLAGS"
   11142 
   11143 		eval supported=\$$cacheid
   11144 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11145 printf "%s\n" "$supported" >&6; }
   11146 		if test "$supported" = "yes" ; then
   11147 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11148 			found="yes"
   11149 		fi
   11150 	fi
   11151 
   11152 
   11153 
   11154 
   11155 
   11156 
   11157 
   11158 
   11159 
   11160 
   11161 
   11162 
   11163 
   11164 
   11165 
   11166 xorg_testset_save_CFLAGS="$CFLAGS"
   11167 
   11168 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11169 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11170 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11171 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11172 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11173 then :
   11174   printf %s "(cached) " >&6
   11175 else case e in #(
   11176   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11177 /* end confdefs.h.  */
   11178 int i;
   11179 _ACEOF
   11180 if ac_fn_c_try_compile "$LINENO"
   11181 then :
   11182   xorg_cv_cc_flag_unknown_warning_option=yes
   11183 else case e in #(
   11184   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11185 esac
   11186 fi
   11187 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11188 esac
   11189 fi
   11190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11191 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11192 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11193 	CFLAGS="$xorg_testset_save_CFLAGS"
   11194 fi
   11195 
   11196 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11197 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11198 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11199 	fi
   11200 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11201 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11202 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11203 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11204 then :
   11205   printf %s "(cached) " >&6
   11206 else case e in #(
   11207   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11208 /* end confdefs.h.  */
   11209 int i;
   11210 _ACEOF
   11211 if ac_fn_c_try_compile "$LINENO"
   11212 then :
   11213   xorg_cv_cc_flag_unused_command_line_argument=yes
   11214 else case e in #(
   11215   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11216 esac
   11217 fi
   11218 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11219 esac
   11220 fi
   11221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11222 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11223 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11224 	CFLAGS="$xorg_testset_save_CFLAGS"
   11225 fi
   11226 
   11227 found="no"
   11228 
   11229 	if test $found = "no" ; then
   11230 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11231 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11232 		fi
   11233 
   11234 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11235 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11236 		fi
   11237 
   11238 		CFLAGS="$CFLAGS -Werror"
   11239 
   11240 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11241 printf %s "checking if $CC supports -Werror... " >&6; }
   11242 		cacheid=xorg_cv_cc_flag__Werror
   11243 		if eval test \${$cacheid+y}
   11244 then :
   11245   printf %s "(cached) " >&6
   11246 else case e in #(
   11247   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11248 /* end confdefs.h.  */
   11249 int i;
   11250 int
   11251 main (void)
   11252 {
   11253 
   11254   ;
   11255   return 0;
   11256 }
   11257 _ACEOF
   11258 if ac_fn_c_try_link "$LINENO"
   11259 then :
   11260   eval $cacheid=yes
   11261 else case e in #(
   11262   e) eval $cacheid=no ;;
   11263 esac
   11264 fi
   11265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11266     conftest$ac_exeext conftest.$ac_ext ;;
   11267 esac
   11268 fi
   11269 
   11270 
   11271 		CFLAGS="$xorg_testset_save_CFLAGS"
   11272 
   11273 		eval supported=\$$cacheid
   11274 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11275 printf "%s\n" "$supported" >&6; }
   11276 		if test "$supported" = "yes" ; then
   11277 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11278 			found="yes"
   11279 		fi
   11280 	fi
   11281 
   11282 	if test $found = "no" ; then
   11283 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11284 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11285 		fi
   11286 
   11287 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11288 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11289 		fi
   11290 
   11291 		CFLAGS="$CFLAGS -errwarn"
   11292 
   11293 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11294 printf %s "checking if $CC supports -errwarn... " >&6; }
   11295 		cacheid=xorg_cv_cc_flag__errwarn
   11296 		if eval test \${$cacheid+y}
   11297 then :
   11298   printf %s "(cached) " >&6
   11299 else case e in #(
   11300   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11301 /* end confdefs.h.  */
   11302 int i;
   11303 int
   11304 main (void)
   11305 {
   11306 
   11307   ;
   11308   return 0;
   11309 }
   11310 _ACEOF
   11311 if ac_fn_c_try_link "$LINENO"
   11312 then :
   11313   eval $cacheid=yes
   11314 else case e in #(
   11315   e) eval $cacheid=no ;;
   11316 esac
   11317 fi
   11318 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11319     conftest$ac_exeext conftest.$ac_ext ;;
   11320 esac
   11321 fi
   11322 
   11323 
   11324 		CFLAGS="$xorg_testset_save_CFLAGS"
   11325 
   11326 		eval supported=\$$cacheid
   11327 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11328 printf "%s\n" "$supported" >&6; }
   11329 		if test "$supported" = "yes" ; then
   11330 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11331 			found="yes"
   11332 		fi
   11333 	fi
   11334 
   11335 
   11336 
   11337 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11338 # activate it with -Werror, so we add it here explicitly.
   11339 
   11340 
   11341 
   11342 
   11343 
   11344 
   11345 
   11346 
   11347 
   11348 
   11349 
   11350 
   11351 
   11352 xorg_testset_save_CFLAGS="$CFLAGS"
   11353 
   11354 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11355 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11356 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11357 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11358 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11359 then :
   11360   printf %s "(cached) " >&6
   11361 else case e in #(
   11362   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11363 /* end confdefs.h.  */
   11364 int i;
   11365 _ACEOF
   11366 if ac_fn_c_try_compile "$LINENO"
   11367 then :
   11368   xorg_cv_cc_flag_unknown_warning_option=yes
   11369 else case e in #(
   11370   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11371 esac
   11372 fi
   11373 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11374 esac
   11375 fi
   11376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11377 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11378 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11379 	CFLAGS="$xorg_testset_save_CFLAGS"
   11380 fi
   11381 
   11382 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11383 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11384 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11385 	fi
   11386 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11387 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11388 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11389 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11390 then :
   11391   printf %s "(cached) " >&6
   11392 else case e in #(
   11393   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11394 /* end confdefs.h.  */
   11395 int i;
   11396 _ACEOF
   11397 if ac_fn_c_try_compile "$LINENO"
   11398 then :
   11399   xorg_cv_cc_flag_unused_command_line_argument=yes
   11400 else case e in #(
   11401   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11402 esac
   11403 fi
   11404 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11405 esac
   11406 fi
   11407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11408 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11409 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11410 	CFLAGS="$xorg_testset_save_CFLAGS"
   11411 fi
   11412 
   11413 found="no"
   11414 
   11415 	if test $found = "no" ; then
   11416 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11417 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11418 		fi
   11419 
   11420 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11421 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11422 		fi
   11423 
   11424 		CFLAGS="$CFLAGS -Werror=attributes"
   11425 
   11426 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11427 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11428 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11429 		if eval test \${$cacheid+y}
   11430 then :
   11431   printf %s "(cached) " >&6
   11432 else case e in #(
   11433   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11434 /* end confdefs.h.  */
   11435 int i;
   11436 int
   11437 main (void)
   11438 {
   11439 
   11440   ;
   11441   return 0;
   11442 }
   11443 _ACEOF
   11444 if ac_fn_c_try_link "$LINENO"
   11445 then :
   11446   eval $cacheid=yes
   11447 else case e in #(
   11448   e) eval $cacheid=no ;;
   11449 esac
   11450 fi
   11451 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11452     conftest$ac_exeext conftest.$ac_ext ;;
   11453 esac
   11454 fi
   11455 
   11456 
   11457 		CFLAGS="$xorg_testset_save_CFLAGS"
   11458 
   11459 		eval supported=\$$cacheid
   11460 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11461 printf "%s\n" "$supported" >&6; }
   11462 		if test "$supported" = "yes" ; then
   11463 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11464 			found="yes"
   11465 		fi
   11466 	fi
   11467 
   11468 
   11469 
   11470 if test "x$STRICT_COMPILE" = "xyes"; then
   11471     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11472     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11473 fi
   11474 
   11475 
   11476 
   11477 
   11478 
   11479 
   11480 
   11481 
   11482 cat >>confdefs.h <<_ACEOF
   11483 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11484 _ACEOF
   11485 
   11486 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11487 	if test "x$PVM" = "x"; then
   11488 		PVM="0"
   11489 	fi
   11490 
   11491 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11492 
   11493 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11494 	if test "x$PVP" = "x"; then
   11495 		PVP="0"
   11496 	fi
   11497 
   11498 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11499 
   11500 
   11501 
   11502 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11503 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11504 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11505 touch \$(top_srcdir)/ChangeLog; \
   11506 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11507 
   11508 
   11509 
   11510 
   11511 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11512 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11513 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11514 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11515 touch \$(top_srcdir)/INSTALL; \
   11516 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11517 
   11518 
   11519 
   11520 
   11521 
   11522 
   11523 case $host_os in
   11524     solaris*)
   11525         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11526         # check for a man page file found in later versions that use
   11527         # traditional section numbers instead
   11528         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11529 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11530 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11531 then :
   11532   printf %s "(cached) " >&6
   11533 else case e in #(
   11534   e) test "$cross_compiling" = yes &&
   11535   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11536 if test -r "/usr/share/man/man7/attributes.7"; then
   11537   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11538 else
   11539   ac_cv_file__usr_share_man_man7_attributes_7=no
   11540 fi ;;
   11541 esac
   11542 fi
   11543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11544 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11545 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11546 then :
   11547   SYSV_MAN_SECTIONS=false
   11548 else case e in #(
   11549   e) SYSV_MAN_SECTIONS=true ;;
   11550 esac
   11551 fi
   11552 
   11553         ;;
   11554     *) SYSV_MAN_SECTIONS=false ;;
   11555 esac
   11556 
   11557 if test x$APP_MAN_SUFFIX = x    ; then
   11558     APP_MAN_SUFFIX=1
   11559 fi
   11560 if test x$APP_MAN_DIR = x    ; then
   11561     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11562 fi
   11563 
   11564 if test x$LIB_MAN_SUFFIX = x    ; then
   11565     LIB_MAN_SUFFIX=3
   11566 fi
   11567 if test x$LIB_MAN_DIR = x    ; then
   11568     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11569 fi
   11570 
   11571 if test x$FILE_MAN_SUFFIX = x    ; then
   11572     case $SYSV_MAN_SECTIONS in
   11573 	true)				FILE_MAN_SUFFIX=4  ;;
   11574 	*)				FILE_MAN_SUFFIX=5  ;;
   11575     esac
   11576 fi
   11577 if test x$FILE_MAN_DIR = x    ; then
   11578     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11579 fi
   11580 
   11581 if test x$MISC_MAN_SUFFIX = x    ; then
   11582     case $SYSV_MAN_SECTIONS in
   11583 	true)				MISC_MAN_SUFFIX=5  ;;
   11584 	*)				MISC_MAN_SUFFIX=7  ;;
   11585     esac
   11586 fi
   11587 if test x$MISC_MAN_DIR = x    ; then
   11588     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11589 fi
   11590 
   11591 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11592     case $SYSV_MAN_SECTIONS in
   11593 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11594 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11595     esac
   11596 fi
   11597 if test x$DRIVER_MAN_DIR = x    ; then
   11598     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11599 fi
   11600 
   11601 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11602     case $SYSV_MAN_SECTIONS in
   11603 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11604 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11605     esac
   11606 fi
   11607 if test x$ADMIN_MAN_DIR = x    ; then
   11608     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11609 fi
   11610 
   11611 
   11612 
   11613 
   11614 
   11615 
   11616 
   11617 
   11618 
   11619 
   11620 
   11621 
   11622 
   11623 
   11624 
   11625 XORG_MAN_PAGE="X Version 11"
   11626 
   11627 MAN_SUBSTS="\
   11628 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11629 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11630 	-e 's|__xservername__|Xorg|g' \
   11631 	-e 's|__xconfigfile__|xorg.conf|g' \
   11632 	-e 's|__projectroot__|\$(prefix)|g' \
   11633 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11634 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11635 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11636 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11637 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11638 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11639 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11640 
   11641 
   11642 
   11643 
   11644 AM_DEFAULT_VERBOSITY=0
   11645 
   11646 
   11647 
   11648 # Checks for library functions.
   11649 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
   11650 if test "x$ac_cv_func_asprintf" = xyes
   11651 then :
   11652   printf "%s\n" "#define HAVE_ASPRINTF 1" >>confdefs.h
   11653 
   11654 fi
   11655 
   11656 
   11657 # Checks for typedefs, structures, and compiler characteristics.
   11658 # Check whether --enable-largefile was given.
   11659 if test ${enable_largefile+y}
   11660 then :
   11661   enableval=$enable_largefile;
   11662 fi
   11663 if test "$enable_largefile,$enable_year2038" != no,no
   11664 then :
   11665   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5
   11666 printf %s "checking for $CC option to enable large file support... " >&6; }
   11667 if test ${ac_cv_sys_largefile_opts+y}
   11668 then :
   11669   printf %s "(cached) " >&6
   11670 else case e in #(
   11671   e) ac_save_CC="$CC"
   11672   ac_opt_found=no
   11673   for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do
   11674     if test x"$ac_opt" != x"none needed"
   11675 then :
   11676   CC="$ac_save_CC $ac_opt"
   11677 fi
   11678     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11679 /* end confdefs.h.  */
   11680 #include <sys/types.h>
   11681 #ifndef FTYPE
   11682 # define FTYPE off_t
   11683 #endif
   11684  /* Check that FTYPE can represent 2**63 - 1 correctly.
   11685     We can't simply define LARGE_FTYPE to be 9223372036854775807,
   11686     since some C++ compilers masquerading as C compilers
   11687     incorrectly reject 9223372036854775807.  */
   11688 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
   11689   int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
   11690 		       && LARGE_FTYPE % 2147483647 == 1)
   11691 		      ? 1 : -1];
   11692 int
   11693 main (void)
   11694 {
   11695 
   11696   ;
   11697   return 0;
   11698 }
   11699 _ACEOF
   11700 if ac_fn_c_try_compile "$LINENO"
   11701 then :
   11702   if test x"$ac_opt" = x"none needed"
   11703 then :
   11704   # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
   11705 	 CC="$CC -DFTYPE=ino_t"
   11706 	 if ac_fn_c_try_compile "$LINENO"
   11707 then :
   11708 
   11709 else case e in #(
   11710   e) CC="$CC -D_FILE_OFFSET_BITS=64"
   11711 	    if ac_fn_c_try_compile "$LINENO"
   11712 then :
   11713   ac_opt='-D_FILE_OFFSET_BITS=64'
   11714 fi
   11715 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
   11716 esac
   11717 fi
   11718 rm -f core conftest.err conftest.$ac_objext conftest.beam
   11719 fi
   11720       ac_cv_sys_largefile_opts=$ac_opt
   11721       ac_opt_found=yes
   11722 fi
   11723 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11724     test $ac_opt_found = no || break
   11725   done
   11726   CC="$ac_save_CC"
   11727 
   11728   test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
   11729 esac
   11730 fi
   11731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
   11732 printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
   11733 
   11734 ac_have_largefile=yes
   11735 case $ac_cv_sys_largefile_opts in #(
   11736   "none needed") :
   11737      ;; #(
   11738   "supported through gnulib") :
   11739      ;; #(
   11740   "support not detected") :
   11741     ac_have_largefile=no ;; #(
   11742   "-D_FILE_OFFSET_BITS=64") :
   11743 
   11744 printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
   11745  ;; #(
   11746   "-D_LARGE_FILES=1") :
   11747 
   11748 printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
   11749  ;; #(
   11750   "-n32") :
   11751     CC="$CC -n32" ;; #(
   11752   *) :
   11753     as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
   11754 esac
   11755 
   11756 if test "$enable_year2038" != no
   11757 then :
   11758   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5
   11759 printf %s "checking for $CC option for timestamps after 2038... " >&6; }
   11760 if test ${ac_cv_sys_year2038_opts+y}
   11761 then :
   11762   printf %s "(cached) " >&6
   11763 else case e in #(
   11764   e) ac_save_CPPFLAGS="$CPPFLAGS"
   11765   ac_opt_found=no
   11766   for ac_opt in "none needed" "-D_TIME_BITS=64" "-D__MINGW_USE_VC2005_COMPAT" "-U_USE_32_BIT_TIME_T -D__MINGW_USE_VC2005_COMPAT"; do
   11767     if test x"$ac_opt" != x"none needed"
   11768 then :
   11769   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
   11770 fi
   11771     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11772 /* end confdefs.h.  */
   11773 
   11774   #include <time.h>
   11775   /* Check that time_t can represent 2**32 - 1 correctly.  */
   11776   #define LARGE_TIME_T \\
   11777     ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
   11778   int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
   11779                            && LARGE_TIME_T % 65537 == 0)
   11780                           ? 1 : -1];
   11781 
   11782 int
   11783 main (void)
   11784 {
   11785 
   11786   ;
   11787   return 0;
   11788 }
   11789 _ACEOF
   11790 if ac_fn_c_try_compile "$LINENO"
   11791 then :
   11792   ac_cv_sys_year2038_opts="$ac_opt"
   11793       ac_opt_found=yes
   11794 fi
   11795 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11796     test $ac_opt_found = no || break
   11797   done
   11798   CPPFLAGS="$ac_save_CPPFLAGS"
   11799   test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
   11800 esac
   11801 fi
   11802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
   11803 printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
   11804 
   11805 ac_have_year2038=yes
   11806 case $ac_cv_sys_year2038_opts in #(
   11807   "none needed") :
   11808      ;; #(
   11809   "support not detected") :
   11810     ac_have_year2038=no ;; #(
   11811   "-D_TIME_BITS=64") :
   11812 
   11813 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
   11814  ;; #(
   11815   "-D__MINGW_USE_VC2005_COMPAT") :
   11816 
   11817 printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
   11818  ;; #(
   11819   "-U_USE_32_BIT_TIME_T"*) :
   11820     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11821 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   11822 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
   11823 will stop working after mid-January 2038. Remove
   11824 _USE_32BIT_TIME_T from the compiler flags.
   11825 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   11826   *) :
   11827     as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
   11828 esac
   11829 
   11830 fi
   11831 
   11832 fi
   11833 
   11834 # Checks for pkg-config packages
   11835 
   11836 pkg_failed=no
   11837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XKBPRINT" >&5
   11838 printf %s "checking for XKBPRINT... " >&6; }
   11839 
   11840 if test -n "$XKBPRINT_CFLAGS"; then
   11841     pkg_cv_XKBPRINT_CFLAGS="$XKBPRINT_CFLAGS"
   11842  elif test -n "$PKG_CONFIG"; then
   11843     if test -n "$PKG_CONFIG" && \
   11844     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbfile x11 xproto >= 7.0.17\""; } >&5
   11845   ($PKG_CONFIG --exists --print-errors "xkbfile x11 xproto >= 7.0.17") 2>&5
   11846   ac_status=$?
   11847   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11848   test $ac_status = 0; }; then
   11849   pkg_cv_XKBPRINT_CFLAGS=`$PKG_CONFIG --cflags "xkbfile x11 xproto >= 7.0.17" 2>/dev/null`
   11850 		      test "x$?" != "x0" && pkg_failed=yes
   11851 else
   11852   pkg_failed=yes
   11853 fi
   11854  else
   11855     pkg_failed=untried
   11856 fi
   11857 if test -n "$XKBPRINT_LIBS"; then
   11858     pkg_cv_XKBPRINT_LIBS="$XKBPRINT_LIBS"
   11859  elif test -n "$PKG_CONFIG"; then
   11860     if test -n "$PKG_CONFIG" && \
   11861     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbfile x11 xproto >= 7.0.17\""; } >&5
   11862   ($PKG_CONFIG --exists --print-errors "xkbfile x11 xproto >= 7.0.17") 2>&5
   11863   ac_status=$?
   11864   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11865   test $ac_status = 0; }; then
   11866   pkg_cv_XKBPRINT_LIBS=`$PKG_CONFIG --libs "xkbfile x11 xproto >= 7.0.17" 2>/dev/null`
   11867 		      test "x$?" != "x0" && pkg_failed=yes
   11868 else
   11869   pkg_failed=yes
   11870 fi
   11871  else
   11872     pkg_failed=untried
   11873 fi
   11874 
   11875 
   11876 
   11877 if test $pkg_failed = yes; then
   11878    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11879 printf "%s\n" "no" >&6; }
   11880 
   11881 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11882         _pkg_short_errors_supported=yes
   11883 else
   11884         _pkg_short_errors_supported=no
   11885 fi
   11886         if test $_pkg_short_errors_supported = yes; then
   11887 	        XKBPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xkbfile x11 xproto >= 7.0.17" 2>&1`
   11888         else
   11889 	        XKBPRINT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xkbfile x11 xproto >= 7.0.17" 2>&1`
   11890         fi
   11891 	# Put the nasty error message in config.log where it belongs
   11892 	echo "$XKBPRINT_PKG_ERRORS" >&5
   11893 
   11894 	as_fn_error $? "Package requirements (xkbfile x11 xproto >= 7.0.17) were not met:
   11895 
   11896 $XKBPRINT_PKG_ERRORS
   11897 
   11898 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11899 installed software in a non-standard prefix.
   11900 
   11901 Alternatively, you may set the environment variables XKBPRINT_CFLAGS
   11902 and XKBPRINT_LIBS to avoid the need to call pkg-config.
   11903 See the pkg-config man page for more details." "$LINENO" 5
   11904 elif test $pkg_failed = untried; then
   11905      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11906 printf "%s\n" "no" >&6; }
   11907 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11908 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   11909 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11910 is in your PATH or set the PKG_CONFIG environment variable to the full
   11911 path to pkg-config.
   11912 
   11913 Alternatively, you may set the environment variables XKBPRINT_CFLAGS
   11914 and XKBPRINT_LIBS to avoid the need to call pkg-config.
   11915 See the pkg-config man page for more details.
   11916 
   11917 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11918 See 'config.log' for more details" "$LINENO" 5; }
   11919 else
   11920 	XKBPRINT_CFLAGS=$pkg_cv_XKBPRINT_CFLAGS
   11921 	XKBPRINT_LIBS=$pkg_cv_XKBPRINT_LIBS
   11922         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11923 printf "%s\n" "yes" >&6; }
   11924 
   11925 fi
   11926 
   11927 ac_config_files="$ac_config_files Makefile man/Makefile"
   11928 
   11929 cat >confcache <<\_ACEOF
   11930 # This file is a shell script that caches the results of configure
   11931 # tests run on this system so they can be shared between configure
   11932 # scripts and configure runs, see configure's option --config-cache.
   11933 # It is not useful on other systems.  If it contains results you don't
   11934 # want to keep, you may remove or edit it.
   11935 #
   11936 # config.status only pays attention to the cache file if you give it
   11937 # the --recheck option to rerun configure.
   11938 #
   11939 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   11940 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   11941 # following values.
   11942 
   11943 _ACEOF
   11944 
   11945 # The following way of writing the cache mishandles newlines in values,
   11946 # but we know of no workaround that is simple, portable, and efficient.
   11947 # So, we kill variables containing newlines.
   11948 # Ultrix sh set writes to stderr and can't be redirected directly,
   11949 # and sets the high bit in the cache file unless we assign to the vars.
   11950 (
   11951   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11952     eval ac_val=\$$ac_var
   11953     case $ac_val in #(
   11954     *${as_nl}*)
   11955       case $ac_var in #(
   11956       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11957 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11958       esac
   11959       case $ac_var in #(
   11960       _ | IFS | as_nl) ;; #(
   11961       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11962       *) { eval $ac_var=; unset $ac_var;} ;;
   11963       esac ;;
   11964     esac
   11965   done
   11966 
   11967   (set) 2>&1 |
   11968     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11969     *${as_nl}ac_space=\ *)
   11970       # 'set' does not quote correctly, so add quotes: double-quote
   11971       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11972       sed -n \
   11973 	"s/'/'\\\\''/g;
   11974 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11975       ;; #(
   11976     *)
   11977       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   11978       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11979       ;;
   11980     esac |
   11981     sort
   11982 ) |
   11983   sed '
   11984      /^ac_cv_env_/b end
   11985      t clear
   11986      :clear
   11987      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11988      t end
   11989      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11990      :end' >>confcache
   11991 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11992   if test -w "$cache_file"; then
   11993     if test "x$cache_file" != "x/dev/null"; then
   11994       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11995 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11996       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11997 	cat confcache >"$cache_file"
   11998       else
   11999         case $cache_file in #(
   12000         */* | ?:*)
   12001 	  mv -f confcache "$cache_file"$$ &&
   12002 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   12003         *)
   12004 	  mv -f confcache "$cache_file" ;;
   12005 	esac
   12006       fi
   12007     fi
   12008   else
   12009     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   12010 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   12011   fi
   12012 fi
   12013 rm -f confcache
   12014 
   12015 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12016 # Let make expand exec_prefix.
   12017 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12018 
   12019 DEFS=-DHAVE_CONFIG_H
   12020 
   12021 ac_libobjs=
   12022 ac_ltlibobjs=
   12023 U=
   12024 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12025   # 1. Remove the extension, and $U if already installed.
   12026   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12027   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   12028   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12029   #    will be set to the directory where LIBOBJS objects are built.
   12030   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12031   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12032 done
   12033 LIBOBJS=$ac_libobjs
   12034 
   12035 LTLIBOBJS=$ac_ltlibobjs
   12036 
   12037 
   12038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   12039 printf %s "checking that generated files are newer than configure... " >&6; }
   12040    if test -n "$am_sleep_pid"; then
   12041      # Hide warnings about reused PIDs.
   12042      wait $am_sleep_pid 2>/dev/null
   12043    fi
   12044    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   12045 printf "%s\n" "done" >&6; }
   12046 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12047   as_fn_error $? "conditional \"AMDEP\" was never defined.
   12048 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12049 fi
   12050 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12051   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12052 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12053 fi
   12054 case $enable_silent_rules in # (((
   12055   yes) AM_DEFAULT_VERBOSITY=0;;
   12056    no) AM_DEFAULT_VERBOSITY=1;;
   12057 esac
   12058 if test $am_cv_make_support_nested_variables = yes; then
   12059     AM_V='$(V)'
   12060   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   12061 else
   12062   AM_V=$AM_DEFAULT_VERBOSITY
   12063   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   12064 fi
   12065 
   12066  if test -n "$EXEEXT"; then
   12067   am__EXEEXT_TRUE=
   12068   am__EXEEXT_FALSE='#'
   12069 else
   12070   am__EXEEXT_TRUE='#'
   12071   am__EXEEXT_FALSE=
   12072 fi
   12073 
   12074 # Check whether --enable-year2038 was given.
   12075 if test ${enable_year2038+y}
   12076 then :
   12077   enableval=$enable_year2038;
   12078 fi
   12079 
   12080 
   12081 : "${CONFIG_STATUS=./config.status}"
   12082 ac_write_fail=0
   12083 ac_clean_files_save=$ac_clean_files
   12084 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12086 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   12087 as_write_fail=0
   12088 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   12089 #! $SHELL
   12090 # Generated by $as_me.
   12091 # Run this file to recreate the current configuration.
   12092 # Compiler output produced by configure, useful for debugging
   12093 # configure, is in config.log if it exists.
   12094 
   12095 debug=false
   12096 ac_cs_recheck=false
   12097 ac_cs_silent=false
   12098 
   12099 SHELL=\${CONFIG_SHELL-$SHELL}
   12100 export SHELL
   12101 _ASEOF
   12102 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12103 ## -------------------- ##
   12104 ## M4sh Initialization. ##
   12105 ## -------------------- ##
   12106 
   12107 # Be more Bourne compatible
   12108 DUALCASE=1; export DUALCASE # for MKS sh
   12109 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   12110 then :
   12111   emulate sh
   12112   NULLCMD=:
   12113   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12114   # is contrary to our usage.  Disable this feature.
   12115   alias -g '${1+"$@"}'='"$@"'
   12116   setopt NO_GLOB_SUBST
   12117 else case e in #(
   12118   e) case `(set -o) 2>/dev/null` in #(
   12119   *posix*) :
   12120     set -o posix ;; #(
   12121   *) :
   12122      ;;
   12123 esac ;;
   12124 esac
   12125 fi
   12126 
   12127 
   12128 
   12129 # Reset variables that may have inherited troublesome values from
   12130 # the environment.
   12131 
   12132 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   12133 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   12134 # side effect of setting IFS to empty, thus disabling word splitting.)
   12135 # Quoting is to prevent editors from complaining about space-tab.
   12136 as_nl='
   12137 '
   12138 export as_nl
   12139 IFS=" ""	$as_nl"
   12140 
   12141 PS1='$ '
   12142 PS2='> '
   12143 PS4='+ '
   12144 
   12145 # Ensure predictable behavior from utilities with locale-dependent output.
   12146 LC_ALL=C
   12147 export LC_ALL
   12148 LANGUAGE=C
   12149 export LANGUAGE
   12150 
   12151 # We cannot yet rely on "unset" to work, but we need these variables
   12152 # to be unset--not just set to an empty or harmless value--now, to
   12153 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   12154 # also avoids known problems related to "unset" and subshell syntax
   12155 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   12156 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   12157 do eval test \${$as_var+y} \
   12158   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12159 done
   12160 
   12161 # Ensure that fds 0, 1, and 2 are open.
   12162 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   12163 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   12164 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   12165 
   12166 # The user is always right.
   12167 if ${PATH_SEPARATOR+false} :; then
   12168   PATH_SEPARATOR=:
   12169   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12170     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12171       PATH_SEPARATOR=';'
   12172   }
   12173 fi
   12174 
   12175 
   12176 # Find who we are.  Look in the path if we contain no directory separator.
   12177 as_myself=
   12178 case $0 in #((
   12179   *[\\/]* ) as_myself=$0 ;;
   12180   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12181 for as_dir in $PATH
   12182 do
   12183   IFS=$as_save_IFS
   12184   case $as_dir in #(((
   12185     '') as_dir=./ ;;
   12186     */) ;;
   12187     *) as_dir=$as_dir/ ;;
   12188   esac
   12189     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   12190   done
   12191 IFS=$as_save_IFS
   12192 
   12193      ;;
   12194 esac
   12195 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   12196 # in which case we are not to be found in the path.
   12197 if test "x$as_myself" = x; then
   12198   as_myself=$0
   12199 fi
   12200 if test ! -f "$as_myself"; then
   12201   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12202   exit 1
   12203 fi
   12204 
   12205 
   12206 
   12207 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12208 # ----------------------------------------
   12209 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12210 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12211 # script with STATUS, using 1 if that was 0.
   12212 as_fn_error ()
   12213 {
   12214   as_status=$1; test $as_status -eq 0 && as_status=1
   12215   if test "$4"; then
   12216     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12217     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12218   fi
   12219   printf "%s\n" "$as_me: error: $2" >&2
   12220   as_fn_exit $as_status
   12221 } # as_fn_error
   12222 
   12223 
   12224 # as_fn_set_status STATUS
   12225 # -----------------------
   12226 # Set $? to STATUS, without forking.
   12227 as_fn_set_status ()
   12228 {
   12229   return $1
   12230 } # as_fn_set_status
   12231 
   12232 # as_fn_exit STATUS
   12233 # -----------------
   12234 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12235 as_fn_exit ()
   12236 {
   12237   set +e
   12238   as_fn_set_status $1
   12239   exit $1
   12240 } # as_fn_exit
   12241 
   12242 # as_fn_unset VAR
   12243 # ---------------
   12244 # Portably unset VAR.
   12245 as_fn_unset ()
   12246 {
   12247   { eval $1=; unset $1;}
   12248 }
   12249 as_unset=as_fn_unset
   12250 
   12251 # as_fn_append VAR VALUE
   12252 # ----------------------
   12253 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12254 # advantage of any shell optimizations that allow amortized linear growth over
   12255 # repeated appends, instead of the typical quadratic growth present in naive
   12256 # implementations.
   12257 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   12258 then :
   12259   eval 'as_fn_append ()
   12260   {
   12261     eval $1+=\$2
   12262   }'
   12263 else case e in #(
   12264   e) as_fn_append ()
   12265   {
   12266     eval $1=\$$1\$2
   12267   } ;;
   12268 esac
   12269 fi # as_fn_append
   12270 
   12271 # as_fn_arith ARG...
   12272 # ------------------
   12273 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12274 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12275 # must be portable across $(()) and expr.
   12276 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   12277 then :
   12278   eval 'as_fn_arith ()
   12279   {
   12280     as_val=$(( $* ))
   12281   }'
   12282 else case e in #(
   12283   e) as_fn_arith ()
   12284   {
   12285     as_val=`expr "$@" || test $? -eq 1`
   12286   } ;;
   12287 esac
   12288 fi # as_fn_arith
   12289 
   12290 
   12291 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12292    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12293   as_expr=expr
   12294 else
   12295   as_expr=false
   12296 fi
   12297 
   12298 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12299   as_basename=basename
   12300 else
   12301   as_basename=false
   12302 fi
   12303 
   12304 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12305   as_dirname=dirname
   12306 else
   12307   as_dirname=false
   12308 fi
   12309 
   12310 as_me=`$as_basename -- "$0" ||
   12311 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12312 	 X"$0" : 'X\(//\)$' \| \
   12313 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12314 printf "%s\n" X/"$0" |
   12315     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12316 	    s//\1/
   12317 	    q
   12318 	  }
   12319 	  /^X\/\(\/\/\)$/{
   12320 	    s//\1/
   12321 	    q
   12322 	  }
   12323 	  /^X\/\(\/\).*/{
   12324 	    s//\1/
   12325 	    q
   12326 	  }
   12327 	  s/.*/./; q'`
   12328 
   12329 # Avoid depending upon Character Ranges.
   12330 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12331 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12332 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12333 as_cr_digits='0123456789'
   12334 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12335 
   12336 
   12337 # Determine whether it's possible to make 'echo' print without a newline.
   12338 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   12339 # for compatibility with existing Makefiles.
   12340 ECHO_C= ECHO_N= ECHO_T=
   12341 case `echo -n x` in #(((((
   12342 -n*)
   12343   case `echo 'xy\c'` in
   12344   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12345   xy)  ECHO_C='\c';;
   12346   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12347        ECHO_T='	';;
   12348   esac;;
   12349 *)
   12350   ECHO_N='-n';;
   12351 esac
   12352 
   12353 # For backward compatibility with old third-party macros, we provide
   12354 # the shell variables $as_echo and $as_echo_n.  New code should use
   12355 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   12356 as_echo='printf %s\n'
   12357 as_echo_n='printf %s'
   12358 
   12359 rm -f conf$$ conf$$.exe conf$$.file
   12360 if test -d conf$$.dir; then
   12361   rm -f conf$$.dir/conf$$.file
   12362 else
   12363   rm -f conf$$.dir
   12364   mkdir conf$$.dir 2>/dev/null
   12365 fi
   12366 if (echo >conf$$.file) 2>/dev/null; then
   12367   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12368     as_ln_s='ln -s'
   12369     # ... but there are two gotchas:
   12370     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   12371     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   12372     # In both cases, we have to default to 'cp -pR'.
   12373     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12374       as_ln_s='cp -pR'
   12375   elif ln conf$$.file conf$$ 2>/dev/null; then
   12376     as_ln_s=ln
   12377   else
   12378     as_ln_s='cp -pR'
   12379   fi
   12380 else
   12381   as_ln_s='cp -pR'
   12382 fi
   12383 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12384 rmdir conf$$.dir 2>/dev/null
   12385 
   12386 
   12387 # as_fn_mkdir_p
   12388 # -------------
   12389 # Create "$as_dir" as a directory, including parents if necessary.
   12390 as_fn_mkdir_p ()
   12391 {
   12392 
   12393   case $as_dir in #(
   12394   -*) as_dir=./$as_dir;;
   12395   esac
   12396   test -d "$as_dir" || eval $as_mkdir_p || {
   12397     as_dirs=
   12398     while :; do
   12399       case $as_dir in #(
   12400       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12401       *) as_qdir=$as_dir;;
   12402       esac
   12403       as_dirs="'$as_qdir' $as_dirs"
   12404       as_dir=`$as_dirname -- "$as_dir" ||
   12405 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12406 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12407 	 X"$as_dir" : 'X\(//\)$' \| \
   12408 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12409 printf "%s\n" X"$as_dir" |
   12410     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12411 	    s//\1/
   12412 	    q
   12413 	  }
   12414 	  /^X\(\/\/\)[^/].*/{
   12415 	    s//\1/
   12416 	    q
   12417 	  }
   12418 	  /^X\(\/\/\)$/{
   12419 	    s//\1/
   12420 	    q
   12421 	  }
   12422 	  /^X\(\/\).*/{
   12423 	    s//\1/
   12424 	    q
   12425 	  }
   12426 	  s/.*/./; q'`
   12427       test -d "$as_dir" && break
   12428     done
   12429     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12430   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12431 
   12432 
   12433 } # as_fn_mkdir_p
   12434 if mkdir -p . 2>/dev/null; then
   12435   as_mkdir_p='mkdir -p "$as_dir"'
   12436 else
   12437   test -d ./-p && rmdir ./-p
   12438   as_mkdir_p=false
   12439 fi
   12440 
   12441 
   12442 # as_fn_executable_p FILE
   12443 # -----------------------
   12444 # Test if FILE is an executable regular file.
   12445 as_fn_executable_p ()
   12446 {
   12447   test -f "$1" && test -x "$1"
   12448 } # as_fn_executable_p
   12449 as_test_x='test -x'
   12450 as_executable_p=as_fn_executable_p
   12451 
   12452 # Sed expression to map a string onto a valid CPP name.
   12453 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   12454 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   12455 
   12456 # Sed expression to map a string onto a valid variable name.
   12457 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   12458 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   12459 
   12460 
   12461 exec 6>&1
   12462 ## ----------------------------------- ##
   12463 ## Main body of $CONFIG_STATUS script. ##
   12464 ## ----------------------------------- ##
   12465 _ASEOF
   12466 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12467 
   12468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12469 # Save the log message, to keep $0 and so on meaningful, and to
   12470 # report actual input values of CONFIG_FILES etc. instead of their
   12471 # values after options handling.
   12472 ac_log="
   12473 This file was extended by xkbprint $as_me 1.0.7, which was
   12474 generated by GNU Autoconf 2.72.  Invocation command line was
   12475 
   12476   CONFIG_FILES    = $CONFIG_FILES
   12477   CONFIG_HEADERS  = $CONFIG_HEADERS
   12478   CONFIG_LINKS    = $CONFIG_LINKS
   12479   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12480   $ $0 $@
   12481 
   12482 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12483 "
   12484 
   12485 _ACEOF
   12486 
   12487 case $ac_config_files in *"
   12488 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12489 esac
   12490 
   12491 case $ac_config_headers in *"
   12492 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12493 esac
   12494 
   12495 
   12496 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12497 # Files that config.status was made for.
   12498 config_files="$ac_config_files"
   12499 config_headers="$ac_config_headers"
   12500 config_commands="$ac_config_commands"
   12501 
   12502 _ACEOF
   12503 
   12504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12505 ac_cs_usage="\
   12506 '$as_me' instantiates files and other configuration actions
   12507 from templates according to the current configuration.  Unless the files
   12508 and actions are specified as TAGs, all are instantiated by default.
   12509 
   12510 Usage: $0 [OPTION]... [TAG]...
   12511 
   12512   -h, --help       print this help, then exit
   12513   -V, --version    print version number and configuration settings, then exit
   12514       --config     print configuration, then exit
   12515   -q, --quiet, --silent
   12516                    do not print progress messages
   12517   -d, --debug      don't remove temporary files
   12518       --recheck    update $as_me by reconfiguring in the same conditions
   12519       --file=FILE[:TEMPLATE]
   12520                    instantiate the configuration file FILE
   12521       --header=FILE[:TEMPLATE]
   12522                    instantiate the configuration header FILE
   12523 
   12524 Configuration files:
   12525 $config_files
   12526 
   12527 Configuration headers:
   12528 $config_headers
   12529 
   12530 Configuration commands:
   12531 $config_commands
   12532 
   12533 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xkbprint/-/issues>."
   12534 
   12535 _ACEOF
   12536 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12537 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12539 ac_cs_config='$ac_cs_config_escaped'
   12540 ac_cs_version="\\
   12541 xkbprint config.status 1.0.7
   12542 configured by $0, generated by GNU Autoconf 2.72,
   12543   with options \\"\$ac_cs_config\\"
   12544 
   12545 Copyright (C) 2023 Free Software Foundation, Inc.
   12546 This config.status script is free software; the Free Software Foundation
   12547 gives unlimited permission to copy, distribute and modify it."
   12548 
   12549 ac_pwd='$ac_pwd'
   12550 srcdir='$srcdir'
   12551 INSTALL='$INSTALL'
   12552 MKDIR_P='$MKDIR_P'
   12553 AWK='$AWK'
   12554 test -n "\$AWK" || AWK=awk
   12555 _ACEOF
   12556 
   12557 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12558 # The default lists apply if the user does not specify any file.
   12559 ac_need_defaults=:
   12560 while test $# != 0
   12561 do
   12562   case $1 in
   12563   --*=?*)
   12564     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12565     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12566     ac_shift=:
   12567     ;;
   12568   --*=)
   12569     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12570     ac_optarg=
   12571     ac_shift=:
   12572     ;;
   12573   *)
   12574     ac_option=$1
   12575     ac_optarg=$2
   12576     ac_shift=shift
   12577     ;;
   12578   esac
   12579 
   12580   case $ac_option in
   12581   # Handling of the options.
   12582   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12583     ac_cs_recheck=: ;;
   12584   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12585     printf "%s\n" "$ac_cs_version"; exit ;;
   12586   --config | --confi | --conf | --con | --co | --c )
   12587     printf "%s\n" "$ac_cs_config"; exit ;;
   12588   --debug | --debu | --deb | --de | --d | -d )
   12589     debug=: ;;
   12590   --file | --fil | --fi | --f )
   12591     $ac_shift
   12592     case $ac_optarg in
   12593     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12594     '') as_fn_error $? "missing file argument" ;;
   12595     esac
   12596     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12597     ac_need_defaults=false;;
   12598   --header | --heade | --head | --hea )
   12599     $ac_shift
   12600     case $ac_optarg in
   12601     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12602     esac
   12603     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12604     ac_need_defaults=false;;
   12605   --he | --h)
   12606     # Conflict between --help and --header
   12607     as_fn_error $? "ambiguous option: '$1'
   12608 Try '$0 --help' for more information.";;
   12609   --help | --hel | -h )
   12610     printf "%s\n" "$ac_cs_usage"; exit ;;
   12611   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12612   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12613     ac_cs_silent=: ;;
   12614 
   12615   # This is an error.
   12616   -*) as_fn_error $? "unrecognized option: '$1'
   12617 Try '$0 --help' for more information." ;;
   12618 
   12619   *) as_fn_append ac_config_targets " $1"
   12620      ac_need_defaults=false ;;
   12621 
   12622   esac
   12623   shift
   12624 done
   12625 
   12626 ac_configure_extra_args=
   12627 
   12628 if $ac_cs_silent; then
   12629   exec 6>/dev/null
   12630   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12631 fi
   12632 
   12633 _ACEOF
   12634 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12635 if \$ac_cs_recheck; then
   12636   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12637   shift
   12638   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12639   CONFIG_SHELL='$SHELL'
   12640   export CONFIG_SHELL
   12641   exec "\$@"
   12642 fi
   12643 
   12644 _ACEOF
   12645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12646 exec 5>>config.log
   12647 {
   12648   echo
   12649   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12650 ## Running $as_me. ##
   12651 _ASBOX
   12652   printf "%s\n" "$ac_log"
   12653 } >&5
   12654 
   12655 _ACEOF
   12656 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12657 #
   12658 # INIT-COMMANDS
   12659 #
   12660 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12661 
   12662 _ACEOF
   12663 
   12664 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12665 
   12666 # Handling of arguments.
   12667 for ac_config_target in $ac_config_targets
   12668 do
   12669   case $ac_config_target in
   12670     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12671     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12672     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12673     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12674 
   12675   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   12676   esac
   12677 done
   12678 
   12679 
   12680 # If the user did not use the arguments to specify the items to instantiate,
   12681 # then the envvar interface is used.  Set only those that are not.
   12682 # We use the long form for the default assignment because of an extremely
   12683 # bizarre bug on SunOS 4.1.3.
   12684 if $ac_need_defaults; then
   12685   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12686   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12687   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12688 fi
   12689 
   12690 # Have a temporary directory for convenience.  Make it in the build tree
   12691 # simply because there is no reason against having it here, and in addition,
   12692 # creating and moving files from /tmp can sometimes cause problems.
   12693 # Hook for its removal unless debugging.
   12694 # Note that there is a small window in which the directory will not be cleaned:
   12695 # after its creation but before its name has been assigned to '$tmp'.
   12696 $debug ||
   12697 {
   12698   tmp= ac_tmp=
   12699   trap 'exit_status=$?
   12700   : "${ac_tmp:=$tmp}"
   12701   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12702 ' 0
   12703   trap 'as_fn_exit 1' 1 2 13 15
   12704 }
   12705 # Create a (secure) tmp directory for tmp files.
   12706 
   12707 {
   12708   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12709   test -d "$tmp"
   12710 }  ||
   12711 {
   12712   tmp=./conf$$-$RANDOM
   12713   (umask 077 && mkdir "$tmp")
   12714 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12715 ac_tmp=$tmp
   12716 
   12717 # Set up the scripts for CONFIG_FILES section.
   12718 # No need to generate them if there are no CONFIG_FILES.
   12719 # This happens for instance with './config.status config.h'.
   12720 if test -n "$CONFIG_FILES"; then
   12721 
   12722 
   12723 ac_cr=`echo X | tr X '\015'`
   12724 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12725 # But we know of no other shell where ac_cr would be empty at this
   12726 # point, so we can use a bashism as a fallback.
   12727 if test "x$ac_cr" = x; then
   12728   eval ac_cr=\$\'\\r\'
   12729 fi
   12730 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12731 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12732   ac_cs_awk_cr='\\r'
   12733 else
   12734   ac_cs_awk_cr=$ac_cr
   12735 fi
   12736 
   12737 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12738 _ACEOF
   12739 
   12740 
   12741 {
   12742   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12743   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12744   echo "_ACEOF"
   12745 } >conf$$subs.sh ||
   12746   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12747 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12748 ac_delim='%!_!# '
   12749 for ac_last_try in false false false false false :; do
   12750   . ./conf$$subs.sh ||
   12751     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12752 
   12753   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12754   if test $ac_delim_n = $ac_delim_num; then
   12755     break
   12756   elif $ac_last_try; then
   12757     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12758   else
   12759     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12760   fi
   12761 done
   12762 rm -f conf$$subs.sh
   12763 
   12764 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12765 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12766 _ACEOF
   12767 sed -n '
   12768 h
   12769 s/^/S["/; s/!.*/"]=/
   12770 p
   12771 g
   12772 s/^[^!]*!//
   12773 :repl
   12774 t repl
   12775 s/'"$ac_delim"'$//
   12776 t delim
   12777 :nl
   12778 h
   12779 s/\(.\{148\}\)..*/\1/
   12780 t more1
   12781 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12782 p
   12783 n
   12784 b repl
   12785 :more1
   12786 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12787 p
   12788 g
   12789 s/.\{148\}//
   12790 t nl
   12791 :delim
   12792 h
   12793 s/\(.\{148\}\)..*/\1/
   12794 t more2
   12795 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12796 p
   12797 b
   12798 :more2
   12799 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12800 p
   12801 g
   12802 s/.\{148\}//
   12803 t delim
   12804 ' <conf$$subs.awk | sed '
   12805 /^[^""]/{
   12806   N
   12807   s/\n//
   12808 }
   12809 ' >>$CONFIG_STATUS || ac_write_fail=1
   12810 rm -f conf$$subs.awk
   12811 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12812 _ACAWK
   12813 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12814   for (key in S) S_is_set[key] = 1
   12815   FS = ""
   12816 
   12817 }
   12818 {
   12819   line = $ 0
   12820   nfields = split(line, field, "@")
   12821   substed = 0
   12822   len = length(field[1])
   12823   for (i = 2; i < nfields; i++) {
   12824     key = field[i]
   12825     keylen = length(key)
   12826     if (S_is_set[key]) {
   12827       value = S[key]
   12828       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12829       len += length(value) + length(field[++i])
   12830       substed = 1
   12831     } else
   12832       len += 1 + keylen
   12833   }
   12834 
   12835   print line
   12836 }
   12837 
   12838 _ACAWK
   12839 _ACEOF
   12840 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12841 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12842   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12843 else
   12844   cat
   12845 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12846   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12847 _ACEOF
   12848 
   12849 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12850 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12851 # trailing colons and then remove the whole line if VPATH becomes empty
   12852 # (actually we leave an empty line to preserve line numbers).
   12853 if test "x$srcdir" = x.; then
   12854   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12855 h
   12856 s///
   12857 s/^/:/
   12858 s/[	 ]*$/:/
   12859 s/:\$(srcdir):/:/g
   12860 s/:\${srcdir}:/:/g
   12861 s/:@srcdir@:/:/g
   12862 s/^:*//
   12863 s/:*$//
   12864 x
   12865 s/\(=[	 ]*\).*/\1/
   12866 G
   12867 s/\n//
   12868 s/^[^=]*=[	 ]*$//
   12869 }'
   12870 fi
   12871 
   12872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12873 fi # test -n "$CONFIG_FILES"
   12874 
   12875 # Set up the scripts for CONFIG_HEADERS section.
   12876 # No need to generate them if there are no CONFIG_HEADERS.
   12877 # This happens for instance with './config.status Makefile'.
   12878 if test -n "$CONFIG_HEADERS"; then
   12879 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12880 BEGIN {
   12881 _ACEOF
   12882 
   12883 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   12884 # here-document in config.status, that substitutes the proper values into
   12885 # config.h.in to produce config.h.
   12886 
   12887 # Create a delimiter string that does not exist in confdefs.h, to ease
   12888 # handling of long lines.
   12889 ac_delim='%!_!# '
   12890 for ac_last_try in false false :; do
   12891   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12892   if test -z "$ac_tt"; then
   12893     break
   12894   elif $ac_last_try; then
   12895     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12896   else
   12897     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12898   fi
   12899 done
   12900 
   12901 # For the awk script, D is an array of macro values keyed by name,
   12902 # likewise P contains macro parameters if any.  Preserve backslash
   12903 # newline sequences.
   12904 
   12905 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12906 sed -n '
   12907 s/.\{148\}/&'"$ac_delim"'/g
   12908 t rset
   12909 :rset
   12910 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12911 t def
   12912 d
   12913 :def
   12914 s/\\$//
   12915 t bsnl
   12916 s/["\\]/\\&/g
   12917 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12918 D["\1"]=" \3"/p
   12919 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12920 d
   12921 :bsnl
   12922 s/["\\]/\\&/g
   12923 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12924 D["\1"]=" \3\\\\\\n"\\/p
   12925 t cont
   12926 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12927 t cont
   12928 d
   12929 :cont
   12930 n
   12931 s/.\{148\}/&'"$ac_delim"'/g
   12932 t clear
   12933 :clear
   12934 s/\\$//
   12935 t bsnlc
   12936 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12937 d
   12938 :bsnlc
   12939 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12940 b cont
   12941 ' <confdefs.h | sed '
   12942 s/'"$ac_delim"'/"\\\
   12943 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12944 
   12945 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12946   for (key in D) D_is_set[key] = 1
   12947   FS = ""
   12948 }
   12949 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12950   line = \$ 0
   12951   split(line, arg, " ")
   12952   if (arg[1] == "#") {
   12953     defundef = arg[2]
   12954     mac1 = arg[3]
   12955   } else {
   12956     defundef = substr(arg[1], 2)
   12957     mac1 = arg[2]
   12958   }
   12959   split(mac1, mac2, "(") #)
   12960   macro = mac2[1]
   12961   prefix = substr(line, 1, index(line, defundef) - 1)
   12962   if (D_is_set[macro]) {
   12963     # Preserve the white space surrounding the "#".
   12964     print prefix "define", macro P[macro] D[macro]
   12965     next
   12966   } else {
   12967     # Replace #undef with comments.  This is necessary, for example,
   12968     # in the case of _POSIX_SOURCE, which is predefined and required
   12969     # on some systems where configure will not decide to define it.
   12970     if (defundef == "undef") {
   12971       print "/*", prefix defundef, macro, "*/"
   12972       next
   12973     }
   12974   }
   12975 }
   12976 { print }
   12977 _ACAWK
   12978 _ACEOF
   12979 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12980   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12981 fi # test -n "$CONFIG_HEADERS"
   12982 
   12983 
   12984 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12985 shift
   12986 for ac_tag
   12987 do
   12988   case $ac_tag in
   12989   :[FHLC]) ac_mode=$ac_tag; continue;;
   12990   esac
   12991   case $ac_mode$ac_tag in
   12992   :[FHL]*:*);;
   12993   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   12994   :[FH]-) ac_tag=-:-;;
   12995   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12996   esac
   12997   ac_save_IFS=$IFS
   12998   IFS=:
   12999   set x $ac_tag
   13000   IFS=$ac_save_IFS
   13001   shift
   13002   ac_file=$1
   13003   shift
   13004 
   13005   case $ac_mode in
   13006   :L) ac_source=$1;;
   13007   :[FH])
   13008     ac_file_inputs=
   13009     for ac_f
   13010     do
   13011       case $ac_f in
   13012       -) ac_f="$ac_tmp/stdin";;
   13013       *) # Look for the file first in the build tree, then in the source tree
   13014 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13015 	 # because $ac_f cannot contain ':'.
   13016 	 test -f "$ac_f" ||
   13017 	   case $ac_f in
   13018 	   [\\/$]*) false;;
   13019 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13020 	   esac ||
   13021 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   13022       esac
   13023       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13024       as_fn_append ac_file_inputs " '$ac_f'"
   13025     done
   13026 
   13027     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   13028     # use $as_me), people would be surprised to read:
   13029     #    /* config.h.  Generated by config.status.  */
   13030     configure_input='Generated from '`
   13031 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13032 	`' by configure.'
   13033     if test x"$ac_file" != x-; then
   13034       configure_input="$ac_file.  $configure_input"
   13035       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13036 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   13037     fi
   13038     # Neutralize special characters interpreted by sed in replacement strings.
   13039     case $configure_input in #(
   13040     *\&* | *\|* | *\\* )
   13041        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   13042        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13043     *) ac_sed_conf_input=$configure_input;;
   13044     esac
   13045 
   13046     case $ac_tag in
   13047     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   13048       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   13049     esac
   13050     ;;
   13051   esac
   13052 
   13053   ac_dir=`$as_dirname -- "$ac_file" ||
   13054 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13055 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13056 	 X"$ac_file" : 'X\(//\)$' \| \
   13057 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13058 printf "%s\n" X"$ac_file" |
   13059     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13060 	    s//\1/
   13061 	    q
   13062 	  }
   13063 	  /^X\(\/\/\)[^/].*/{
   13064 	    s//\1/
   13065 	    q
   13066 	  }
   13067 	  /^X\(\/\/\)$/{
   13068 	    s//\1/
   13069 	    q
   13070 	  }
   13071 	  /^X\(\/\).*/{
   13072 	    s//\1/
   13073 	    q
   13074 	  }
   13075 	  s/.*/./; q'`
   13076   as_dir="$ac_dir"; as_fn_mkdir_p
   13077   ac_builddir=.
   13078 
   13079 case "$ac_dir" in
   13080 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13081 *)
   13082   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   13083   # A ".." for each directory in $ac_dir_suffix.
   13084   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13085   case $ac_top_builddir_sub in
   13086   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13087   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13088   esac ;;
   13089 esac
   13090 ac_abs_top_builddir=$ac_pwd
   13091 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13092 # for backward compatibility:
   13093 ac_top_builddir=$ac_top_build_prefix
   13094 
   13095 case $srcdir in
   13096   .)  # We are building in place.
   13097     ac_srcdir=.
   13098     ac_top_srcdir=$ac_top_builddir_sub
   13099     ac_abs_top_srcdir=$ac_pwd ;;
   13100   [\\/]* | ?:[\\/]* )  # Absolute name.
   13101     ac_srcdir=$srcdir$ac_dir_suffix;
   13102     ac_top_srcdir=$srcdir
   13103     ac_abs_top_srcdir=$srcdir ;;
   13104   *) # Relative name.
   13105     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13106     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13107     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13108 esac
   13109 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13110 
   13111 
   13112   case $ac_mode in
   13113   :F)
   13114   #
   13115   # CONFIG_FILE
   13116   #
   13117 
   13118   case $INSTALL in
   13119   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13120   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13121   esac
   13122   ac_MKDIR_P=$MKDIR_P
   13123   case $MKDIR_P in
   13124   [\\/$]* | ?:[\\/]* ) ;;
   13125   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13126   esac
   13127 _ACEOF
   13128 
   13129 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13130 # If the template does not know about datarootdir, expand it.
   13131 # FIXME: This hack should be removed a few years after 2.60.
   13132 ac_datarootdir_hack=; ac_datarootdir_seen=
   13133 ac_sed_dataroot='
   13134 /datarootdir/ {
   13135   p
   13136   q
   13137 }
   13138 /@datadir@/p
   13139 /@docdir@/p
   13140 /@infodir@/p
   13141 /@localedir@/p
   13142 /@mandir@/p'
   13143 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13144 *datarootdir*) ac_datarootdir_seen=yes;;
   13145 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13146   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13147 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13148 _ACEOF
   13149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13150   ac_datarootdir_hack='
   13151   s&@datadir@&$datadir&g
   13152   s&@docdir@&$docdir&g
   13153   s&@infodir@&$infodir&g
   13154   s&@localedir@&$localedir&g
   13155   s&@mandir@&$mandir&g
   13156   s&\\\${datarootdir}&$datarootdir&g' ;;
   13157 esac
   13158 _ACEOF
   13159 
   13160 # Neutralize VPATH when '$srcdir' = '.'.
   13161 # Shell code in configure.ac might set extrasub.
   13162 # FIXME: do we really want to maintain this feature?
   13163 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13164 ac_sed_extra="$ac_vpsub
   13165 $extrasub
   13166 _ACEOF
   13167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13168 :t
   13169 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13170 s|@configure_input@|$ac_sed_conf_input|;t t
   13171 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13172 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13173 s&@srcdir@&$ac_srcdir&;t t
   13174 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13175 s&@top_srcdir@&$ac_top_srcdir&;t t
   13176 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13177 s&@builddir@&$ac_builddir&;t t
   13178 s&@abs_builddir@&$ac_abs_builddir&;t t
   13179 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13180 s&@INSTALL@&$ac_INSTALL&;t t
   13181 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13182 $ac_datarootdir_hack
   13183 "
   13184 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13185   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13186 
   13187 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13188   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13189   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13190       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13191   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13192 which seems to be undefined.  Please make sure it is defined" >&5
   13193 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13194 which seems to be undefined.  Please make sure it is defined" >&2;}
   13195 
   13196   rm -f "$ac_tmp/stdin"
   13197   case $ac_file in
   13198   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13199   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13200   esac \
   13201   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13202  ;;
   13203   :H)
   13204   #
   13205   # CONFIG_HEADER
   13206   #
   13207   if test x"$ac_file" != x-; then
   13208     {
   13209       printf "%s\n" "/* $configure_input  */" >&1 \
   13210       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13211     } >"$ac_tmp/config.h" \
   13212       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13213     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13214       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13215 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   13216     else
   13217       rm -f "$ac_file"
   13218       mv "$ac_tmp/config.h" "$ac_file" \
   13219 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13220     fi
   13221   else
   13222     printf "%s\n" "/* $configure_input  */" >&1 \
   13223       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13224       || as_fn_error $? "could not create -" "$LINENO" 5
   13225   fi
   13226 # Compute "$ac_file"'s index in $config_headers.
   13227 _am_arg="$ac_file"
   13228 _am_stamp_count=1
   13229 for _am_header in $config_headers :; do
   13230   case $_am_header in
   13231     $_am_arg | $_am_arg:* )
   13232       break ;;
   13233     * )
   13234       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13235   esac
   13236 done
   13237 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13238 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13239 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13240 	 X"$_am_arg" : 'X\(//\)$' \| \
   13241 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13242 printf "%s\n" X"$_am_arg" |
   13243     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13244 	    s//\1/
   13245 	    q
   13246 	  }
   13247 	  /^X\(\/\/\)[^/].*/{
   13248 	    s//\1/
   13249 	    q
   13250 	  }
   13251 	  /^X\(\/\/\)$/{
   13252 	    s//\1/
   13253 	    q
   13254 	  }
   13255 	  /^X\(\/\).*/{
   13256 	    s//\1/
   13257 	    q
   13258 	  }
   13259 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13260  ;;
   13261 
   13262   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13263 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   13264  ;;
   13265   esac
   13266 
   13267 
   13268   case $ac_file$ac_mode in
   13269     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13270   # Older Autoconf quotes --file arguments for eval, but not when files
   13271   # are listed without --file.  Let's play safe and only enable the eval
   13272   # if we detect the quoting.
   13273   # TODO: see whether this extra hack can be removed once we start
   13274   # requiring Autoconf 2.70 or later.
   13275   case $CONFIG_FILES in #(
   13276   *\'*) :
   13277     eval set x "$CONFIG_FILES" ;; #(
   13278   *) :
   13279     set x $CONFIG_FILES ;; #(
   13280   *) :
   13281      ;;
   13282 esac
   13283   shift
   13284   # Used to flag and report bootstrapping failures.
   13285   am_rc=0
   13286   for am_mf
   13287   do
   13288     # Strip MF so we end up with the name of the file.
   13289     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   13290     # Check whether this is an Automake generated Makefile which includes
   13291     # dependency-tracking related rules and includes.
   13292     # Grep'ing the whole file directly is not great: AIX grep has a line
   13293     # limit of 2048, but all sed's we know have understand at least 4000.
   13294     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13295       || continue
   13296     am_dirpart=`$as_dirname -- "$am_mf" ||
   13297 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13298 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13299 	 X"$am_mf" : 'X\(//\)$' \| \
   13300 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13301 printf "%s\n" X"$am_mf" |
   13302     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13303 	    s//\1/
   13304 	    q
   13305 	  }
   13306 	  /^X\(\/\/\)[^/].*/{
   13307 	    s//\1/
   13308 	    q
   13309 	  }
   13310 	  /^X\(\/\/\)$/{
   13311 	    s//\1/
   13312 	    q
   13313 	  }
   13314 	  /^X\(\/\).*/{
   13315 	    s//\1/
   13316 	    q
   13317 	  }
   13318 	  s/.*/./; q'`
   13319     am_filepart=`$as_basename -- "$am_mf" ||
   13320 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13321 	 X"$am_mf" : 'X\(//\)$' \| \
   13322 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13323 printf "%s\n" X/"$am_mf" |
   13324     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13325 	    s//\1/
   13326 	    q
   13327 	  }
   13328 	  /^X\/\(\/\/\)$/{
   13329 	    s//\1/
   13330 	    q
   13331 	  }
   13332 	  /^X\/\(\/\).*/{
   13333 	    s//\1/
   13334 	    q
   13335 	  }
   13336 	  s/.*/./; q'`
   13337     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13338       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13339         | $MAKE -f - am--depfiles" >&5
   13340    (cd "$am_dirpart" \
   13341       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13342         | $MAKE -f - am--depfiles) >&5 2>&5
   13343    ac_status=$?
   13344    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13345    (exit $ac_status); } || am_rc=$?
   13346   done
   13347   if test $am_rc -ne 0; then
   13348     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13349 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13350 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13351     for automatic dependency tracking.  If GNU make was not used, consider
   13352     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13353     necessary).  You can also try re-running configure with the
   13354     '--disable-dependency-tracking' option to at least be able to build
   13355     the package (albeit without support for automatic dependency tracking).
   13356 See 'config.log' for more details" "$LINENO" 5; }
   13357   fi
   13358   { am_dirpart=; unset am_dirpart;}
   13359   { am_filepart=; unset am_filepart;}
   13360   { am_mf=; unset am_mf;}
   13361   { am_rc=; unset am_rc;}
   13362   rm -f conftest-deps.mk
   13363 }
   13364  ;;
   13365 
   13366   esac
   13367 done # for ac_tag
   13368 
   13369 
   13370 as_fn_exit 0
   13371 _ACEOF
   13372 ac_clean_files=$ac_clean_files_save
   13373 
   13374 test $ac_write_fail = 0 ||
   13375   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13376 
   13377 
   13378 # configure is writing to config.log, and then calls config.status.
   13379 # config.status does its own redirection, appending to config.log.
   13380 # Unfortunately, on DOS this fails, as config.log is still kept open
   13381 # by configure, so config.status won't be able to write to it; its
   13382 # output is simply discarded.  So we exec the FD to /dev/null,
   13383 # effectively closing config.log, so it can be properly (re)opened and
   13384 # appended to by config.status.  When coming back to configure, we
   13385 # need to make the FD available again.
   13386 if test "$no_create" != yes; then
   13387   ac_cs_success=:
   13388   ac_config_status_args=
   13389   test "$silent" = yes &&
   13390     ac_config_status_args="$ac_config_status_args --quiet"
   13391   exec 5>/dev/null
   13392   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13393   exec 5>>config.log
   13394   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13395   # would make configure fail if this is the last instruction.
   13396   $ac_cs_success || as_fn_exit 1
   13397 fi
   13398 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13399   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13400 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13401 fi
   13402 
   13403 
   13404