Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.15
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for xkbcomp 1.4.7.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xkbcomp/-/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/xkbcomp/-/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='xkbcomp'
    607 PACKAGE_TARNAME='xkbcomp'
    608 PACKAGE_VERSION='1.4.7'
    609 PACKAGE_STRING='xkbcomp 1.4.7'
    610 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xkbcomp/-/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 XKBCONFIGROOT
    652 XKBCOMP_LIBS
    653 XKBCOMP_CFLAGS
    654 YACC_INST
    655 YFLAGS
    656 YACC
    657 MAN_SUBSTS
    658 XORG_MAN_PAGE
    659 ADMIN_MAN_DIR
    660 DRIVER_MAN_DIR
    661 MISC_MAN_DIR
    662 FILE_MAN_DIR
    663 LIB_MAN_DIR
    664 APP_MAN_DIR
    665 ADMIN_MAN_SUFFIX
    666 DRIVER_MAN_SUFFIX
    667 MISC_MAN_SUFFIX
    668 FILE_MAN_SUFFIX
    669 LIB_MAN_SUFFIX
    670 APP_MAN_SUFFIX
    671 SED
    672 host_os
    673 host_vendor
    674 host_cpu
    675 host
    676 build_os
    677 build_vendor
    678 build_cpu
    679 build
    680 INSTALL_CMD
    681 PKG_CONFIG_LIBDIR
    682 PKG_CONFIG_PATH
    683 PKG_CONFIG
    684 CHANGELOG_CMD
    685 STRICT_CFLAGS
    686 CWARNFLAGS
    687 BASE_CFLAGS
    688 AM_BACKSLASH
    689 AM_DEFAULT_VERBOSITY
    690 AM_DEFAULT_V
    691 AM_V
    692 CSCOPE
    693 ETAGS
    694 CTAGS
    695 am__fastdepCC_FALSE
    696 am__fastdepCC_TRUE
    697 CCDEPMODE
    698 am__nodep
    699 AMDEPBACKSLASH
    700 AMDEP_FALSE
    701 AMDEP_TRUE
    702 am__include
    703 DEPDIR
    704 am__untar
    705 am__tar
    706 AMTAR
    707 am__leading_dot
    708 SET_MAKE
    709 AWK
    710 mkdir_p
    711 MKDIR_P
    712 INSTALL_STRIP_PROGRAM
    713 STRIP
    714 install_sh
    715 MAKEINFO
    716 AUTOHEADER
    717 AUTOMAKE
    718 AUTOCONF
    719 ACLOCAL
    720 VERSION
    721 PACKAGE
    722 CYGPATH_W
    723 am__isrc
    724 INSTALL_DATA
    725 INSTALL_SCRIPT
    726 INSTALL_PROGRAM
    727 OBJEXT
    728 EXEEXT
    729 ac_ct_CC
    730 CPPFLAGS
    731 LDFLAGS
    732 CFLAGS
    733 CC
    734 target_alias
    735 host_alias
    736 build_alias
    737 LIBS
    738 ECHO_T
    739 ECHO_N
    740 ECHO_C
    741 DEFS
    742 mandir
    743 localedir
    744 libdir
    745 psdir
    746 pdfdir
    747 dvidir
    748 htmldir
    749 infodir
    750 docdir
    751 oldincludedir
    752 includedir
    753 runstatedir
    754 localstatedir
    755 sharedstatedir
    756 sysconfdir
    757 datadir
    758 datarootdir
    759 libexecdir
    760 sbindir
    761 bindir
    762 program_transform_name
    763 prefix
    764 exec_prefix
    765 PACKAGE_URL
    766 PACKAGE_BUGREPORT
    767 PACKAGE_STRING
    768 PACKAGE_VERSION
    769 PACKAGE_TARNAME
    770 PACKAGE_NAME
    771 PATH_SEPARATOR
    772 SHELL
    773 am__quote'
    774 ac_subst_files=''
    775 ac_user_opts='
    776 enable_option_checking
    777 enable_dependency_tracking
    778 enable_silent_rules
    779 enable_selective_werror
    780 enable_strict_compilation
    781 enable_largefile
    782 with_xkb_config_root
    783 enable_year2038
    784 '
    785       ac_precious_vars='build_alias
    786 host_alias
    787 target_alias
    788 CC
    789 CFLAGS
    790 LDFLAGS
    791 LIBS
    792 CPPFLAGS
    793 PKG_CONFIG
    794 PKG_CONFIG_PATH
    795 PKG_CONFIG_LIBDIR
    796 YACC
    797 YFLAGS
    798 XKBCOMP_CFLAGS
    799 XKBCOMP_LIBS'
    800 
    801 
    802 # Initialize some variables set by options.
    803 ac_init_help=
    804 ac_init_version=false
    805 ac_unrecognized_opts=
    806 ac_unrecognized_sep=
    807 # The variables have the same names as the options, with
    808 # dashes changed to underlines.
    809 cache_file=/dev/null
    810 exec_prefix=NONE
    811 no_create=
    812 no_recursion=
    813 prefix=NONE
    814 program_prefix=NONE
    815 program_suffix=NONE
    816 program_transform_name=s,x,x,
    817 silent=
    818 site=
    819 srcdir=
    820 verbose=
    821 x_includes=NONE
    822 x_libraries=NONE
    823 
    824 # Installation directory options.
    825 # These are left unexpanded so users can "make install exec_prefix=/foo"
    826 # and all the variables that are supposed to be based on exec_prefix
    827 # by default will actually change.
    828 # Use braces instead of parens because sh, perl, etc. also accept them.
    829 # (The list follows the same order as the GNU Coding Standards.)
    830 bindir='${exec_prefix}/bin'
    831 sbindir='${exec_prefix}/sbin'
    832 libexecdir='${exec_prefix}/libexec'
    833 datarootdir='${prefix}/share'
    834 datadir='${datarootdir}'
    835 sysconfdir='${prefix}/etc'
    836 sharedstatedir='${prefix}/com'
    837 localstatedir='${prefix}/var'
    838 runstatedir='${localstatedir}/run'
    839 includedir='${prefix}/include'
    840 oldincludedir='/usr/include'
    841 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    842 infodir='${datarootdir}/info'
    843 htmldir='${docdir}'
    844 dvidir='${docdir}'
    845 pdfdir='${docdir}'
    846 psdir='${docdir}'
    847 libdir='${exec_prefix}/lib'
    848 localedir='${datarootdir}/locale'
    849 mandir='${datarootdir}/man'
    850 
    851 ac_prev=
    852 ac_dashdash=
    853 for ac_option
    854 do
    855   # If the previous option needs an argument, assign it.
    856   if test -n "$ac_prev"; then
    857     eval $ac_prev=\$ac_option
    858     ac_prev=
    859     continue
    860   fi
    861 
    862   case $ac_option in
    863   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    864   *=)   ac_optarg= ;;
    865   *)    ac_optarg=yes ;;
    866   esac
    867 
    868   case $ac_dashdash$ac_option in
    869   --)
    870     ac_dashdash=yes ;;
    871 
    872   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    873     ac_prev=bindir ;;
    874   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    875     bindir=$ac_optarg ;;
    876 
    877   -build | --build | --buil | --bui | --bu)
    878     ac_prev=build_alias ;;
    879   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    880     build_alias=$ac_optarg ;;
    881 
    882   -cache-file | --cache-file | --cache-fil | --cache-fi \
    883   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    884     ac_prev=cache_file ;;
    885   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    886   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    887     cache_file=$ac_optarg ;;
    888 
    889   --config-cache | -C)
    890     cache_file=config.cache ;;
    891 
    892   -datadir | --datadir | --datadi | --datad)
    893     ac_prev=datadir ;;
    894   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    895     datadir=$ac_optarg ;;
    896 
    897   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    898   | --dataroo | --dataro | --datar)
    899     ac_prev=datarootdir ;;
    900   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    901   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    902     datarootdir=$ac_optarg ;;
    903 
    904   -disable-* | --disable-*)
    905     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    906     # Reject names that are not valid shell variable names.
    907     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    908       as_fn_error $? "invalid feature name: '$ac_useropt'"
    909     ac_useropt_orig=$ac_useropt
    910     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    911     case $ac_user_opts in
    912       *"
    913 "enable_$ac_useropt"
    914 "*) ;;
    915       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    916 	 ac_unrecognized_sep=', ';;
    917     esac
    918     eval enable_$ac_useropt=no ;;
    919 
    920   -docdir | --docdir | --docdi | --doc | --do)
    921     ac_prev=docdir ;;
    922   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    923     docdir=$ac_optarg ;;
    924 
    925   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    926     ac_prev=dvidir ;;
    927   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    928     dvidir=$ac_optarg ;;
    929 
    930   -enable-* | --enable-*)
    931     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    932     # Reject names that are not valid shell variable names.
    933     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    934       as_fn_error $? "invalid feature name: '$ac_useropt'"
    935     ac_useropt_orig=$ac_useropt
    936     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    937     case $ac_user_opts in
    938       *"
    939 "enable_$ac_useropt"
    940 "*) ;;
    941       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    942 	 ac_unrecognized_sep=', ';;
    943     esac
    944     eval enable_$ac_useropt=\$ac_optarg ;;
    945 
    946   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    947   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    948   | --exec | --exe | --ex)
    949     ac_prev=exec_prefix ;;
    950   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    951   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    952   | --exec=* | --exe=* | --ex=*)
    953     exec_prefix=$ac_optarg ;;
    954 
    955   -gas | --gas | --ga | --g)
    956     # Obsolete; use --with-gas.
    957     with_gas=yes ;;
    958 
    959   -help | --help | --hel | --he | -h)
    960     ac_init_help=long ;;
    961   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    962     ac_init_help=recursive ;;
    963   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    964     ac_init_help=short ;;
    965 
    966   -host | --host | --hos | --ho)
    967     ac_prev=host_alias ;;
    968   -host=* | --host=* | --hos=* | --ho=*)
    969     host_alias=$ac_optarg ;;
    970 
    971   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    972     ac_prev=htmldir ;;
    973   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    974   | --ht=*)
    975     htmldir=$ac_optarg ;;
    976 
    977   -includedir | --includedir | --includedi | --included | --include \
    978   | --includ | --inclu | --incl | --inc)
    979     ac_prev=includedir ;;
    980   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    981   | --includ=* | --inclu=* | --incl=* | --inc=*)
    982     includedir=$ac_optarg ;;
    983 
    984   -infodir | --infodir | --infodi | --infod | --info | --inf)
    985     ac_prev=infodir ;;
    986   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    987     infodir=$ac_optarg ;;
    988 
    989   -libdir | --libdir | --libdi | --libd)
    990     ac_prev=libdir ;;
    991   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    992     libdir=$ac_optarg ;;
    993 
    994   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    995   | --libexe | --libex | --libe)
    996     ac_prev=libexecdir ;;
    997   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    998   | --libexe=* | --libex=* | --libe=*)
    999     libexecdir=$ac_optarg ;;
   1000 
   1001   -localedir | --localedir | --localedi | --localed | --locale)
   1002     ac_prev=localedir ;;
   1003   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1004     localedir=$ac_optarg ;;
   1005 
   1006   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1007   | --localstate | --localstat | --localsta | --localst | --locals)
   1008     ac_prev=localstatedir ;;
   1009   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1010   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1011     localstatedir=$ac_optarg ;;
   1012 
   1013   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1014     ac_prev=mandir ;;
   1015   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1016     mandir=$ac_optarg ;;
   1017 
   1018   -nfp | --nfp | --nf)
   1019     # Obsolete; use --without-fp.
   1020     with_fp=no ;;
   1021 
   1022   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1023   | --no-cr | --no-c | -n)
   1024     no_create=yes ;;
   1025 
   1026   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1027   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1028     no_recursion=yes ;;
   1029 
   1030   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1031   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1032   | --oldin | --oldi | --old | --ol | --o)
   1033     ac_prev=oldincludedir ;;
   1034   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1035   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1036   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1037     oldincludedir=$ac_optarg ;;
   1038 
   1039   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1040     ac_prev=prefix ;;
   1041   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1042     prefix=$ac_optarg ;;
   1043 
   1044   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1045   | --program-pre | --program-pr | --program-p)
   1046     ac_prev=program_prefix ;;
   1047   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1048   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1049     program_prefix=$ac_optarg ;;
   1050 
   1051   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1052   | --program-suf | --program-su | --program-s)
   1053     ac_prev=program_suffix ;;
   1054   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1055   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1056     program_suffix=$ac_optarg ;;
   1057 
   1058   -program-transform-name | --program-transform-name \
   1059   | --program-transform-nam | --program-transform-na \
   1060   | --program-transform-n | --program-transform- \
   1061   | --program-transform | --program-transfor \
   1062   | --program-transfo | --program-transf \
   1063   | --program-trans | --program-tran \
   1064   | --progr-tra | --program-tr | --program-t)
   1065     ac_prev=program_transform_name ;;
   1066   -program-transform-name=* | --program-transform-name=* \
   1067   | --program-transform-nam=* | --program-transform-na=* \
   1068   | --program-transform-n=* | --program-transform-=* \
   1069   | --program-transform=* | --program-transfor=* \
   1070   | --program-transfo=* | --program-transf=* \
   1071   | --program-trans=* | --program-tran=* \
   1072   | --progr-tra=* | --program-tr=* | --program-t=*)
   1073     program_transform_name=$ac_optarg ;;
   1074 
   1075   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1076     ac_prev=pdfdir ;;
   1077   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1078     pdfdir=$ac_optarg ;;
   1079 
   1080   -psdir | --psdir | --psdi | --psd | --ps)
   1081     ac_prev=psdir ;;
   1082   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1083     psdir=$ac_optarg ;;
   1084 
   1085   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1086   | -silent | --silent | --silen | --sile | --sil)
   1087     silent=yes ;;
   1088 
   1089   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1090   | --runstate | --runstat | --runsta | --runst | --runs \
   1091   | --run | --ru | --r)
   1092     ac_prev=runstatedir ;;
   1093   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1094   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1095   | --run=* | --ru=* | --r=*)
   1096     runstatedir=$ac_optarg ;;
   1097 
   1098   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1099     ac_prev=sbindir ;;
   1100   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1101   | --sbi=* | --sb=*)
   1102     sbindir=$ac_optarg ;;
   1103 
   1104   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1105   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1106   | --sharedst | --shareds | --shared | --share | --shar \
   1107   | --sha | --sh)
   1108     ac_prev=sharedstatedir ;;
   1109   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1110   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1111   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1112   | --sha=* | --sh=*)
   1113     sharedstatedir=$ac_optarg ;;
   1114 
   1115   -site | --site | --sit)
   1116     ac_prev=site ;;
   1117   -site=* | --site=* | --sit=*)
   1118     site=$ac_optarg ;;
   1119 
   1120   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1121     ac_prev=srcdir ;;
   1122   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1123     srcdir=$ac_optarg ;;
   1124 
   1125   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1126   | --syscon | --sysco | --sysc | --sys | --sy)
   1127     ac_prev=sysconfdir ;;
   1128   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1129   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1130     sysconfdir=$ac_optarg ;;
   1131 
   1132   -target | --target | --targe | --targ | --tar | --ta | --t)
   1133     ac_prev=target_alias ;;
   1134   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1135     target_alias=$ac_optarg ;;
   1136 
   1137   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1138     verbose=yes ;;
   1139 
   1140   -version | --version | --versio | --versi | --vers | -V)
   1141     ac_init_version=: ;;
   1142 
   1143   -with-* | --with-*)
   1144     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1145     # Reject names that are not valid shell variable names.
   1146     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1147       as_fn_error $? "invalid package name: '$ac_useropt'"
   1148     ac_useropt_orig=$ac_useropt
   1149     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1150     case $ac_user_opts in
   1151       *"
   1152 "with_$ac_useropt"
   1153 "*) ;;
   1154       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1155 	 ac_unrecognized_sep=', ';;
   1156     esac
   1157     eval with_$ac_useropt=\$ac_optarg ;;
   1158 
   1159   -without-* | --without-*)
   1160     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1161     # Reject names that are not valid shell variable names.
   1162     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1163       as_fn_error $? "invalid package name: '$ac_useropt'"
   1164     ac_useropt_orig=$ac_useropt
   1165     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1166     case $ac_user_opts in
   1167       *"
   1168 "with_$ac_useropt"
   1169 "*) ;;
   1170       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1171 	 ac_unrecognized_sep=', ';;
   1172     esac
   1173     eval with_$ac_useropt=no ;;
   1174 
   1175   --x)
   1176     # Obsolete; use --with-x.
   1177     with_x=yes ;;
   1178 
   1179   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1180   | --x-incl | --x-inc | --x-in | --x-i)
   1181     ac_prev=x_includes ;;
   1182   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1183   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1184     x_includes=$ac_optarg ;;
   1185 
   1186   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1187   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1188     ac_prev=x_libraries ;;
   1189   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1190   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1191     x_libraries=$ac_optarg ;;
   1192 
   1193   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1194 Try '$0 --help' for more information"
   1195     ;;
   1196 
   1197   *=*)
   1198     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1199     # Reject names that are not valid shell variable names.
   1200     case $ac_envvar in #(
   1201       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1202       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1203     esac
   1204     eval $ac_envvar=\$ac_optarg
   1205     export $ac_envvar ;;
   1206 
   1207   *)
   1208     # FIXME: should be removed in autoconf 3.0.
   1209     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1210     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1211       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1212     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1213     ;;
   1214 
   1215   esac
   1216 done
   1217 
   1218 if test -n "$ac_prev"; then
   1219   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1220   as_fn_error $? "missing argument to $ac_option"
   1221 fi
   1222 
   1223 if test -n "$ac_unrecognized_opts"; then
   1224   case $enable_option_checking in
   1225     no) ;;
   1226     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1227     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1228   esac
   1229 fi
   1230 
   1231 # Check all directory arguments for consistency.
   1232 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1233 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1234 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1235 		libdir localedir mandir runstatedir
   1236 do
   1237   eval ac_val=\$$ac_var
   1238   # Remove trailing slashes.
   1239   case $ac_val in
   1240     */ )
   1241       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1242       eval $ac_var=\$ac_val;;
   1243   esac
   1244   # Be sure to have absolute directory names.
   1245   case $ac_val in
   1246     [\\/$]* | ?:[\\/]* )  continue;;
   1247     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1248   esac
   1249   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1250 done
   1251 
   1252 # There might be people who depend on the old broken behavior: '$host'
   1253 # used to hold the argument of --host etc.
   1254 # FIXME: To remove some day.
   1255 build=$build_alias
   1256 host=$host_alias
   1257 target=$target_alias
   1258 
   1259 # FIXME: To remove some day.
   1260 if test "x$host_alias" != x; then
   1261   if test "x$build_alias" = x; then
   1262     cross_compiling=maybe
   1263   elif test "x$build_alias" != "x$host_alias"; then
   1264     cross_compiling=yes
   1265   fi
   1266 fi
   1267 
   1268 ac_tool_prefix=
   1269 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1270 
   1271 test "$silent" = yes && exec 6>/dev/null
   1272 
   1273 
   1274 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1275 ac_ls_di=`ls -di .` &&
   1276 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1277   as_fn_error $? "working directory cannot be determined"
   1278 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1279   as_fn_error $? "pwd does not report name of working directory"
   1280 
   1281 
   1282 # Find the source files, if location was not specified.
   1283 if test -z "$srcdir"; then
   1284   ac_srcdir_defaulted=yes
   1285   # Try the directory containing this script, then the parent directory.
   1286   ac_confdir=`$as_dirname -- "$as_myself" ||
   1287 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1288 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1289 	 X"$as_myself" : 'X\(//\)$' \| \
   1290 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1291 printf "%s\n" X"$as_myself" |
   1292     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1293 	    s//\1/
   1294 	    q
   1295 	  }
   1296 	  /^X\(\/\/\)[^/].*/{
   1297 	    s//\1/
   1298 	    q
   1299 	  }
   1300 	  /^X\(\/\/\)$/{
   1301 	    s//\1/
   1302 	    q
   1303 	  }
   1304 	  /^X\(\/\).*/{
   1305 	    s//\1/
   1306 	    q
   1307 	  }
   1308 	  s/.*/./; q'`
   1309   srcdir=$ac_confdir
   1310   if test ! -r "$srcdir/$ac_unique_file"; then
   1311     srcdir=..
   1312   fi
   1313 else
   1314   ac_srcdir_defaulted=no
   1315 fi
   1316 if test ! -r "$srcdir/$ac_unique_file"; then
   1317   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1318   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1319 fi
   1320 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1321 ac_abs_confdir=`(
   1322 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1323 	pwd)`
   1324 # When building in place, set srcdir=.
   1325 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1326   srcdir=.
   1327 fi
   1328 # Remove unnecessary trailing slashes from srcdir.
   1329 # Double slashes in file names in object file debugging info
   1330 # mess up M-x gdb in Emacs.
   1331 case $srcdir in
   1332 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1333 esac
   1334 for ac_var in $ac_precious_vars; do
   1335   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1336   eval ac_env_${ac_var}_value=\$${ac_var}
   1337   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1338   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1339 done
   1340 
   1341 #
   1342 # Report the --help message.
   1343 #
   1344 if test "$ac_init_help" = "long"; then
   1345   # Omit some internal or obsolete options to make the list less imposing.
   1346   # This message is too long to be a string in the A/UX 3.1 sh.
   1347   cat <<_ACEOF
   1348 'configure' configures xkbcomp 1.4.7 to adapt to many kinds of systems.
   1349 
   1350 Usage: $0 [OPTION]... [VAR=VALUE]...
   1351 
   1352 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1353 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1354 
   1355 Defaults for the options are specified in brackets.
   1356 
   1357 Configuration:
   1358   -h, --help              display this help and exit
   1359       --help=short        display options specific to this package
   1360       --help=recursive    display the short help of all the included packages
   1361   -V, --version           display version information and exit
   1362   -q, --quiet, --silent   do not print 'checking ...' messages
   1363       --cache-file=FILE   cache test results in FILE [disabled]
   1364   -C, --config-cache      alias for '--cache-file=config.cache'
   1365   -n, --no-create         do not create output files
   1366       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1367 
   1368 Installation directories:
   1369   --prefix=PREFIX         install architecture-independent files in PREFIX
   1370                           [$ac_default_prefix]
   1371   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1372                           [PREFIX]
   1373 
   1374 By default, 'make install' will install all the files in
   1375 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1376 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1377 for instance '--prefix=\$HOME'.
   1378 
   1379 For better control, use the options below.
   1380 
   1381 Fine tuning of the installation directories:
   1382   --bindir=DIR            user executables [EPREFIX/bin]
   1383   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1384   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1385   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1386   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1387   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1388   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1389   --libdir=DIR            object code libraries [EPREFIX/lib]
   1390   --includedir=DIR        C header files [PREFIX/include]
   1391   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1392   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1393   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1394   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1395   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1396   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1397   --docdir=DIR            documentation root [DATAROOTDIR/doc/xkbcomp]
   1398   --htmldir=DIR           html documentation [DOCDIR]
   1399   --dvidir=DIR            dvi documentation [DOCDIR]
   1400   --pdfdir=DIR            pdf documentation [DOCDIR]
   1401   --psdir=DIR             ps documentation [DOCDIR]
   1402 _ACEOF
   1403 
   1404   cat <<\_ACEOF
   1405 
   1406 Program names:
   1407   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1408   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1409   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1410 
   1411 System types:
   1412   --build=BUILD     configure for building on BUILD [guessed]
   1413   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1414 _ACEOF
   1415 fi
   1416 
   1417 if test -n "$ac_init_help"; then
   1418   case $ac_init_help in
   1419      short | recursive ) echo "Configuration of xkbcomp 1.4.7:";;
   1420    esac
   1421   cat <<\_ACEOF
   1422 
   1423 Optional Features:
   1424   --disable-option-checking  ignore unrecognized --enable/--with options
   1425   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1426   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1427   --enable-dependency-tracking
   1428                           do not reject slow dependency extractors
   1429   --disable-dependency-tracking
   1430                           speeds up one-time build
   1431   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1432   --disable-silent-rules  verbose build output (undo: "make V=0")
   1433   --disable-selective-werror
   1434                           Turn off selective compiler errors. (default:
   1435                           enabled)
   1436   --enable-strict-compilation
   1437                           Enable all warnings from compiler and make them
   1438                           errors (default: disabled)
   1439   --disable-largefile     omit support for large files
   1440   --enable-year2038       support timestamps after 2038
   1441 
   1442 Optional Packages:
   1443   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1444   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1445   --with-xkb-config-root=<paths>
   1446                           Set default XKB config root (default:
   1447                           ${datadir}/X11/xkb)
   1448 
   1449 Some influential environment variables:
   1450   CC          C compiler command
   1451   CFLAGS      C compiler flags
   1452   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1453               nonstandard directory <lib dir>
   1454   LIBS        libraries to pass to the linker, e.g. -l<library>
   1455   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1456               you have headers in a nonstandard directory <include dir>
   1457   PKG_CONFIG  path to pkg-config utility
   1458   PKG_CONFIG_PATH
   1459               directories to add to pkg-config's search path
   1460   PKG_CONFIG_LIBDIR
   1461               path overriding pkg-config's built-in search path
   1462   YACC        The 'Yet Another Compiler Compiler' implementation to use.
   1463               Defaults to the first program found out of: 'bison -y', 'byacc',
   1464               'yacc'.
   1465   YFLAGS      The list of arguments that will be passed by default to $YACC.
   1466               This script will default YFLAGS to the empty string to avoid a
   1467               default value of '-d' given by some make applications.
   1468   XKBCOMP_CFLAGS
   1469               C compiler flags for XKBCOMP, overriding pkg-config
   1470   XKBCOMP_LIBS
   1471               linker flags for XKBCOMP, overriding pkg-config
   1472 
   1473 Use these variables to override the choices made by 'configure' or to help
   1474 it to find libraries and programs with nonstandard names/locations.
   1475 
   1476 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xkbcomp/-/issues>.
   1477 _ACEOF
   1478 ac_status=$?
   1479 fi
   1480 
   1481 if test "$ac_init_help" = "recursive"; then
   1482   # If there are subdirs, report their specific --help.
   1483   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1484     test -d "$ac_dir" ||
   1485       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1486       continue
   1487     ac_builddir=.
   1488 
   1489 case "$ac_dir" in
   1490 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1491 *)
   1492   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1493   # A ".." for each directory in $ac_dir_suffix.
   1494   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1495   case $ac_top_builddir_sub in
   1496   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1497   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1498   esac ;;
   1499 esac
   1500 ac_abs_top_builddir=$ac_pwd
   1501 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1502 # for backward compatibility:
   1503 ac_top_builddir=$ac_top_build_prefix
   1504 
   1505 case $srcdir in
   1506   .)  # We are building in place.
   1507     ac_srcdir=.
   1508     ac_top_srcdir=$ac_top_builddir_sub
   1509     ac_abs_top_srcdir=$ac_pwd ;;
   1510   [\\/]* | ?:[\\/]* )  # Absolute name.
   1511     ac_srcdir=$srcdir$ac_dir_suffix;
   1512     ac_top_srcdir=$srcdir
   1513     ac_abs_top_srcdir=$srcdir ;;
   1514   *) # Relative name.
   1515     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1516     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1517     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1518 esac
   1519 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1520 
   1521     cd "$ac_dir" || { ac_status=$?; continue; }
   1522     # Check for configure.gnu first; this name is used for a wrapper for
   1523     # Metaconfig's "Configure" on case-insensitive file systems.
   1524     if test -f "$ac_srcdir/configure.gnu"; then
   1525       echo &&
   1526       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1527     elif test -f "$ac_srcdir/configure"; then
   1528       echo &&
   1529       $SHELL "$ac_srcdir/configure" --help=recursive
   1530     else
   1531       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1532     fi || ac_status=$?
   1533     cd "$ac_pwd" || { ac_status=$?; break; }
   1534   done
   1535 fi
   1536 
   1537 test -n "$ac_init_help" && exit $ac_status
   1538 if $ac_init_version; then
   1539   cat <<\_ACEOF
   1540 xkbcomp configure 1.4.7
   1541 generated by GNU Autoconf 2.72
   1542 
   1543 Copyright (C) 2023 Free Software Foundation, Inc.
   1544 This configure script is free software; the Free Software Foundation
   1545 gives unlimited permission to copy, distribute and modify it.
   1546 _ACEOF
   1547   exit
   1548 fi
   1549 
   1550 ## ------------------------ ##
   1551 ## Autoconf initialization. ##
   1552 ## ------------------------ ##
   1553 
   1554 # ac_fn_c_try_compile LINENO
   1555 # --------------------------
   1556 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1557 ac_fn_c_try_compile ()
   1558 {
   1559   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1560   rm -f conftest.$ac_objext conftest.beam
   1561   if { { ac_try="$ac_compile"
   1562 case "(($ac_try" in
   1563   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1564   *) ac_try_echo=$ac_try;;
   1565 esac
   1566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1567 printf "%s\n" "$ac_try_echo"; } >&5
   1568   (eval "$ac_compile") 2>conftest.err
   1569   ac_status=$?
   1570   if test -s conftest.err; then
   1571     grep -v '^ *+' conftest.err >conftest.er1
   1572     cat conftest.er1 >&5
   1573     mv -f conftest.er1 conftest.err
   1574   fi
   1575   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1576   test $ac_status = 0; } && {
   1577 	 test -z "$ac_c_werror_flag" ||
   1578 	 test ! -s conftest.err
   1579        } && test -s conftest.$ac_objext
   1580 then :
   1581   ac_retval=0
   1582 else case e in #(
   1583   e) printf "%s\n" "$as_me: failed program was:" >&5
   1584 sed 's/^/| /' conftest.$ac_ext >&5
   1585 
   1586 	ac_retval=1 ;;
   1587 esac
   1588 fi
   1589   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1590   as_fn_set_status $ac_retval
   1591 
   1592 } # ac_fn_c_try_compile
   1593 
   1594 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1595 # -------------------------------------------------------
   1596 # Tests whether HEADER exists and can be compiled using the include files in
   1597 # INCLUDES, setting the cache variable VAR accordingly.
   1598 ac_fn_c_check_header_compile ()
   1599 {
   1600   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1601   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1602 printf %s "checking for $2... " >&6; }
   1603 if eval test \${$3+y}
   1604 then :
   1605   printf %s "(cached) " >&6
   1606 else case e in #(
   1607   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1608 /* end confdefs.h.  */
   1609 $4
   1610 #include <$2>
   1611 _ACEOF
   1612 if ac_fn_c_try_compile "$LINENO"
   1613 then :
   1614   eval "$3=yes"
   1615 else case e in #(
   1616   e) eval "$3=no" ;;
   1617 esac
   1618 fi
   1619 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1620 esac
   1621 fi
   1622 eval ac_res=\$$3
   1623 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1624 printf "%s\n" "$ac_res" >&6; }
   1625   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1626 
   1627 } # ac_fn_c_check_header_compile
   1628 
   1629 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1630 # ------------------------------------------------------------------
   1631 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1632 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1633 ac_fn_check_decl ()
   1634 {
   1635   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1636   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1637   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1638 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1639 if eval test \${$3+y}
   1640 then :
   1641   printf %s "(cached) " >&6
   1642 else case e in #(
   1643   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1644   eval ac_save_FLAGS=\$$6
   1645   as_fn_append $6 " $5"
   1646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1647 /* end confdefs.h.  */
   1648 $4
   1649 int
   1650 main (void)
   1651 {
   1652 #ifndef $as_decl_name
   1653 #ifdef __cplusplus
   1654   (void) $as_decl_use;
   1655 #else
   1656   (void) $as_decl_name;
   1657 #endif
   1658 #endif
   1659 
   1660   ;
   1661   return 0;
   1662 }
   1663 _ACEOF
   1664 if ac_fn_c_try_compile "$LINENO"
   1665 then :
   1666   eval "$3=yes"
   1667 else case e in #(
   1668   e) eval "$3=no" ;;
   1669 esac
   1670 fi
   1671 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1672   eval $6=\$ac_save_FLAGS
   1673  ;;
   1674 esac
   1675 fi
   1676 eval ac_res=\$$3
   1677 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1678 printf "%s\n" "$ac_res" >&6; }
   1679   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1680 
   1681 } # ac_fn_check_decl
   1682 
   1683 # ac_fn_c_try_link LINENO
   1684 # -----------------------
   1685 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1686 ac_fn_c_try_link ()
   1687 {
   1688   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1689   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1690   if { { ac_try="$ac_link"
   1691 case "(($ac_try" in
   1692   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1693   *) ac_try_echo=$ac_try;;
   1694 esac
   1695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1696 printf "%s\n" "$ac_try_echo"; } >&5
   1697   (eval "$ac_link") 2>conftest.err
   1698   ac_status=$?
   1699   if test -s conftest.err; then
   1700     grep -v '^ *+' conftest.err >conftest.er1
   1701     cat conftest.er1 >&5
   1702     mv -f conftest.er1 conftest.err
   1703   fi
   1704   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1705   test $ac_status = 0; } && {
   1706 	 test -z "$ac_c_werror_flag" ||
   1707 	 test ! -s conftest.err
   1708        } && test -s conftest$ac_exeext && {
   1709 	 test "$cross_compiling" = yes ||
   1710 	 test -x conftest$ac_exeext
   1711        }
   1712 then :
   1713   ac_retval=0
   1714 else case e in #(
   1715   e) printf "%s\n" "$as_me: failed program was:" >&5
   1716 sed 's/^/| /' conftest.$ac_ext >&5
   1717 
   1718 	ac_retval=1 ;;
   1719 esac
   1720 fi
   1721   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1722   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1723   # interfere with the next link command; also delete a directory that is
   1724   # left behind by Apple's compiler.  We do this before executing the actions.
   1725   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1726   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1727   as_fn_set_status $ac_retval
   1728 
   1729 } # ac_fn_c_try_link
   1730 
   1731 # ac_fn_c_check_func LINENO FUNC VAR
   1732 # ----------------------------------
   1733 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1734 ac_fn_c_check_func ()
   1735 {
   1736   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1737   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1738 printf %s "checking for $2... " >&6; }
   1739 if eval test \${$3+y}
   1740 then :
   1741   printf %s "(cached) " >&6
   1742 else case e in #(
   1743   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1744 /* end confdefs.h.  */
   1745 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1746    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1747 #define $2 innocuous_$2
   1748 
   1749 /* System header to define __stub macros and hopefully few prototypes,
   1750    which can conflict with char $2 (void); below.  */
   1751 
   1752 #include <limits.h>
   1753 #undef $2
   1754 
   1755 /* Override any GCC internal prototype to avoid an error.
   1756    Use char because int might match the return type of a GCC
   1757    builtin and then its argument prototype would still apply.  */
   1758 #ifdef __cplusplus
   1759 extern "C"
   1760 #endif
   1761 char $2 (void);
   1762 /* The GNU C library defines this for functions which it implements
   1763     to always fail with ENOSYS.  Some functions are actually named
   1764     something starting with __ and the normal name is an alias.  */
   1765 #if defined __stub_$2 || defined __stub___$2
   1766 choke me
   1767 #endif
   1768 
   1769 int
   1770 main (void)
   1771 {
   1772 return $2 ();
   1773   ;
   1774   return 0;
   1775 }
   1776 _ACEOF
   1777 if ac_fn_c_try_link "$LINENO"
   1778 then :
   1779   eval "$3=yes"
   1780 else case e in #(
   1781   e) eval "$3=no" ;;
   1782 esac
   1783 fi
   1784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1785     conftest$ac_exeext conftest.$ac_ext ;;
   1786 esac
   1787 fi
   1788 eval ac_res=\$$3
   1789 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1790 printf "%s\n" "$ac_res" >&6; }
   1791   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1792 
   1793 } # ac_fn_c_check_func
   1794 ac_configure_args_raw=
   1795 for ac_arg
   1796 do
   1797   case $ac_arg in
   1798   *\'*)
   1799     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1800   esac
   1801   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1802 done
   1803 
   1804 case $ac_configure_args_raw in
   1805   *$as_nl*)
   1806     ac_safe_unquote= ;;
   1807   *)
   1808     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1809     ac_unsafe_a="$ac_unsafe_z#~"
   1810     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1811     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1812 esac
   1813 
   1814 cat >config.log <<_ACEOF
   1815 This file contains any messages produced by compilers while
   1816 running configure, to aid debugging if configure makes a mistake.
   1817 
   1818 It was created by xkbcomp $as_me 1.4.7, which was
   1819 generated by GNU Autoconf 2.72.  Invocation command line was
   1820 
   1821   $ $0$ac_configure_args_raw
   1822 
   1823 _ACEOF
   1824 exec 5>>config.log
   1825 {
   1826 cat <<_ASUNAME
   1827 ## --------- ##
   1828 ## Platform. ##
   1829 ## --------- ##
   1830 
   1831 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1832 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1833 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1834 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1835 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1836 
   1837 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1838 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1839 
   1840 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1841 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1842 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1843 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1844 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1845 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1846 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1847 
   1848 _ASUNAME
   1849 
   1850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1851 for as_dir in $PATH
   1852 do
   1853   IFS=$as_save_IFS
   1854   case $as_dir in #(((
   1855     '') as_dir=./ ;;
   1856     */) ;;
   1857     *) as_dir=$as_dir/ ;;
   1858   esac
   1859     printf "%s\n" "PATH: $as_dir"
   1860   done
   1861 IFS=$as_save_IFS
   1862 
   1863 } >&5
   1864 
   1865 cat >&5 <<_ACEOF
   1866 
   1867 
   1868 ## ----------- ##
   1869 ## Core tests. ##
   1870 ## ----------- ##
   1871 
   1872 _ACEOF
   1873 
   1874 
   1875 # Keep a trace of the command line.
   1876 # Strip out --no-create and --no-recursion so they do not pile up.
   1877 # Strip out --silent because we don't want to record it for future runs.
   1878 # Also quote any args containing shell meta-characters.
   1879 # Make two passes to allow for proper duplicate-argument suppression.
   1880 ac_configure_args=
   1881 ac_configure_args0=
   1882 ac_configure_args1=
   1883 ac_must_keep_next=false
   1884 for ac_pass in 1 2
   1885 do
   1886   for ac_arg
   1887   do
   1888     case $ac_arg in
   1889     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1890     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1891     | -silent | --silent | --silen | --sile | --sil)
   1892       continue ;;
   1893     *\'*)
   1894       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1895     esac
   1896     case $ac_pass in
   1897     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1898     2)
   1899       as_fn_append ac_configure_args1 " '$ac_arg'"
   1900       if test $ac_must_keep_next = true; then
   1901 	ac_must_keep_next=false # Got value, back to normal.
   1902       else
   1903 	case $ac_arg in
   1904 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1905 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1906 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1907 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1908 	    case "$ac_configure_args0 " in
   1909 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1910 	    esac
   1911 	    ;;
   1912 	  -* ) ac_must_keep_next=true ;;
   1913 	esac
   1914       fi
   1915       as_fn_append ac_configure_args " '$ac_arg'"
   1916       ;;
   1917     esac
   1918   done
   1919 done
   1920 { ac_configure_args0=; unset ac_configure_args0;}
   1921 { ac_configure_args1=; unset ac_configure_args1;}
   1922 
   1923 # When interrupted or exit'd, cleanup temporary files, and complete
   1924 # config.log.  We remove comments because anyway the quotes in there
   1925 # would cause problems or look ugly.
   1926 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1927 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1928 trap 'exit_status=$?
   1929   # Sanitize IFS.
   1930   IFS=" ""	$as_nl"
   1931   # Save into config.log some information that might help in debugging.
   1932   {
   1933     echo
   1934 
   1935     printf "%s\n" "## ---------------- ##
   1936 ## Cache variables. ##
   1937 ## ---------------- ##"
   1938     echo
   1939     # The following way of writing the cache mishandles newlines in values,
   1940 (
   1941   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1942     eval ac_val=\$$ac_var
   1943     case $ac_val in #(
   1944     *${as_nl}*)
   1945       case $ac_var in #(
   1946       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1947 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1948       esac
   1949       case $ac_var in #(
   1950       _ | IFS | as_nl) ;; #(
   1951       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1952       *) { eval $ac_var=; unset $ac_var;} ;;
   1953       esac ;;
   1954     esac
   1955   done
   1956   (set) 2>&1 |
   1957     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1958     *${as_nl}ac_space=\ *)
   1959       sed -n \
   1960 	"s/'\''/'\''\\\\'\'''\''/g;
   1961 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1962       ;; #(
   1963     *)
   1964       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1965       ;;
   1966     esac |
   1967     sort
   1968 )
   1969     echo
   1970 
   1971     printf "%s\n" "## ----------------- ##
   1972 ## Output variables. ##
   1973 ## ----------------- ##"
   1974     echo
   1975     for ac_var in $ac_subst_vars
   1976     do
   1977       eval ac_val=\$$ac_var
   1978       case $ac_val in
   1979       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1980       esac
   1981       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1982     done | sort
   1983     echo
   1984 
   1985     if test -n "$ac_subst_files"; then
   1986       printf "%s\n" "## ------------------- ##
   1987 ## File substitutions. ##
   1988 ## ------------------- ##"
   1989       echo
   1990       for ac_var in $ac_subst_files
   1991       do
   1992 	eval ac_val=\$$ac_var
   1993 	case $ac_val in
   1994 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1995 	esac
   1996 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1997       done | sort
   1998       echo
   1999     fi
   2000 
   2001     if test -s confdefs.h; then
   2002       printf "%s\n" "## ----------- ##
   2003 ## confdefs.h. ##
   2004 ## ----------- ##"
   2005       echo
   2006       cat confdefs.h
   2007       echo
   2008     fi
   2009     test "$ac_signal" != 0 &&
   2010       printf "%s\n" "$as_me: caught signal $ac_signal"
   2011     printf "%s\n" "$as_me: exit $exit_status"
   2012   } >&5
   2013   rm -f core *.core core.conftest.* &&
   2014     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2015     exit $exit_status
   2016 ' 0
   2017 for ac_signal in 1 2 13 15; do
   2018   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2019 done
   2020 ac_signal=0
   2021 
   2022 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2023 rm -f -r conftest* confdefs.h
   2024 
   2025 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2026 
   2027 # Predefined preprocessor variables.
   2028 
   2029 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2030 
   2031 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2032 
   2033 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2034 
   2035 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2036 
   2037 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2038 
   2039 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2040 
   2041 
   2042 # Let the site file select an alternate cache file if it wants to.
   2043 # Prefer an explicitly selected file to automatically selected ones.
   2044 if test -n "$CONFIG_SITE"; then
   2045   ac_site_files="$CONFIG_SITE"
   2046 elif test "x$prefix" != xNONE; then
   2047   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2048 else
   2049   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2050 fi
   2051 
   2052 for ac_site_file in $ac_site_files
   2053 do
   2054   case $ac_site_file in #(
   2055   */*) :
   2056      ;; #(
   2057   *) :
   2058     ac_site_file=./$ac_site_file ;;
   2059 esac
   2060   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2061     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2062 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2063     sed 's/^/| /' "$ac_site_file" >&5
   2064     . "$ac_site_file" \
   2065       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2066 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2067 as_fn_error $? "failed to load site script $ac_site_file
   2068 See 'config.log' for more details" "$LINENO" 5; }
   2069   fi
   2070 done
   2071 
   2072 if test -r "$cache_file"; then
   2073   # Some versions of bash will fail to source /dev/null (special files
   2074   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2075   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2076     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2077 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2078     case $cache_file in
   2079       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2080       *)                      . "./$cache_file";;
   2081     esac
   2082   fi
   2083 else
   2084   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2085 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2086   >$cache_file
   2087 fi
   2088 
   2089 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2090 # Test code for whether the C compiler supports C89 (global declarations)
   2091 ac_c_conftest_c89_globals='
   2092 /* Does the compiler advertise C89 conformance?
   2093    Do not test the value of __STDC__, because some compilers set it to 0
   2094    while being otherwise adequately conformant. */
   2095 #if !defined __STDC__
   2096 # error "Compiler does not advertise C89 conformance"
   2097 #endif
   2098 
   2099 #include <stddef.h>
   2100 #include <stdarg.h>
   2101 struct stat;
   2102 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2103 struct buf { int x; };
   2104 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2105 static char *e (char **p, int i)
   2106 {
   2107   return p[i];
   2108 }
   2109 static char *f (char * (*g) (char **, int), char **p, ...)
   2110 {
   2111   char *s;
   2112   va_list v;
   2113   va_start (v,p);
   2114   s = g (p, va_arg (v,int));
   2115   va_end (v);
   2116   return s;
   2117 }
   2118 
   2119 /* C89 style stringification. */
   2120 #define noexpand_stringify(a) #a
   2121 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2122 
   2123 /* C89 style token pasting.  Exercises some of the corner cases that
   2124    e.g. old MSVC gets wrong, but not very hard. */
   2125 #define noexpand_concat(a,b) a##b
   2126 #define expand_concat(a,b) noexpand_concat(a,b)
   2127 extern int vA;
   2128 extern int vbee;
   2129 #define aye A
   2130 #define bee B
   2131 int *pvA = &expand_concat(v,aye);
   2132 int *pvbee = &noexpand_concat(v,bee);
   2133 
   2134 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2135    function prototypes and stuff, but not \xHH hex character constants.
   2136    These do not provoke an error unfortunately, instead are silently treated
   2137    as an "x".  The following induces an error, until -std is added to get
   2138    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2139    array size at least.  It is necessary to write \x00 == 0 to get something
   2140    that is true only with -std.  */
   2141 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2142 
   2143 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2144    inside strings and character constants.  */
   2145 #define FOO(x) '\''x'\''
   2146 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2147 
   2148 int test (int i, double x);
   2149 struct s1 {int (*f) (int a);};
   2150 struct s2 {int (*f) (double a);};
   2151 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2152                int, int);'
   2153 
   2154 # Test code for whether the C compiler supports C89 (body of main).
   2155 ac_c_conftest_c89_main='
   2156 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2157 '
   2158 
   2159 # Test code for whether the C compiler supports C99 (global declarations)
   2160 ac_c_conftest_c99_globals='
   2161 /* Does the compiler advertise C99 conformance? */
   2162 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2163 # error "Compiler does not advertise C99 conformance"
   2164 #endif
   2165 
   2166 // See if C++-style comments work.
   2167 
   2168 #include <stdbool.h>
   2169 extern int puts (const char *);
   2170 extern int printf (const char *, ...);
   2171 extern int dprintf (int, const char *, ...);
   2172 extern void *malloc (size_t);
   2173 extern void free (void *);
   2174 
   2175 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2176 // dprintf is used instead of fprintf to avoid needing to declare
   2177 // FILE and stderr.
   2178 #define debug(...) dprintf (2, __VA_ARGS__)
   2179 #define showlist(...) puts (#__VA_ARGS__)
   2180 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2181 static void
   2182 test_varargs_macros (void)
   2183 {
   2184   int x = 1234;
   2185   int y = 5678;
   2186   debug ("Flag");
   2187   debug ("X = %d\n", x);
   2188   showlist (The first, second, and third items.);
   2189   report (x>y, "x is %d but y is %d", x, y);
   2190 }
   2191 
   2192 // Check long long types.
   2193 #define BIG64 18446744073709551615ull
   2194 #define BIG32 4294967295ul
   2195 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2196 #if !BIG_OK
   2197   #error "your preprocessor is broken"
   2198 #endif
   2199 #if BIG_OK
   2200 #else
   2201   #error "your preprocessor is broken"
   2202 #endif
   2203 static long long int bignum = -9223372036854775807LL;
   2204 static unsigned long long int ubignum = BIG64;
   2205 
   2206 struct incomplete_array
   2207 {
   2208   int datasize;
   2209   double data[];
   2210 };
   2211 
   2212 struct named_init {
   2213   int number;
   2214   const wchar_t *name;
   2215   double average;
   2216 };
   2217 
   2218 typedef const char *ccp;
   2219 
   2220 static inline int
   2221 test_restrict (ccp restrict text)
   2222 {
   2223   // Iterate through items via the restricted pointer.
   2224   // Also check for declarations in for loops.
   2225   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2226     continue;
   2227   return 0;
   2228 }
   2229 
   2230 // Check varargs and va_copy.
   2231 static bool
   2232 test_varargs (const char *format, ...)
   2233 {
   2234   va_list args;
   2235   va_start (args, format);
   2236   va_list args_copy;
   2237   va_copy (args_copy, args);
   2238 
   2239   const char *str = "";
   2240   int number = 0;
   2241   float fnumber = 0;
   2242 
   2243   while (*format)
   2244     {
   2245       switch (*format++)
   2246 	{
   2247 	case '\''s'\'': // string
   2248 	  str = va_arg (args_copy, const char *);
   2249 	  break;
   2250 	case '\''d'\'': // int
   2251 	  number = va_arg (args_copy, int);
   2252 	  break;
   2253 	case '\''f'\'': // float
   2254 	  fnumber = va_arg (args_copy, double);
   2255 	  break;
   2256 	default:
   2257 	  break;
   2258 	}
   2259     }
   2260   va_end (args_copy);
   2261   va_end (args);
   2262 
   2263   return *str && number && fnumber;
   2264 }
   2265 '
   2266 
   2267 # Test code for whether the C compiler supports C99 (body of main).
   2268 ac_c_conftest_c99_main='
   2269   // Check bool.
   2270   _Bool success = false;
   2271   success |= (argc != 0);
   2272 
   2273   // Check restrict.
   2274   if (test_restrict ("String literal") == 0)
   2275     success = true;
   2276   char *restrict newvar = "Another string";
   2277 
   2278   // Check varargs.
   2279   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2280   test_varargs_macros ();
   2281 
   2282   // Check flexible array members.
   2283   struct incomplete_array *ia =
   2284     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2285   ia->datasize = 10;
   2286   for (int i = 0; i < ia->datasize; ++i)
   2287     ia->data[i] = i * 1.234;
   2288   // Work around memory leak warnings.
   2289   free (ia);
   2290 
   2291   // Check named initializers.
   2292   struct named_init ni = {
   2293     .number = 34,
   2294     .name = L"Test wide string",
   2295     .average = 543.34343,
   2296   };
   2297 
   2298   ni.number = 58;
   2299 
   2300   int dynamic_array[ni.number];
   2301   dynamic_array[0] = argv[0][0];
   2302   dynamic_array[ni.number - 1] = 543;
   2303 
   2304   // work around unused variable warnings
   2305   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2306 	 || dynamic_array[ni.number - 1] != 543);
   2307 '
   2308 
   2309 # Test code for whether the C compiler supports C11 (global declarations)
   2310 ac_c_conftest_c11_globals='
   2311 /* Does the compiler advertise C11 conformance? */
   2312 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2313 # error "Compiler does not advertise C11 conformance"
   2314 #endif
   2315 
   2316 // Check _Alignas.
   2317 char _Alignas (double) aligned_as_double;
   2318 char _Alignas (0) no_special_alignment;
   2319 extern char aligned_as_int;
   2320 char _Alignas (0) _Alignas (int) aligned_as_int;
   2321 
   2322 // Check _Alignof.
   2323 enum
   2324 {
   2325   int_alignment = _Alignof (int),
   2326   int_array_alignment = _Alignof (int[100]),
   2327   char_alignment = _Alignof (char)
   2328 };
   2329 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2330 
   2331 // Check _Noreturn.
   2332 int _Noreturn does_not_return (void) { for (;;) continue; }
   2333 
   2334 // Check _Static_assert.
   2335 struct test_static_assert
   2336 {
   2337   int x;
   2338   _Static_assert (sizeof (int) <= sizeof (long int),
   2339                   "_Static_assert does not work in struct");
   2340   long int y;
   2341 };
   2342 
   2343 // Check UTF-8 literals.
   2344 #define u8 syntax error!
   2345 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2346 
   2347 // Check duplicate typedefs.
   2348 typedef long *long_ptr;
   2349 typedef long int *long_ptr;
   2350 typedef long_ptr long_ptr;
   2351 
   2352 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2353 struct anonymous
   2354 {
   2355   union {
   2356     struct { int i; int j; };
   2357     struct { int k; long int l; } w;
   2358   };
   2359   int m;
   2360 } v1;
   2361 '
   2362 
   2363 # Test code for whether the C compiler supports C11 (body of main).
   2364 ac_c_conftest_c11_main='
   2365   _Static_assert ((offsetof (struct anonymous, i)
   2366 		   == offsetof (struct anonymous, w.k)),
   2367 		  "Anonymous union alignment botch");
   2368   v1.i = 2;
   2369   v1.w.k = 5;
   2370   ok |= v1.i != 5;
   2371 '
   2372 
   2373 # Test code for whether the C compiler supports C11 (complete).
   2374 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2375 ${ac_c_conftest_c99_globals}
   2376 ${ac_c_conftest_c11_globals}
   2377 
   2378 int
   2379 main (int argc, char **argv)
   2380 {
   2381   int ok = 0;
   2382   ${ac_c_conftest_c89_main}
   2383   ${ac_c_conftest_c99_main}
   2384   ${ac_c_conftest_c11_main}
   2385   return ok;
   2386 }
   2387 "
   2388 
   2389 # Test code for whether the C compiler supports C99 (complete).
   2390 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2391 ${ac_c_conftest_c99_globals}
   2392 
   2393 int
   2394 main (int argc, char **argv)
   2395 {
   2396   int ok = 0;
   2397   ${ac_c_conftest_c89_main}
   2398   ${ac_c_conftest_c99_main}
   2399   return ok;
   2400 }
   2401 "
   2402 
   2403 # Test code for whether the C compiler supports C89 (complete).
   2404 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2405 
   2406 int
   2407 main (int argc, char **argv)
   2408 {
   2409   int ok = 0;
   2410   ${ac_c_conftest_c89_main}
   2411   return ok;
   2412 }
   2413 "
   2414 
   2415 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2416 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2417 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2418 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2419 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2420 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2421 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2422 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2423 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2424 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2425 
   2426 # Auxiliary files required by this configure script.
   2427 ac_aux_files="config.guess config.sub missing install-sh compile"
   2428 
   2429 # Locations in which to look for auxiliary files.
   2430 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2431 
   2432 # Search for a directory containing all of the required auxiliary files,
   2433 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2434 # If we don't find one directory that contains all the files we need,
   2435 # we report the set of missing files from the *first* directory in
   2436 # $ac_aux_dir_candidates and give up.
   2437 ac_missing_aux_files=""
   2438 ac_first_candidate=:
   2439 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2441 as_found=false
   2442 for as_dir in $ac_aux_dir_candidates
   2443 do
   2444   IFS=$as_save_IFS
   2445   case $as_dir in #(((
   2446     '') as_dir=./ ;;
   2447     */) ;;
   2448     *) as_dir=$as_dir/ ;;
   2449   esac
   2450   as_found=:
   2451 
   2452   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2453   ac_aux_dir_found=yes
   2454   ac_install_sh=
   2455   for ac_aux in $ac_aux_files
   2456   do
   2457     # As a special case, if "install-sh" is required, that requirement
   2458     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2459     # and $ac_install_sh is set appropriately for whichever one is found.
   2460     if test x"$ac_aux" = x"install-sh"
   2461     then
   2462       if test -f "${as_dir}install-sh"; then
   2463         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2464         ac_install_sh="${as_dir}install-sh -c"
   2465       elif test -f "${as_dir}install.sh"; then
   2466         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2467         ac_install_sh="${as_dir}install.sh -c"
   2468       elif test -f "${as_dir}shtool"; then
   2469         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2470         ac_install_sh="${as_dir}shtool install -c"
   2471       else
   2472         ac_aux_dir_found=no
   2473         if $ac_first_candidate; then
   2474           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2475         else
   2476           break
   2477         fi
   2478       fi
   2479     else
   2480       if test -f "${as_dir}${ac_aux}"; then
   2481         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2482       else
   2483         ac_aux_dir_found=no
   2484         if $ac_first_candidate; then
   2485           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2486         else
   2487           break
   2488         fi
   2489       fi
   2490     fi
   2491   done
   2492   if test "$ac_aux_dir_found" = yes; then
   2493     ac_aux_dir="$as_dir"
   2494     break
   2495   fi
   2496   ac_first_candidate=false
   2497 
   2498   as_found=false
   2499 done
   2500 IFS=$as_save_IFS
   2501 if $as_found
   2502 then :
   2503 
   2504 else case e in #(
   2505   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2506 esac
   2507 fi
   2508 
   2509 
   2510 # These three variables are undocumented and unsupported,
   2511 # and are intended to be withdrawn in a future Autoconf release.
   2512 # They can cause serious problems if a builder's source tree is in a directory
   2513 # whose full name contains unusual characters.
   2514 if test -f "${ac_aux_dir}config.guess"; then
   2515   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2516 fi
   2517 if test -f "${ac_aux_dir}config.sub"; then
   2518   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2519 fi
   2520 if test -f "$ac_aux_dir/configure"; then
   2521   ac_configure="$SHELL ${ac_aux_dir}configure"
   2522 fi
   2523 
   2524 # Check that the precious variables saved in the cache have kept the same
   2525 # value.
   2526 ac_cache_corrupted=false
   2527 for ac_var in $ac_precious_vars; do
   2528   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2529   eval ac_new_set=\$ac_env_${ac_var}_set
   2530   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2531   eval ac_new_val=\$ac_env_${ac_var}_value
   2532   case $ac_old_set,$ac_new_set in
   2533     set,)
   2534       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2535 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2536       ac_cache_corrupted=: ;;
   2537     ,set)
   2538       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2539 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2540       ac_cache_corrupted=: ;;
   2541     ,);;
   2542     *)
   2543       if test "x$ac_old_val" != "x$ac_new_val"; then
   2544 	# differences in whitespace do not lead to failure.
   2545 	ac_old_val_w=`echo x $ac_old_val`
   2546 	ac_new_val_w=`echo x $ac_new_val`
   2547 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2548 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2549 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2550 	  ac_cache_corrupted=:
   2551 	else
   2552 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2553 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2554 	  eval $ac_var=\$ac_old_val
   2555 	fi
   2556 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2557 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2558 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2559 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2560       fi;;
   2561   esac
   2562   # Pass precious variables to config.status.
   2563   if test "$ac_new_set" = set; then
   2564     case $ac_new_val in
   2565     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2566     *) ac_arg=$ac_var=$ac_new_val ;;
   2567     esac
   2568     case " $ac_configure_args " in
   2569       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2570       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2571     esac
   2572   fi
   2573 done
   2574 if $ac_cache_corrupted; then
   2575   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2576 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2577   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2578 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2579   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2580 	    and start over" "$LINENO" 5
   2581 fi
   2582 ## -------------------- ##
   2583 ## Main body of script. ##
   2584 ## -------------------- ##
   2585 
   2586 ac_ext=c
   2587 ac_cpp='$CPP $CPPFLAGS'
   2588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2591 
   2592 
   2593 
   2594 ac_config_headers="$ac_config_headers config.h"
   2595 
   2596 
   2597 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   2598 # Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL)
   2599 # to avoid autoconf errors.
   2600 
   2601 
   2602 
   2603 
   2604 
   2605 
   2606 
   2607 
   2608 
   2609 
   2610 
   2611 # Expand $ac_aux_dir to an absolute path.
   2612 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2613 
   2614 ac_ext=c
   2615 ac_cpp='$CPP $CPPFLAGS'
   2616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2619 if test -n "$ac_tool_prefix"; then
   2620   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2621 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2623 printf %s "checking for $ac_word... " >&6; }
   2624 if test ${ac_cv_prog_CC+y}
   2625 then :
   2626   printf %s "(cached) " >&6
   2627 else case e in #(
   2628   e) if test -n "$CC"; then
   2629   ac_cv_prog_CC="$CC" # Let the user override the test.
   2630 else
   2631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2632 for as_dir in $PATH
   2633 do
   2634   IFS=$as_save_IFS
   2635   case $as_dir in #(((
   2636     '') as_dir=./ ;;
   2637     */) ;;
   2638     *) as_dir=$as_dir/ ;;
   2639   esac
   2640     for ac_exec_ext in '' $ac_executable_extensions; do
   2641   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2642     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2643     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2644     break 2
   2645   fi
   2646 done
   2647   done
   2648 IFS=$as_save_IFS
   2649 
   2650 fi ;;
   2651 esac
   2652 fi
   2653 CC=$ac_cv_prog_CC
   2654 if test -n "$CC"; then
   2655   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2656 printf "%s\n" "$CC" >&6; }
   2657 else
   2658   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2659 printf "%s\n" "no" >&6; }
   2660 fi
   2661 
   2662 
   2663 fi
   2664 if test -z "$ac_cv_prog_CC"; then
   2665   ac_ct_CC=$CC
   2666   # Extract the first word of "gcc", so it can be a program name with args.
   2667 set dummy gcc; ac_word=$2
   2668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2669 printf %s "checking for $ac_word... " >&6; }
   2670 if test ${ac_cv_prog_ac_ct_CC+y}
   2671 then :
   2672   printf %s "(cached) " >&6
   2673 else case e in #(
   2674   e) if test -n "$ac_ct_CC"; then
   2675   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2676 else
   2677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2678 for as_dir in $PATH
   2679 do
   2680   IFS=$as_save_IFS
   2681   case $as_dir in #(((
   2682     '') as_dir=./ ;;
   2683     */) ;;
   2684     *) as_dir=$as_dir/ ;;
   2685   esac
   2686     for ac_exec_ext in '' $ac_executable_extensions; do
   2687   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2688     ac_cv_prog_ac_ct_CC="gcc"
   2689     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2690     break 2
   2691   fi
   2692 done
   2693   done
   2694 IFS=$as_save_IFS
   2695 
   2696 fi ;;
   2697 esac
   2698 fi
   2699 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2700 if test -n "$ac_ct_CC"; then
   2701   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2702 printf "%s\n" "$ac_ct_CC" >&6; }
   2703 else
   2704   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2705 printf "%s\n" "no" >&6; }
   2706 fi
   2707 
   2708   if test "x$ac_ct_CC" = x; then
   2709     CC=""
   2710   else
   2711     case $cross_compiling:$ac_tool_warned in
   2712 yes:)
   2713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2714 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2715 ac_tool_warned=yes ;;
   2716 esac
   2717     CC=$ac_ct_CC
   2718   fi
   2719 else
   2720   CC="$ac_cv_prog_CC"
   2721 fi
   2722 
   2723 if test -z "$CC"; then
   2724           if test -n "$ac_tool_prefix"; then
   2725     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2726 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2728 printf %s "checking for $ac_word... " >&6; }
   2729 if test ${ac_cv_prog_CC+y}
   2730 then :
   2731   printf %s "(cached) " >&6
   2732 else case e in #(
   2733   e) if test -n "$CC"; then
   2734   ac_cv_prog_CC="$CC" # Let the user override the test.
   2735 else
   2736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2737 for as_dir in $PATH
   2738 do
   2739   IFS=$as_save_IFS
   2740   case $as_dir in #(((
   2741     '') as_dir=./ ;;
   2742     */) ;;
   2743     *) as_dir=$as_dir/ ;;
   2744   esac
   2745     for ac_exec_ext in '' $ac_executable_extensions; do
   2746   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2747     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2748     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2749     break 2
   2750   fi
   2751 done
   2752   done
   2753 IFS=$as_save_IFS
   2754 
   2755 fi ;;
   2756 esac
   2757 fi
   2758 CC=$ac_cv_prog_CC
   2759 if test -n "$CC"; then
   2760   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2761 printf "%s\n" "$CC" >&6; }
   2762 else
   2763   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2764 printf "%s\n" "no" >&6; }
   2765 fi
   2766 
   2767 
   2768   fi
   2769 fi
   2770 if test -z "$CC"; then
   2771   # Extract the first word of "cc", so it can be a program name with args.
   2772 set dummy cc; ac_word=$2
   2773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2774 printf %s "checking for $ac_word... " >&6; }
   2775 if test ${ac_cv_prog_CC+y}
   2776 then :
   2777   printf %s "(cached) " >&6
   2778 else case e in #(
   2779   e) if test -n "$CC"; then
   2780   ac_cv_prog_CC="$CC" # Let the user override the test.
   2781 else
   2782   ac_prog_rejected=no
   2783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2784 for as_dir in $PATH
   2785 do
   2786   IFS=$as_save_IFS
   2787   case $as_dir in #(((
   2788     '') as_dir=./ ;;
   2789     */) ;;
   2790     *) as_dir=$as_dir/ ;;
   2791   esac
   2792     for ac_exec_ext in '' $ac_executable_extensions; do
   2793   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2794     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2795        ac_prog_rejected=yes
   2796        continue
   2797      fi
   2798     ac_cv_prog_CC="cc"
   2799     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2800     break 2
   2801   fi
   2802 done
   2803   done
   2804 IFS=$as_save_IFS
   2805 
   2806 if test $ac_prog_rejected = yes; then
   2807   # We found a bogon in the path, so make sure we never use it.
   2808   set dummy $ac_cv_prog_CC
   2809   shift
   2810   if test $# != 0; then
   2811     # We chose a different compiler from the bogus one.
   2812     # However, it has the same basename, so the bogon will be chosen
   2813     # first if we set CC to just the basename; use the full file name.
   2814     shift
   2815     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   2816   fi
   2817 fi
   2818 fi ;;
   2819 esac
   2820 fi
   2821 CC=$ac_cv_prog_CC
   2822 if test -n "$CC"; then
   2823   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2824 printf "%s\n" "$CC" >&6; }
   2825 else
   2826   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2827 printf "%s\n" "no" >&6; }
   2828 fi
   2829 
   2830 
   2831 fi
   2832 if test -z "$CC"; then
   2833   if test -n "$ac_tool_prefix"; then
   2834   for ac_prog in cl.exe
   2835   do
   2836     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2837 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2839 printf %s "checking for $ac_word... " >&6; }
   2840 if test ${ac_cv_prog_CC+y}
   2841 then :
   2842   printf %s "(cached) " >&6
   2843 else case e in #(
   2844   e) if test -n "$CC"; then
   2845   ac_cv_prog_CC="$CC" # Let the user override the test.
   2846 else
   2847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2848 for as_dir in $PATH
   2849 do
   2850   IFS=$as_save_IFS
   2851   case $as_dir in #(((
   2852     '') as_dir=./ ;;
   2853     */) ;;
   2854     *) as_dir=$as_dir/ ;;
   2855   esac
   2856     for ac_exec_ext in '' $ac_executable_extensions; do
   2857   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2858     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2859     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2860     break 2
   2861   fi
   2862 done
   2863   done
   2864 IFS=$as_save_IFS
   2865 
   2866 fi ;;
   2867 esac
   2868 fi
   2869 CC=$ac_cv_prog_CC
   2870 if test -n "$CC"; then
   2871   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2872 printf "%s\n" "$CC" >&6; }
   2873 else
   2874   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2875 printf "%s\n" "no" >&6; }
   2876 fi
   2877 
   2878 
   2879     test -n "$CC" && break
   2880   done
   2881 fi
   2882 if test -z "$CC"; then
   2883   ac_ct_CC=$CC
   2884   for ac_prog in cl.exe
   2885 do
   2886   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2887 set dummy $ac_prog; ac_word=$2
   2888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2889 printf %s "checking for $ac_word... " >&6; }
   2890 if test ${ac_cv_prog_ac_ct_CC+y}
   2891 then :
   2892   printf %s "(cached) " >&6
   2893 else case e in #(
   2894   e) if test -n "$ac_ct_CC"; then
   2895   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2896 else
   2897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2898 for as_dir in $PATH
   2899 do
   2900   IFS=$as_save_IFS
   2901   case $as_dir in #(((
   2902     '') as_dir=./ ;;
   2903     */) ;;
   2904     *) as_dir=$as_dir/ ;;
   2905   esac
   2906     for ac_exec_ext in '' $ac_executable_extensions; do
   2907   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2908     ac_cv_prog_ac_ct_CC="$ac_prog"
   2909     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2910     break 2
   2911   fi
   2912 done
   2913   done
   2914 IFS=$as_save_IFS
   2915 
   2916 fi ;;
   2917 esac
   2918 fi
   2919 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2920 if test -n "$ac_ct_CC"; then
   2921   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2922 printf "%s\n" "$ac_ct_CC" >&6; }
   2923 else
   2924   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2925 printf "%s\n" "no" >&6; }
   2926 fi
   2927 
   2928 
   2929   test -n "$ac_ct_CC" && break
   2930 done
   2931 
   2932   if test "x$ac_ct_CC" = x; then
   2933     CC=""
   2934   else
   2935     case $cross_compiling:$ac_tool_warned in
   2936 yes:)
   2937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2938 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2939 ac_tool_warned=yes ;;
   2940 esac
   2941     CC=$ac_ct_CC
   2942   fi
   2943 fi
   2944 
   2945 fi
   2946 if test -z "$CC"; then
   2947   if test -n "$ac_tool_prefix"; then
   2948   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   2949 set dummy ${ac_tool_prefix}clang; ac_word=$2
   2950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2951 printf %s "checking for $ac_word... " >&6; }
   2952 if test ${ac_cv_prog_CC+y}
   2953 then :
   2954   printf %s "(cached) " >&6
   2955 else case e in #(
   2956   e) if test -n "$CC"; then
   2957   ac_cv_prog_CC="$CC" # Let the user override the test.
   2958 else
   2959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2960 for as_dir in $PATH
   2961 do
   2962   IFS=$as_save_IFS
   2963   case $as_dir in #(((
   2964     '') as_dir=./ ;;
   2965     */) ;;
   2966     *) as_dir=$as_dir/ ;;
   2967   esac
   2968     for ac_exec_ext in '' $ac_executable_extensions; do
   2969   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2970     ac_cv_prog_CC="${ac_tool_prefix}clang"
   2971     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2972     break 2
   2973   fi
   2974 done
   2975   done
   2976 IFS=$as_save_IFS
   2977 
   2978 fi ;;
   2979 esac
   2980 fi
   2981 CC=$ac_cv_prog_CC
   2982 if test -n "$CC"; then
   2983   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2984 printf "%s\n" "$CC" >&6; }
   2985 else
   2986   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2987 printf "%s\n" "no" >&6; }
   2988 fi
   2989 
   2990 
   2991 fi
   2992 if test -z "$ac_cv_prog_CC"; then
   2993   ac_ct_CC=$CC
   2994   # Extract the first word of "clang", so it can be a program name with args.
   2995 set dummy clang; ac_word=$2
   2996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2997 printf %s "checking for $ac_word... " >&6; }
   2998 if test ${ac_cv_prog_ac_ct_CC+y}
   2999 then :
   3000   printf %s "(cached) " >&6
   3001 else case e in #(
   3002   e) if test -n "$ac_ct_CC"; then
   3003   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3004 else
   3005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3006 for as_dir in $PATH
   3007 do
   3008   IFS=$as_save_IFS
   3009   case $as_dir in #(((
   3010     '') as_dir=./ ;;
   3011     */) ;;
   3012     *) as_dir=$as_dir/ ;;
   3013   esac
   3014     for ac_exec_ext in '' $ac_executable_extensions; do
   3015   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3016     ac_cv_prog_ac_ct_CC="clang"
   3017     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3018     break 2
   3019   fi
   3020 done
   3021   done
   3022 IFS=$as_save_IFS
   3023 
   3024 fi ;;
   3025 esac
   3026 fi
   3027 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3028 if test -n "$ac_ct_CC"; then
   3029   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3030 printf "%s\n" "$ac_ct_CC" >&6; }
   3031 else
   3032   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3033 printf "%s\n" "no" >&6; }
   3034 fi
   3035 
   3036   if test "x$ac_ct_CC" = x; then
   3037     CC=""
   3038   else
   3039     case $cross_compiling:$ac_tool_warned in
   3040 yes:)
   3041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3042 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3043 ac_tool_warned=yes ;;
   3044 esac
   3045     CC=$ac_ct_CC
   3046   fi
   3047 else
   3048   CC="$ac_cv_prog_CC"
   3049 fi
   3050 
   3051 fi
   3052 
   3053 
   3054 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3055 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3056 as_fn_error $? "no acceptable C compiler found in \$PATH
   3057 See 'config.log' for more details" "$LINENO" 5; }
   3058 
   3059 # Provide some information about the compiler.
   3060 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3061 set X $ac_compile
   3062 ac_compiler=$2
   3063 for ac_option in --version -v -V -qversion -version; do
   3064   { { ac_try="$ac_compiler $ac_option >&5"
   3065 case "(($ac_try" in
   3066   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3067   *) ac_try_echo=$ac_try;;
   3068 esac
   3069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3070 printf "%s\n" "$ac_try_echo"; } >&5
   3071   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3072   ac_status=$?
   3073   if test -s conftest.err; then
   3074     sed '10a\
   3075 ... rest of stderr output deleted ...
   3076          10q' conftest.err >conftest.er1
   3077     cat conftest.er1 >&5
   3078   fi
   3079   rm -f conftest.er1 conftest.err
   3080   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3081   test $ac_status = 0; }
   3082 done
   3083 
   3084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3085 /* end confdefs.h.  */
   3086 
   3087 int
   3088 main (void)
   3089 {
   3090 
   3091   ;
   3092   return 0;
   3093 }
   3094 _ACEOF
   3095 ac_clean_files_save=$ac_clean_files
   3096 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3097 # Try to create an executable without -o first, disregard a.out.
   3098 # It will help us diagnose broken compilers, and finding out an intuition
   3099 # of exeext.
   3100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3101 printf %s "checking whether the C compiler works... " >&6; }
   3102 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3103 
   3104 # The possible output files:
   3105 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3106 
   3107 ac_rmfiles=
   3108 for ac_file in $ac_files
   3109 do
   3110   case $ac_file in
   3111     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3112     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3113   esac
   3114 done
   3115 rm -f $ac_rmfiles
   3116 
   3117 if { { ac_try="$ac_link_default"
   3118 case "(($ac_try" in
   3119   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3120   *) ac_try_echo=$ac_try;;
   3121 esac
   3122 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3123 printf "%s\n" "$ac_try_echo"; } >&5
   3124   (eval "$ac_link_default") 2>&5
   3125   ac_status=$?
   3126   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3127   test $ac_status = 0; }
   3128 then :
   3129   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3130 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3131 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3132 # so that the user can short-circuit this test for compilers unknown to
   3133 # Autoconf.
   3134 for ac_file in $ac_files ''
   3135 do
   3136   test -f "$ac_file" || continue
   3137   case $ac_file in
   3138     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3139 	;;
   3140     [ab].out )
   3141 	# We found the default executable, but exeext='' is most
   3142 	# certainly right.
   3143 	break;;
   3144     *.* )
   3145 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3146 	then :; else
   3147 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3148 	fi
   3149 	# We set ac_cv_exeext here because the later test for it is not
   3150 	# safe: cross compilers may not add the suffix if given an '-o'
   3151 	# argument, so we may need to know it at that point already.
   3152 	# Even if this section looks crufty: it has the advantage of
   3153 	# actually working.
   3154 	break;;
   3155     * )
   3156 	break;;
   3157   esac
   3158 done
   3159 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3160 
   3161 else case e in #(
   3162   e) ac_file='' ;;
   3163 esac
   3164 fi
   3165 if test -z "$ac_file"
   3166 then :
   3167   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3168 printf "%s\n" "no" >&6; }
   3169 printf "%s\n" "$as_me: failed program was:" >&5
   3170 sed 's/^/| /' conftest.$ac_ext >&5
   3171 
   3172 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3173 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3174 as_fn_error 77 "C compiler cannot create executables
   3175 See 'config.log' for more details" "$LINENO" 5; }
   3176 else case e in #(
   3177   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3178 printf "%s\n" "yes" >&6; } ;;
   3179 esac
   3180 fi
   3181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3182 printf %s "checking for C compiler default output file name... " >&6; }
   3183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3184 printf "%s\n" "$ac_file" >&6; }
   3185 ac_exeext=$ac_cv_exeext
   3186 
   3187 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3188 ac_clean_files=$ac_clean_files_save
   3189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3190 printf %s "checking for suffix of executables... " >&6; }
   3191 if { { ac_try="$ac_link"
   3192 case "(($ac_try" in
   3193   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3194   *) ac_try_echo=$ac_try;;
   3195 esac
   3196 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3197 printf "%s\n" "$ac_try_echo"; } >&5
   3198   (eval "$ac_link") 2>&5
   3199   ac_status=$?
   3200   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3201   test $ac_status = 0; }
   3202 then :
   3203   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3204 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3205 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3206 # 'rm'.
   3207 for ac_file in conftest.exe conftest conftest.*; do
   3208   test -f "$ac_file" || continue
   3209   case $ac_file in
   3210     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3211     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3212 	  break;;
   3213     * ) break;;
   3214   esac
   3215 done
   3216 else case e in #(
   3217   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3218 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3219 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3220 See 'config.log' for more details" "$LINENO" 5; } ;;
   3221 esac
   3222 fi
   3223 rm -f conftest conftest$ac_cv_exeext
   3224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3225 printf "%s\n" "$ac_cv_exeext" >&6; }
   3226 
   3227 rm -f conftest.$ac_ext
   3228 EXEEXT=$ac_cv_exeext
   3229 ac_exeext=$EXEEXT
   3230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3231 /* end confdefs.h.  */
   3232 #include <stdio.h>
   3233 int
   3234 main (void)
   3235 {
   3236 FILE *f = fopen ("conftest.out", "w");
   3237  if (!f)
   3238   return 1;
   3239  return ferror (f) || fclose (f) != 0;
   3240 
   3241   ;
   3242   return 0;
   3243 }
   3244 _ACEOF
   3245 ac_clean_files="$ac_clean_files conftest.out"
   3246 # Check that the compiler produces executables we can run.  If not, either
   3247 # the compiler is broken, or we cross compile.
   3248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3249 printf %s "checking whether we are cross compiling... " >&6; }
   3250 if test "$cross_compiling" != yes; then
   3251   { { ac_try="$ac_link"
   3252 case "(($ac_try" in
   3253   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3254   *) ac_try_echo=$ac_try;;
   3255 esac
   3256 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3257 printf "%s\n" "$ac_try_echo"; } >&5
   3258   (eval "$ac_link") 2>&5
   3259   ac_status=$?
   3260   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3261   test $ac_status = 0; }
   3262   if { ac_try='./conftest$ac_cv_exeext'
   3263   { { case "(($ac_try" in
   3264   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3265   *) ac_try_echo=$ac_try;;
   3266 esac
   3267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3268 printf "%s\n" "$ac_try_echo"; } >&5
   3269   (eval "$ac_try") 2>&5
   3270   ac_status=$?
   3271   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3272   test $ac_status = 0; }; }; then
   3273     cross_compiling=no
   3274   else
   3275     if test "$cross_compiling" = maybe; then
   3276 	cross_compiling=yes
   3277     else
   3278 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3279 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3280 as_fn_error 77 "cannot run C compiled programs.
   3281 If you meant to cross compile, use '--host'.
   3282 See 'config.log' for more details" "$LINENO" 5; }
   3283     fi
   3284   fi
   3285 fi
   3286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3287 printf "%s\n" "$cross_compiling" >&6; }
   3288 
   3289 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   3290   conftest.o conftest.obj conftest.out
   3291 ac_clean_files=$ac_clean_files_save
   3292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3293 printf %s "checking for suffix of object files... " >&6; }
   3294 if test ${ac_cv_objext+y}
   3295 then :
   3296   printf %s "(cached) " >&6
   3297 else case e in #(
   3298   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3299 /* end confdefs.h.  */
   3300 
   3301 int
   3302 main (void)
   3303 {
   3304 
   3305   ;
   3306   return 0;
   3307 }
   3308 _ACEOF
   3309 rm -f conftest.o conftest.obj
   3310 if { { ac_try="$ac_compile"
   3311 case "(($ac_try" in
   3312   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3313   *) ac_try_echo=$ac_try;;
   3314 esac
   3315 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3316 printf "%s\n" "$ac_try_echo"; } >&5
   3317   (eval "$ac_compile") 2>&5
   3318   ac_status=$?
   3319   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3320   test $ac_status = 0; }
   3321 then :
   3322   for ac_file in conftest.o conftest.obj conftest.*; do
   3323   test -f "$ac_file" || continue;
   3324   case $ac_file in
   3325     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3326     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3327        break;;
   3328   esac
   3329 done
   3330 else case e in #(
   3331   e) printf "%s\n" "$as_me: failed program was:" >&5
   3332 sed 's/^/| /' conftest.$ac_ext >&5
   3333 
   3334 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3335 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3336 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3337 See 'config.log' for more details" "$LINENO" 5; } ;;
   3338 esac
   3339 fi
   3340 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   3341 esac
   3342 fi
   3343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3344 printf "%s\n" "$ac_cv_objext" >&6; }
   3345 OBJEXT=$ac_cv_objext
   3346 ac_objext=$OBJEXT
   3347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3348 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3349 if test ${ac_cv_c_compiler_gnu+y}
   3350 then :
   3351   printf %s "(cached) " >&6
   3352 else case e in #(
   3353   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3354 /* end confdefs.h.  */
   3355 
   3356 int
   3357 main (void)
   3358 {
   3359 #ifndef __GNUC__
   3360        choke me
   3361 #endif
   3362 
   3363   ;
   3364   return 0;
   3365 }
   3366 _ACEOF
   3367 if ac_fn_c_try_compile "$LINENO"
   3368 then :
   3369   ac_compiler_gnu=yes
   3370 else case e in #(
   3371   e) ac_compiler_gnu=no ;;
   3372 esac
   3373 fi
   3374 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3375 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3376  ;;
   3377 esac
   3378 fi
   3379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3380 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3382 
   3383 if test $ac_compiler_gnu = yes; then
   3384   GCC=yes
   3385 else
   3386   GCC=
   3387 fi
   3388 ac_test_CFLAGS=${CFLAGS+y}
   3389 ac_save_CFLAGS=$CFLAGS
   3390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3391 printf %s "checking whether $CC accepts -g... " >&6; }
   3392 if test ${ac_cv_prog_cc_g+y}
   3393 then :
   3394   printf %s "(cached) " >&6
   3395 else case e in #(
   3396   e) ac_save_c_werror_flag=$ac_c_werror_flag
   3397    ac_c_werror_flag=yes
   3398    ac_cv_prog_cc_g=no
   3399    CFLAGS="-g"
   3400    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3401 /* end confdefs.h.  */
   3402 
   3403 int
   3404 main (void)
   3405 {
   3406 
   3407   ;
   3408   return 0;
   3409 }
   3410 _ACEOF
   3411 if ac_fn_c_try_compile "$LINENO"
   3412 then :
   3413   ac_cv_prog_cc_g=yes
   3414 else case e in #(
   3415   e) CFLAGS=""
   3416       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3417 /* end confdefs.h.  */
   3418 
   3419 int
   3420 main (void)
   3421 {
   3422 
   3423   ;
   3424   return 0;
   3425 }
   3426 _ACEOF
   3427 if ac_fn_c_try_compile "$LINENO"
   3428 then :
   3429 
   3430 else case e in #(
   3431   e) ac_c_werror_flag=$ac_save_c_werror_flag
   3432 	 CFLAGS="-g"
   3433 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3434 /* end confdefs.h.  */
   3435 
   3436 int
   3437 main (void)
   3438 {
   3439 
   3440   ;
   3441   return 0;
   3442 }
   3443 _ACEOF
   3444 if ac_fn_c_try_compile "$LINENO"
   3445 then :
   3446   ac_cv_prog_cc_g=yes
   3447 fi
   3448 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3449 esac
   3450 fi
   3451 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3452 esac
   3453 fi
   3454 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3455    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   3456 esac
   3457 fi
   3458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3459 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   3460 if test $ac_test_CFLAGS; then
   3461   CFLAGS=$ac_save_CFLAGS
   3462 elif test $ac_cv_prog_cc_g = yes; then
   3463   if test "$GCC" = yes; then
   3464     CFLAGS="-g -O2"
   3465   else
   3466     CFLAGS="-g"
   3467   fi
   3468 else
   3469   if test "$GCC" = yes; then
   3470     CFLAGS="-O2"
   3471   else
   3472     CFLAGS=
   3473   fi
   3474 fi
   3475 ac_prog_cc_stdc=no
   3476 if test x$ac_prog_cc_stdc = xno
   3477 then :
   3478   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   3479 printf %s "checking for $CC option to enable C11 features... " >&6; }
   3480 if test ${ac_cv_prog_cc_c11+y}
   3481 then :
   3482   printf %s "(cached) " >&6
   3483 else case e in #(
   3484   e) ac_cv_prog_cc_c11=no
   3485 ac_save_CC=$CC
   3486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3487 /* end confdefs.h.  */
   3488 $ac_c_conftest_c11_program
   3489 _ACEOF
   3490 for ac_arg in '' -std=gnu11
   3491 do
   3492   CC="$ac_save_CC $ac_arg"
   3493   if ac_fn_c_try_compile "$LINENO"
   3494 then :
   3495   ac_cv_prog_cc_c11=$ac_arg
   3496 fi
   3497 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3498   test "x$ac_cv_prog_cc_c11" != "xno" && break
   3499 done
   3500 rm -f conftest.$ac_ext
   3501 CC=$ac_save_CC ;;
   3502 esac
   3503 fi
   3504 
   3505 if test "x$ac_cv_prog_cc_c11" = xno
   3506 then :
   3507   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3508 printf "%s\n" "unsupported" >&6; }
   3509 else case e in #(
   3510   e) if test "x$ac_cv_prog_cc_c11" = x
   3511 then :
   3512   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3513 printf "%s\n" "none needed" >&6; }
   3514 else case e in #(
   3515   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   3516 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   3517      CC="$CC $ac_cv_prog_cc_c11" ;;
   3518 esac
   3519 fi
   3520   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   3521   ac_prog_cc_stdc=c11 ;;
   3522 esac
   3523 fi
   3524 fi
   3525 if test x$ac_prog_cc_stdc = xno
   3526 then :
   3527   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   3528 printf %s "checking for $CC option to enable C99 features... " >&6; }
   3529 if test ${ac_cv_prog_cc_c99+y}
   3530 then :
   3531   printf %s "(cached) " >&6
   3532 else case e in #(
   3533   e) ac_cv_prog_cc_c99=no
   3534 ac_save_CC=$CC
   3535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3536 /* end confdefs.h.  */
   3537 $ac_c_conftest_c99_program
   3538 _ACEOF
   3539 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   3540 do
   3541   CC="$ac_save_CC $ac_arg"
   3542   if ac_fn_c_try_compile "$LINENO"
   3543 then :
   3544   ac_cv_prog_cc_c99=$ac_arg
   3545 fi
   3546 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3547   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3548 done
   3549 rm -f conftest.$ac_ext
   3550 CC=$ac_save_CC ;;
   3551 esac
   3552 fi
   3553 
   3554 if test "x$ac_cv_prog_cc_c99" = xno
   3555 then :
   3556   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3557 printf "%s\n" "unsupported" >&6; }
   3558 else case e in #(
   3559   e) if test "x$ac_cv_prog_cc_c99" = x
   3560 then :
   3561   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3562 printf "%s\n" "none needed" >&6; }
   3563 else case e in #(
   3564   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3565 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   3566      CC="$CC $ac_cv_prog_cc_c99" ;;
   3567 esac
   3568 fi
   3569   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   3570   ac_prog_cc_stdc=c99 ;;
   3571 esac
   3572 fi
   3573 fi
   3574 if test x$ac_prog_cc_stdc = xno
   3575 then :
   3576   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   3577 printf %s "checking for $CC option to enable C89 features... " >&6; }
   3578 if test ${ac_cv_prog_cc_c89+y}
   3579 then :
   3580   printf %s "(cached) " >&6
   3581 else case e in #(
   3582   e) ac_cv_prog_cc_c89=no
   3583 ac_save_CC=$CC
   3584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3585 /* end confdefs.h.  */
   3586 $ac_c_conftest_c89_program
   3587 _ACEOF
   3588 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3589 do
   3590   CC="$ac_save_CC $ac_arg"
   3591   if ac_fn_c_try_compile "$LINENO"
   3592 then :
   3593   ac_cv_prog_cc_c89=$ac_arg
   3594 fi
   3595 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3596   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3597 done
   3598 rm -f conftest.$ac_ext
   3599 CC=$ac_save_CC ;;
   3600 esac
   3601 fi
   3602 
   3603 if test "x$ac_cv_prog_cc_c89" = xno
   3604 then :
   3605   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3606 printf "%s\n" "unsupported" >&6; }
   3607 else case e in #(
   3608   e) if test "x$ac_cv_prog_cc_c89" = x
   3609 then :
   3610   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3611 printf "%s\n" "none needed" >&6; }
   3612 else case e in #(
   3613   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3614 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   3615      CC="$CC $ac_cv_prog_cc_c89" ;;
   3616 esac
   3617 fi
   3618   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   3619   ac_prog_cc_stdc=c89 ;;
   3620 esac
   3621 fi
   3622 fi
   3623 
   3624 ac_ext=c
   3625 ac_cpp='$CPP $CPPFLAGS'
   3626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3629 
   3630 
   3631   ac_ext=c
   3632 ac_cpp='$CPP $CPPFLAGS'
   3633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3637 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   3638 if test ${am_cv_prog_cc_c_o+y}
   3639 then :
   3640   printf %s "(cached) " >&6
   3641 else case e in #(
   3642   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3643 /* end confdefs.h.  */
   3644 
   3645 int
   3646 main (void)
   3647 {
   3648 
   3649   ;
   3650   return 0;
   3651 }
   3652 _ACEOF
   3653   # Make sure it works both with $CC and with simple cc.
   3654   # Following AC_PROG_CC_C_O, we do the test twice because some
   3655   # compilers refuse to overwrite an existing .o file with -o,
   3656   # though they will create one.
   3657   am_cv_prog_cc_c_o=yes
   3658   for am_i in 1 2; do
   3659     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3660    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3661    ac_status=$?
   3662    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3663    (exit $ac_status); } \
   3664          && test -f conftest2.$ac_objext; then
   3665       : OK
   3666     else
   3667       am_cv_prog_cc_c_o=no
   3668       break
   3669     fi
   3670   done
   3671   rm -f core conftest*
   3672   unset am_i ;;
   3673 esac
   3674 fi
   3675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3676 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   3677 if test "$am_cv_prog_cc_c_o" != yes; then
   3678    # Losing compiler, so override with the script.
   3679    # FIXME: It is wrong to rewrite CC.
   3680    # But if we don't then we get into trouble of one sort or another.
   3681    # A longer-term fix would be to have automake use am__CC in this case,
   3682    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3683    CC="$am_aux_dir/compile $CC"
   3684 fi
   3685 ac_ext=c
   3686 ac_cpp='$CPP $CPPFLAGS'
   3687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3690 
   3691 
   3692 
   3693 ac_header= ac_cache=
   3694 for ac_item in $ac_header_c_list
   3695 do
   3696   if test $ac_cache; then
   3697     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   3698     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   3699       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   3700     fi
   3701     ac_header= ac_cache=
   3702   elif test $ac_header; then
   3703     ac_cache=$ac_item
   3704   else
   3705     ac_header=$ac_item
   3706   fi
   3707 done
   3708 
   3709 
   3710 
   3711 
   3712 
   3713 
   3714 
   3715 
   3716 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   3717 then :
   3718 
   3719 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   3720 
   3721 fi
   3722 
   3723 
   3724 
   3725 
   3726 
   3727 
   3728   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3729 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3730 if test ${ac_cv_safe_to_define___extensions__+y}
   3731 then :
   3732   printf %s "(cached) " >&6
   3733 else case e in #(
   3734   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3735 /* end confdefs.h.  */
   3736 
   3737 #         define __EXTENSIONS__ 1
   3738           $ac_includes_default
   3739 int
   3740 main (void)
   3741 {
   3742 
   3743   ;
   3744   return 0;
   3745 }
   3746 _ACEOF
   3747 if ac_fn_c_try_compile "$LINENO"
   3748 then :
   3749   ac_cv_safe_to_define___extensions__=yes
   3750 else case e in #(
   3751   e) ac_cv_safe_to_define___extensions__=no ;;
   3752 esac
   3753 fi
   3754 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3755 esac
   3756 fi
   3757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3758 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   3759 
   3760   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   3761 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   3762 if test ${ac_cv_should_define__xopen_source+y}
   3763 then :
   3764   printf %s "(cached) " >&6
   3765 else case e in #(
   3766   e) ac_cv_should_define__xopen_source=no
   3767     if test $ac_cv_header_wchar_h = yes
   3768 then :
   3769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3770 /* end confdefs.h.  */
   3771 
   3772           #include <wchar.h>
   3773           mbstate_t x;
   3774 int
   3775 main (void)
   3776 {
   3777 
   3778   ;
   3779   return 0;
   3780 }
   3781 _ACEOF
   3782 if ac_fn_c_try_compile "$LINENO"
   3783 then :
   3784 
   3785 else case e in #(
   3786   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3787 /* end confdefs.h.  */
   3788 
   3789             #define _XOPEN_SOURCE 500
   3790             #include <wchar.h>
   3791             mbstate_t x;
   3792 int
   3793 main (void)
   3794 {
   3795 
   3796   ;
   3797   return 0;
   3798 }
   3799 _ACEOF
   3800 if ac_fn_c_try_compile "$LINENO"
   3801 then :
   3802   ac_cv_should_define__xopen_source=yes
   3803 fi
   3804 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3805 esac
   3806 fi
   3807 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3808 fi ;;
   3809 esac
   3810 fi
   3811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   3812 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   3813 
   3814   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   3815 
   3816   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   3817 
   3818   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   3819 
   3820   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   3821 
   3822   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   3823 
   3824   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   3825 
   3826   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3827 
   3828   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   3829 
   3830   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   3831 
   3832   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   3833 
   3834   printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
   3835 
   3836   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   3837 
   3838   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   3839 
   3840   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   3841 
   3842   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   3843 
   3844   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   3845 
   3846   if test $ac_cv_header_minix_config_h = yes
   3847 then :
   3848   MINIX=yes
   3849     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   3850 
   3851     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   3852 
   3853     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3854 
   3855 else case e in #(
   3856   e) MINIX= ;;
   3857 esac
   3858 fi
   3859   if test $ac_cv_safe_to_define___extensions__ = yes
   3860 then :
   3861   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   3862 
   3863 fi
   3864   if test $ac_cv_should_define__xopen_source = yes
   3865 then :
   3866   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   3867 
   3868 fi
   3869 
   3870 
   3871 # Initialize Automake
   3872 am__api_version='1.16'
   3873 
   3874 
   3875   # Find a good install program.  We prefer a C program (faster),
   3876 # so one script is as good as another.  But avoid the broken or
   3877 # incompatible versions:
   3878 # SysV /etc/install, /usr/sbin/install
   3879 # SunOS /usr/etc/install
   3880 # IRIX /sbin/install
   3881 # AIX /bin/install
   3882 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3883 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3884 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3885 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3886 # OS/2's system install, which has a completely different semantic
   3887 # ./install, which can be erroneously created by make from ./install.sh.
   3888 # Reject install programs that cannot install multiple files.
   3889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3890 printf %s "checking for a BSD-compatible install... " >&6; }
   3891 if test -z "$INSTALL"; then
   3892 if test ${ac_cv_path_install+y}
   3893 then :
   3894   printf %s "(cached) " >&6
   3895 else case e in #(
   3896   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3897 for as_dir in $PATH
   3898 do
   3899   IFS=$as_save_IFS
   3900   case $as_dir in #(((
   3901     '') as_dir=./ ;;
   3902     */) ;;
   3903     *) as_dir=$as_dir/ ;;
   3904   esac
   3905     # Account for fact that we put trailing slashes in our PATH walk.
   3906 case $as_dir in #((
   3907   ./ | /[cC]/* | \
   3908   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3909   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3910   /usr/ucb/* ) ;;
   3911   *)
   3912     # OSF1 and SCO ODT 3.0 have their own names for install.
   3913     # Don't use installbsd from OSF since it installs stuff as root
   3914     # by default.
   3915     for ac_prog in ginstall scoinst install; do
   3916       for ac_exec_ext in '' $ac_executable_extensions; do
   3917 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   3918 	  if test $ac_prog = install &&
   3919 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3920 	    # AIX install.  It has an incompatible calling convention.
   3921 	    :
   3922 	  elif test $ac_prog = install &&
   3923 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3924 	    # program-specific install script used by HP pwplus--don't use.
   3925 	    :
   3926 	  else
   3927 	    rm -rf conftest.one conftest.two conftest.dir
   3928 	    echo one > conftest.one
   3929 	    echo two > conftest.two
   3930 	    mkdir conftest.dir
   3931 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   3932 	      test -s conftest.one && test -s conftest.two &&
   3933 	      test -s conftest.dir/conftest.one &&
   3934 	      test -s conftest.dir/conftest.two
   3935 	    then
   3936 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   3937 	      break 3
   3938 	    fi
   3939 	  fi
   3940 	fi
   3941       done
   3942     done
   3943     ;;
   3944 esac
   3945 
   3946   done
   3947 IFS=$as_save_IFS
   3948 
   3949 rm -rf conftest.one conftest.two conftest.dir
   3950  ;;
   3951 esac
   3952 fi
   3953   if test ${ac_cv_path_install+y}; then
   3954     INSTALL=$ac_cv_path_install
   3955   else
   3956     # As a last resort, use the slow shell script.  Don't cache a
   3957     # value for INSTALL within a source directory, because that will
   3958     # break other packages using the cache if that directory is
   3959     # removed, or if the value is a relative name.
   3960     INSTALL=$ac_install_sh
   3961   fi
   3962 fi
   3963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3964 printf "%s\n" "$INSTALL" >&6; }
   3965 
   3966 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3967 # It thinks the first close brace ends the variable substitution.
   3968 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3969 
   3970 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3971 
   3972 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3973 
   3974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3975 printf %s "checking whether build environment is sane... " >&6; }
   3976 # Reject unsafe characters in $srcdir or the absolute working directory
   3977 # name.  Accept space and tab only in the latter.
   3978 am_lf='
   3979 '
   3980 case `pwd` in
   3981   *[\\\"\#\$\&\'\`$am_lf]*)
   3982     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3983 esac
   3984 case $srcdir in
   3985   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3986     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3987 esac
   3988 
   3989 # Do 'set' in a subshell so we don't clobber the current shell's
   3990 # arguments.  Must try -L first in case configure is actually a
   3991 # symlink; some systems play weird games with the mod time of symlinks
   3992 # (eg FreeBSD returns the mod time of the symlink's containing
   3993 # directory).
   3994 if (
   3995    am_has_slept=no
   3996    for am_try in 1 2; do
   3997      echo "timestamp, slept: $am_has_slept" > conftest.file
   3998      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3999      if test "$*" = "X"; then
   4000 	# -L didn't work.
   4001 	set X `ls -t "$srcdir/configure" conftest.file`
   4002      fi
   4003      if test "$*" != "X $srcdir/configure conftest.file" \
   4004 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   4005 
   4006 	# If neither matched, then we have a broken ls.  This can happen
   4007 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   4008 	# broken ls alias from the environment.  This has actually
   4009 	# happened.  Such a system could not be considered "sane".
   4010 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   4011   alias in your environment" "$LINENO" 5
   4012      fi
   4013      if test "$2" = conftest.file || test $am_try -eq 2; then
   4014        break
   4015      fi
   4016      # Just in case.
   4017      sleep 1
   4018      am_has_slept=yes
   4019    done
   4020    test "$2" = conftest.file
   4021    )
   4022 then
   4023    # Ok.
   4024    :
   4025 else
   4026    as_fn_error $? "newly created file is older than distributed files!
   4027 Check your system clock" "$LINENO" 5
   4028 fi
   4029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4030 printf "%s\n" "yes" >&6; }
   4031 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4032 # generated files are strictly newer.
   4033 am_sleep_pid=
   4034 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   4035   ( sleep 1 ) &
   4036   am_sleep_pid=$!
   4037 fi
   4038 
   4039 rm -f conftest.file
   4040 
   4041 test "$program_prefix" != NONE &&
   4042   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4043 # Use a double $ so make ignores it.
   4044 test "$program_suffix" != NONE &&
   4045   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4046 # Double any \ or $.
   4047 # By default was 's,x,x', remove it if useless.
   4048 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4049 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   4050 
   4051 
   4052   if test x"${MISSING+set}" != xset; then
   4053   MISSING="\${SHELL} '$am_aux_dir/missing'"
   4054 fi
   4055 # Use eval to expand $SHELL
   4056 if eval "$MISSING --is-lightweight"; then
   4057   am_missing_run="$MISSING "
   4058 else
   4059   am_missing_run=
   4060   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4061 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4062 fi
   4063 
   4064 if test x"${install_sh+set}" != xset; then
   4065   case $am_aux_dir in
   4066   *\ * | *\	*)
   4067     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4068   *)
   4069     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4070   esac
   4071 fi
   4072 
   4073 # Installed binaries are usually stripped using 'strip' when the user
   4074 # run "make install-strip".  However 'strip' might not be the right
   4075 # tool to use in cross-compilation environments, therefore Automake
   4076 # will honor the 'STRIP' environment variable to overrule this program.
   4077 if test "$cross_compiling" != no; then
   4078   if test -n "$ac_tool_prefix"; then
   4079   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4080 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4082 printf %s "checking for $ac_word... " >&6; }
   4083 if test ${ac_cv_prog_STRIP+y}
   4084 then :
   4085   printf %s "(cached) " >&6
   4086 else case e in #(
   4087   e) if test -n "$STRIP"; then
   4088   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4089 else
   4090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4091 for as_dir in $PATH
   4092 do
   4093   IFS=$as_save_IFS
   4094   case $as_dir in #(((
   4095     '') as_dir=./ ;;
   4096     */) ;;
   4097     *) as_dir=$as_dir/ ;;
   4098   esac
   4099     for ac_exec_ext in '' $ac_executable_extensions; do
   4100   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4101     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4102     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4103     break 2
   4104   fi
   4105 done
   4106   done
   4107 IFS=$as_save_IFS
   4108 
   4109 fi ;;
   4110 esac
   4111 fi
   4112 STRIP=$ac_cv_prog_STRIP
   4113 if test -n "$STRIP"; then
   4114   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4115 printf "%s\n" "$STRIP" >&6; }
   4116 else
   4117   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4118 printf "%s\n" "no" >&6; }
   4119 fi
   4120 
   4121 
   4122 fi
   4123 if test -z "$ac_cv_prog_STRIP"; then
   4124   ac_ct_STRIP=$STRIP
   4125   # Extract the first word of "strip", so it can be a program name with args.
   4126 set dummy strip; ac_word=$2
   4127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4128 printf %s "checking for $ac_word... " >&6; }
   4129 if test ${ac_cv_prog_ac_ct_STRIP+y}
   4130 then :
   4131   printf %s "(cached) " >&6
   4132 else case e in #(
   4133   e) if test -n "$ac_ct_STRIP"; then
   4134   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4135 else
   4136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4137 for as_dir in $PATH
   4138 do
   4139   IFS=$as_save_IFS
   4140   case $as_dir in #(((
   4141     '') as_dir=./ ;;
   4142     */) ;;
   4143     *) as_dir=$as_dir/ ;;
   4144   esac
   4145     for ac_exec_ext in '' $ac_executable_extensions; do
   4146   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4147     ac_cv_prog_ac_ct_STRIP="strip"
   4148     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4149     break 2
   4150   fi
   4151 done
   4152   done
   4153 IFS=$as_save_IFS
   4154 
   4155 fi ;;
   4156 esac
   4157 fi
   4158 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4159 if test -n "$ac_ct_STRIP"; then
   4160   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4161 printf "%s\n" "$ac_ct_STRIP" >&6; }
   4162 else
   4163   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4164 printf "%s\n" "no" >&6; }
   4165 fi
   4166 
   4167   if test "x$ac_ct_STRIP" = x; then
   4168     STRIP=":"
   4169   else
   4170     case $cross_compiling:$ac_tool_warned in
   4171 yes:)
   4172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4173 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4174 ac_tool_warned=yes ;;
   4175 esac
   4176     STRIP=$ac_ct_STRIP
   4177   fi
   4178 else
   4179   STRIP="$ac_cv_prog_STRIP"
   4180 fi
   4181 
   4182 fi
   4183 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4184 
   4185 
   4186   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   4187 printf %s "checking for a race-free mkdir -p... " >&6; }
   4188 if test -z "$MKDIR_P"; then
   4189   if test ${ac_cv_path_mkdir+y}
   4190 then :
   4191   printf %s "(cached) " >&6
   4192 else case e in #(
   4193   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4194 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4195 do
   4196   IFS=$as_save_IFS
   4197   case $as_dir in #(((
   4198     '') as_dir=./ ;;
   4199     */) ;;
   4200     *) as_dir=$as_dir/ ;;
   4201   esac
   4202     for ac_prog in mkdir gmkdir; do
   4203 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4204 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   4205 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4206 	     'mkdir ('*'coreutils) '* | \
   4207 	     *'BusyBox '* | \
   4208 	     'mkdir (fileutils) '4.1*)
   4209 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   4210 	       break 3;;
   4211 	   esac
   4212 	 done
   4213        done
   4214   done
   4215 IFS=$as_save_IFS
   4216  ;;
   4217 esac
   4218 fi
   4219 
   4220   test -d ./--version && rmdir ./--version
   4221   if test ${ac_cv_path_mkdir+y}; then
   4222     MKDIR_P="$ac_cv_path_mkdir -p"
   4223   else
   4224     # As a last resort, use plain mkdir -p,
   4225     # in the hope it doesn't have the bugs of ancient mkdir.
   4226     MKDIR_P='mkdir -p'
   4227   fi
   4228 fi
   4229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4230 printf "%s\n" "$MKDIR_P" >&6; }
   4231 
   4232 for ac_prog in gawk mawk nawk awk
   4233 do
   4234   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4235 set dummy $ac_prog; ac_word=$2
   4236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4237 printf %s "checking for $ac_word... " >&6; }
   4238 if test ${ac_cv_prog_AWK+y}
   4239 then :
   4240   printf %s "(cached) " >&6
   4241 else case e in #(
   4242   e) if test -n "$AWK"; then
   4243   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4244 else
   4245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4246 for as_dir in $PATH
   4247 do
   4248   IFS=$as_save_IFS
   4249   case $as_dir in #(((
   4250     '') as_dir=./ ;;
   4251     */) ;;
   4252     *) as_dir=$as_dir/ ;;
   4253   esac
   4254     for ac_exec_ext in '' $ac_executable_extensions; do
   4255   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4256     ac_cv_prog_AWK="$ac_prog"
   4257     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4258     break 2
   4259   fi
   4260 done
   4261   done
   4262 IFS=$as_save_IFS
   4263 
   4264 fi ;;
   4265 esac
   4266 fi
   4267 AWK=$ac_cv_prog_AWK
   4268 if test -n "$AWK"; then
   4269   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4270 printf "%s\n" "$AWK" >&6; }
   4271 else
   4272   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4273 printf "%s\n" "no" >&6; }
   4274 fi
   4275 
   4276 
   4277   test -n "$AWK" && break
   4278 done
   4279 
   4280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4281 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4282 set x ${MAKE-make}
   4283 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4284 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   4285 then :
   4286   printf %s "(cached) " >&6
   4287 else case e in #(
   4288   e) cat >conftest.make <<\_ACEOF
   4289 SHELL = /bin/sh
   4290 all:
   4291 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4292 _ACEOF
   4293 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4294 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4295   *@@@%%%=?*=@@@%%%*)
   4296     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4297   *)
   4298     eval ac_cv_prog_make_${ac_make}_set=no;;
   4299 esac
   4300 rm -f conftest.make ;;
   4301 esac
   4302 fi
   4303 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4304   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4305 printf "%s\n" "yes" >&6; }
   4306   SET_MAKE=
   4307 else
   4308   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4309 printf "%s\n" "no" >&6; }
   4310   SET_MAKE="MAKE=${MAKE-make}"
   4311 fi
   4312 
   4313 rm -rf .tst 2>/dev/null
   4314 mkdir .tst 2>/dev/null
   4315 if test -d .tst; then
   4316   am__leading_dot=.
   4317 else
   4318   am__leading_dot=_
   4319 fi
   4320 rmdir .tst 2>/dev/null
   4321 
   4322 DEPDIR="${am__leading_dot}deps"
   4323 
   4324 ac_config_commands="$ac_config_commands depfiles"
   4325 
   4326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4327 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4328 cat > confinc.mk << 'END'
   4329 am__doit:
   4330 	@echo this is the am__doit target >confinc.out
   4331 .PHONY: am__doit
   4332 END
   4333 am__include="#"
   4334 am__quote=
   4335 # BSD make does it like this.
   4336 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4337 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4338 echo 'include confinc.mk # ignored' > confmf.GNU
   4339 _am_result=no
   4340 for s in GNU BSD; do
   4341   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4342    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4343    ac_status=$?
   4344    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4345    (exit $ac_status); }
   4346   case $?:`cat confinc.out 2>/dev/null` in #(
   4347   '0:this is the am__doit target') :
   4348     case $s in #(
   4349   BSD) :
   4350     am__include='.include' am__quote='"' ;; #(
   4351   *) :
   4352     am__include='include' am__quote='' ;;
   4353 esac ;; #(
   4354   *) :
   4355      ;;
   4356 esac
   4357   if test "$am__include" != "#"; then
   4358     _am_result="yes ($s style)"
   4359     break
   4360   fi
   4361 done
   4362 rm -f confinc.* confmf.*
   4363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4364 printf "%s\n" "${_am_result}" >&6; }
   4365 
   4366 # Check whether --enable-dependency-tracking was given.
   4367 if test ${enable_dependency_tracking+y}
   4368 then :
   4369   enableval=$enable_dependency_tracking;
   4370 fi
   4371 
   4372 if test "x$enable_dependency_tracking" != xno; then
   4373   am_depcomp="$ac_aux_dir/depcomp"
   4374   AMDEPBACKSLASH='\'
   4375   am__nodep='_no'
   4376 fi
   4377  if test "x$enable_dependency_tracking" != xno; then
   4378   AMDEP_TRUE=
   4379   AMDEP_FALSE='#'
   4380 else
   4381   AMDEP_TRUE='#'
   4382   AMDEP_FALSE=
   4383 fi
   4384 
   4385 
   4386 # Check whether --enable-silent-rules was given.
   4387 if test ${enable_silent_rules+y}
   4388 then :
   4389   enableval=$enable_silent_rules;
   4390 fi
   4391 
   4392 case $enable_silent_rules in # (((
   4393   yes) AM_DEFAULT_VERBOSITY=0;;
   4394    no) AM_DEFAULT_VERBOSITY=1;;
   4395     *) AM_DEFAULT_VERBOSITY=1;;
   4396 esac
   4397 am_make=${MAKE-make}
   4398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4399 printf %s "checking whether $am_make supports nested variables... " >&6; }
   4400 if test ${am_cv_make_support_nested_variables+y}
   4401 then :
   4402   printf %s "(cached) " >&6
   4403 else case e in #(
   4404   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   4405 BAR0=false
   4406 BAR1=true
   4407 V=1
   4408 am__doit:
   4409 	@$(TRUE)
   4410 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4411   am_cv_make_support_nested_variables=yes
   4412 else
   4413   am_cv_make_support_nested_variables=no
   4414 fi ;;
   4415 esac
   4416 fi
   4417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4418 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   4419 if test $am_cv_make_support_nested_variables = yes; then
   4420     AM_V='$(V)'
   4421   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4422 else
   4423   AM_V=$AM_DEFAULT_VERBOSITY
   4424   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4425 fi
   4426 AM_BACKSLASH='\'
   4427 
   4428 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4429   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4430   # is not polluted with repeated "-I."
   4431   am__isrc=' -I$(srcdir)'
   4432   # test to see if srcdir already configured
   4433   if test -f $srcdir/config.status; then
   4434     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4435   fi
   4436 fi
   4437 
   4438 # test whether we have cygpath
   4439 if test -z "$CYGPATH_W"; then
   4440   if (cygpath --version) >/dev/null 2>/dev/null; then
   4441     CYGPATH_W='cygpath -w'
   4442   else
   4443     CYGPATH_W=echo
   4444   fi
   4445 fi
   4446 
   4447 
   4448 # Define the identity of the package.
   4449  PACKAGE='xkbcomp'
   4450  VERSION='1.4.7'
   4451 
   4452 
   4453 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   4454 
   4455 
   4456 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   4457 
   4458 # Some tools Automake needs.
   4459 
   4460 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4461 
   4462 
   4463 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4464 
   4465 
   4466 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4467 
   4468 
   4469 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4470 
   4471 
   4472 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4473 
   4474 # For better backward compatibility.  To be removed once Automake 1.9.x
   4475 # dies out for good.  For more background, see:
   4476 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4477 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4478 mkdir_p='$(MKDIR_P)'
   4479 
   4480 # We need awk for the "check" target (and possibly the TAP driver).  The
   4481 # system "awk" is bad on some platforms.
   4482 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4483 # in the wild :-(  We should find a proper way to deprecate it ...
   4484 AMTAR='$${TAR-tar}'
   4485 
   4486 
   4487 # We'll loop over all known methods to create a tar archive until one works.
   4488 _am_tools='gnutar  pax cpio none'
   4489 
   4490 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4491 
   4492 
   4493 
   4494 
   4495 
   4496 depcc="$CC"   am_compiler_list=
   4497 
   4498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4499 printf %s "checking dependency style of $depcc... " >&6; }
   4500 if test ${am_cv_CC_dependencies_compiler_type+y}
   4501 then :
   4502   printf %s "(cached) " >&6
   4503 else case e in #(
   4504   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4505   # We make a subdir and do the tests there.  Otherwise we can end up
   4506   # making bogus files that we don't know about and never remove.  For
   4507   # instance it was reported that on HP-UX the gcc test will end up
   4508   # making a dummy file named 'D' -- because '-MD' means "put the output
   4509   # in D".
   4510   rm -rf conftest.dir
   4511   mkdir conftest.dir
   4512   # Copy depcomp to subdir because otherwise we won't find it if we're
   4513   # using a relative directory.
   4514   cp "$am_depcomp" conftest.dir
   4515   cd conftest.dir
   4516   # We will build objects and dependencies in a subdirectory because
   4517   # it helps to detect inapplicable dependency modes.  For instance
   4518   # both Tru64's cc and ICC support -MD to output dependencies as a
   4519   # side effect of compilation, but ICC will put the dependencies in
   4520   # the current directory while Tru64 will put them in the object
   4521   # directory.
   4522   mkdir sub
   4523 
   4524   am_cv_CC_dependencies_compiler_type=none
   4525   if test "$am_compiler_list" = ""; then
   4526      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4527   fi
   4528   am__universal=false
   4529   case " $depcc " in #(
   4530      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4531      esac
   4532 
   4533   for depmode in $am_compiler_list; do
   4534     # Setup a source with many dependencies, because some compilers
   4535     # like to wrap large dependency lists on column 80 (with \), and
   4536     # we should not choose a depcomp mode which is confused by this.
   4537     #
   4538     # We need to recreate these files for each test, as the compiler may
   4539     # overwrite some of them when testing with obscure command lines.
   4540     # This happens at least with the AIX C compiler.
   4541     : > sub/conftest.c
   4542     for i in 1 2 3 4 5 6; do
   4543       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4544       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4545       # Solaris 10 /bin/sh.
   4546       echo '/* dummy */' > sub/conftst$i.h
   4547     done
   4548     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4549 
   4550     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4551     # mode.  It turns out that the SunPro C++ compiler does not properly
   4552     # handle '-M -o', and we need to detect this.  Also, some Intel
   4553     # versions had trouble with output in subdirs.
   4554     am__obj=sub/conftest.${OBJEXT-o}
   4555     am__minus_obj="-o $am__obj"
   4556     case $depmode in
   4557     gcc)
   4558       # This depmode causes a compiler race in universal mode.
   4559       test "$am__universal" = false || continue
   4560       ;;
   4561     nosideeffect)
   4562       # After this tag, mechanisms are not by side-effect, so they'll
   4563       # only be used when explicitly requested.
   4564       if test "x$enable_dependency_tracking" = xyes; then
   4565 	continue
   4566       else
   4567 	break
   4568       fi
   4569       ;;
   4570     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4571       # This compiler won't grok '-c -o', but also, the minuso test has
   4572       # not run yet.  These depmodes are late enough in the game, and
   4573       # so weak that their functioning should not be impacted.
   4574       am__obj=conftest.${OBJEXT-o}
   4575       am__minus_obj=
   4576       ;;
   4577     none) break ;;
   4578     esac
   4579     if depmode=$depmode \
   4580        source=sub/conftest.c object=$am__obj \
   4581        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4582        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4583          >/dev/null 2>conftest.err &&
   4584        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4585        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4586        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4587        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4588       # icc doesn't choke on unknown options, it will just issue warnings
   4589       # or remarks (even with -Werror).  So we grep stderr for any message
   4590       # that says an option was ignored or not supported.
   4591       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4592       #   icc: Command line warning: ignoring option '-M'; no argument required
   4593       # The diagnosis changed in icc 8.0:
   4594       #   icc: Command line remark: option '-MP' not supported
   4595       if (grep 'ignoring option' conftest.err ||
   4596           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4597         am_cv_CC_dependencies_compiler_type=$depmode
   4598         break
   4599       fi
   4600     fi
   4601   done
   4602 
   4603   cd ..
   4604   rm -rf conftest.dir
   4605 else
   4606   am_cv_CC_dependencies_compiler_type=none
   4607 fi
   4608  ;;
   4609 esac
   4610 fi
   4611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4612 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4613 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4614 
   4615  if
   4616   test "x$enable_dependency_tracking" != xno \
   4617   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4618   am__fastdepCC_TRUE=
   4619   am__fastdepCC_FALSE='#'
   4620 else
   4621   am__fastdepCC_TRUE='#'
   4622   am__fastdepCC_FALSE=
   4623 fi
   4624 
   4625 
   4626 # Variables for tags utilities; see am/tags.am
   4627 if test -z "$CTAGS"; then
   4628   CTAGS=ctags
   4629 fi
   4630 
   4631 if test -z "$ETAGS"; then
   4632   ETAGS=etags
   4633 fi
   4634 
   4635 if test -z "$CSCOPE"; then
   4636   CSCOPE=cscope
   4637 fi
   4638 
   4639 
   4640 
   4641 # POSIX will say in a future version that running "rm -f" with no argument
   4642 # is OK; and we want to be able to make that assumption in our Makefile
   4643 # recipes.  So use an aggressive probe to check that the usage we want is
   4644 # actually supported "in the wild" to an acceptable degree.
   4645 # See automake bug#10828.
   4646 # To make any issue more visible, cause the running configure to be aborted
   4647 # by default if the 'rm' program in use doesn't match our expectations; the
   4648 # user can still override this though.
   4649 if rm -f && rm -fr && rm -rf; then : OK; else
   4650   cat >&2 <<'END'
   4651 Oops!
   4652 
   4653 Your 'rm' program seems unable to run without file operands specified
   4654 on the command line, even when the '-f' option is present.  This is contrary
   4655 to the behaviour of most rm programs out there, and not conforming with
   4656 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4657 
   4658 Please tell bug-automake@gnu.org about your system, including the value
   4659 of your $PATH and any error possibly output before this message.  This
   4660 can help us improve future automake versions.
   4661 
   4662 END
   4663   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4664     echo 'Configuration will proceed anyway, since you have set the' >&2
   4665     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4666     echo >&2
   4667   else
   4668     cat >&2 <<'END'
   4669 Aborting the configuration process, to ensure you take notice of the issue.
   4670 
   4671 You can download and install GNU coreutils to get an 'rm' implementation
   4672 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   4673 
   4674 If you want to complete the configuration process using your problematic
   4675 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4676 to "yes", and re-run configure.
   4677 
   4678 END
   4679     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4680   fi
   4681 fi
   4682 
   4683 
   4684 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4685 
   4686 
   4687 
   4688 
   4689 
   4690 
   4691 
   4692 
   4693 
   4694 
   4695 
   4696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4697 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4698 if test ${ac_cv_c_undeclared_builtin_options+y}
   4699 then :
   4700   printf %s "(cached) " >&6
   4701 else case e in #(
   4702   e) ac_save_CFLAGS=$CFLAGS
   4703    ac_cv_c_undeclared_builtin_options='cannot detect'
   4704    for ac_arg in '' -fno-builtin; do
   4705      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4706      # This test program should *not* compile successfully.
   4707      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4708 /* end confdefs.h.  */
   4709 
   4710 int
   4711 main (void)
   4712 {
   4713 (void) strchr;
   4714   ;
   4715   return 0;
   4716 }
   4717 _ACEOF
   4718 if ac_fn_c_try_compile "$LINENO"
   4719 then :
   4720 
   4721 else case e in #(
   4722   e) # This test program should compile successfully.
   4723         # No library function is consistently available on
   4724         # freestanding implementations, so test against a dummy
   4725         # declaration.  Include always-available headers on the
   4726         # off chance that they somehow elicit warnings.
   4727         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4728 /* end confdefs.h.  */
   4729 #include <float.h>
   4730 #include <limits.h>
   4731 #include <stdarg.h>
   4732 #include <stddef.h>
   4733 extern void ac_decl (int, char *);
   4734 
   4735 int
   4736 main (void)
   4737 {
   4738 (void) ac_decl (0, (char *) 0);
   4739   (void) ac_decl;
   4740 
   4741   ;
   4742   return 0;
   4743 }
   4744 _ACEOF
   4745 if ac_fn_c_try_compile "$LINENO"
   4746 then :
   4747   if test x"$ac_arg" = x
   4748 then :
   4749   ac_cv_c_undeclared_builtin_options='none needed'
   4750 else case e in #(
   4751   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4752 esac
   4753 fi
   4754           break
   4755 fi
   4756 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4757 esac
   4758 fi
   4759 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4760     done
   4761     CFLAGS=$ac_save_CFLAGS
   4762    ;;
   4763 esac
   4764 fi
   4765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4766 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4767   case $ac_cv_c_undeclared_builtin_options in #(
   4768   'cannot detect') :
   4769     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4770 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4771 as_fn_error $? "cannot make $CC report undeclared builtins
   4772 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4773   'none needed') :
   4774     ac_c_undeclared_builtin_options='' ;; #(
   4775   *) :
   4776     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4777 esac
   4778 
   4779 
   4780 
   4781 
   4782 
   4783 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4784 if test "x$ac_cv_have_decl___clang__" = xyes
   4785 then :
   4786   CLANGCC="yes"
   4787 else case e in #(
   4788   e) CLANGCC="no" ;;
   4789 esac
   4790 fi
   4791 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4792 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4793 then :
   4794   INTELCC="yes"
   4795 else case e in #(
   4796   e) INTELCC="no" ;;
   4797 esac
   4798 fi
   4799 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4800 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4801 then :
   4802   SUNCC="yes"
   4803 else case e in #(
   4804   e) SUNCC="no" ;;
   4805 esac
   4806 fi
   4807 
   4808 
   4809 
   4810 
   4811 
   4812 
   4813 
   4814 
   4815 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4816 	if test -n "$ac_tool_prefix"; then
   4817   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4818 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4820 printf %s "checking for $ac_word... " >&6; }
   4821 if test ${ac_cv_path_PKG_CONFIG+y}
   4822 then :
   4823   printf %s "(cached) " >&6
   4824 else case e in #(
   4825   e) case $PKG_CONFIG in
   4826   [\\/]* | ?:[\\/]*)
   4827   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4828   ;;
   4829   *)
   4830   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4831 for as_dir in $PATH
   4832 do
   4833   IFS=$as_save_IFS
   4834   case $as_dir in #(((
   4835     '') as_dir=./ ;;
   4836     */) ;;
   4837     *) as_dir=$as_dir/ ;;
   4838   esac
   4839     for ac_exec_ext in '' $ac_executable_extensions; do
   4840   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4841     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4842     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4843     break 2
   4844   fi
   4845 done
   4846   done
   4847 IFS=$as_save_IFS
   4848 
   4849   ;;
   4850 esac ;;
   4851 esac
   4852 fi
   4853 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4854 if test -n "$PKG_CONFIG"; then
   4855   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4856 printf "%s\n" "$PKG_CONFIG" >&6; }
   4857 else
   4858   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4859 printf "%s\n" "no" >&6; }
   4860 fi
   4861 
   4862 
   4863 fi
   4864 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4865   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4866   # Extract the first word of "pkg-config", so it can be a program name with args.
   4867 set dummy pkg-config; ac_word=$2
   4868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4869 printf %s "checking for $ac_word... " >&6; }
   4870 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4871 then :
   4872   printf %s "(cached) " >&6
   4873 else case e in #(
   4874   e) case $ac_pt_PKG_CONFIG in
   4875   [\\/]* | ?:[\\/]*)
   4876   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4877   ;;
   4878   *)
   4879   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4880 for as_dir in $PATH
   4881 do
   4882   IFS=$as_save_IFS
   4883   case $as_dir in #(((
   4884     '') as_dir=./ ;;
   4885     */) ;;
   4886     *) as_dir=$as_dir/ ;;
   4887   esac
   4888     for ac_exec_ext in '' $ac_executable_extensions; do
   4889   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4890     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4891     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4892     break 2
   4893   fi
   4894 done
   4895   done
   4896 IFS=$as_save_IFS
   4897 
   4898   ;;
   4899 esac ;;
   4900 esac
   4901 fi
   4902 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4903 if test -n "$ac_pt_PKG_CONFIG"; then
   4904   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4905 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4906 else
   4907   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4908 printf "%s\n" "no" >&6; }
   4909 fi
   4910 
   4911   if test "x$ac_pt_PKG_CONFIG" = x; then
   4912     PKG_CONFIG=""
   4913   else
   4914     case $cross_compiling:$ac_tool_warned in
   4915 yes:)
   4916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4917 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4918 ac_tool_warned=yes ;;
   4919 esac
   4920     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4921   fi
   4922 else
   4923   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4924 fi
   4925 
   4926 fi
   4927 if test -n "$PKG_CONFIG"; then
   4928 	_pkg_min_version=0.9.0
   4929 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4930 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4931 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4932 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4933 printf "%s\n" "yes" >&6; }
   4934 	else
   4935 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4936 printf "%s\n" "no" >&6; }
   4937 		PKG_CONFIG=""
   4938 	fi
   4939 fi
   4940 
   4941 
   4942   # Make sure we can run config.sub.
   4943 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4944   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4945 
   4946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4947 printf %s "checking build system type... " >&6; }
   4948 if test ${ac_cv_build+y}
   4949 then :
   4950   printf %s "(cached) " >&6
   4951 else case e in #(
   4952   e) ac_build_alias=$build_alias
   4953 test "x$ac_build_alias" = x &&
   4954   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4955 test "x$ac_build_alias" = x &&
   4956   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4957 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4958   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4959  ;;
   4960 esac
   4961 fi
   4962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4963 printf "%s\n" "$ac_cv_build" >&6; }
   4964 case $ac_cv_build in
   4965 *-*-*) ;;
   4966 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4967 esac
   4968 build=$ac_cv_build
   4969 ac_save_IFS=$IFS; IFS='-'
   4970 set x $ac_cv_build
   4971 shift
   4972 build_cpu=$1
   4973 build_vendor=$2
   4974 shift; shift
   4975 # Remember, the first character of IFS is used to create $*,
   4976 # except with old shells:
   4977 build_os=$*
   4978 IFS=$ac_save_IFS
   4979 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4980 
   4981 
   4982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4983 printf %s "checking host system type... " >&6; }
   4984 if test ${ac_cv_host+y}
   4985 then :
   4986   printf %s "(cached) " >&6
   4987 else case e in #(
   4988   e) if test "x$host_alias" = x; then
   4989   ac_cv_host=$ac_cv_build
   4990 else
   4991   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4992     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4993 fi
   4994  ;;
   4995 esac
   4996 fi
   4997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4998 printf "%s\n" "$ac_cv_host" >&6; }
   4999 case $ac_cv_host in
   5000 *-*-*) ;;
   5001 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5002 esac
   5003 host=$ac_cv_host
   5004 ac_save_IFS=$IFS; IFS='-'
   5005 set x $ac_cv_host
   5006 shift
   5007 host_cpu=$1
   5008 host_vendor=$2
   5009 shift; shift
   5010 # Remember, the first character of IFS is used to create $*,
   5011 # except with old shells:
   5012 host_os=$*
   5013 IFS=$ac_save_IFS
   5014 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5015 
   5016 
   5017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5018 printf %s "checking for a sed that does not truncate output... " >&6; }
   5019 if test ${ac_cv_path_SED+y}
   5020 then :
   5021   printf %s "(cached) " >&6
   5022 else case e in #(
   5023   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5024      for ac_i in 1 2 3 4 5 6 7; do
   5025        ac_script="$ac_script$as_nl$ac_script"
   5026      done
   5027      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5028      { ac_script=; unset ac_script;}
   5029      if test -z "$SED"; then
   5030   ac_path_SED_found=false
   5031   # Loop through the user's path and test for each of PROGNAME-LIST
   5032   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5033 for as_dir in $PATH
   5034 do
   5035   IFS=$as_save_IFS
   5036   case $as_dir in #(((
   5037     '') as_dir=./ ;;
   5038     */) ;;
   5039     *) as_dir=$as_dir/ ;;
   5040   esac
   5041     for ac_prog in sed gsed
   5042    do
   5043     for ac_exec_ext in '' $ac_executable_extensions; do
   5044       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5045       as_fn_executable_p "$ac_path_SED" || continue
   5046 # Check for GNU ac_path_SED and select it if it is found.
   5047   # Check for GNU $ac_path_SED
   5048 case `"$ac_path_SED" --version 2>&1` in #(
   5049 *GNU*)
   5050   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5051 #(
   5052 *)
   5053   ac_count=0
   5054   printf %s 0123456789 >"conftest.in"
   5055   while :
   5056   do
   5057     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5058     mv "conftest.tmp" "conftest.in"
   5059     cp "conftest.in" "conftest.nl"
   5060     printf "%s\n" '' >> "conftest.nl"
   5061     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5062     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5063     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5064     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5065       # Best one so far, save it but keep looking for a better one
   5066       ac_cv_path_SED="$ac_path_SED"
   5067       ac_path_SED_max=$ac_count
   5068     fi
   5069     # 10*(2^10) chars as input seems more than enough
   5070     test $ac_count -gt 10 && break
   5071   done
   5072   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5073 esac
   5074 
   5075       $ac_path_SED_found && break 3
   5076     done
   5077   done
   5078   done
   5079 IFS=$as_save_IFS
   5080   if test -z "$ac_cv_path_SED"; then
   5081     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5082   fi
   5083 else
   5084   ac_cv_path_SED=$SED
   5085 fi
   5086  ;;
   5087 esac
   5088 fi
   5089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5090 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5091  SED="$ac_cv_path_SED"
   5092   rm -f conftest.sed
   5093 
   5094 
   5095 
   5096 
   5097 
   5098 
   5099 # Check whether --enable-selective-werror was given.
   5100 if test ${enable_selective_werror+y}
   5101 then :
   5102   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5103 else case e in #(
   5104   e) SELECTIVE_WERROR=yes ;;
   5105 esac
   5106 fi
   5107 
   5108 
   5109 
   5110 
   5111 
   5112 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5113 if test "x$SUNCC" = "xyes"; then
   5114     BASE_CFLAGS="-v"
   5115 else
   5116     BASE_CFLAGS=""
   5117 fi
   5118 
   5119 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5120 
   5121 
   5122 
   5123 
   5124 
   5125 
   5126 
   5127 
   5128 
   5129 
   5130 
   5131 
   5132 
   5133 xorg_testset_save_CFLAGS="$CFLAGS"
   5134 
   5135 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5136 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5137 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5138 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5139 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5140 then :
   5141   printf %s "(cached) " >&6
   5142 else case e in #(
   5143   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5144 /* end confdefs.h.  */
   5145 int i;
   5146 _ACEOF
   5147 if ac_fn_c_try_compile "$LINENO"
   5148 then :
   5149   xorg_cv_cc_flag_unknown_warning_option=yes
   5150 else case e in #(
   5151   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5152 esac
   5153 fi
   5154 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5155 esac
   5156 fi
   5157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5158 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5159 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5160 	CFLAGS="$xorg_testset_save_CFLAGS"
   5161 fi
   5162 
   5163 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5164 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5165 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5166 	fi
   5167 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5168 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5169 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5170 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5171 then :
   5172   printf %s "(cached) " >&6
   5173 else case e in #(
   5174   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5175 /* end confdefs.h.  */
   5176 int i;
   5177 _ACEOF
   5178 if ac_fn_c_try_compile "$LINENO"
   5179 then :
   5180   xorg_cv_cc_flag_unused_command_line_argument=yes
   5181 else case e in #(
   5182   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5183 esac
   5184 fi
   5185 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5186 esac
   5187 fi
   5188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5189 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5190 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5191 	CFLAGS="$xorg_testset_save_CFLAGS"
   5192 fi
   5193 
   5194 found="no"
   5195 
   5196 	if test $found = "no" ; then
   5197 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5198 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5199 		fi
   5200 
   5201 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5202 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5203 		fi
   5204 
   5205 		CFLAGS="$CFLAGS -Wall"
   5206 
   5207 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5208 printf %s "checking if $CC supports -Wall... " >&6; }
   5209 		cacheid=xorg_cv_cc_flag__Wall
   5210 		if eval test \${$cacheid+y}
   5211 then :
   5212   printf %s "(cached) " >&6
   5213 else case e in #(
   5214   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5215 /* end confdefs.h.  */
   5216 int i;
   5217 int
   5218 main (void)
   5219 {
   5220 
   5221   ;
   5222   return 0;
   5223 }
   5224 _ACEOF
   5225 if ac_fn_c_try_link "$LINENO"
   5226 then :
   5227   eval $cacheid=yes
   5228 else case e in #(
   5229   e) eval $cacheid=no ;;
   5230 esac
   5231 fi
   5232 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5233     conftest$ac_exeext conftest.$ac_ext ;;
   5234 esac
   5235 fi
   5236 
   5237 
   5238 		CFLAGS="$xorg_testset_save_CFLAGS"
   5239 
   5240 		eval supported=\$$cacheid
   5241 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5242 printf "%s\n" "$supported" >&6; }
   5243 		if test "$supported" = "yes" ; then
   5244 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5245 			found="yes"
   5246 		fi
   5247 	fi
   5248 
   5249 
   5250 
   5251 
   5252 
   5253 
   5254 
   5255 
   5256 
   5257 
   5258 
   5259 
   5260 
   5261 
   5262 
   5263 xorg_testset_save_CFLAGS="$CFLAGS"
   5264 
   5265 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5266 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5267 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5268 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5269 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5270 then :
   5271   printf %s "(cached) " >&6
   5272 else case e in #(
   5273   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5274 /* end confdefs.h.  */
   5275 int i;
   5276 _ACEOF
   5277 if ac_fn_c_try_compile "$LINENO"
   5278 then :
   5279   xorg_cv_cc_flag_unknown_warning_option=yes
   5280 else case e in #(
   5281   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5282 esac
   5283 fi
   5284 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5285 esac
   5286 fi
   5287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5288 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5289 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5290 	CFLAGS="$xorg_testset_save_CFLAGS"
   5291 fi
   5292 
   5293 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5294 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5295 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5296 	fi
   5297 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5298 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5299 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5300 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5301 then :
   5302   printf %s "(cached) " >&6
   5303 else case e in #(
   5304   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5305 /* end confdefs.h.  */
   5306 int i;
   5307 _ACEOF
   5308 if ac_fn_c_try_compile "$LINENO"
   5309 then :
   5310   xorg_cv_cc_flag_unused_command_line_argument=yes
   5311 else case e in #(
   5312   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5313 esac
   5314 fi
   5315 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5316 esac
   5317 fi
   5318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5319 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5320 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5321 	CFLAGS="$xorg_testset_save_CFLAGS"
   5322 fi
   5323 
   5324 found="no"
   5325 
   5326 	if test $found = "no" ; then
   5327 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5328 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5329 		fi
   5330 
   5331 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5332 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5333 		fi
   5334 
   5335 		CFLAGS="$CFLAGS -Wpointer-arith"
   5336 
   5337 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5338 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5339 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5340 		if eval test \${$cacheid+y}
   5341 then :
   5342   printf %s "(cached) " >&6
   5343 else case e in #(
   5344   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5345 /* end confdefs.h.  */
   5346 int i;
   5347 int
   5348 main (void)
   5349 {
   5350 
   5351   ;
   5352   return 0;
   5353 }
   5354 _ACEOF
   5355 if ac_fn_c_try_link "$LINENO"
   5356 then :
   5357   eval $cacheid=yes
   5358 else case e in #(
   5359   e) eval $cacheid=no ;;
   5360 esac
   5361 fi
   5362 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5363     conftest$ac_exeext conftest.$ac_ext ;;
   5364 esac
   5365 fi
   5366 
   5367 
   5368 		CFLAGS="$xorg_testset_save_CFLAGS"
   5369 
   5370 		eval supported=\$$cacheid
   5371 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5372 printf "%s\n" "$supported" >&6; }
   5373 		if test "$supported" = "yes" ; then
   5374 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5375 			found="yes"
   5376 		fi
   5377 	fi
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 
   5385 
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 xorg_testset_save_CFLAGS="$CFLAGS"
   5394 
   5395 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5396 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5397 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5398 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5399 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5400 then :
   5401   printf %s "(cached) " >&6
   5402 else case e in #(
   5403   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5404 /* end confdefs.h.  */
   5405 int i;
   5406 _ACEOF
   5407 if ac_fn_c_try_compile "$LINENO"
   5408 then :
   5409   xorg_cv_cc_flag_unknown_warning_option=yes
   5410 else case e in #(
   5411   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5412 esac
   5413 fi
   5414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5415 esac
   5416 fi
   5417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5418 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5419 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5420 	CFLAGS="$xorg_testset_save_CFLAGS"
   5421 fi
   5422 
   5423 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5424 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5425 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5426 	fi
   5427 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5428 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5429 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5430 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5431 then :
   5432   printf %s "(cached) " >&6
   5433 else case e in #(
   5434   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5435 /* end confdefs.h.  */
   5436 int i;
   5437 _ACEOF
   5438 if ac_fn_c_try_compile "$LINENO"
   5439 then :
   5440   xorg_cv_cc_flag_unused_command_line_argument=yes
   5441 else case e in #(
   5442   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5443 esac
   5444 fi
   5445 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5446 esac
   5447 fi
   5448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5449 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5450 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5451 	CFLAGS="$xorg_testset_save_CFLAGS"
   5452 fi
   5453 
   5454 found="no"
   5455 
   5456 	if test $found = "no" ; then
   5457 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5458 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5459 		fi
   5460 
   5461 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5462 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5463 		fi
   5464 
   5465 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5466 
   5467 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5468 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5469 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5470 		if eval test \${$cacheid+y}
   5471 then :
   5472   printf %s "(cached) " >&6
   5473 else case e in #(
   5474   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5475 /* end confdefs.h.  */
   5476 int i;
   5477 int
   5478 main (void)
   5479 {
   5480 
   5481   ;
   5482   return 0;
   5483 }
   5484 _ACEOF
   5485 if ac_fn_c_try_link "$LINENO"
   5486 then :
   5487   eval $cacheid=yes
   5488 else case e in #(
   5489   e) eval $cacheid=no ;;
   5490 esac
   5491 fi
   5492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5493     conftest$ac_exeext conftest.$ac_ext ;;
   5494 esac
   5495 fi
   5496 
   5497 
   5498 		CFLAGS="$xorg_testset_save_CFLAGS"
   5499 
   5500 		eval supported=\$$cacheid
   5501 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5502 printf "%s\n" "$supported" >&6; }
   5503 		if test "$supported" = "yes" ; then
   5504 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5505 			found="yes"
   5506 		fi
   5507 	fi
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 
   5518 
   5519 
   5520 
   5521 
   5522 
   5523 xorg_testset_save_CFLAGS="$CFLAGS"
   5524 
   5525 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5526 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5527 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5528 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5529 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5530 then :
   5531   printf %s "(cached) " >&6
   5532 else case e in #(
   5533   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5534 /* end confdefs.h.  */
   5535 int i;
   5536 _ACEOF
   5537 if ac_fn_c_try_compile "$LINENO"
   5538 then :
   5539   xorg_cv_cc_flag_unknown_warning_option=yes
   5540 else case e in #(
   5541   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5542 esac
   5543 fi
   5544 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5545 esac
   5546 fi
   5547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5548 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5549 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5550 	CFLAGS="$xorg_testset_save_CFLAGS"
   5551 fi
   5552 
   5553 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5554 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5555 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5556 	fi
   5557 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5558 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5559 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5560 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5561 then :
   5562   printf %s "(cached) " >&6
   5563 else case e in #(
   5564   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5565 /* end confdefs.h.  */
   5566 int i;
   5567 _ACEOF
   5568 if ac_fn_c_try_compile "$LINENO"
   5569 then :
   5570   xorg_cv_cc_flag_unused_command_line_argument=yes
   5571 else case e in #(
   5572   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5573 esac
   5574 fi
   5575 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5576 esac
   5577 fi
   5578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5579 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5580 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5581 	CFLAGS="$xorg_testset_save_CFLAGS"
   5582 fi
   5583 
   5584 found="no"
   5585 
   5586 	if test $found = "no" ; then
   5587 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5588 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5589 		fi
   5590 
   5591 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5592 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5593 		fi
   5594 
   5595 		CFLAGS="$CFLAGS -Wformat=2"
   5596 
   5597 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5598 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5599 		cacheid=xorg_cv_cc_flag__Wformat_2
   5600 		if eval test \${$cacheid+y}
   5601 then :
   5602   printf %s "(cached) " >&6
   5603 else case e in #(
   5604   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5605 /* end confdefs.h.  */
   5606 int i;
   5607 int
   5608 main (void)
   5609 {
   5610 
   5611   ;
   5612   return 0;
   5613 }
   5614 _ACEOF
   5615 if ac_fn_c_try_link "$LINENO"
   5616 then :
   5617   eval $cacheid=yes
   5618 else case e in #(
   5619   e) eval $cacheid=no ;;
   5620 esac
   5621 fi
   5622 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5623     conftest$ac_exeext conftest.$ac_ext ;;
   5624 esac
   5625 fi
   5626 
   5627 
   5628 		CFLAGS="$xorg_testset_save_CFLAGS"
   5629 
   5630 		eval supported=\$$cacheid
   5631 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5632 printf "%s\n" "$supported" >&6; }
   5633 		if test "$supported" = "yes" ; then
   5634 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5635 			found="yes"
   5636 		fi
   5637 	fi
   5638 
   5639 	if test $found = "no" ; then
   5640 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5641 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5642 		fi
   5643 
   5644 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5645 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5646 		fi
   5647 
   5648 		CFLAGS="$CFLAGS -Wformat"
   5649 
   5650 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5651 printf %s "checking if $CC supports -Wformat... " >&6; }
   5652 		cacheid=xorg_cv_cc_flag__Wformat
   5653 		if eval test \${$cacheid+y}
   5654 then :
   5655   printf %s "(cached) " >&6
   5656 else case e in #(
   5657   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5658 /* end confdefs.h.  */
   5659 int i;
   5660 int
   5661 main (void)
   5662 {
   5663 
   5664   ;
   5665   return 0;
   5666 }
   5667 _ACEOF
   5668 if ac_fn_c_try_link "$LINENO"
   5669 then :
   5670   eval $cacheid=yes
   5671 else case e in #(
   5672   e) eval $cacheid=no ;;
   5673 esac
   5674 fi
   5675 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5676     conftest$ac_exeext conftest.$ac_ext ;;
   5677 esac
   5678 fi
   5679 
   5680 
   5681 		CFLAGS="$xorg_testset_save_CFLAGS"
   5682 
   5683 		eval supported=\$$cacheid
   5684 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5685 printf "%s\n" "$supported" >&6; }
   5686 		if test "$supported" = "yes" ; then
   5687 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5688 			found="yes"
   5689 		fi
   5690 	fi
   5691 
   5692 
   5693 
   5694 
   5695 
   5696 
   5697 
   5698 
   5699 
   5700 
   5701 
   5702 
   5703 
   5704 
   5705 
   5706 
   5707 
   5708 xorg_testset_save_CFLAGS="$CFLAGS"
   5709 
   5710 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5711 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5712 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5713 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5714 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5715 then :
   5716   printf %s "(cached) " >&6
   5717 else case e in #(
   5718   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5719 /* end confdefs.h.  */
   5720 int i;
   5721 _ACEOF
   5722 if ac_fn_c_try_compile "$LINENO"
   5723 then :
   5724   xorg_cv_cc_flag_unknown_warning_option=yes
   5725 else case e in #(
   5726   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5727 esac
   5728 fi
   5729 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5730 esac
   5731 fi
   5732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5733 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5734 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5735 	CFLAGS="$xorg_testset_save_CFLAGS"
   5736 fi
   5737 
   5738 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5739 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5740 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5741 	fi
   5742 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5743 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5744 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5745 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5746 then :
   5747   printf %s "(cached) " >&6
   5748 else case e in #(
   5749   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5750 /* end confdefs.h.  */
   5751 int i;
   5752 _ACEOF
   5753 if ac_fn_c_try_compile "$LINENO"
   5754 then :
   5755   xorg_cv_cc_flag_unused_command_line_argument=yes
   5756 else case e in #(
   5757   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5758 esac
   5759 fi
   5760 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5761 esac
   5762 fi
   5763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5764 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5765 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5766 	CFLAGS="$xorg_testset_save_CFLAGS"
   5767 fi
   5768 
   5769 found="no"
   5770 
   5771 	if test $found = "no" ; then
   5772 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5773 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5774 		fi
   5775 
   5776 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5777 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5778 		fi
   5779 
   5780 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5781 
   5782 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5783 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5784 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5785 		if eval test \${$cacheid+y}
   5786 then :
   5787   printf %s "(cached) " >&6
   5788 else case e in #(
   5789   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5790 /* end confdefs.h.  */
   5791 int i;
   5792 int
   5793 main (void)
   5794 {
   5795 
   5796   ;
   5797   return 0;
   5798 }
   5799 _ACEOF
   5800 if ac_fn_c_try_link "$LINENO"
   5801 then :
   5802   eval $cacheid=yes
   5803 else case e in #(
   5804   e) eval $cacheid=no ;;
   5805 esac
   5806 fi
   5807 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5808     conftest$ac_exeext conftest.$ac_ext ;;
   5809 esac
   5810 fi
   5811 
   5812 
   5813 		CFLAGS="$xorg_testset_save_CFLAGS"
   5814 
   5815 		eval supported=\$$cacheid
   5816 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5817 printf "%s\n" "$supported" >&6; }
   5818 		if test "$supported" = "yes" ; then
   5819 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5820 			found="yes"
   5821 		fi
   5822 	fi
   5823 
   5824 
   5825 
   5826 
   5827 
   5828 
   5829 
   5830 
   5831 
   5832 
   5833 
   5834 
   5835 
   5836 
   5837 
   5838 xorg_testset_save_CFLAGS="$CFLAGS"
   5839 
   5840 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5841 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5842 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5843 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5844 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5845 then :
   5846   printf %s "(cached) " >&6
   5847 else case e in #(
   5848   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5849 /* end confdefs.h.  */
   5850 int i;
   5851 _ACEOF
   5852 if ac_fn_c_try_compile "$LINENO"
   5853 then :
   5854   xorg_cv_cc_flag_unknown_warning_option=yes
   5855 else case e in #(
   5856   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5857 esac
   5858 fi
   5859 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5860 esac
   5861 fi
   5862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5863 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5864 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5865 	CFLAGS="$xorg_testset_save_CFLAGS"
   5866 fi
   5867 
   5868 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5869 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5870 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5871 	fi
   5872 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5873 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5874 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5875 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5876 then :
   5877   printf %s "(cached) " >&6
   5878 else case e in #(
   5879   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5880 /* end confdefs.h.  */
   5881 int i;
   5882 _ACEOF
   5883 if ac_fn_c_try_compile "$LINENO"
   5884 then :
   5885   xorg_cv_cc_flag_unused_command_line_argument=yes
   5886 else case e in #(
   5887   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5888 esac
   5889 fi
   5890 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5891 esac
   5892 fi
   5893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5894 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5895 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5896 	CFLAGS="$xorg_testset_save_CFLAGS"
   5897 fi
   5898 
   5899 found="no"
   5900 
   5901 	if test $found = "no" ; then
   5902 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5903 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5904 		fi
   5905 
   5906 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5907 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5908 		fi
   5909 
   5910 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5911 
   5912 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5913 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5914 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5915 		if eval test \${$cacheid+y}
   5916 then :
   5917   printf %s "(cached) " >&6
   5918 else case e in #(
   5919   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5920 /* end confdefs.h.  */
   5921 int i;
   5922 int
   5923 main (void)
   5924 {
   5925 
   5926   ;
   5927   return 0;
   5928 }
   5929 _ACEOF
   5930 if ac_fn_c_try_link "$LINENO"
   5931 then :
   5932   eval $cacheid=yes
   5933 else case e in #(
   5934   e) eval $cacheid=no ;;
   5935 esac
   5936 fi
   5937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5938     conftest$ac_exeext conftest.$ac_ext ;;
   5939 esac
   5940 fi
   5941 
   5942 
   5943 		CFLAGS="$xorg_testset_save_CFLAGS"
   5944 
   5945 		eval supported=\$$cacheid
   5946 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5947 printf "%s\n" "$supported" >&6; }
   5948 		if test "$supported" = "yes" ; then
   5949 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5950 			found="yes"
   5951 		fi
   5952 	fi
   5953 
   5954 
   5955 
   5956 
   5957 
   5958 
   5959 
   5960 
   5961 
   5962 
   5963 
   5964 
   5965 
   5966 
   5967 
   5968 xorg_testset_save_CFLAGS="$CFLAGS"
   5969 
   5970 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5971 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5972 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5973 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5974 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5975 then :
   5976   printf %s "(cached) " >&6
   5977 else case e in #(
   5978   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5979 /* end confdefs.h.  */
   5980 int i;
   5981 _ACEOF
   5982 if ac_fn_c_try_compile "$LINENO"
   5983 then :
   5984   xorg_cv_cc_flag_unknown_warning_option=yes
   5985 else case e in #(
   5986   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5987 esac
   5988 fi
   5989 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5990 esac
   5991 fi
   5992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5993 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5994 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5995 	CFLAGS="$xorg_testset_save_CFLAGS"
   5996 fi
   5997 
   5998 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5999 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6000 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6001 	fi
   6002 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6003 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6004 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6005 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6006 then :
   6007   printf %s "(cached) " >&6
   6008 else case e in #(
   6009   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6010 /* end confdefs.h.  */
   6011 int i;
   6012 _ACEOF
   6013 if ac_fn_c_try_compile "$LINENO"
   6014 then :
   6015   xorg_cv_cc_flag_unused_command_line_argument=yes
   6016 else case e in #(
   6017   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6018 esac
   6019 fi
   6020 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6021 esac
   6022 fi
   6023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6024 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6025 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6026 	CFLAGS="$xorg_testset_save_CFLAGS"
   6027 fi
   6028 
   6029 found="no"
   6030 
   6031 	if test $found = "no" ; then
   6032 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6033 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6034 		fi
   6035 
   6036 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6037 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6038 		fi
   6039 
   6040 		CFLAGS="$CFLAGS -Wnested-externs"
   6041 
   6042 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   6043 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   6044 		cacheid=xorg_cv_cc_flag__Wnested_externs
   6045 		if eval test \${$cacheid+y}
   6046 then :
   6047   printf %s "(cached) " >&6
   6048 else case e in #(
   6049   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6050 /* end confdefs.h.  */
   6051 int i;
   6052 int
   6053 main (void)
   6054 {
   6055 
   6056   ;
   6057   return 0;
   6058 }
   6059 _ACEOF
   6060 if ac_fn_c_try_link "$LINENO"
   6061 then :
   6062   eval $cacheid=yes
   6063 else case e in #(
   6064   e) eval $cacheid=no ;;
   6065 esac
   6066 fi
   6067 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6068     conftest$ac_exeext conftest.$ac_ext ;;
   6069 esac
   6070 fi
   6071 
   6072 
   6073 		CFLAGS="$xorg_testset_save_CFLAGS"
   6074 
   6075 		eval supported=\$$cacheid
   6076 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6077 printf "%s\n" "$supported" >&6; }
   6078 		if test "$supported" = "yes" ; then
   6079 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6080 			found="yes"
   6081 		fi
   6082 	fi
   6083 
   6084 
   6085 
   6086 
   6087 
   6088 
   6089 
   6090 
   6091 
   6092 
   6093 
   6094 
   6095 
   6096 
   6097 
   6098 xorg_testset_save_CFLAGS="$CFLAGS"
   6099 
   6100 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6101 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6102 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6103 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6104 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6105 then :
   6106   printf %s "(cached) " >&6
   6107 else case e in #(
   6108   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6109 /* end confdefs.h.  */
   6110 int i;
   6111 _ACEOF
   6112 if ac_fn_c_try_compile "$LINENO"
   6113 then :
   6114   xorg_cv_cc_flag_unknown_warning_option=yes
   6115 else case e in #(
   6116   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6117 esac
   6118 fi
   6119 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6120 esac
   6121 fi
   6122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6123 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6124 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6125 	CFLAGS="$xorg_testset_save_CFLAGS"
   6126 fi
   6127 
   6128 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6129 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6130 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6131 	fi
   6132 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6133 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6134 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6135 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6136 then :
   6137   printf %s "(cached) " >&6
   6138 else case e in #(
   6139   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6140 /* end confdefs.h.  */
   6141 int i;
   6142 _ACEOF
   6143 if ac_fn_c_try_compile "$LINENO"
   6144 then :
   6145   xorg_cv_cc_flag_unused_command_line_argument=yes
   6146 else case e in #(
   6147   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6148 esac
   6149 fi
   6150 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6151 esac
   6152 fi
   6153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6154 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6155 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6156 	CFLAGS="$xorg_testset_save_CFLAGS"
   6157 fi
   6158 
   6159 found="no"
   6160 
   6161 	if test $found = "no" ; then
   6162 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6163 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6164 		fi
   6165 
   6166 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6167 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6168 		fi
   6169 
   6170 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6171 
   6172 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6173 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6174 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6175 		if eval test \${$cacheid+y}
   6176 then :
   6177   printf %s "(cached) " >&6
   6178 else case e in #(
   6179   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6180 /* end confdefs.h.  */
   6181 int i;
   6182 int
   6183 main (void)
   6184 {
   6185 
   6186   ;
   6187   return 0;
   6188 }
   6189 _ACEOF
   6190 if ac_fn_c_try_link "$LINENO"
   6191 then :
   6192   eval $cacheid=yes
   6193 else case e in #(
   6194   e) eval $cacheid=no ;;
   6195 esac
   6196 fi
   6197 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6198     conftest$ac_exeext conftest.$ac_ext ;;
   6199 esac
   6200 fi
   6201 
   6202 
   6203 		CFLAGS="$xorg_testset_save_CFLAGS"
   6204 
   6205 		eval supported=\$$cacheid
   6206 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6207 printf "%s\n" "$supported" >&6; }
   6208 		if test "$supported" = "yes" ; then
   6209 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6210 			found="yes"
   6211 		fi
   6212 	fi
   6213 
   6214 
   6215 
   6216 
   6217 
   6218 
   6219 
   6220 
   6221 
   6222 
   6223 
   6224 
   6225 
   6226 
   6227 
   6228 xorg_testset_save_CFLAGS="$CFLAGS"
   6229 
   6230 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6231 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6232 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6233 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6234 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6235 then :
   6236   printf %s "(cached) " >&6
   6237 else case e in #(
   6238   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6239 /* end confdefs.h.  */
   6240 int i;
   6241 _ACEOF
   6242 if ac_fn_c_try_compile "$LINENO"
   6243 then :
   6244   xorg_cv_cc_flag_unknown_warning_option=yes
   6245 else case e in #(
   6246   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6247 esac
   6248 fi
   6249 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6250 esac
   6251 fi
   6252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6253 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6254 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6255 	CFLAGS="$xorg_testset_save_CFLAGS"
   6256 fi
   6257 
   6258 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6259 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6260 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6261 	fi
   6262 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6263 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6264 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6265 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6266 then :
   6267   printf %s "(cached) " >&6
   6268 else case e in #(
   6269   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6270 /* end confdefs.h.  */
   6271 int i;
   6272 _ACEOF
   6273 if ac_fn_c_try_compile "$LINENO"
   6274 then :
   6275   xorg_cv_cc_flag_unused_command_line_argument=yes
   6276 else case e in #(
   6277   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6278 esac
   6279 fi
   6280 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6281 esac
   6282 fi
   6283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6284 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6285 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6286 	CFLAGS="$xorg_testset_save_CFLAGS"
   6287 fi
   6288 
   6289 found="no"
   6290 
   6291 	if test $found = "no" ; then
   6292 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6293 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6294 		fi
   6295 
   6296 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6297 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6298 		fi
   6299 
   6300 		CFLAGS="$CFLAGS -Wold-style-definition"
   6301 
   6302 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6303 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6304 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6305 		if eval test \${$cacheid+y}
   6306 then :
   6307   printf %s "(cached) " >&6
   6308 else case e in #(
   6309   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6310 /* end confdefs.h.  */
   6311 int i;
   6312 int
   6313 main (void)
   6314 {
   6315 
   6316   ;
   6317   return 0;
   6318 }
   6319 _ACEOF
   6320 if ac_fn_c_try_link "$LINENO"
   6321 then :
   6322   eval $cacheid=yes
   6323 else case e in #(
   6324   e) eval $cacheid=no ;;
   6325 esac
   6326 fi
   6327 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6328     conftest$ac_exeext conftest.$ac_ext ;;
   6329 esac
   6330 fi
   6331 
   6332 
   6333 		CFLAGS="$xorg_testset_save_CFLAGS"
   6334 
   6335 		eval supported=\$$cacheid
   6336 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6337 printf "%s\n" "$supported" >&6; }
   6338 		if test "$supported" = "yes" ; then
   6339 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6340 			found="yes"
   6341 		fi
   6342 	fi
   6343 
   6344 	if test $found = "no" ; then
   6345 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6346 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6347 		fi
   6348 
   6349 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6350 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6351 		fi
   6352 
   6353 		CFLAGS="$CFLAGS -fd"
   6354 
   6355 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6356 printf %s "checking if $CC supports -fd... " >&6; }
   6357 		cacheid=xorg_cv_cc_flag__fd
   6358 		if eval test \${$cacheid+y}
   6359 then :
   6360   printf %s "(cached) " >&6
   6361 else case e in #(
   6362   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6363 /* end confdefs.h.  */
   6364 int i;
   6365 int
   6366 main (void)
   6367 {
   6368 
   6369   ;
   6370   return 0;
   6371 }
   6372 _ACEOF
   6373 if ac_fn_c_try_link "$LINENO"
   6374 then :
   6375   eval $cacheid=yes
   6376 else case e in #(
   6377   e) eval $cacheid=no ;;
   6378 esac
   6379 fi
   6380 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6381     conftest$ac_exeext conftest.$ac_ext ;;
   6382 esac
   6383 fi
   6384 
   6385 
   6386 		CFLAGS="$xorg_testset_save_CFLAGS"
   6387 
   6388 		eval supported=\$$cacheid
   6389 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6390 printf "%s\n" "$supported" >&6; }
   6391 		if test "$supported" = "yes" ; then
   6392 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6393 			found="yes"
   6394 		fi
   6395 	fi
   6396 
   6397 
   6398 
   6399 
   6400 
   6401 
   6402 
   6403 
   6404 
   6405 
   6406 
   6407 
   6408 
   6409 
   6410 
   6411 xorg_testset_save_CFLAGS="$CFLAGS"
   6412 
   6413 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6414 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6415 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6416 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6417 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6418 then :
   6419   printf %s "(cached) " >&6
   6420 else case e in #(
   6421   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6422 /* end confdefs.h.  */
   6423 int i;
   6424 _ACEOF
   6425 if ac_fn_c_try_compile "$LINENO"
   6426 then :
   6427   xorg_cv_cc_flag_unknown_warning_option=yes
   6428 else case e in #(
   6429   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6430 esac
   6431 fi
   6432 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6433 esac
   6434 fi
   6435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6436 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6437 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6438 	CFLAGS="$xorg_testset_save_CFLAGS"
   6439 fi
   6440 
   6441 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6442 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6443 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6444 	fi
   6445 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6446 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6447 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6448 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6449 then :
   6450   printf %s "(cached) " >&6
   6451 else case e in #(
   6452   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6453 /* end confdefs.h.  */
   6454 int i;
   6455 _ACEOF
   6456 if ac_fn_c_try_compile "$LINENO"
   6457 then :
   6458   xorg_cv_cc_flag_unused_command_line_argument=yes
   6459 else case e in #(
   6460   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6461 esac
   6462 fi
   6463 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6464 esac
   6465 fi
   6466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6467 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6468 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6469 	CFLAGS="$xorg_testset_save_CFLAGS"
   6470 fi
   6471 
   6472 found="no"
   6473 
   6474 	if test $found = "no" ; then
   6475 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6476 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6477 		fi
   6478 
   6479 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6480 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6481 		fi
   6482 
   6483 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6484 
   6485 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6486 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6487 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6488 		if eval test \${$cacheid+y}
   6489 then :
   6490   printf %s "(cached) " >&6
   6491 else case e in #(
   6492   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6493 /* end confdefs.h.  */
   6494 int i;
   6495 int
   6496 main (void)
   6497 {
   6498 
   6499   ;
   6500   return 0;
   6501 }
   6502 _ACEOF
   6503 if ac_fn_c_try_link "$LINENO"
   6504 then :
   6505   eval $cacheid=yes
   6506 else case e in #(
   6507   e) eval $cacheid=no ;;
   6508 esac
   6509 fi
   6510 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6511     conftest$ac_exeext conftest.$ac_ext ;;
   6512 esac
   6513 fi
   6514 
   6515 
   6516 		CFLAGS="$xorg_testset_save_CFLAGS"
   6517 
   6518 		eval supported=\$$cacheid
   6519 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6520 printf "%s\n" "$supported" >&6; }
   6521 		if test "$supported" = "yes" ; then
   6522 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6523 			found="yes"
   6524 		fi
   6525 	fi
   6526 
   6527 
   6528 
   6529 
   6530 
   6531 # This chunk adds additional warnings that could catch undesired effects.
   6532 
   6533 
   6534 
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 
   6543 
   6544 
   6545 xorg_testset_save_CFLAGS="$CFLAGS"
   6546 
   6547 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6548 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6549 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6550 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6551 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6552 then :
   6553   printf %s "(cached) " >&6
   6554 else case e in #(
   6555   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6556 /* end confdefs.h.  */
   6557 int i;
   6558 _ACEOF
   6559 if ac_fn_c_try_compile "$LINENO"
   6560 then :
   6561   xorg_cv_cc_flag_unknown_warning_option=yes
   6562 else case e in #(
   6563   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6564 esac
   6565 fi
   6566 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6567 esac
   6568 fi
   6569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6570 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6571 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6572 	CFLAGS="$xorg_testset_save_CFLAGS"
   6573 fi
   6574 
   6575 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6576 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6577 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6578 	fi
   6579 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6580 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6581 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6582 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6583 then :
   6584   printf %s "(cached) " >&6
   6585 else case e in #(
   6586   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6587 /* end confdefs.h.  */
   6588 int i;
   6589 _ACEOF
   6590 if ac_fn_c_try_compile "$LINENO"
   6591 then :
   6592   xorg_cv_cc_flag_unused_command_line_argument=yes
   6593 else case e in #(
   6594   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6595 esac
   6596 fi
   6597 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6598 esac
   6599 fi
   6600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6601 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6602 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6603 	CFLAGS="$xorg_testset_save_CFLAGS"
   6604 fi
   6605 
   6606 found="no"
   6607 
   6608 	if test $found = "no" ; then
   6609 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6610 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6611 		fi
   6612 
   6613 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6614 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6615 		fi
   6616 
   6617 		CFLAGS="$CFLAGS -Wunused"
   6618 
   6619 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6620 printf %s "checking if $CC supports -Wunused... " >&6; }
   6621 		cacheid=xorg_cv_cc_flag__Wunused
   6622 		if eval test \${$cacheid+y}
   6623 then :
   6624   printf %s "(cached) " >&6
   6625 else case e in #(
   6626   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6627 /* end confdefs.h.  */
   6628 int i;
   6629 int
   6630 main (void)
   6631 {
   6632 
   6633   ;
   6634   return 0;
   6635 }
   6636 _ACEOF
   6637 if ac_fn_c_try_link "$LINENO"
   6638 then :
   6639   eval $cacheid=yes
   6640 else case e in #(
   6641   e) eval $cacheid=no ;;
   6642 esac
   6643 fi
   6644 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6645     conftest$ac_exeext conftest.$ac_ext ;;
   6646 esac
   6647 fi
   6648 
   6649 
   6650 		CFLAGS="$xorg_testset_save_CFLAGS"
   6651 
   6652 		eval supported=\$$cacheid
   6653 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6654 printf "%s\n" "$supported" >&6; }
   6655 		if test "$supported" = "yes" ; then
   6656 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6657 			found="yes"
   6658 		fi
   6659 	fi
   6660 
   6661 
   6662 
   6663 
   6664 
   6665 
   6666 
   6667 
   6668 
   6669 
   6670 
   6671 
   6672 
   6673 
   6674 
   6675 xorg_testset_save_CFLAGS="$CFLAGS"
   6676 
   6677 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6678 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6679 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6680 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6681 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6682 then :
   6683   printf %s "(cached) " >&6
   6684 else case e in #(
   6685   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6686 /* end confdefs.h.  */
   6687 int i;
   6688 _ACEOF
   6689 if ac_fn_c_try_compile "$LINENO"
   6690 then :
   6691   xorg_cv_cc_flag_unknown_warning_option=yes
   6692 else case e in #(
   6693   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6694 esac
   6695 fi
   6696 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6697 esac
   6698 fi
   6699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6700 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6701 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6702 	CFLAGS="$xorg_testset_save_CFLAGS"
   6703 fi
   6704 
   6705 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6706 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6707 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6708 	fi
   6709 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6710 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6711 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6712 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6713 then :
   6714   printf %s "(cached) " >&6
   6715 else case e in #(
   6716   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6717 /* end confdefs.h.  */
   6718 int i;
   6719 _ACEOF
   6720 if ac_fn_c_try_compile "$LINENO"
   6721 then :
   6722   xorg_cv_cc_flag_unused_command_line_argument=yes
   6723 else case e in #(
   6724   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6725 esac
   6726 fi
   6727 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6728 esac
   6729 fi
   6730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6731 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6732 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6733 	CFLAGS="$xorg_testset_save_CFLAGS"
   6734 fi
   6735 
   6736 found="no"
   6737 
   6738 	if test $found = "no" ; then
   6739 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6740 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6741 		fi
   6742 
   6743 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6744 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6745 		fi
   6746 
   6747 		CFLAGS="$CFLAGS -Wuninitialized"
   6748 
   6749 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6750 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6751 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6752 		if eval test \${$cacheid+y}
   6753 then :
   6754   printf %s "(cached) " >&6
   6755 else case e in #(
   6756   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6757 /* end confdefs.h.  */
   6758 int i;
   6759 int
   6760 main (void)
   6761 {
   6762 
   6763   ;
   6764   return 0;
   6765 }
   6766 _ACEOF
   6767 if ac_fn_c_try_link "$LINENO"
   6768 then :
   6769   eval $cacheid=yes
   6770 else case e in #(
   6771   e) eval $cacheid=no ;;
   6772 esac
   6773 fi
   6774 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6775     conftest$ac_exeext conftest.$ac_ext ;;
   6776 esac
   6777 fi
   6778 
   6779 
   6780 		CFLAGS="$xorg_testset_save_CFLAGS"
   6781 
   6782 		eval supported=\$$cacheid
   6783 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6784 printf "%s\n" "$supported" >&6; }
   6785 		if test "$supported" = "yes" ; then
   6786 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6787 			found="yes"
   6788 		fi
   6789 	fi
   6790 
   6791 
   6792 
   6793 
   6794 
   6795 
   6796 
   6797 
   6798 
   6799 
   6800 
   6801 
   6802 
   6803 
   6804 
   6805 xorg_testset_save_CFLAGS="$CFLAGS"
   6806 
   6807 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6808 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6809 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6810 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6811 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6812 then :
   6813   printf %s "(cached) " >&6
   6814 else case e in #(
   6815   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6816 /* end confdefs.h.  */
   6817 int i;
   6818 _ACEOF
   6819 if ac_fn_c_try_compile "$LINENO"
   6820 then :
   6821   xorg_cv_cc_flag_unknown_warning_option=yes
   6822 else case e in #(
   6823   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6824 esac
   6825 fi
   6826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6827 esac
   6828 fi
   6829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6830 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6831 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6832 	CFLAGS="$xorg_testset_save_CFLAGS"
   6833 fi
   6834 
   6835 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6836 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6837 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6838 	fi
   6839 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6840 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6841 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6842 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6843 then :
   6844   printf %s "(cached) " >&6
   6845 else case e in #(
   6846   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6847 /* end confdefs.h.  */
   6848 int i;
   6849 _ACEOF
   6850 if ac_fn_c_try_compile "$LINENO"
   6851 then :
   6852   xorg_cv_cc_flag_unused_command_line_argument=yes
   6853 else case e in #(
   6854   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6855 esac
   6856 fi
   6857 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6858 esac
   6859 fi
   6860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6861 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6862 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6863 	CFLAGS="$xorg_testset_save_CFLAGS"
   6864 fi
   6865 
   6866 found="no"
   6867 
   6868 	if test $found = "no" ; then
   6869 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6870 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6871 		fi
   6872 
   6873 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6874 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6875 		fi
   6876 
   6877 		CFLAGS="$CFLAGS -Wshadow"
   6878 
   6879 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6880 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6881 		cacheid=xorg_cv_cc_flag__Wshadow
   6882 		if eval test \${$cacheid+y}
   6883 then :
   6884   printf %s "(cached) " >&6
   6885 else case e in #(
   6886   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6887 /* end confdefs.h.  */
   6888 int i;
   6889 int
   6890 main (void)
   6891 {
   6892 
   6893   ;
   6894   return 0;
   6895 }
   6896 _ACEOF
   6897 if ac_fn_c_try_link "$LINENO"
   6898 then :
   6899   eval $cacheid=yes
   6900 else case e in #(
   6901   e) eval $cacheid=no ;;
   6902 esac
   6903 fi
   6904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6905     conftest$ac_exeext conftest.$ac_ext ;;
   6906 esac
   6907 fi
   6908 
   6909 
   6910 		CFLAGS="$xorg_testset_save_CFLAGS"
   6911 
   6912 		eval supported=\$$cacheid
   6913 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6914 printf "%s\n" "$supported" >&6; }
   6915 		if test "$supported" = "yes" ; then
   6916 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6917 			found="yes"
   6918 		fi
   6919 	fi
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 
   6929 
   6930 
   6931 
   6932 
   6933 
   6934 
   6935 xorg_testset_save_CFLAGS="$CFLAGS"
   6936 
   6937 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6938 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6939 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6940 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6941 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6942 then :
   6943   printf %s "(cached) " >&6
   6944 else case e in #(
   6945   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6946 /* end confdefs.h.  */
   6947 int i;
   6948 _ACEOF
   6949 if ac_fn_c_try_compile "$LINENO"
   6950 then :
   6951   xorg_cv_cc_flag_unknown_warning_option=yes
   6952 else case e in #(
   6953   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6954 esac
   6955 fi
   6956 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6957 esac
   6958 fi
   6959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6960 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6961 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6962 	CFLAGS="$xorg_testset_save_CFLAGS"
   6963 fi
   6964 
   6965 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6966 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6967 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6968 	fi
   6969 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6970 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6971 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6972 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6973 then :
   6974   printf %s "(cached) " >&6
   6975 else case e in #(
   6976   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6977 /* end confdefs.h.  */
   6978 int i;
   6979 _ACEOF
   6980 if ac_fn_c_try_compile "$LINENO"
   6981 then :
   6982   xorg_cv_cc_flag_unused_command_line_argument=yes
   6983 else case e in #(
   6984   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6985 esac
   6986 fi
   6987 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6988 esac
   6989 fi
   6990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6991 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6992 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6993 	CFLAGS="$xorg_testset_save_CFLAGS"
   6994 fi
   6995 
   6996 found="no"
   6997 
   6998 	if test $found = "no" ; then
   6999 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7000 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7001 		fi
   7002 
   7003 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7004 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7005 		fi
   7006 
   7007 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   7008 
   7009 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   7010 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   7011 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   7012 		if eval test \${$cacheid+y}
   7013 then :
   7014   printf %s "(cached) " >&6
   7015 else case e in #(
   7016   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7017 /* end confdefs.h.  */
   7018 int i;
   7019 int
   7020 main (void)
   7021 {
   7022 
   7023   ;
   7024   return 0;
   7025 }
   7026 _ACEOF
   7027 if ac_fn_c_try_link "$LINENO"
   7028 then :
   7029   eval $cacheid=yes
   7030 else case e in #(
   7031   e) eval $cacheid=no ;;
   7032 esac
   7033 fi
   7034 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7035     conftest$ac_exeext conftest.$ac_ext ;;
   7036 esac
   7037 fi
   7038 
   7039 
   7040 		CFLAGS="$xorg_testset_save_CFLAGS"
   7041 
   7042 		eval supported=\$$cacheid
   7043 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7044 printf "%s\n" "$supported" >&6; }
   7045 		if test "$supported" = "yes" ; then
   7046 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   7047 			found="yes"
   7048 		fi
   7049 	fi
   7050 
   7051 
   7052 
   7053 
   7054 
   7055 
   7056 
   7057 
   7058 
   7059 
   7060 
   7061 
   7062 
   7063 
   7064 
   7065 xorg_testset_save_CFLAGS="$CFLAGS"
   7066 
   7067 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7068 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7069 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7070 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7071 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7072 then :
   7073   printf %s "(cached) " >&6
   7074 else case e in #(
   7075   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7076 /* end confdefs.h.  */
   7077 int i;
   7078 _ACEOF
   7079 if ac_fn_c_try_compile "$LINENO"
   7080 then :
   7081   xorg_cv_cc_flag_unknown_warning_option=yes
   7082 else case e in #(
   7083   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7084 esac
   7085 fi
   7086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7087 esac
   7088 fi
   7089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7090 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7091 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7092 	CFLAGS="$xorg_testset_save_CFLAGS"
   7093 fi
   7094 
   7095 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7096 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7097 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7098 	fi
   7099 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7100 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7101 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7102 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7103 then :
   7104   printf %s "(cached) " >&6
   7105 else case e in #(
   7106   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7107 /* end confdefs.h.  */
   7108 int i;
   7109 _ACEOF
   7110 if ac_fn_c_try_compile "$LINENO"
   7111 then :
   7112   xorg_cv_cc_flag_unused_command_line_argument=yes
   7113 else case e in #(
   7114   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7115 esac
   7116 fi
   7117 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7118 esac
   7119 fi
   7120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7121 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7122 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7123 	CFLAGS="$xorg_testset_save_CFLAGS"
   7124 fi
   7125 
   7126 found="no"
   7127 
   7128 	if test $found = "no" ; then
   7129 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7130 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7131 		fi
   7132 
   7133 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7134 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7135 		fi
   7136 
   7137 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7138 
   7139 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7140 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7141 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7142 		if eval test \${$cacheid+y}
   7143 then :
   7144   printf %s "(cached) " >&6
   7145 else case e in #(
   7146   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7147 /* end confdefs.h.  */
   7148 int i;
   7149 int
   7150 main (void)
   7151 {
   7152 
   7153   ;
   7154   return 0;
   7155 }
   7156 _ACEOF
   7157 if ac_fn_c_try_link "$LINENO"
   7158 then :
   7159   eval $cacheid=yes
   7160 else case e in #(
   7161   e) eval $cacheid=no ;;
   7162 esac
   7163 fi
   7164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7165     conftest$ac_exeext conftest.$ac_ext ;;
   7166 esac
   7167 fi
   7168 
   7169 
   7170 		CFLAGS="$xorg_testset_save_CFLAGS"
   7171 
   7172 		eval supported=\$$cacheid
   7173 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7174 printf "%s\n" "$supported" >&6; }
   7175 		if test "$supported" = "yes" ; then
   7176 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7177 			found="yes"
   7178 		fi
   7179 	fi
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 
   7191 
   7192 
   7193 
   7194 
   7195 xorg_testset_save_CFLAGS="$CFLAGS"
   7196 
   7197 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7198 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7199 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7200 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7201 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7202 then :
   7203   printf %s "(cached) " >&6
   7204 else case e in #(
   7205   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7206 /* end confdefs.h.  */
   7207 int i;
   7208 _ACEOF
   7209 if ac_fn_c_try_compile "$LINENO"
   7210 then :
   7211   xorg_cv_cc_flag_unknown_warning_option=yes
   7212 else case e in #(
   7213   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7214 esac
   7215 fi
   7216 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7217 esac
   7218 fi
   7219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7220 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7221 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7222 	CFLAGS="$xorg_testset_save_CFLAGS"
   7223 fi
   7224 
   7225 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7226 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7227 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7228 	fi
   7229 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7230 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7231 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7232 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7233 then :
   7234   printf %s "(cached) " >&6
   7235 else case e in #(
   7236   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7237 /* end confdefs.h.  */
   7238 int i;
   7239 _ACEOF
   7240 if ac_fn_c_try_compile "$LINENO"
   7241 then :
   7242   xorg_cv_cc_flag_unused_command_line_argument=yes
   7243 else case e in #(
   7244   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7245 esac
   7246 fi
   7247 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7248 esac
   7249 fi
   7250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7251 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7252 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7253 	CFLAGS="$xorg_testset_save_CFLAGS"
   7254 fi
   7255 
   7256 found="no"
   7257 
   7258 	if test $found = "no" ; then
   7259 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7260 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7261 		fi
   7262 
   7263 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7264 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7265 		fi
   7266 
   7267 		CFLAGS="$CFLAGS -Wredundant-decls"
   7268 
   7269 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7270 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7271 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7272 		if eval test \${$cacheid+y}
   7273 then :
   7274   printf %s "(cached) " >&6
   7275 else case e in #(
   7276   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7277 /* end confdefs.h.  */
   7278 int i;
   7279 int
   7280 main (void)
   7281 {
   7282 
   7283   ;
   7284   return 0;
   7285 }
   7286 _ACEOF
   7287 if ac_fn_c_try_link "$LINENO"
   7288 then :
   7289   eval $cacheid=yes
   7290 else case e in #(
   7291   e) eval $cacheid=no ;;
   7292 esac
   7293 fi
   7294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7295     conftest$ac_exeext conftest.$ac_ext ;;
   7296 esac
   7297 fi
   7298 
   7299 
   7300 		CFLAGS="$xorg_testset_save_CFLAGS"
   7301 
   7302 		eval supported=\$$cacheid
   7303 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7304 printf "%s\n" "$supported" >&6; }
   7305 		if test "$supported" = "yes" ; then
   7306 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7307 			found="yes"
   7308 		fi
   7309 	fi
   7310 
   7311 
   7312 
   7313 
   7314 
   7315 
   7316 
   7317 
   7318 
   7319 
   7320 
   7321 
   7322 
   7323 
   7324 
   7325 xorg_testset_save_CFLAGS="$CFLAGS"
   7326 
   7327 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7328 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7329 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7330 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7331 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7332 then :
   7333   printf %s "(cached) " >&6
   7334 else case e in #(
   7335   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7336 /* end confdefs.h.  */
   7337 int i;
   7338 _ACEOF
   7339 if ac_fn_c_try_compile "$LINENO"
   7340 then :
   7341   xorg_cv_cc_flag_unknown_warning_option=yes
   7342 else case e in #(
   7343   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7344 esac
   7345 fi
   7346 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7347 esac
   7348 fi
   7349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7350 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7351 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7352 	CFLAGS="$xorg_testset_save_CFLAGS"
   7353 fi
   7354 
   7355 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7356 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7357 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7358 	fi
   7359 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7360 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7361 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7362 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7363 then :
   7364   printf %s "(cached) " >&6
   7365 else case e in #(
   7366   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7367 /* end confdefs.h.  */
   7368 int i;
   7369 _ACEOF
   7370 if ac_fn_c_try_compile "$LINENO"
   7371 then :
   7372   xorg_cv_cc_flag_unused_command_line_argument=yes
   7373 else case e in #(
   7374   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7375 esac
   7376 fi
   7377 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7378 esac
   7379 fi
   7380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7381 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7382 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7383 	CFLAGS="$xorg_testset_save_CFLAGS"
   7384 fi
   7385 
   7386 found="no"
   7387 
   7388 	if test $found = "no" ; then
   7389 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7390 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7391 		fi
   7392 
   7393 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7394 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7395 		fi
   7396 
   7397 		CFLAGS="$CFLAGS -Wlogical-op"
   7398 
   7399 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7400 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7401 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7402 		if eval test \${$cacheid+y}
   7403 then :
   7404   printf %s "(cached) " >&6
   7405 else case e in #(
   7406   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7407 /* end confdefs.h.  */
   7408 int i;
   7409 int
   7410 main (void)
   7411 {
   7412 
   7413   ;
   7414   return 0;
   7415 }
   7416 _ACEOF
   7417 if ac_fn_c_try_link "$LINENO"
   7418 then :
   7419   eval $cacheid=yes
   7420 else case e in #(
   7421   e) eval $cacheid=no ;;
   7422 esac
   7423 fi
   7424 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7425     conftest$ac_exeext conftest.$ac_ext ;;
   7426 esac
   7427 fi
   7428 
   7429 
   7430 		CFLAGS="$xorg_testset_save_CFLAGS"
   7431 
   7432 		eval supported=\$$cacheid
   7433 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7434 printf "%s\n" "$supported" >&6; }
   7435 		if test "$supported" = "yes" ; then
   7436 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7437 			found="yes"
   7438 		fi
   7439 	fi
   7440 
   7441 
   7442 
   7443 # These are currently disabled because they are noisy.  They will be enabled
   7444 # in the future once the codebase is sufficiently modernized to silence
   7445 # them.  For now, I don't want them to drown out the other warnings.
   7446 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7447 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7448 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7449 
   7450 # Turn some warnings into errors, so we don't accidentally get successful builds
   7451 # when there are problems that should be fixed.
   7452 
   7453 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7454 
   7455 
   7456 
   7457 
   7458 
   7459 
   7460 
   7461 
   7462 
   7463 
   7464 
   7465 
   7466 
   7467 xorg_testset_save_CFLAGS="$CFLAGS"
   7468 
   7469 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7470 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7471 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7472 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7473 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7474 then :
   7475   printf %s "(cached) " >&6
   7476 else case e in #(
   7477   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7478 /* end confdefs.h.  */
   7479 int i;
   7480 _ACEOF
   7481 if ac_fn_c_try_compile "$LINENO"
   7482 then :
   7483   xorg_cv_cc_flag_unknown_warning_option=yes
   7484 else case e in #(
   7485   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7486 esac
   7487 fi
   7488 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7489 esac
   7490 fi
   7491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7492 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7493 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7494 	CFLAGS="$xorg_testset_save_CFLAGS"
   7495 fi
   7496 
   7497 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7498 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7499 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7500 	fi
   7501 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7502 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7503 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7504 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7505 then :
   7506   printf %s "(cached) " >&6
   7507 else case e in #(
   7508   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7509 /* end confdefs.h.  */
   7510 int i;
   7511 _ACEOF
   7512 if ac_fn_c_try_compile "$LINENO"
   7513 then :
   7514   xorg_cv_cc_flag_unused_command_line_argument=yes
   7515 else case e in #(
   7516   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7517 esac
   7518 fi
   7519 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7520 esac
   7521 fi
   7522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7523 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7524 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7525 	CFLAGS="$xorg_testset_save_CFLAGS"
   7526 fi
   7527 
   7528 found="no"
   7529 
   7530 	if test $found = "no" ; then
   7531 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7532 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7533 		fi
   7534 
   7535 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7536 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7537 		fi
   7538 
   7539 		CFLAGS="$CFLAGS -Werror=implicit"
   7540 
   7541 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7542 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7543 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7544 		if eval test \${$cacheid+y}
   7545 then :
   7546   printf %s "(cached) " >&6
   7547 else case e in #(
   7548   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7549 /* end confdefs.h.  */
   7550 int i;
   7551 int
   7552 main (void)
   7553 {
   7554 
   7555   ;
   7556   return 0;
   7557 }
   7558 _ACEOF
   7559 if ac_fn_c_try_link "$LINENO"
   7560 then :
   7561   eval $cacheid=yes
   7562 else case e in #(
   7563   e) eval $cacheid=no ;;
   7564 esac
   7565 fi
   7566 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7567     conftest$ac_exeext conftest.$ac_ext ;;
   7568 esac
   7569 fi
   7570 
   7571 
   7572 		CFLAGS="$xorg_testset_save_CFLAGS"
   7573 
   7574 		eval supported=\$$cacheid
   7575 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7576 printf "%s\n" "$supported" >&6; }
   7577 		if test "$supported" = "yes" ; then
   7578 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7579 			found="yes"
   7580 		fi
   7581 	fi
   7582 
   7583 	if test $found = "no" ; then
   7584 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7585 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7586 		fi
   7587 
   7588 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7589 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7590 		fi
   7591 
   7592 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7593 
   7594 		{ 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
   7595 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7596 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7597 		if eval test \${$cacheid+y}
   7598 then :
   7599   printf %s "(cached) " >&6
   7600 else case e in #(
   7601   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7602 /* end confdefs.h.  */
   7603 int i;
   7604 int
   7605 main (void)
   7606 {
   7607 
   7608   ;
   7609   return 0;
   7610 }
   7611 _ACEOF
   7612 if ac_fn_c_try_link "$LINENO"
   7613 then :
   7614   eval $cacheid=yes
   7615 else case e in #(
   7616   e) eval $cacheid=no ;;
   7617 esac
   7618 fi
   7619 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7620     conftest$ac_exeext conftest.$ac_ext ;;
   7621 esac
   7622 fi
   7623 
   7624 
   7625 		CFLAGS="$xorg_testset_save_CFLAGS"
   7626 
   7627 		eval supported=\$$cacheid
   7628 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7629 printf "%s\n" "$supported" >&6; }
   7630 		if test "$supported" = "yes" ; then
   7631 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7632 			found="yes"
   7633 		fi
   7634 	fi
   7635 
   7636 
   7637 
   7638 
   7639 
   7640 
   7641 
   7642 
   7643 
   7644 
   7645 
   7646 
   7647 
   7648 
   7649 
   7650 xorg_testset_save_CFLAGS="$CFLAGS"
   7651 
   7652 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7653 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7654 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7655 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7656 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7657 then :
   7658   printf %s "(cached) " >&6
   7659 else case e in #(
   7660   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7661 /* end confdefs.h.  */
   7662 int i;
   7663 _ACEOF
   7664 if ac_fn_c_try_compile "$LINENO"
   7665 then :
   7666   xorg_cv_cc_flag_unknown_warning_option=yes
   7667 else case e in #(
   7668   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7669 esac
   7670 fi
   7671 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7672 esac
   7673 fi
   7674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7675 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7676 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7677 	CFLAGS="$xorg_testset_save_CFLAGS"
   7678 fi
   7679 
   7680 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7681 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7682 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7683 	fi
   7684 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7685 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7686 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7687 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7688 then :
   7689   printf %s "(cached) " >&6
   7690 else case e in #(
   7691   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7692 /* end confdefs.h.  */
   7693 int i;
   7694 _ACEOF
   7695 if ac_fn_c_try_compile "$LINENO"
   7696 then :
   7697   xorg_cv_cc_flag_unused_command_line_argument=yes
   7698 else case e in #(
   7699   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7700 esac
   7701 fi
   7702 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7703 esac
   7704 fi
   7705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7706 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7707 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7708 	CFLAGS="$xorg_testset_save_CFLAGS"
   7709 fi
   7710 
   7711 found="no"
   7712 
   7713 	if test $found = "no" ; then
   7714 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7715 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7716 		fi
   7717 
   7718 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7719 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7720 		fi
   7721 
   7722 		CFLAGS="$CFLAGS -Werror=nonnull"
   7723 
   7724 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7725 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7726 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7727 		if eval test \${$cacheid+y}
   7728 then :
   7729   printf %s "(cached) " >&6
   7730 else case e in #(
   7731   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7732 /* end confdefs.h.  */
   7733 int i;
   7734 int
   7735 main (void)
   7736 {
   7737 
   7738   ;
   7739   return 0;
   7740 }
   7741 _ACEOF
   7742 if ac_fn_c_try_link "$LINENO"
   7743 then :
   7744   eval $cacheid=yes
   7745 else case e in #(
   7746   e) eval $cacheid=no ;;
   7747 esac
   7748 fi
   7749 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7750     conftest$ac_exeext conftest.$ac_ext ;;
   7751 esac
   7752 fi
   7753 
   7754 
   7755 		CFLAGS="$xorg_testset_save_CFLAGS"
   7756 
   7757 		eval supported=\$$cacheid
   7758 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7759 printf "%s\n" "$supported" >&6; }
   7760 		if test "$supported" = "yes" ; then
   7761 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7762 			found="yes"
   7763 		fi
   7764 	fi
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 
   7771 
   7772 
   7773 
   7774 
   7775 
   7776 
   7777 
   7778 
   7779 
   7780 xorg_testset_save_CFLAGS="$CFLAGS"
   7781 
   7782 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7783 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7784 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7785 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7786 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7787 then :
   7788   printf %s "(cached) " >&6
   7789 else case e in #(
   7790   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7791 /* end confdefs.h.  */
   7792 int i;
   7793 _ACEOF
   7794 if ac_fn_c_try_compile "$LINENO"
   7795 then :
   7796   xorg_cv_cc_flag_unknown_warning_option=yes
   7797 else case e in #(
   7798   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7799 esac
   7800 fi
   7801 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7802 esac
   7803 fi
   7804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7805 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7806 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7807 	CFLAGS="$xorg_testset_save_CFLAGS"
   7808 fi
   7809 
   7810 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7811 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7812 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7813 	fi
   7814 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7815 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7816 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7817 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7818 then :
   7819   printf %s "(cached) " >&6
   7820 else case e in #(
   7821   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7822 /* end confdefs.h.  */
   7823 int i;
   7824 _ACEOF
   7825 if ac_fn_c_try_compile "$LINENO"
   7826 then :
   7827   xorg_cv_cc_flag_unused_command_line_argument=yes
   7828 else case e in #(
   7829   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7830 esac
   7831 fi
   7832 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7833 esac
   7834 fi
   7835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7836 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7837 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7838 	CFLAGS="$xorg_testset_save_CFLAGS"
   7839 fi
   7840 
   7841 found="no"
   7842 
   7843 	if test $found = "no" ; then
   7844 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7845 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7846 		fi
   7847 
   7848 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7849 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7850 		fi
   7851 
   7852 		CFLAGS="$CFLAGS -Werror=init-self"
   7853 
   7854 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7855 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7856 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7857 		if eval test \${$cacheid+y}
   7858 then :
   7859   printf %s "(cached) " >&6
   7860 else case e in #(
   7861   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7862 /* end confdefs.h.  */
   7863 int i;
   7864 int
   7865 main (void)
   7866 {
   7867 
   7868   ;
   7869   return 0;
   7870 }
   7871 _ACEOF
   7872 if ac_fn_c_try_link "$LINENO"
   7873 then :
   7874   eval $cacheid=yes
   7875 else case e in #(
   7876   e) eval $cacheid=no ;;
   7877 esac
   7878 fi
   7879 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7880     conftest$ac_exeext conftest.$ac_ext ;;
   7881 esac
   7882 fi
   7883 
   7884 
   7885 		CFLAGS="$xorg_testset_save_CFLAGS"
   7886 
   7887 		eval supported=\$$cacheid
   7888 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7889 printf "%s\n" "$supported" >&6; }
   7890 		if test "$supported" = "yes" ; then
   7891 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7892 			found="yes"
   7893 		fi
   7894 	fi
   7895 
   7896 
   7897 
   7898 
   7899 
   7900 
   7901 
   7902 
   7903 
   7904 
   7905 
   7906 
   7907 
   7908 
   7909 
   7910 xorg_testset_save_CFLAGS="$CFLAGS"
   7911 
   7912 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7913 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7914 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7915 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7916 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7917 then :
   7918   printf %s "(cached) " >&6
   7919 else case e in #(
   7920   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7921 /* end confdefs.h.  */
   7922 int i;
   7923 _ACEOF
   7924 if ac_fn_c_try_compile "$LINENO"
   7925 then :
   7926   xorg_cv_cc_flag_unknown_warning_option=yes
   7927 else case e in #(
   7928   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7929 esac
   7930 fi
   7931 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7932 esac
   7933 fi
   7934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7935 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7936 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7937 	CFLAGS="$xorg_testset_save_CFLAGS"
   7938 fi
   7939 
   7940 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7941 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7942 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7943 	fi
   7944 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7945 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7946 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7947 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7948 then :
   7949   printf %s "(cached) " >&6
   7950 else case e in #(
   7951   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7952 /* end confdefs.h.  */
   7953 int i;
   7954 _ACEOF
   7955 if ac_fn_c_try_compile "$LINENO"
   7956 then :
   7957   xorg_cv_cc_flag_unused_command_line_argument=yes
   7958 else case e in #(
   7959   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7960 esac
   7961 fi
   7962 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7963 esac
   7964 fi
   7965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7966 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7967 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7968 	CFLAGS="$xorg_testset_save_CFLAGS"
   7969 fi
   7970 
   7971 found="no"
   7972 
   7973 	if test $found = "no" ; then
   7974 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7975 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7976 		fi
   7977 
   7978 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7979 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7980 		fi
   7981 
   7982 		CFLAGS="$CFLAGS -Werror=main"
   7983 
   7984 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7985 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7986 		cacheid=xorg_cv_cc_flag__Werror_main
   7987 		if eval test \${$cacheid+y}
   7988 then :
   7989   printf %s "(cached) " >&6
   7990 else case e in #(
   7991   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7992 /* end confdefs.h.  */
   7993 int i;
   7994 int
   7995 main (void)
   7996 {
   7997 
   7998   ;
   7999   return 0;
   8000 }
   8001 _ACEOF
   8002 if ac_fn_c_try_link "$LINENO"
   8003 then :
   8004   eval $cacheid=yes
   8005 else case e in #(
   8006   e) eval $cacheid=no ;;
   8007 esac
   8008 fi
   8009 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8010     conftest$ac_exeext conftest.$ac_ext ;;
   8011 esac
   8012 fi
   8013 
   8014 
   8015 		CFLAGS="$xorg_testset_save_CFLAGS"
   8016 
   8017 		eval supported=\$$cacheid
   8018 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8019 printf "%s\n" "$supported" >&6; }
   8020 		if test "$supported" = "yes" ; then
   8021 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   8022 			found="yes"
   8023 		fi
   8024 	fi
   8025 
   8026 
   8027 
   8028 
   8029 
   8030 
   8031 
   8032 
   8033 
   8034 
   8035 
   8036 
   8037 
   8038 
   8039 
   8040 xorg_testset_save_CFLAGS="$CFLAGS"
   8041 
   8042 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8043 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8044 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8045 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8046 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8047 then :
   8048   printf %s "(cached) " >&6
   8049 else case e in #(
   8050   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8051 /* end confdefs.h.  */
   8052 int i;
   8053 _ACEOF
   8054 if ac_fn_c_try_compile "$LINENO"
   8055 then :
   8056   xorg_cv_cc_flag_unknown_warning_option=yes
   8057 else case e in #(
   8058   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8059 esac
   8060 fi
   8061 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8062 esac
   8063 fi
   8064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8065 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8066 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8067 	CFLAGS="$xorg_testset_save_CFLAGS"
   8068 fi
   8069 
   8070 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8071 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8072 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8073 	fi
   8074 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8075 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8076 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8077 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8078 then :
   8079   printf %s "(cached) " >&6
   8080 else case e in #(
   8081   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8082 /* end confdefs.h.  */
   8083 int i;
   8084 _ACEOF
   8085 if ac_fn_c_try_compile "$LINENO"
   8086 then :
   8087   xorg_cv_cc_flag_unused_command_line_argument=yes
   8088 else case e in #(
   8089   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8090 esac
   8091 fi
   8092 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8093 esac
   8094 fi
   8095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8096 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8097 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8098 	CFLAGS="$xorg_testset_save_CFLAGS"
   8099 fi
   8100 
   8101 found="no"
   8102 
   8103 	if test $found = "no" ; then
   8104 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8105 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8106 		fi
   8107 
   8108 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8109 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8110 		fi
   8111 
   8112 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8113 
   8114 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8115 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8116 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8117 		if eval test \${$cacheid+y}
   8118 then :
   8119   printf %s "(cached) " >&6
   8120 else case e in #(
   8121   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8122 /* end confdefs.h.  */
   8123 int i;
   8124 int
   8125 main (void)
   8126 {
   8127 
   8128   ;
   8129   return 0;
   8130 }
   8131 _ACEOF
   8132 if ac_fn_c_try_link "$LINENO"
   8133 then :
   8134   eval $cacheid=yes
   8135 else case e in #(
   8136   e) eval $cacheid=no ;;
   8137 esac
   8138 fi
   8139 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8140     conftest$ac_exeext conftest.$ac_ext ;;
   8141 esac
   8142 fi
   8143 
   8144 
   8145 		CFLAGS="$xorg_testset_save_CFLAGS"
   8146 
   8147 		eval supported=\$$cacheid
   8148 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8149 printf "%s\n" "$supported" >&6; }
   8150 		if test "$supported" = "yes" ; then
   8151 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8152 			found="yes"
   8153 		fi
   8154 	fi
   8155 
   8156 
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 
   8168 
   8169 
   8170 xorg_testset_save_CFLAGS="$CFLAGS"
   8171 
   8172 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8173 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8174 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8175 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8176 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8177 then :
   8178   printf %s "(cached) " >&6
   8179 else case e in #(
   8180   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8181 /* end confdefs.h.  */
   8182 int i;
   8183 _ACEOF
   8184 if ac_fn_c_try_compile "$LINENO"
   8185 then :
   8186   xorg_cv_cc_flag_unknown_warning_option=yes
   8187 else case e in #(
   8188   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8189 esac
   8190 fi
   8191 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8192 esac
   8193 fi
   8194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8195 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8196 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8197 	CFLAGS="$xorg_testset_save_CFLAGS"
   8198 fi
   8199 
   8200 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8201 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8202 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8203 	fi
   8204 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8205 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8206 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8207 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8208 then :
   8209   printf %s "(cached) " >&6
   8210 else case e in #(
   8211   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8212 /* end confdefs.h.  */
   8213 int i;
   8214 _ACEOF
   8215 if ac_fn_c_try_compile "$LINENO"
   8216 then :
   8217   xorg_cv_cc_flag_unused_command_line_argument=yes
   8218 else case e in #(
   8219   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8220 esac
   8221 fi
   8222 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8223 esac
   8224 fi
   8225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8226 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8227 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8228 	CFLAGS="$xorg_testset_save_CFLAGS"
   8229 fi
   8230 
   8231 found="no"
   8232 
   8233 	if test $found = "no" ; then
   8234 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8235 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8236 		fi
   8237 
   8238 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8239 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8240 		fi
   8241 
   8242 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8243 
   8244 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8245 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8246 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8247 		if eval test \${$cacheid+y}
   8248 then :
   8249   printf %s "(cached) " >&6
   8250 else case e in #(
   8251   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8252 /* end confdefs.h.  */
   8253 int i;
   8254 int
   8255 main (void)
   8256 {
   8257 
   8258   ;
   8259   return 0;
   8260 }
   8261 _ACEOF
   8262 if ac_fn_c_try_link "$LINENO"
   8263 then :
   8264   eval $cacheid=yes
   8265 else case e in #(
   8266   e) eval $cacheid=no ;;
   8267 esac
   8268 fi
   8269 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8270     conftest$ac_exeext conftest.$ac_ext ;;
   8271 esac
   8272 fi
   8273 
   8274 
   8275 		CFLAGS="$xorg_testset_save_CFLAGS"
   8276 
   8277 		eval supported=\$$cacheid
   8278 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8279 printf "%s\n" "$supported" >&6; }
   8280 		if test "$supported" = "yes" ; then
   8281 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8282 			found="yes"
   8283 		fi
   8284 	fi
   8285 
   8286 
   8287 
   8288 
   8289 
   8290 
   8291 
   8292 
   8293 
   8294 
   8295 
   8296 
   8297 
   8298 
   8299 
   8300 xorg_testset_save_CFLAGS="$CFLAGS"
   8301 
   8302 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8303 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8304 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8305 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8306 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8307 then :
   8308   printf %s "(cached) " >&6
   8309 else case e in #(
   8310   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8311 /* end confdefs.h.  */
   8312 int i;
   8313 _ACEOF
   8314 if ac_fn_c_try_compile "$LINENO"
   8315 then :
   8316   xorg_cv_cc_flag_unknown_warning_option=yes
   8317 else case e in #(
   8318   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8319 esac
   8320 fi
   8321 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8322 esac
   8323 fi
   8324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8325 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8326 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8327 	CFLAGS="$xorg_testset_save_CFLAGS"
   8328 fi
   8329 
   8330 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8331 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8332 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8333 	fi
   8334 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8335 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8336 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8337 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8338 then :
   8339   printf %s "(cached) " >&6
   8340 else case e in #(
   8341   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8342 /* end confdefs.h.  */
   8343 int i;
   8344 _ACEOF
   8345 if ac_fn_c_try_compile "$LINENO"
   8346 then :
   8347   xorg_cv_cc_flag_unused_command_line_argument=yes
   8348 else case e in #(
   8349   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8350 esac
   8351 fi
   8352 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8353 esac
   8354 fi
   8355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8356 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8357 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8358 	CFLAGS="$xorg_testset_save_CFLAGS"
   8359 fi
   8360 
   8361 found="no"
   8362 
   8363 	if test $found = "no" ; then
   8364 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8365 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8366 		fi
   8367 
   8368 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8369 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8370 		fi
   8371 
   8372 		CFLAGS="$CFLAGS -Werror=return-type"
   8373 
   8374 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8375 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8376 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8377 		if eval test \${$cacheid+y}
   8378 then :
   8379   printf %s "(cached) " >&6
   8380 else case e in #(
   8381   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8382 /* end confdefs.h.  */
   8383 int i;
   8384 int
   8385 main (void)
   8386 {
   8387 
   8388   ;
   8389   return 0;
   8390 }
   8391 _ACEOF
   8392 if ac_fn_c_try_link "$LINENO"
   8393 then :
   8394   eval $cacheid=yes
   8395 else case e in #(
   8396   e) eval $cacheid=no ;;
   8397 esac
   8398 fi
   8399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8400     conftest$ac_exeext conftest.$ac_ext ;;
   8401 esac
   8402 fi
   8403 
   8404 
   8405 		CFLAGS="$xorg_testset_save_CFLAGS"
   8406 
   8407 		eval supported=\$$cacheid
   8408 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8409 printf "%s\n" "$supported" >&6; }
   8410 		if test "$supported" = "yes" ; then
   8411 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8412 			found="yes"
   8413 		fi
   8414 	fi
   8415 
   8416 	if test $found = "no" ; then
   8417 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8418 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8419 		fi
   8420 
   8421 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8422 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8423 		fi
   8424 
   8425 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8426 
   8427 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8428 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8429 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8430 		if eval test \${$cacheid+y}
   8431 then :
   8432   printf %s "(cached) " >&6
   8433 else case e in #(
   8434   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8435 /* end confdefs.h.  */
   8436 int i;
   8437 int
   8438 main (void)
   8439 {
   8440 
   8441   ;
   8442   return 0;
   8443 }
   8444 _ACEOF
   8445 if ac_fn_c_try_link "$LINENO"
   8446 then :
   8447   eval $cacheid=yes
   8448 else case e in #(
   8449   e) eval $cacheid=no ;;
   8450 esac
   8451 fi
   8452 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8453     conftest$ac_exeext conftest.$ac_ext ;;
   8454 esac
   8455 fi
   8456 
   8457 
   8458 		CFLAGS="$xorg_testset_save_CFLAGS"
   8459 
   8460 		eval supported=\$$cacheid
   8461 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8462 printf "%s\n" "$supported" >&6; }
   8463 		if test "$supported" = "yes" ; then
   8464 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8465 			found="yes"
   8466 		fi
   8467 	fi
   8468 
   8469 
   8470 
   8471 
   8472 
   8473 
   8474 
   8475 
   8476 
   8477 
   8478 
   8479 
   8480 
   8481 
   8482 
   8483 xorg_testset_save_CFLAGS="$CFLAGS"
   8484 
   8485 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8486 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8487 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8488 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8489 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8490 then :
   8491   printf %s "(cached) " >&6
   8492 else case e in #(
   8493   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8494 /* end confdefs.h.  */
   8495 int i;
   8496 _ACEOF
   8497 if ac_fn_c_try_compile "$LINENO"
   8498 then :
   8499   xorg_cv_cc_flag_unknown_warning_option=yes
   8500 else case e in #(
   8501   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8502 esac
   8503 fi
   8504 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8505 esac
   8506 fi
   8507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8508 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8509 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8510 	CFLAGS="$xorg_testset_save_CFLAGS"
   8511 fi
   8512 
   8513 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8514 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8515 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8516 	fi
   8517 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8518 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8519 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8520 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8521 then :
   8522   printf %s "(cached) " >&6
   8523 else case e in #(
   8524   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8525 /* end confdefs.h.  */
   8526 int i;
   8527 _ACEOF
   8528 if ac_fn_c_try_compile "$LINENO"
   8529 then :
   8530   xorg_cv_cc_flag_unused_command_line_argument=yes
   8531 else case e in #(
   8532   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8533 esac
   8534 fi
   8535 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8536 esac
   8537 fi
   8538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8539 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8540 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8541 	CFLAGS="$xorg_testset_save_CFLAGS"
   8542 fi
   8543 
   8544 found="no"
   8545 
   8546 	if test $found = "no" ; then
   8547 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8548 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8549 		fi
   8550 
   8551 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8552 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8553 		fi
   8554 
   8555 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8556 
   8557 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8558 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8559 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8560 		if eval test \${$cacheid+y}
   8561 then :
   8562   printf %s "(cached) " >&6
   8563 else case e in #(
   8564   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8565 /* end confdefs.h.  */
   8566 int i;
   8567 int
   8568 main (void)
   8569 {
   8570 
   8571   ;
   8572   return 0;
   8573 }
   8574 _ACEOF
   8575 if ac_fn_c_try_link "$LINENO"
   8576 then :
   8577   eval $cacheid=yes
   8578 else case e in #(
   8579   e) eval $cacheid=no ;;
   8580 esac
   8581 fi
   8582 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8583     conftest$ac_exeext conftest.$ac_ext ;;
   8584 esac
   8585 fi
   8586 
   8587 
   8588 		CFLAGS="$xorg_testset_save_CFLAGS"
   8589 
   8590 		eval supported=\$$cacheid
   8591 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8592 printf "%s\n" "$supported" >&6; }
   8593 		if test "$supported" = "yes" ; then
   8594 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8595 			found="yes"
   8596 		fi
   8597 	fi
   8598 
   8599 
   8600 
   8601 
   8602 
   8603 
   8604 
   8605 
   8606 
   8607 
   8608 
   8609 
   8610 
   8611 
   8612 
   8613 xorg_testset_save_CFLAGS="$CFLAGS"
   8614 
   8615 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8616 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8617 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8618 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8619 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8620 then :
   8621   printf %s "(cached) " >&6
   8622 else case e in #(
   8623   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8624 /* end confdefs.h.  */
   8625 int i;
   8626 _ACEOF
   8627 if ac_fn_c_try_compile "$LINENO"
   8628 then :
   8629   xorg_cv_cc_flag_unknown_warning_option=yes
   8630 else case e in #(
   8631   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8632 esac
   8633 fi
   8634 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8635 esac
   8636 fi
   8637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8638 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8639 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8640 	CFLAGS="$xorg_testset_save_CFLAGS"
   8641 fi
   8642 
   8643 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8644 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8645 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8646 	fi
   8647 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8648 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8649 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8650 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8651 then :
   8652   printf %s "(cached) " >&6
   8653 else case e in #(
   8654   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8655 /* end confdefs.h.  */
   8656 int i;
   8657 _ACEOF
   8658 if ac_fn_c_try_compile "$LINENO"
   8659 then :
   8660   xorg_cv_cc_flag_unused_command_line_argument=yes
   8661 else case e in #(
   8662   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8663 esac
   8664 fi
   8665 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8666 esac
   8667 fi
   8668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8669 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8670 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8671 	CFLAGS="$xorg_testset_save_CFLAGS"
   8672 fi
   8673 
   8674 found="no"
   8675 
   8676 	if test $found = "no" ; then
   8677 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8678 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8679 		fi
   8680 
   8681 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8682 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8683 		fi
   8684 
   8685 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8686 
   8687 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8688 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8689 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8690 		if eval test \${$cacheid+y}
   8691 then :
   8692   printf %s "(cached) " >&6
   8693 else case e in #(
   8694   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8695 /* end confdefs.h.  */
   8696 int i;
   8697 int
   8698 main (void)
   8699 {
   8700 
   8701   ;
   8702   return 0;
   8703 }
   8704 _ACEOF
   8705 if ac_fn_c_try_link "$LINENO"
   8706 then :
   8707   eval $cacheid=yes
   8708 else case e in #(
   8709   e) eval $cacheid=no ;;
   8710 esac
   8711 fi
   8712 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8713     conftest$ac_exeext conftest.$ac_ext ;;
   8714 esac
   8715 fi
   8716 
   8717 
   8718 		CFLAGS="$xorg_testset_save_CFLAGS"
   8719 
   8720 		eval supported=\$$cacheid
   8721 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8722 printf "%s\n" "$supported" >&6; }
   8723 		if test "$supported" = "yes" ; then
   8724 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8725 			found="yes"
   8726 		fi
   8727 	fi
   8728 
   8729 
   8730 
   8731 
   8732 
   8733 
   8734 
   8735 
   8736 
   8737 
   8738 
   8739 
   8740 
   8741 
   8742 
   8743 xorg_testset_save_CFLAGS="$CFLAGS"
   8744 
   8745 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8746 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8747 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8748 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8749 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8750 then :
   8751   printf %s "(cached) " >&6
   8752 else case e in #(
   8753   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8754 /* end confdefs.h.  */
   8755 int i;
   8756 _ACEOF
   8757 if ac_fn_c_try_compile "$LINENO"
   8758 then :
   8759   xorg_cv_cc_flag_unknown_warning_option=yes
   8760 else case e in #(
   8761   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8762 esac
   8763 fi
   8764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8765 esac
   8766 fi
   8767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8768 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8769 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8770 	CFLAGS="$xorg_testset_save_CFLAGS"
   8771 fi
   8772 
   8773 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8774 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8775 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8776 	fi
   8777 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8778 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8779 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8780 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8781 then :
   8782   printf %s "(cached) " >&6
   8783 else case e in #(
   8784   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8785 /* end confdefs.h.  */
   8786 int i;
   8787 _ACEOF
   8788 if ac_fn_c_try_compile "$LINENO"
   8789 then :
   8790   xorg_cv_cc_flag_unused_command_line_argument=yes
   8791 else case e in #(
   8792   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8793 esac
   8794 fi
   8795 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8796 esac
   8797 fi
   8798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8799 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8800 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8801 	CFLAGS="$xorg_testset_save_CFLAGS"
   8802 fi
   8803 
   8804 found="no"
   8805 
   8806 	if test $found = "no" ; then
   8807 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8808 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8809 		fi
   8810 
   8811 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8812 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8813 		fi
   8814 
   8815 		CFLAGS="$CFLAGS -Werror=write-strings"
   8816 
   8817 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8818 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8819 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8820 		if eval test \${$cacheid+y}
   8821 then :
   8822   printf %s "(cached) " >&6
   8823 else case e in #(
   8824   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8825 /* end confdefs.h.  */
   8826 int i;
   8827 int
   8828 main (void)
   8829 {
   8830 
   8831   ;
   8832   return 0;
   8833 }
   8834 _ACEOF
   8835 if ac_fn_c_try_link "$LINENO"
   8836 then :
   8837   eval $cacheid=yes
   8838 else case e in #(
   8839   e) eval $cacheid=no ;;
   8840 esac
   8841 fi
   8842 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8843     conftest$ac_exeext conftest.$ac_ext ;;
   8844 esac
   8845 fi
   8846 
   8847 
   8848 		CFLAGS="$xorg_testset_save_CFLAGS"
   8849 
   8850 		eval supported=\$$cacheid
   8851 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8852 printf "%s\n" "$supported" >&6; }
   8853 		if test "$supported" = "yes" ; then
   8854 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8855 			found="yes"
   8856 		fi
   8857 	fi
   8858 
   8859 
   8860 
   8861 
   8862 
   8863 
   8864 
   8865 
   8866 
   8867 
   8868 
   8869 
   8870 
   8871 
   8872 
   8873 xorg_testset_save_CFLAGS="$CFLAGS"
   8874 
   8875 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8876 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8877 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8878 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8879 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8880 then :
   8881   printf %s "(cached) " >&6
   8882 else case e in #(
   8883   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8884 /* end confdefs.h.  */
   8885 int i;
   8886 _ACEOF
   8887 if ac_fn_c_try_compile "$LINENO"
   8888 then :
   8889   xorg_cv_cc_flag_unknown_warning_option=yes
   8890 else case e in #(
   8891   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8892 esac
   8893 fi
   8894 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8895 esac
   8896 fi
   8897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8898 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8899 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8900 	CFLAGS="$xorg_testset_save_CFLAGS"
   8901 fi
   8902 
   8903 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8904 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8905 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8906 	fi
   8907 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8908 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8909 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8910 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8911 then :
   8912   printf %s "(cached) " >&6
   8913 else case e in #(
   8914   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8915 /* end confdefs.h.  */
   8916 int i;
   8917 _ACEOF
   8918 if ac_fn_c_try_compile "$LINENO"
   8919 then :
   8920   xorg_cv_cc_flag_unused_command_line_argument=yes
   8921 else case e in #(
   8922   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8923 esac
   8924 fi
   8925 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8926 esac
   8927 fi
   8928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8929 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8930 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8931 	CFLAGS="$xorg_testset_save_CFLAGS"
   8932 fi
   8933 
   8934 found="no"
   8935 
   8936 	if test $found = "no" ; then
   8937 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8938 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8939 		fi
   8940 
   8941 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8942 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8943 		fi
   8944 
   8945 		CFLAGS="$CFLAGS -Werror=address"
   8946 
   8947 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8948 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8949 		cacheid=xorg_cv_cc_flag__Werror_address
   8950 		if eval test \${$cacheid+y}
   8951 then :
   8952   printf %s "(cached) " >&6
   8953 else case e in #(
   8954   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8955 /* end confdefs.h.  */
   8956 int i;
   8957 int
   8958 main (void)
   8959 {
   8960 
   8961   ;
   8962   return 0;
   8963 }
   8964 _ACEOF
   8965 if ac_fn_c_try_link "$LINENO"
   8966 then :
   8967   eval $cacheid=yes
   8968 else case e in #(
   8969   e) eval $cacheid=no ;;
   8970 esac
   8971 fi
   8972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8973     conftest$ac_exeext conftest.$ac_ext ;;
   8974 esac
   8975 fi
   8976 
   8977 
   8978 		CFLAGS="$xorg_testset_save_CFLAGS"
   8979 
   8980 		eval supported=\$$cacheid
   8981 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8982 printf "%s\n" "$supported" >&6; }
   8983 		if test "$supported" = "yes" ; then
   8984 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8985 			found="yes"
   8986 		fi
   8987 	fi
   8988 
   8989 
   8990 
   8991 
   8992 
   8993 
   8994 
   8995 
   8996 
   8997 
   8998 
   8999 
   9000 
   9001 
   9002 
   9003 xorg_testset_save_CFLAGS="$CFLAGS"
   9004 
   9005 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9006 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9007 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9008 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9009 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9010 then :
   9011   printf %s "(cached) " >&6
   9012 else case e in #(
   9013   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9014 /* end confdefs.h.  */
   9015 int i;
   9016 _ACEOF
   9017 if ac_fn_c_try_compile "$LINENO"
   9018 then :
   9019   xorg_cv_cc_flag_unknown_warning_option=yes
   9020 else case e in #(
   9021   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9022 esac
   9023 fi
   9024 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9025 esac
   9026 fi
   9027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9028 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9029 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9030 	CFLAGS="$xorg_testset_save_CFLAGS"
   9031 fi
   9032 
   9033 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9034 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9035 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9036 	fi
   9037 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9038 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9039 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9040 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9041 then :
   9042   printf %s "(cached) " >&6
   9043 else case e in #(
   9044   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9045 /* end confdefs.h.  */
   9046 int i;
   9047 _ACEOF
   9048 if ac_fn_c_try_compile "$LINENO"
   9049 then :
   9050   xorg_cv_cc_flag_unused_command_line_argument=yes
   9051 else case e in #(
   9052   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9053 esac
   9054 fi
   9055 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9056 esac
   9057 fi
   9058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9059 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9060 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9061 	CFLAGS="$xorg_testset_save_CFLAGS"
   9062 fi
   9063 
   9064 found="no"
   9065 
   9066 	if test $found = "no" ; then
   9067 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9068 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9069 		fi
   9070 
   9071 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9072 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9073 		fi
   9074 
   9075 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   9076 
   9077 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   9078 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   9079 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   9080 		if eval test \${$cacheid+y}
   9081 then :
   9082   printf %s "(cached) " >&6
   9083 else case e in #(
   9084   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9085 /* end confdefs.h.  */
   9086 int i;
   9087 int
   9088 main (void)
   9089 {
   9090 
   9091   ;
   9092   return 0;
   9093 }
   9094 _ACEOF
   9095 if ac_fn_c_try_link "$LINENO"
   9096 then :
   9097   eval $cacheid=yes
   9098 else case e in #(
   9099   e) eval $cacheid=no ;;
   9100 esac
   9101 fi
   9102 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9103     conftest$ac_exeext conftest.$ac_ext ;;
   9104 esac
   9105 fi
   9106 
   9107 
   9108 		CFLAGS="$xorg_testset_save_CFLAGS"
   9109 
   9110 		eval supported=\$$cacheid
   9111 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9112 printf "%s\n" "$supported" >&6; }
   9113 		if test "$supported" = "yes" ; then
   9114 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9115 			found="yes"
   9116 		fi
   9117 	fi
   9118 
   9119 	if test $found = "no" ; then
   9120 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9121 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9122 		fi
   9123 
   9124 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9125 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9126 		fi
   9127 
   9128 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9129 
   9130 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9131 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9132 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9133 		if eval test \${$cacheid+y}
   9134 then :
   9135   printf %s "(cached) " >&6
   9136 else case e in #(
   9137   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9138 /* end confdefs.h.  */
   9139 int i;
   9140 int
   9141 main (void)
   9142 {
   9143 
   9144   ;
   9145   return 0;
   9146 }
   9147 _ACEOF
   9148 if ac_fn_c_try_link "$LINENO"
   9149 then :
   9150   eval $cacheid=yes
   9151 else case e in #(
   9152   e) eval $cacheid=no ;;
   9153 esac
   9154 fi
   9155 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9156     conftest$ac_exeext conftest.$ac_ext ;;
   9157 esac
   9158 fi
   9159 
   9160 
   9161 		CFLAGS="$xorg_testset_save_CFLAGS"
   9162 
   9163 		eval supported=\$$cacheid
   9164 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9165 printf "%s\n" "$supported" >&6; }
   9166 		if test "$supported" = "yes" ; then
   9167 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9168 			found="yes"
   9169 		fi
   9170 	fi
   9171 
   9172 
   9173 
   9174 
   9175 
   9176 
   9177 
   9178 
   9179 
   9180 
   9181 
   9182 
   9183 
   9184 
   9185 
   9186 xorg_testset_save_CFLAGS="$CFLAGS"
   9187 
   9188 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9189 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9190 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9191 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9192 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9193 then :
   9194   printf %s "(cached) " >&6
   9195 else case e in #(
   9196   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9197 /* end confdefs.h.  */
   9198 int i;
   9199 _ACEOF
   9200 if ac_fn_c_try_compile "$LINENO"
   9201 then :
   9202   xorg_cv_cc_flag_unknown_warning_option=yes
   9203 else case e in #(
   9204   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9205 esac
   9206 fi
   9207 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9208 esac
   9209 fi
   9210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9211 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9212 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9213 	CFLAGS="$xorg_testset_save_CFLAGS"
   9214 fi
   9215 
   9216 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9217 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9218 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9219 	fi
   9220 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9221 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9222 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9223 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9224 then :
   9225   printf %s "(cached) " >&6
   9226 else case e in #(
   9227   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9228 /* end confdefs.h.  */
   9229 int i;
   9230 _ACEOF
   9231 if ac_fn_c_try_compile "$LINENO"
   9232 then :
   9233   xorg_cv_cc_flag_unused_command_line_argument=yes
   9234 else case e in #(
   9235   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9236 esac
   9237 fi
   9238 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9239 esac
   9240 fi
   9241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9242 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9243 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9244 	CFLAGS="$xorg_testset_save_CFLAGS"
   9245 fi
   9246 
   9247 found="no"
   9248 
   9249 	if test $found = "no" ; then
   9250 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9251 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9252 		fi
   9253 
   9254 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9255 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9256 		fi
   9257 
   9258 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9259 
   9260 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9261 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9262 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9263 		if eval test \${$cacheid+y}
   9264 then :
   9265   printf %s "(cached) " >&6
   9266 else case e in #(
   9267   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9268 /* end confdefs.h.  */
   9269 int i;
   9270 int
   9271 main (void)
   9272 {
   9273 
   9274   ;
   9275   return 0;
   9276 }
   9277 _ACEOF
   9278 if ac_fn_c_try_link "$LINENO"
   9279 then :
   9280   eval $cacheid=yes
   9281 else case e in #(
   9282   e) eval $cacheid=no ;;
   9283 esac
   9284 fi
   9285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9286     conftest$ac_exeext conftest.$ac_ext ;;
   9287 esac
   9288 fi
   9289 
   9290 
   9291 		CFLAGS="$xorg_testset_save_CFLAGS"
   9292 
   9293 		eval supported=\$$cacheid
   9294 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9295 printf "%s\n" "$supported" >&6; }
   9296 		if test "$supported" = "yes" ; then
   9297 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9298 			found="yes"
   9299 		fi
   9300 	fi
   9301 
   9302  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9303 else
   9304 { 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
   9305 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;}
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 
   9318 
   9319 xorg_testset_save_CFLAGS="$CFLAGS"
   9320 
   9321 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9322 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9323 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9324 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9325 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9326 then :
   9327   printf %s "(cached) " >&6
   9328 else case e in #(
   9329   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9330 /* end confdefs.h.  */
   9331 int i;
   9332 _ACEOF
   9333 if ac_fn_c_try_compile "$LINENO"
   9334 then :
   9335   xorg_cv_cc_flag_unknown_warning_option=yes
   9336 else case e in #(
   9337   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9338 esac
   9339 fi
   9340 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9341 esac
   9342 fi
   9343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9344 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9345 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9346 	CFLAGS="$xorg_testset_save_CFLAGS"
   9347 fi
   9348 
   9349 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9350 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9351 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9352 	fi
   9353 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9354 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9355 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9356 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9357 then :
   9358   printf %s "(cached) " >&6
   9359 else case e in #(
   9360   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9361 /* end confdefs.h.  */
   9362 int i;
   9363 _ACEOF
   9364 if ac_fn_c_try_compile "$LINENO"
   9365 then :
   9366   xorg_cv_cc_flag_unused_command_line_argument=yes
   9367 else case e in #(
   9368   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9369 esac
   9370 fi
   9371 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9372 esac
   9373 fi
   9374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9375 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9376 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9377 	CFLAGS="$xorg_testset_save_CFLAGS"
   9378 fi
   9379 
   9380 found="no"
   9381 
   9382 	if test $found = "no" ; then
   9383 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9384 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9385 		fi
   9386 
   9387 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9388 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9389 		fi
   9390 
   9391 		CFLAGS="$CFLAGS -Wimplicit"
   9392 
   9393 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9394 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9395 		cacheid=xorg_cv_cc_flag__Wimplicit
   9396 		if eval test \${$cacheid+y}
   9397 then :
   9398   printf %s "(cached) " >&6
   9399 else case e in #(
   9400   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9401 /* end confdefs.h.  */
   9402 int i;
   9403 int
   9404 main (void)
   9405 {
   9406 
   9407   ;
   9408   return 0;
   9409 }
   9410 _ACEOF
   9411 if ac_fn_c_try_link "$LINENO"
   9412 then :
   9413   eval $cacheid=yes
   9414 else case e in #(
   9415   e) eval $cacheid=no ;;
   9416 esac
   9417 fi
   9418 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9419     conftest$ac_exeext conftest.$ac_ext ;;
   9420 esac
   9421 fi
   9422 
   9423 
   9424 		CFLAGS="$xorg_testset_save_CFLAGS"
   9425 
   9426 		eval supported=\$$cacheid
   9427 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9428 printf "%s\n" "$supported" >&6; }
   9429 		if test "$supported" = "yes" ; then
   9430 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9431 			found="yes"
   9432 		fi
   9433 	fi
   9434 
   9435 
   9436 
   9437 
   9438 
   9439 
   9440 
   9441 
   9442 
   9443 
   9444 
   9445 
   9446 
   9447 
   9448 
   9449 xorg_testset_save_CFLAGS="$CFLAGS"
   9450 
   9451 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9452 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9453 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9454 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9455 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9456 then :
   9457   printf %s "(cached) " >&6
   9458 else case e in #(
   9459   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9460 /* end confdefs.h.  */
   9461 int i;
   9462 _ACEOF
   9463 if ac_fn_c_try_compile "$LINENO"
   9464 then :
   9465   xorg_cv_cc_flag_unknown_warning_option=yes
   9466 else case e in #(
   9467   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9468 esac
   9469 fi
   9470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9471 esac
   9472 fi
   9473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9474 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9475 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9476 	CFLAGS="$xorg_testset_save_CFLAGS"
   9477 fi
   9478 
   9479 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9480 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9481 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9482 	fi
   9483 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9484 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9485 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9486 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9487 then :
   9488   printf %s "(cached) " >&6
   9489 else case e in #(
   9490   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9491 /* end confdefs.h.  */
   9492 int i;
   9493 _ACEOF
   9494 if ac_fn_c_try_compile "$LINENO"
   9495 then :
   9496   xorg_cv_cc_flag_unused_command_line_argument=yes
   9497 else case e in #(
   9498   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9499 esac
   9500 fi
   9501 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9502 esac
   9503 fi
   9504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9505 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9506 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9507 	CFLAGS="$xorg_testset_save_CFLAGS"
   9508 fi
   9509 
   9510 found="no"
   9511 
   9512 	if test $found = "no" ; then
   9513 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9514 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9515 		fi
   9516 
   9517 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9518 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9519 		fi
   9520 
   9521 		CFLAGS="$CFLAGS -Wnonnull"
   9522 
   9523 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9524 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9525 		cacheid=xorg_cv_cc_flag__Wnonnull
   9526 		if eval test \${$cacheid+y}
   9527 then :
   9528   printf %s "(cached) " >&6
   9529 else case e in #(
   9530   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9531 /* end confdefs.h.  */
   9532 int i;
   9533 int
   9534 main (void)
   9535 {
   9536 
   9537   ;
   9538   return 0;
   9539 }
   9540 _ACEOF
   9541 if ac_fn_c_try_link "$LINENO"
   9542 then :
   9543   eval $cacheid=yes
   9544 else case e in #(
   9545   e) eval $cacheid=no ;;
   9546 esac
   9547 fi
   9548 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9549     conftest$ac_exeext conftest.$ac_ext ;;
   9550 esac
   9551 fi
   9552 
   9553 
   9554 		CFLAGS="$xorg_testset_save_CFLAGS"
   9555 
   9556 		eval supported=\$$cacheid
   9557 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9558 printf "%s\n" "$supported" >&6; }
   9559 		if test "$supported" = "yes" ; then
   9560 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9561 			found="yes"
   9562 		fi
   9563 	fi
   9564 
   9565 
   9566 
   9567 
   9568 
   9569 
   9570 
   9571 
   9572 
   9573 
   9574 
   9575 
   9576 
   9577 
   9578 
   9579 xorg_testset_save_CFLAGS="$CFLAGS"
   9580 
   9581 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9582 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9583 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9584 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9585 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9586 then :
   9587   printf %s "(cached) " >&6
   9588 else case e in #(
   9589   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9590 /* end confdefs.h.  */
   9591 int i;
   9592 _ACEOF
   9593 if ac_fn_c_try_compile "$LINENO"
   9594 then :
   9595   xorg_cv_cc_flag_unknown_warning_option=yes
   9596 else case e in #(
   9597   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9598 esac
   9599 fi
   9600 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9601 esac
   9602 fi
   9603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9604 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9605 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9606 	CFLAGS="$xorg_testset_save_CFLAGS"
   9607 fi
   9608 
   9609 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9610 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9611 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9612 	fi
   9613 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9614 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9615 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9616 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9617 then :
   9618   printf %s "(cached) " >&6
   9619 else case e in #(
   9620   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9621 /* end confdefs.h.  */
   9622 int i;
   9623 _ACEOF
   9624 if ac_fn_c_try_compile "$LINENO"
   9625 then :
   9626   xorg_cv_cc_flag_unused_command_line_argument=yes
   9627 else case e in #(
   9628   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9629 esac
   9630 fi
   9631 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9632 esac
   9633 fi
   9634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9635 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9636 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9637 	CFLAGS="$xorg_testset_save_CFLAGS"
   9638 fi
   9639 
   9640 found="no"
   9641 
   9642 	if test $found = "no" ; then
   9643 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9644 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9645 		fi
   9646 
   9647 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9648 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9649 		fi
   9650 
   9651 		CFLAGS="$CFLAGS -Winit-self"
   9652 
   9653 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9654 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9655 		cacheid=xorg_cv_cc_flag__Winit_self
   9656 		if eval test \${$cacheid+y}
   9657 then :
   9658   printf %s "(cached) " >&6
   9659 else case e in #(
   9660   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9661 /* end confdefs.h.  */
   9662 int i;
   9663 int
   9664 main (void)
   9665 {
   9666 
   9667   ;
   9668   return 0;
   9669 }
   9670 _ACEOF
   9671 if ac_fn_c_try_link "$LINENO"
   9672 then :
   9673   eval $cacheid=yes
   9674 else case e in #(
   9675   e) eval $cacheid=no ;;
   9676 esac
   9677 fi
   9678 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9679     conftest$ac_exeext conftest.$ac_ext ;;
   9680 esac
   9681 fi
   9682 
   9683 
   9684 		CFLAGS="$xorg_testset_save_CFLAGS"
   9685 
   9686 		eval supported=\$$cacheid
   9687 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9688 printf "%s\n" "$supported" >&6; }
   9689 		if test "$supported" = "yes" ; then
   9690 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9691 			found="yes"
   9692 		fi
   9693 	fi
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 xorg_testset_save_CFLAGS="$CFLAGS"
   9710 
   9711 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9712 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9713 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9714 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9715 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9716 then :
   9717   printf %s "(cached) " >&6
   9718 else case e in #(
   9719   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9720 /* end confdefs.h.  */
   9721 int i;
   9722 _ACEOF
   9723 if ac_fn_c_try_compile "$LINENO"
   9724 then :
   9725   xorg_cv_cc_flag_unknown_warning_option=yes
   9726 else case e in #(
   9727   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9728 esac
   9729 fi
   9730 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9731 esac
   9732 fi
   9733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9734 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9735 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9736 	CFLAGS="$xorg_testset_save_CFLAGS"
   9737 fi
   9738 
   9739 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9740 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9741 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9742 	fi
   9743 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9744 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9745 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9746 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9747 then :
   9748   printf %s "(cached) " >&6
   9749 else case e in #(
   9750   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9751 /* end confdefs.h.  */
   9752 int i;
   9753 _ACEOF
   9754 if ac_fn_c_try_compile "$LINENO"
   9755 then :
   9756   xorg_cv_cc_flag_unused_command_line_argument=yes
   9757 else case e in #(
   9758   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9759 esac
   9760 fi
   9761 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9762 esac
   9763 fi
   9764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9765 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9766 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9767 	CFLAGS="$xorg_testset_save_CFLAGS"
   9768 fi
   9769 
   9770 found="no"
   9771 
   9772 	if test $found = "no" ; then
   9773 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9774 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9775 		fi
   9776 
   9777 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9778 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9779 		fi
   9780 
   9781 		CFLAGS="$CFLAGS -Wmain"
   9782 
   9783 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9784 printf %s "checking if $CC supports -Wmain... " >&6; }
   9785 		cacheid=xorg_cv_cc_flag__Wmain
   9786 		if eval test \${$cacheid+y}
   9787 then :
   9788   printf %s "(cached) " >&6
   9789 else case e in #(
   9790   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9791 /* end confdefs.h.  */
   9792 int i;
   9793 int
   9794 main (void)
   9795 {
   9796 
   9797   ;
   9798   return 0;
   9799 }
   9800 _ACEOF
   9801 if ac_fn_c_try_link "$LINENO"
   9802 then :
   9803   eval $cacheid=yes
   9804 else case e in #(
   9805   e) eval $cacheid=no ;;
   9806 esac
   9807 fi
   9808 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9809     conftest$ac_exeext conftest.$ac_ext ;;
   9810 esac
   9811 fi
   9812 
   9813 
   9814 		CFLAGS="$xorg_testset_save_CFLAGS"
   9815 
   9816 		eval supported=\$$cacheid
   9817 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9818 printf "%s\n" "$supported" >&6; }
   9819 		if test "$supported" = "yes" ; then
   9820 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9821 			found="yes"
   9822 		fi
   9823 	fi
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 xorg_testset_save_CFLAGS="$CFLAGS"
   9840 
   9841 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9842 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9843 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9844 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9845 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9846 then :
   9847   printf %s "(cached) " >&6
   9848 else case e in #(
   9849   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9850 /* end confdefs.h.  */
   9851 int i;
   9852 _ACEOF
   9853 if ac_fn_c_try_compile "$LINENO"
   9854 then :
   9855   xorg_cv_cc_flag_unknown_warning_option=yes
   9856 else case e in #(
   9857   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9858 esac
   9859 fi
   9860 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9861 esac
   9862 fi
   9863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9864 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9865 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9866 	CFLAGS="$xorg_testset_save_CFLAGS"
   9867 fi
   9868 
   9869 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9870 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9871 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9872 	fi
   9873 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9874 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9875 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9876 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9877 then :
   9878   printf %s "(cached) " >&6
   9879 else case e in #(
   9880   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9881 /* end confdefs.h.  */
   9882 int i;
   9883 _ACEOF
   9884 if ac_fn_c_try_compile "$LINENO"
   9885 then :
   9886   xorg_cv_cc_flag_unused_command_line_argument=yes
   9887 else case e in #(
   9888   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9889 esac
   9890 fi
   9891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9892 esac
   9893 fi
   9894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9895 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9896 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9897 	CFLAGS="$xorg_testset_save_CFLAGS"
   9898 fi
   9899 
   9900 found="no"
   9901 
   9902 	if test $found = "no" ; then
   9903 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9904 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9905 		fi
   9906 
   9907 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9908 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9909 		fi
   9910 
   9911 		CFLAGS="$CFLAGS -Wmissing-braces"
   9912 
   9913 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9914 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9915 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9916 		if eval test \${$cacheid+y}
   9917 then :
   9918   printf %s "(cached) " >&6
   9919 else case e in #(
   9920   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9921 /* end confdefs.h.  */
   9922 int i;
   9923 int
   9924 main (void)
   9925 {
   9926 
   9927   ;
   9928   return 0;
   9929 }
   9930 _ACEOF
   9931 if ac_fn_c_try_link "$LINENO"
   9932 then :
   9933   eval $cacheid=yes
   9934 else case e in #(
   9935   e) eval $cacheid=no ;;
   9936 esac
   9937 fi
   9938 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9939     conftest$ac_exeext conftest.$ac_ext ;;
   9940 esac
   9941 fi
   9942 
   9943 
   9944 		CFLAGS="$xorg_testset_save_CFLAGS"
   9945 
   9946 		eval supported=\$$cacheid
   9947 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9948 printf "%s\n" "$supported" >&6; }
   9949 		if test "$supported" = "yes" ; then
   9950 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9951 			found="yes"
   9952 		fi
   9953 	fi
   9954 
   9955 
   9956 
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 xorg_testset_save_CFLAGS="$CFLAGS"
   9970 
   9971 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9972 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9973 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9974 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9975 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9976 then :
   9977   printf %s "(cached) " >&6
   9978 else case e in #(
   9979   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9980 /* end confdefs.h.  */
   9981 int i;
   9982 _ACEOF
   9983 if ac_fn_c_try_compile "$LINENO"
   9984 then :
   9985   xorg_cv_cc_flag_unknown_warning_option=yes
   9986 else case e in #(
   9987   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9988 esac
   9989 fi
   9990 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9991 esac
   9992 fi
   9993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9994 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9995 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9996 	CFLAGS="$xorg_testset_save_CFLAGS"
   9997 fi
   9998 
   9999 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10000 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10001 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10002 	fi
   10003 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10004 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10005 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10006 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10007 then :
   10008   printf %s "(cached) " >&6
   10009 else case e in #(
   10010   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10011 /* end confdefs.h.  */
   10012 int i;
   10013 _ACEOF
   10014 if ac_fn_c_try_compile "$LINENO"
   10015 then :
   10016   xorg_cv_cc_flag_unused_command_line_argument=yes
   10017 else case e in #(
   10018   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10019 esac
   10020 fi
   10021 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10022 esac
   10023 fi
   10024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10025 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10026 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10027 	CFLAGS="$xorg_testset_save_CFLAGS"
   10028 fi
   10029 
   10030 found="no"
   10031 
   10032 	if test $found = "no" ; then
   10033 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10034 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10035 		fi
   10036 
   10037 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10038 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10039 		fi
   10040 
   10041 		CFLAGS="$CFLAGS -Wsequence-point"
   10042 
   10043 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   10044 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   10045 		cacheid=xorg_cv_cc_flag__Wsequence_point
   10046 		if eval test \${$cacheid+y}
   10047 then :
   10048   printf %s "(cached) " >&6
   10049 else case e in #(
   10050   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10051 /* end confdefs.h.  */
   10052 int i;
   10053 int
   10054 main (void)
   10055 {
   10056 
   10057   ;
   10058   return 0;
   10059 }
   10060 _ACEOF
   10061 if ac_fn_c_try_link "$LINENO"
   10062 then :
   10063   eval $cacheid=yes
   10064 else case e in #(
   10065   e) eval $cacheid=no ;;
   10066 esac
   10067 fi
   10068 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10069     conftest$ac_exeext conftest.$ac_ext ;;
   10070 esac
   10071 fi
   10072 
   10073 
   10074 		CFLAGS="$xorg_testset_save_CFLAGS"
   10075 
   10076 		eval supported=\$$cacheid
   10077 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10078 printf "%s\n" "$supported" >&6; }
   10079 		if test "$supported" = "yes" ; then
   10080 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   10081 			found="yes"
   10082 		fi
   10083 	fi
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 xorg_testset_save_CFLAGS="$CFLAGS"
   10100 
   10101 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10102 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10103 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10104 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10105 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10106 then :
   10107   printf %s "(cached) " >&6
   10108 else case e in #(
   10109   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10110 /* end confdefs.h.  */
   10111 int i;
   10112 _ACEOF
   10113 if ac_fn_c_try_compile "$LINENO"
   10114 then :
   10115   xorg_cv_cc_flag_unknown_warning_option=yes
   10116 else case e in #(
   10117   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10118 esac
   10119 fi
   10120 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10121 esac
   10122 fi
   10123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10124 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10125 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10126 	CFLAGS="$xorg_testset_save_CFLAGS"
   10127 fi
   10128 
   10129 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10130 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10131 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10132 	fi
   10133 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10134 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10135 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10136 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10137 then :
   10138   printf %s "(cached) " >&6
   10139 else case e in #(
   10140   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10141 /* end confdefs.h.  */
   10142 int i;
   10143 _ACEOF
   10144 if ac_fn_c_try_compile "$LINENO"
   10145 then :
   10146   xorg_cv_cc_flag_unused_command_line_argument=yes
   10147 else case e in #(
   10148   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10149 esac
   10150 fi
   10151 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10152 esac
   10153 fi
   10154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10155 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10156 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10157 	CFLAGS="$xorg_testset_save_CFLAGS"
   10158 fi
   10159 
   10160 found="no"
   10161 
   10162 	if test $found = "no" ; then
   10163 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10164 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10165 		fi
   10166 
   10167 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10168 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10169 		fi
   10170 
   10171 		CFLAGS="$CFLAGS -Wreturn-type"
   10172 
   10173 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10174 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10175 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10176 		if eval test \${$cacheid+y}
   10177 then :
   10178   printf %s "(cached) " >&6
   10179 else case e in #(
   10180   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10181 /* end confdefs.h.  */
   10182 int i;
   10183 int
   10184 main (void)
   10185 {
   10186 
   10187   ;
   10188   return 0;
   10189 }
   10190 _ACEOF
   10191 if ac_fn_c_try_link "$LINENO"
   10192 then :
   10193   eval $cacheid=yes
   10194 else case e in #(
   10195   e) eval $cacheid=no ;;
   10196 esac
   10197 fi
   10198 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10199     conftest$ac_exeext conftest.$ac_ext ;;
   10200 esac
   10201 fi
   10202 
   10203 
   10204 		CFLAGS="$xorg_testset_save_CFLAGS"
   10205 
   10206 		eval supported=\$$cacheid
   10207 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10208 printf "%s\n" "$supported" >&6; }
   10209 		if test "$supported" = "yes" ; then
   10210 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10211 			found="yes"
   10212 		fi
   10213 	fi
   10214 
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 xorg_testset_save_CFLAGS="$CFLAGS"
   10230 
   10231 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10232 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10233 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10234 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10235 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10236 then :
   10237   printf %s "(cached) " >&6
   10238 else case e in #(
   10239   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10240 /* end confdefs.h.  */
   10241 int i;
   10242 _ACEOF
   10243 if ac_fn_c_try_compile "$LINENO"
   10244 then :
   10245   xorg_cv_cc_flag_unknown_warning_option=yes
   10246 else case e in #(
   10247   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10248 esac
   10249 fi
   10250 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10251 esac
   10252 fi
   10253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10254 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10255 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10256 	CFLAGS="$xorg_testset_save_CFLAGS"
   10257 fi
   10258 
   10259 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10260 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10261 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10262 	fi
   10263 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10264 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10265 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10266 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10267 then :
   10268   printf %s "(cached) " >&6
   10269 else case e in #(
   10270   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10271 /* end confdefs.h.  */
   10272 int i;
   10273 _ACEOF
   10274 if ac_fn_c_try_compile "$LINENO"
   10275 then :
   10276   xorg_cv_cc_flag_unused_command_line_argument=yes
   10277 else case e in #(
   10278   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10279 esac
   10280 fi
   10281 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10282 esac
   10283 fi
   10284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10285 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10286 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10287 	CFLAGS="$xorg_testset_save_CFLAGS"
   10288 fi
   10289 
   10290 found="no"
   10291 
   10292 	if test $found = "no" ; then
   10293 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10294 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10295 		fi
   10296 
   10297 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10298 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10299 		fi
   10300 
   10301 		CFLAGS="$CFLAGS -Wtrigraphs"
   10302 
   10303 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10304 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10305 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10306 		if eval test \${$cacheid+y}
   10307 then :
   10308   printf %s "(cached) " >&6
   10309 else case e in #(
   10310   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10311 /* end confdefs.h.  */
   10312 int i;
   10313 int
   10314 main (void)
   10315 {
   10316 
   10317   ;
   10318   return 0;
   10319 }
   10320 _ACEOF
   10321 if ac_fn_c_try_link "$LINENO"
   10322 then :
   10323   eval $cacheid=yes
   10324 else case e in #(
   10325   e) eval $cacheid=no ;;
   10326 esac
   10327 fi
   10328 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10329     conftest$ac_exeext conftest.$ac_ext ;;
   10330 esac
   10331 fi
   10332 
   10333 
   10334 		CFLAGS="$xorg_testset_save_CFLAGS"
   10335 
   10336 		eval supported=\$$cacheid
   10337 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10338 printf "%s\n" "$supported" >&6; }
   10339 		if test "$supported" = "yes" ; then
   10340 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10341 			found="yes"
   10342 		fi
   10343 	fi
   10344 
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 
   10354 
   10355 
   10356 
   10357 
   10358 
   10359 xorg_testset_save_CFLAGS="$CFLAGS"
   10360 
   10361 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10362 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10363 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10364 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10365 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10366 then :
   10367   printf %s "(cached) " >&6
   10368 else case e in #(
   10369   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10370 /* end confdefs.h.  */
   10371 int i;
   10372 _ACEOF
   10373 if ac_fn_c_try_compile "$LINENO"
   10374 then :
   10375   xorg_cv_cc_flag_unknown_warning_option=yes
   10376 else case e in #(
   10377   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10378 esac
   10379 fi
   10380 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10381 esac
   10382 fi
   10383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10384 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10385 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10386 	CFLAGS="$xorg_testset_save_CFLAGS"
   10387 fi
   10388 
   10389 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10390 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10391 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10392 	fi
   10393 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10394 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10395 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10396 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10397 then :
   10398   printf %s "(cached) " >&6
   10399 else case e in #(
   10400   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10401 /* end confdefs.h.  */
   10402 int i;
   10403 _ACEOF
   10404 if ac_fn_c_try_compile "$LINENO"
   10405 then :
   10406   xorg_cv_cc_flag_unused_command_line_argument=yes
   10407 else case e in #(
   10408   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10409 esac
   10410 fi
   10411 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10412 esac
   10413 fi
   10414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10415 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10416 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10417 	CFLAGS="$xorg_testset_save_CFLAGS"
   10418 fi
   10419 
   10420 found="no"
   10421 
   10422 	if test $found = "no" ; then
   10423 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10424 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10425 		fi
   10426 
   10427 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10428 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10429 		fi
   10430 
   10431 		CFLAGS="$CFLAGS -Warray-bounds"
   10432 
   10433 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10434 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10435 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10436 		if eval test \${$cacheid+y}
   10437 then :
   10438   printf %s "(cached) " >&6
   10439 else case e in #(
   10440   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10441 /* end confdefs.h.  */
   10442 int i;
   10443 int
   10444 main (void)
   10445 {
   10446 
   10447   ;
   10448   return 0;
   10449 }
   10450 _ACEOF
   10451 if ac_fn_c_try_link "$LINENO"
   10452 then :
   10453   eval $cacheid=yes
   10454 else case e in #(
   10455   e) eval $cacheid=no ;;
   10456 esac
   10457 fi
   10458 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10459     conftest$ac_exeext conftest.$ac_ext ;;
   10460 esac
   10461 fi
   10462 
   10463 
   10464 		CFLAGS="$xorg_testset_save_CFLAGS"
   10465 
   10466 		eval supported=\$$cacheid
   10467 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10468 printf "%s\n" "$supported" >&6; }
   10469 		if test "$supported" = "yes" ; then
   10470 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10471 			found="yes"
   10472 		fi
   10473 	fi
   10474 
   10475 
   10476 
   10477 
   10478 
   10479 
   10480 
   10481 
   10482 
   10483 
   10484 
   10485 
   10486 
   10487 
   10488 
   10489 xorg_testset_save_CFLAGS="$CFLAGS"
   10490 
   10491 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10492 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10493 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10494 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10495 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10496 then :
   10497   printf %s "(cached) " >&6
   10498 else case e in #(
   10499   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10500 /* end confdefs.h.  */
   10501 int i;
   10502 _ACEOF
   10503 if ac_fn_c_try_compile "$LINENO"
   10504 then :
   10505   xorg_cv_cc_flag_unknown_warning_option=yes
   10506 else case e in #(
   10507   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10508 esac
   10509 fi
   10510 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10511 esac
   10512 fi
   10513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10514 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10515 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10516 	CFLAGS="$xorg_testset_save_CFLAGS"
   10517 fi
   10518 
   10519 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10520 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10521 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10522 	fi
   10523 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10524 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10525 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10526 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10527 then :
   10528   printf %s "(cached) " >&6
   10529 else case e in #(
   10530   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10531 /* end confdefs.h.  */
   10532 int i;
   10533 _ACEOF
   10534 if ac_fn_c_try_compile "$LINENO"
   10535 then :
   10536   xorg_cv_cc_flag_unused_command_line_argument=yes
   10537 else case e in #(
   10538   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10539 esac
   10540 fi
   10541 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10542 esac
   10543 fi
   10544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10545 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10546 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10547 	CFLAGS="$xorg_testset_save_CFLAGS"
   10548 fi
   10549 
   10550 found="no"
   10551 
   10552 	if test $found = "no" ; then
   10553 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10554 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10555 		fi
   10556 
   10557 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10558 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10559 		fi
   10560 
   10561 		CFLAGS="$CFLAGS -Wwrite-strings"
   10562 
   10563 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10564 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10565 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10566 		if eval test \${$cacheid+y}
   10567 then :
   10568   printf %s "(cached) " >&6
   10569 else case e in #(
   10570   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10571 /* end confdefs.h.  */
   10572 int i;
   10573 int
   10574 main (void)
   10575 {
   10576 
   10577   ;
   10578   return 0;
   10579 }
   10580 _ACEOF
   10581 if ac_fn_c_try_link "$LINENO"
   10582 then :
   10583   eval $cacheid=yes
   10584 else case e in #(
   10585   e) eval $cacheid=no ;;
   10586 esac
   10587 fi
   10588 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10589     conftest$ac_exeext conftest.$ac_ext ;;
   10590 esac
   10591 fi
   10592 
   10593 
   10594 		CFLAGS="$xorg_testset_save_CFLAGS"
   10595 
   10596 		eval supported=\$$cacheid
   10597 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10598 printf "%s\n" "$supported" >&6; }
   10599 		if test "$supported" = "yes" ; then
   10600 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10601 			found="yes"
   10602 		fi
   10603 	fi
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 
   10616 
   10617 
   10618 
   10619 xorg_testset_save_CFLAGS="$CFLAGS"
   10620 
   10621 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10622 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10623 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10624 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10625 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10626 then :
   10627   printf %s "(cached) " >&6
   10628 else case e in #(
   10629   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10630 /* end confdefs.h.  */
   10631 int i;
   10632 _ACEOF
   10633 if ac_fn_c_try_compile "$LINENO"
   10634 then :
   10635   xorg_cv_cc_flag_unknown_warning_option=yes
   10636 else case e in #(
   10637   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10638 esac
   10639 fi
   10640 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10641 esac
   10642 fi
   10643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10644 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10645 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10646 	CFLAGS="$xorg_testset_save_CFLAGS"
   10647 fi
   10648 
   10649 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10650 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10651 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10652 	fi
   10653 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10654 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10655 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10656 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10657 then :
   10658   printf %s "(cached) " >&6
   10659 else case e in #(
   10660   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10661 /* end confdefs.h.  */
   10662 int i;
   10663 _ACEOF
   10664 if ac_fn_c_try_compile "$LINENO"
   10665 then :
   10666   xorg_cv_cc_flag_unused_command_line_argument=yes
   10667 else case e in #(
   10668   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10669 esac
   10670 fi
   10671 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10672 esac
   10673 fi
   10674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10675 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10676 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10677 	CFLAGS="$xorg_testset_save_CFLAGS"
   10678 fi
   10679 
   10680 found="no"
   10681 
   10682 	if test $found = "no" ; then
   10683 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10684 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10685 		fi
   10686 
   10687 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10688 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10689 		fi
   10690 
   10691 		CFLAGS="$CFLAGS -Waddress"
   10692 
   10693 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10694 printf %s "checking if $CC supports -Waddress... " >&6; }
   10695 		cacheid=xorg_cv_cc_flag__Waddress
   10696 		if eval test \${$cacheid+y}
   10697 then :
   10698   printf %s "(cached) " >&6
   10699 else case e in #(
   10700   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10701 /* end confdefs.h.  */
   10702 int i;
   10703 int
   10704 main (void)
   10705 {
   10706 
   10707   ;
   10708   return 0;
   10709 }
   10710 _ACEOF
   10711 if ac_fn_c_try_link "$LINENO"
   10712 then :
   10713   eval $cacheid=yes
   10714 else case e in #(
   10715   e) eval $cacheid=no ;;
   10716 esac
   10717 fi
   10718 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10719     conftest$ac_exeext conftest.$ac_ext ;;
   10720 esac
   10721 fi
   10722 
   10723 
   10724 		CFLAGS="$xorg_testset_save_CFLAGS"
   10725 
   10726 		eval supported=\$$cacheid
   10727 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10728 printf "%s\n" "$supported" >&6; }
   10729 		if test "$supported" = "yes" ; then
   10730 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10731 			found="yes"
   10732 		fi
   10733 	fi
   10734 
   10735 
   10736 
   10737 
   10738 
   10739 
   10740 
   10741 
   10742 
   10743 
   10744 
   10745 
   10746 
   10747 
   10748 
   10749 xorg_testset_save_CFLAGS="$CFLAGS"
   10750 
   10751 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10752 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10753 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10754 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10755 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10756 then :
   10757   printf %s "(cached) " >&6
   10758 else case e in #(
   10759   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10760 /* end confdefs.h.  */
   10761 int i;
   10762 _ACEOF
   10763 if ac_fn_c_try_compile "$LINENO"
   10764 then :
   10765   xorg_cv_cc_flag_unknown_warning_option=yes
   10766 else case e in #(
   10767   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10768 esac
   10769 fi
   10770 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10771 esac
   10772 fi
   10773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10774 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10775 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10776 	CFLAGS="$xorg_testset_save_CFLAGS"
   10777 fi
   10778 
   10779 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10780 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10781 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10782 	fi
   10783 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10784 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10785 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10786 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10787 then :
   10788   printf %s "(cached) " >&6
   10789 else case e in #(
   10790   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10791 /* end confdefs.h.  */
   10792 int i;
   10793 _ACEOF
   10794 if ac_fn_c_try_compile "$LINENO"
   10795 then :
   10796   xorg_cv_cc_flag_unused_command_line_argument=yes
   10797 else case e in #(
   10798   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10799 esac
   10800 fi
   10801 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10802 esac
   10803 fi
   10804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10805 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10806 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10807 	CFLAGS="$xorg_testset_save_CFLAGS"
   10808 fi
   10809 
   10810 found="no"
   10811 
   10812 	if test $found = "no" ; then
   10813 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10814 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10815 		fi
   10816 
   10817 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10818 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10819 		fi
   10820 
   10821 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10822 
   10823 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10824 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10825 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10826 		if eval test \${$cacheid+y}
   10827 then :
   10828   printf %s "(cached) " >&6
   10829 else case e in #(
   10830   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10831 /* end confdefs.h.  */
   10832 int i;
   10833 int
   10834 main (void)
   10835 {
   10836 
   10837   ;
   10838   return 0;
   10839 }
   10840 _ACEOF
   10841 if ac_fn_c_try_link "$LINENO"
   10842 then :
   10843   eval $cacheid=yes
   10844 else case e in #(
   10845   e) eval $cacheid=no ;;
   10846 esac
   10847 fi
   10848 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10849     conftest$ac_exeext conftest.$ac_ext ;;
   10850 esac
   10851 fi
   10852 
   10853 
   10854 		CFLAGS="$xorg_testset_save_CFLAGS"
   10855 
   10856 		eval supported=\$$cacheid
   10857 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10858 printf "%s\n" "$supported" >&6; }
   10859 		if test "$supported" = "yes" ; then
   10860 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10861 			found="yes"
   10862 		fi
   10863 	fi
   10864 
   10865 
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 
   10872 
   10873 
   10874 
   10875 
   10876 
   10877 
   10878 
   10879 xorg_testset_save_CFLAGS="$CFLAGS"
   10880 
   10881 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10882 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10883 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10884 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10885 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10886 then :
   10887   printf %s "(cached) " >&6
   10888 else case e in #(
   10889   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10890 /* end confdefs.h.  */
   10891 int i;
   10892 _ACEOF
   10893 if ac_fn_c_try_compile "$LINENO"
   10894 then :
   10895   xorg_cv_cc_flag_unknown_warning_option=yes
   10896 else case e in #(
   10897   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10898 esac
   10899 fi
   10900 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10901 esac
   10902 fi
   10903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10904 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10905 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10906 	CFLAGS="$xorg_testset_save_CFLAGS"
   10907 fi
   10908 
   10909 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10910 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10911 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10912 	fi
   10913 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10914 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10915 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10916 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10917 then :
   10918   printf %s "(cached) " >&6
   10919 else case e in #(
   10920   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10921 /* end confdefs.h.  */
   10922 int i;
   10923 _ACEOF
   10924 if ac_fn_c_try_compile "$LINENO"
   10925 then :
   10926   xorg_cv_cc_flag_unused_command_line_argument=yes
   10927 else case e in #(
   10928   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10929 esac
   10930 fi
   10931 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10932 esac
   10933 fi
   10934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10935 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10936 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10937 	CFLAGS="$xorg_testset_save_CFLAGS"
   10938 fi
   10939 
   10940 found="no"
   10941 
   10942 	if test $found = "no" ; then
   10943 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10944 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10945 		fi
   10946 
   10947 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10948 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10949 		fi
   10950 
   10951 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10952 
   10953 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10954 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10955 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10956 		if eval test \${$cacheid+y}
   10957 then :
   10958   printf %s "(cached) " >&6
   10959 else case e in #(
   10960   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10961 /* end confdefs.h.  */
   10962 int i;
   10963 int
   10964 main (void)
   10965 {
   10966 
   10967   ;
   10968   return 0;
   10969 }
   10970 _ACEOF
   10971 if ac_fn_c_try_link "$LINENO"
   10972 then :
   10973   eval $cacheid=yes
   10974 else case e in #(
   10975   e) eval $cacheid=no ;;
   10976 esac
   10977 fi
   10978 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10979     conftest$ac_exeext conftest.$ac_ext ;;
   10980 esac
   10981 fi
   10982 
   10983 
   10984 		CFLAGS="$xorg_testset_save_CFLAGS"
   10985 
   10986 		eval supported=\$$cacheid
   10987 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10988 printf "%s\n" "$supported" >&6; }
   10989 		if test "$supported" = "yes" ; then
   10990 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10991 			found="yes"
   10992 		fi
   10993 	fi
   10994 
   10995 
   10996 fi
   10997 
   10998 
   10999 
   11000 
   11001 
   11002 
   11003 
   11004 		CWARNFLAGS="$BASE_CFLAGS"
   11005 		if  test "x$GCC" = xyes ; then
   11006 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   11007 		fi
   11008 
   11009 
   11010 
   11011 
   11012 
   11013 
   11014 
   11015 
   11016 # Check whether --enable-strict-compilation was given.
   11017 if test ${enable_strict_compilation+y}
   11018 then :
   11019   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   11020 else case e in #(
   11021   e) STRICT_COMPILE=no ;;
   11022 esac
   11023 fi
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 STRICT_CFLAGS=""
   11031 
   11032 
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 
   11044 xorg_testset_save_CFLAGS="$CFLAGS"
   11045 
   11046 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11047 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11048 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11049 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11050 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11051 then :
   11052   printf %s "(cached) " >&6
   11053 else case e in #(
   11054   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11055 /* end confdefs.h.  */
   11056 int i;
   11057 _ACEOF
   11058 if ac_fn_c_try_compile "$LINENO"
   11059 then :
   11060   xorg_cv_cc_flag_unknown_warning_option=yes
   11061 else case e in #(
   11062   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11063 esac
   11064 fi
   11065 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11066 esac
   11067 fi
   11068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11069 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11070 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11071 	CFLAGS="$xorg_testset_save_CFLAGS"
   11072 fi
   11073 
   11074 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11075 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11076 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11077 	fi
   11078 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11079 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11080 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11081 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11082 then :
   11083   printf %s "(cached) " >&6
   11084 else case e in #(
   11085   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11086 /* end confdefs.h.  */
   11087 int i;
   11088 _ACEOF
   11089 if ac_fn_c_try_compile "$LINENO"
   11090 then :
   11091   xorg_cv_cc_flag_unused_command_line_argument=yes
   11092 else case e in #(
   11093   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11094 esac
   11095 fi
   11096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11097 esac
   11098 fi
   11099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11100 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11101 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11102 	CFLAGS="$xorg_testset_save_CFLAGS"
   11103 fi
   11104 
   11105 found="no"
   11106 
   11107 	if test $found = "no" ; then
   11108 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11109 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11110 		fi
   11111 
   11112 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11113 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11114 		fi
   11115 
   11116 		CFLAGS="$CFLAGS -pedantic"
   11117 
   11118 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11119 printf %s "checking if $CC supports -pedantic... " >&6; }
   11120 		cacheid=xorg_cv_cc_flag__pedantic
   11121 		if eval test \${$cacheid+y}
   11122 then :
   11123   printf %s "(cached) " >&6
   11124 else case e in #(
   11125   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11126 /* end confdefs.h.  */
   11127 int i;
   11128 int
   11129 main (void)
   11130 {
   11131 
   11132   ;
   11133   return 0;
   11134 }
   11135 _ACEOF
   11136 if ac_fn_c_try_link "$LINENO"
   11137 then :
   11138   eval $cacheid=yes
   11139 else case e in #(
   11140   e) eval $cacheid=no ;;
   11141 esac
   11142 fi
   11143 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11144     conftest$ac_exeext conftest.$ac_ext ;;
   11145 esac
   11146 fi
   11147 
   11148 
   11149 		CFLAGS="$xorg_testset_save_CFLAGS"
   11150 
   11151 		eval supported=\$$cacheid
   11152 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11153 printf "%s\n" "$supported" >&6; }
   11154 		if test "$supported" = "yes" ; then
   11155 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11156 			found="yes"
   11157 		fi
   11158 	fi
   11159 
   11160 
   11161 
   11162 
   11163 
   11164 
   11165 
   11166 
   11167 
   11168 
   11169 
   11170 
   11171 
   11172 
   11173 
   11174 xorg_testset_save_CFLAGS="$CFLAGS"
   11175 
   11176 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11177 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11178 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11179 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11180 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11181 then :
   11182   printf %s "(cached) " >&6
   11183 else case e in #(
   11184   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11185 /* end confdefs.h.  */
   11186 int i;
   11187 _ACEOF
   11188 if ac_fn_c_try_compile "$LINENO"
   11189 then :
   11190   xorg_cv_cc_flag_unknown_warning_option=yes
   11191 else case e in #(
   11192   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11193 esac
   11194 fi
   11195 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11196 esac
   11197 fi
   11198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11199 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11200 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11201 	CFLAGS="$xorg_testset_save_CFLAGS"
   11202 fi
   11203 
   11204 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11205 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11206 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11207 	fi
   11208 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11209 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11210 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11211 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11212 then :
   11213   printf %s "(cached) " >&6
   11214 else case e in #(
   11215   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11216 /* end confdefs.h.  */
   11217 int i;
   11218 _ACEOF
   11219 if ac_fn_c_try_compile "$LINENO"
   11220 then :
   11221   xorg_cv_cc_flag_unused_command_line_argument=yes
   11222 else case e in #(
   11223   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11224 esac
   11225 fi
   11226 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11227 esac
   11228 fi
   11229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11230 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11231 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11232 	CFLAGS="$xorg_testset_save_CFLAGS"
   11233 fi
   11234 
   11235 found="no"
   11236 
   11237 	if test $found = "no" ; then
   11238 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11239 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11240 		fi
   11241 
   11242 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11243 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11244 		fi
   11245 
   11246 		CFLAGS="$CFLAGS -Werror"
   11247 
   11248 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11249 printf %s "checking if $CC supports -Werror... " >&6; }
   11250 		cacheid=xorg_cv_cc_flag__Werror
   11251 		if eval test \${$cacheid+y}
   11252 then :
   11253   printf %s "(cached) " >&6
   11254 else case e in #(
   11255   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11256 /* end confdefs.h.  */
   11257 int i;
   11258 int
   11259 main (void)
   11260 {
   11261 
   11262   ;
   11263   return 0;
   11264 }
   11265 _ACEOF
   11266 if ac_fn_c_try_link "$LINENO"
   11267 then :
   11268   eval $cacheid=yes
   11269 else case e in #(
   11270   e) eval $cacheid=no ;;
   11271 esac
   11272 fi
   11273 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11274     conftest$ac_exeext conftest.$ac_ext ;;
   11275 esac
   11276 fi
   11277 
   11278 
   11279 		CFLAGS="$xorg_testset_save_CFLAGS"
   11280 
   11281 		eval supported=\$$cacheid
   11282 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11283 printf "%s\n" "$supported" >&6; }
   11284 		if test "$supported" = "yes" ; then
   11285 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11286 			found="yes"
   11287 		fi
   11288 	fi
   11289 
   11290 	if test $found = "no" ; then
   11291 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11292 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11293 		fi
   11294 
   11295 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11296 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11297 		fi
   11298 
   11299 		CFLAGS="$CFLAGS -errwarn"
   11300 
   11301 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11302 printf %s "checking if $CC supports -errwarn... " >&6; }
   11303 		cacheid=xorg_cv_cc_flag__errwarn
   11304 		if eval test \${$cacheid+y}
   11305 then :
   11306   printf %s "(cached) " >&6
   11307 else case e in #(
   11308   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11309 /* end confdefs.h.  */
   11310 int i;
   11311 int
   11312 main (void)
   11313 {
   11314 
   11315   ;
   11316   return 0;
   11317 }
   11318 _ACEOF
   11319 if ac_fn_c_try_link "$LINENO"
   11320 then :
   11321   eval $cacheid=yes
   11322 else case e in #(
   11323   e) eval $cacheid=no ;;
   11324 esac
   11325 fi
   11326 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11327     conftest$ac_exeext conftest.$ac_ext ;;
   11328 esac
   11329 fi
   11330 
   11331 
   11332 		CFLAGS="$xorg_testset_save_CFLAGS"
   11333 
   11334 		eval supported=\$$cacheid
   11335 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11336 printf "%s\n" "$supported" >&6; }
   11337 		if test "$supported" = "yes" ; then
   11338 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11339 			found="yes"
   11340 		fi
   11341 	fi
   11342 
   11343 
   11344 
   11345 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11346 # activate it with -Werror, so we add it here explicitly.
   11347 
   11348 
   11349 
   11350 
   11351 
   11352 
   11353 
   11354 
   11355 
   11356 
   11357 
   11358 
   11359 
   11360 xorg_testset_save_CFLAGS="$CFLAGS"
   11361 
   11362 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11363 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11364 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11365 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11366 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11367 then :
   11368   printf %s "(cached) " >&6
   11369 else case e in #(
   11370   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11371 /* end confdefs.h.  */
   11372 int i;
   11373 _ACEOF
   11374 if ac_fn_c_try_compile "$LINENO"
   11375 then :
   11376   xorg_cv_cc_flag_unknown_warning_option=yes
   11377 else case e in #(
   11378   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11379 esac
   11380 fi
   11381 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11382 esac
   11383 fi
   11384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11385 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11386 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11387 	CFLAGS="$xorg_testset_save_CFLAGS"
   11388 fi
   11389 
   11390 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11391 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11392 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11393 	fi
   11394 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11395 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11396 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11397 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11398 then :
   11399   printf %s "(cached) " >&6
   11400 else case e in #(
   11401   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11402 /* end confdefs.h.  */
   11403 int i;
   11404 _ACEOF
   11405 if ac_fn_c_try_compile "$LINENO"
   11406 then :
   11407   xorg_cv_cc_flag_unused_command_line_argument=yes
   11408 else case e in #(
   11409   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11410 esac
   11411 fi
   11412 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11413 esac
   11414 fi
   11415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11416 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11417 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11418 	CFLAGS="$xorg_testset_save_CFLAGS"
   11419 fi
   11420 
   11421 found="no"
   11422 
   11423 	if test $found = "no" ; then
   11424 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11425 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11426 		fi
   11427 
   11428 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11429 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11430 		fi
   11431 
   11432 		CFLAGS="$CFLAGS -Werror=attributes"
   11433 
   11434 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11435 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11436 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11437 		if eval test \${$cacheid+y}
   11438 then :
   11439   printf %s "(cached) " >&6
   11440 else case e in #(
   11441   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11442 /* end confdefs.h.  */
   11443 int i;
   11444 int
   11445 main (void)
   11446 {
   11447 
   11448   ;
   11449   return 0;
   11450 }
   11451 _ACEOF
   11452 if ac_fn_c_try_link "$LINENO"
   11453 then :
   11454   eval $cacheid=yes
   11455 else case e in #(
   11456   e) eval $cacheid=no ;;
   11457 esac
   11458 fi
   11459 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11460     conftest$ac_exeext conftest.$ac_ext ;;
   11461 esac
   11462 fi
   11463 
   11464 
   11465 		CFLAGS="$xorg_testset_save_CFLAGS"
   11466 
   11467 		eval supported=\$$cacheid
   11468 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11469 printf "%s\n" "$supported" >&6; }
   11470 		if test "$supported" = "yes" ; then
   11471 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11472 			found="yes"
   11473 		fi
   11474 	fi
   11475 
   11476 
   11477 
   11478 if test "x$STRICT_COMPILE" = "xyes"; then
   11479     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11480     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11481 fi
   11482 
   11483 
   11484 
   11485 
   11486 
   11487 
   11488 
   11489 
   11490 cat >>confdefs.h <<_ACEOF
   11491 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11492 _ACEOF
   11493 
   11494 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11495 	if test "x$PVM" = "x"; then
   11496 		PVM="0"
   11497 	fi
   11498 
   11499 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11500 
   11501 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11502 	if test "x$PVP" = "x"; then
   11503 		PVP="0"
   11504 	fi
   11505 
   11506 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11507 
   11508 
   11509 
   11510 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11511 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11512 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11513 touch \$(top_srcdir)/ChangeLog; \
   11514 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11515 
   11516 
   11517 
   11518 
   11519 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11520 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11521 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11522 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11523 touch \$(top_srcdir)/INSTALL; \
   11524 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11525 
   11526 
   11527 
   11528 
   11529 
   11530 
   11531 case $host_os in
   11532     solaris*)
   11533         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11534         # check for a man page file found in later versions that use
   11535         # traditional section numbers instead
   11536         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11537 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11538 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11539 then :
   11540   printf %s "(cached) " >&6
   11541 else case e in #(
   11542   e) test "$cross_compiling" = yes &&
   11543   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11544 if test -r "/usr/share/man/man7/attributes.7"; then
   11545   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11546 else
   11547   ac_cv_file__usr_share_man_man7_attributes_7=no
   11548 fi ;;
   11549 esac
   11550 fi
   11551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11552 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11553 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11554 then :
   11555   SYSV_MAN_SECTIONS=false
   11556 else case e in #(
   11557   e) SYSV_MAN_SECTIONS=true ;;
   11558 esac
   11559 fi
   11560 
   11561         ;;
   11562     *) SYSV_MAN_SECTIONS=false ;;
   11563 esac
   11564 
   11565 if test x$APP_MAN_SUFFIX = x    ; then
   11566     APP_MAN_SUFFIX=1
   11567 fi
   11568 if test x$APP_MAN_DIR = x    ; then
   11569     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11570 fi
   11571 
   11572 if test x$LIB_MAN_SUFFIX = x    ; then
   11573     LIB_MAN_SUFFIX=3
   11574 fi
   11575 if test x$LIB_MAN_DIR = x    ; then
   11576     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11577 fi
   11578 
   11579 if test x$FILE_MAN_SUFFIX = x    ; then
   11580     case $SYSV_MAN_SECTIONS in
   11581 	true)				FILE_MAN_SUFFIX=4  ;;
   11582 	*)				FILE_MAN_SUFFIX=5  ;;
   11583     esac
   11584 fi
   11585 if test x$FILE_MAN_DIR = x    ; then
   11586     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11587 fi
   11588 
   11589 if test x$MISC_MAN_SUFFIX = x    ; then
   11590     case $SYSV_MAN_SECTIONS in
   11591 	true)				MISC_MAN_SUFFIX=5  ;;
   11592 	*)				MISC_MAN_SUFFIX=7  ;;
   11593     esac
   11594 fi
   11595 if test x$MISC_MAN_DIR = x    ; then
   11596     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11597 fi
   11598 
   11599 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11600     case $SYSV_MAN_SECTIONS in
   11601 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11602 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11603     esac
   11604 fi
   11605 if test x$DRIVER_MAN_DIR = x    ; then
   11606     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11607 fi
   11608 
   11609 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11610     case $SYSV_MAN_SECTIONS in
   11611 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11612 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11613     esac
   11614 fi
   11615 if test x$ADMIN_MAN_DIR = x    ; then
   11616     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11617 fi
   11618 
   11619 
   11620 
   11621 
   11622 
   11623 
   11624 
   11625 
   11626 
   11627 
   11628 
   11629 
   11630 
   11631 
   11632 
   11633 XORG_MAN_PAGE="X Version 11"
   11634 
   11635 MAN_SUBSTS="\
   11636 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11637 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11638 	-e 's|__xservername__|Xorg|g' \
   11639 	-e 's|__xconfigfile__|xorg.conf|g' \
   11640 	-e 's|__projectroot__|\$(prefix)|g' \
   11641 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11642 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11643 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11644 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11645 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11646 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11647 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11648 
   11649 
   11650 
   11651 # Check whether --enable-silent-rules was given.
   11652 if test ${enable_silent_rules+y}
   11653 then :
   11654   enableval=$enable_silent_rules;
   11655 fi
   11656 
   11657 case $enable_silent_rules in # (((
   11658   yes) AM_DEFAULT_VERBOSITY=0;;
   11659    no) AM_DEFAULT_VERBOSITY=1;;
   11660     *) AM_DEFAULT_VERBOSITY=0;;
   11661 esac
   11662 am_make=${MAKE-make}
   11663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11664 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11665 if test ${am_cv_make_support_nested_variables+y}
   11666 then :
   11667   printf %s "(cached) " >&6
   11668 else case e in #(
   11669   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   11670 BAR0=false
   11671 BAR1=true
   11672 V=1
   11673 am__doit:
   11674 	@$(TRUE)
   11675 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11676   am_cv_make_support_nested_variables=yes
   11677 else
   11678   am_cv_make_support_nested_variables=no
   11679 fi ;;
   11680 esac
   11681 fi
   11682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11683 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11684 if test $am_cv_make_support_nested_variables = yes; then
   11685     AM_V='$(V)'
   11686   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11687 else
   11688   AM_V=$AM_DEFAULT_VERBOSITY
   11689   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11690 fi
   11691 AM_BACKSLASH='\'
   11692 
   11693 
   11694 
   11695 
   11696 # If both the C file and YACC are missing, the package cannot be build.
   11697 for ac_prog in 'bison -y' byacc
   11698 do
   11699   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11700 set dummy $ac_prog; ac_word=$2
   11701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11702 printf %s "checking for $ac_word... " >&6; }
   11703 if test ${ac_cv_prog_YACC+y}
   11704 then :
   11705   printf %s "(cached) " >&6
   11706 else case e in #(
   11707   e) if test -n "$YACC"; then
   11708   ac_cv_prog_YACC="$YACC" # Let the user override the test.
   11709 else
   11710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11711 for as_dir in $PATH
   11712 do
   11713   IFS=$as_save_IFS
   11714   case $as_dir in #(((
   11715     '') as_dir=./ ;;
   11716     */) ;;
   11717     *) as_dir=$as_dir/ ;;
   11718   esac
   11719     for ac_exec_ext in '' $ac_executable_extensions; do
   11720   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11721     ac_cv_prog_YACC="$ac_prog"
   11722     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11723     break 2
   11724   fi
   11725 done
   11726   done
   11727 IFS=$as_save_IFS
   11728 
   11729 fi ;;
   11730 esac
   11731 fi
   11732 YACC=$ac_cv_prog_YACC
   11733 if test -n "$YACC"; then
   11734   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
   11735 printf "%s\n" "$YACC" >&6; }
   11736 else
   11737   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11738 printf "%s\n" "no" >&6; }
   11739 fi
   11740 
   11741 
   11742   test -n "$YACC" && break
   11743 done
   11744 test -n "$YACC" || YACC="yacc"
   11745 
   11746 # Extract the first word of "$YACC", so it can be a program name with args.
   11747 set dummy $YACC; ac_word=$2
   11748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11749 printf %s "checking for $ac_word... " >&6; }
   11750 if test ${ac_cv_path_YACC_INST+y}
   11751 then :
   11752   printf %s "(cached) " >&6
   11753 else case e in #(
   11754   e) case $YACC_INST in
   11755   [\\/]* | ?:[\\/]*)
   11756   ac_cv_path_YACC_INST="$YACC_INST" # Let the user override the test with a path.
   11757   ;;
   11758   *)
   11759   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11760 for as_dir in $PATH
   11761 do
   11762   IFS=$as_save_IFS
   11763   case $as_dir in #(((
   11764     '') as_dir=./ ;;
   11765     */) ;;
   11766     *) as_dir=$as_dir/ ;;
   11767   esac
   11768     for ac_exec_ext in '' $ac_executable_extensions; do
   11769   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11770     ac_cv_path_YACC_INST="$as_dir$ac_word$ac_exec_ext"
   11771     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11772     break 2
   11773   fi
   11774 done
   11775   done
   11776 IFS=$as_save_IFS
   11777 
   11778   ;;
   11779 esac ;;
   11780 esac
   11781 fi
   11782 YACC_INST=$ac_cv_path_YACC_INST
   11783 if test -n "$YACC_INST"; then
   11784   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $YACC_INST" >&5
   11785 printf "%s\n" "$YACC_INST" >&6; }
   11786 else
   11787   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11788 printf "%s\n" "no" >&6; }
   11789 fi
   11790 
   11791 
   11792 if test ! -f "$srcdir/xkbparse.c"; then
   11793    if test -z "$YACC_INST"; then
   11794       as_fn_error $? "yacc not found - unable to compile xkbparse.y" "$LINENO" 5
   11795    fi
   11796 fi
   11797 
   11798 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
   11799 if test "x$ac_cv_func_asprintf" = xyes
   11800 then :
   11801   printf "%s\n" "#define HAVE_ASPRINTF 1" >>confdefs.h
   11802 
   11803 fi
   11804 ac_fn_c_check_func "$LINENO" "reallocarray" "ac_cv_func_reallocarray"
   11805 if test "x$ac_cv_func_reallocarray" = xyes
   11806 then :
   11807   printf "%s\n" "#define HAVE_REALLOCARRAY 1" >>confdefs.h
   11808 
   11809 fi
   11810 ac_fn_c_check_func "$LINENO" "recallocarray" "ac_cv_func_recallocarray"
   11811 if test "x$ac_cv_func_recallocarray" = xyes
   11812 then :
   11813   printf "%s\n" "#define HAVE_RECALLOCARRAY 1" >>confdefs.h
   11814 
   11815 fi
   11816 ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup"
   11817 if test "x$ac_cv_func_strdup" = xyes
   11818 then :
   11819   printf "%s\n" "#define HAVE_STRDUP 1" >>confdefs.h
   11820 
   11821 fi
   11822 ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
   11823 if test "x$ac_cv_func_strcasecmp" = xyes
   11824 then :
   11825   printf "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h
   11826 
   11827 fi
   11828 
   11829 
   11830 # Checks for pkg-config packages
   11831 
   11832 pkg_failed=no
   11833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XKBCOMP" >&5
   11834 printf %s "checking for XKBCOMP... " >&6; }
   11835 
   11836 if test -n "$XKBCOMP_CFLAGS"; then
   11837     pkg_cv_XKBCOMP_CFLAGS="$XKBCOMP_CFLAGS"
   11838  elif test -n "$PKG_CONFIG"; then
   11839     if test -n "$PKG_CONFIG" && \
   11840     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xkbfile xproto >= 7.0.17\""; } >&5
   11841   ($PKG_CONFIG --exists --print-errors "x11 xkbfile xproto >= 7.0.17") 2>&5
   11842   ac_status=$?
   11843   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11844   test $ac_status = 0; }; then
   11845   pkg_cv_XKBCOMP_CFLAGS=`$PKG_CONFIG --cflags "x11 xkbfile xproto >= 7.0.17" 2>/dev/null`
   11846 		      test "x$?" != "x0" && pkg_failed=yes
   11847 else
   11848   pkg_failed=yes
   11849 fi
   11850  else
   11851     pkg_failed=untried
   11852 fi
   11853 if test -n "$XKBCOMP_LIBS"; then
   11854     pkg_cv_XKBCOMP_LIBS="$XKBCOMP_LIBS"
   11855  elif test -n "$PKG_CONFIG"; then
   11856     if test -n "$PKG_CONFIG" && \
   11857     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xkbfile xproto >= 7.0.17\""; } >&5
   11858   ($PKG_CONFIG --exists --print-errors "x11 xkbfile xproto >= 7.0.17") 2>&5
   11859   ac_status=$?
   11860   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11861   test $ac_status = 0; }; then
   11862   pkg_cv_XKBCOMP_LIBS=`$PKG_CONFIG --libs "x11 xkbfile xproto >= 7.0.17" 2>/dev/null`
   11863 		      test "x$?" != "x0" && pkg_failed=yes
   11864 else
   11865   pkg_failed=yes
   11866 fi
   11867  else
   11868     pkg_failed=untried
   11869 fi
   11870 
   11871 
   11872 
   11873 if test $pkg_failed = yes; then
   11874    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11875 printf "%s\n" "no" >&6; }
   11876 
   11877 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11878         _pkg_short_errors_supported=yes
   11879 else
   11880         _pkg_short_errors_supported=no
   11881 fi
   11882         if test $_pkg_short_errors_supported = yes; then
   11883 	        XKBCOMP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xkbfile xproto >= 7.0.17" 2>&1`
   11884         else
   11885 	        XKBCOMP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xkbfile xproto >= 7.0.17" 2>&1`
   11886         fi
   11887 	# Put the nasty error message in config.log where it belongs
   11888 	echo "$XKBCOMP_PKG_ERRORS" >&5
   11889 
   11890 	as_fn_error $? "Package requirements (x11 xkbfile xproto >= 7.0.17) were not met:
   11891 
   11892 $XKBCOMP_PKG_ERRORS
   11893 
   11894 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11895 installed software in a non-standard prefix.
   11896 
   11897 Alternatively, you may set the environment variables XKBCOMP_CFLAGS
   11898 and XKBCOMP_LIBS to avoid the need to call pkg-config.
   11899 See the pkg-config man page for more details." "$LINENO" 5
   11900 elif test $pkg_failed = untried; then
   11901      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11902 printf "%s\n" "no" >&6; }
   11903 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11904 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   11905 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11906 is in your PATH or set the PKG_CONFIG environment variable to the full
   11907 path to pkg-config.
   11908 
   11909 Alternatively, you may set the environment variables XKBCOMP_CFLAGS
   11910 and XKBCOMP_LIBS to avoid the need to call pkg-config.
   11911 See the pkg-config man page for more details.
   11912 
   11913 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11914 See 'config.log' for more details" "$LINENO" 5; }
   11915 else
   11916 	XKBCOMP_CFLAGS=$pkg_cv_XKBCOMP_CFLAGS
   11917 	XKBCOMP_LIBS=$pkg_cv_XKBCOMP_LIBS
   11918         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11919 printf "%s\n" "yes" >&6; }
   11920 
   11921 fi
   11922 
   11923 # Checks for typedefs, structures, and compiler characteristics.
   11924 # Check whether --enable-largefile was given.
   11925 if test ${enable_largefile+y}
   11926 then :
   11927   enableval=$enable_largefile;
   11928 fi
   11929 if test "$enable_largefile,$enable_year2038" != no,no
   11930 then :
   11931   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5
   11932 printf %s "checking for $CC option to enable large file support... " >&6; }
   11933 if test ${ac_cv_sys_largefile_opts+y}
   11934 then :
   11935   printf %s "(cached) " >&6
   11936 else case e in #(
   11937   e) ac_save_CC="$CC"
   11938   ac_opt_found=no
   11939   for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do
   11940     if test x"$ac_opt" != x"none needed"
   11941 then :
   11942   CC="$ac_save_CC $ac_opt"
   11943 fi
   11944     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11945 /* end confdefs.h.  */
   11946 #include <sys/types.h>
   11947 #ifndef FTYPE
   11948 # define FTYPE off_t
   11949 #endif
   11950  /* Check that FTYPE can represent 2**63 - 1 correctly.
   11951     We can't simply define LARGE_FTYPE to be 9223372036854775807,
   11952     since some C++ compilers masquerading as C compilers
   11953     incorrectly reject 9223372036854775807.  */
   11954 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
   11955   int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
   11956 		       && LARGE_FTYPE % 2147483647 == 1)
   11957 		      ? 1 : -1];
   11958 int
   11959 main (void)
   11960 {
   11961 
   11962   ;
   11963   return 0;
   11964 }
   11965 _ACEOF
   11966 if ac_fn_c_try_compile "$LINENO"
   11967 then :
   11968   if test x"$ac_opt" = x"none needed"
   11969 then :
   11970   # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
   11971 	 CC="$CC -DFTYPE=ino_t"
   11972 	 if ac_fn_c_try_compile "$LINENO"
   11973 then :
   11974 
   11975 else case e in #(
   11976   e) CC="$CC -D_FILE_OFFSET_BITS=64"
   11977 	    if ac_fn_c_try_compile "$LINENO"
   11978 then :
   11979   ac_opt='-D_FILE_OFFSET_BITS=64'
   11980 fi
   11981 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
   11982 esac
   11983 fi
   11984 rm -f core conftest.err conftest.$ac_objext conftest.beam
   11985 fi
   11986       ac_cv_sys_largefile_opts=$ac_opt
   11987       ac_opt_found=yes
   11988 fi
   11989 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11990     test $ac_opt_found = no || break
   11991   done
   11992   CC="$ac_save_CC"
   11993 
   11994   test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
   11995 esac
   11996 fi
   11997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
   11998 printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
   11999 
   12000 ac_have_largefile=yes
   12001 case $ac_cv_sys_largefile_opts in #(
   12002   "none needed") :
   12003      ;; #(
   12004   "supported through gnulib") :
   12005      ;; #(
   12006   "support not detected") :
   12007     ac_have_largefile=no ;; #(
   12008   "-D_FILE_OFFSET_BITS=64") :
   12009 
   12010 printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
   12011  ;; #(
   12012   "-D_LARGE_FILES=1") :
   12013 
   12014 printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
   12015  ;; #(
   12016   "-n32") :
   12017     CC="$CC -n32" ;; #(
   12018   *) :
   12019     as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
   12020 esac
   12021 
   12022 if test "$enable_year2038" != no
   12023 then :
   12024   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5
   12025 printf %s "checking for $CC option for timestamps after 2038... " >&6; }
   12026 if test ${ac_cv_sys_year2038_opts+y}
   12027 then :
   12028   printf %s "(cached) " >&6
   12029 else case e in #(
   12030   e) ac_save_CPPFLAGS="$CPPFLAGS"
   12031   ac_opt_found=no
   12032   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
   12033     if test x"$ac_opt" != x"none needed"
   12034 then :
   12035   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
   12036 fi
   12037     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12038 /* end confdefs.h.  */
   12039 
   12040   #include <time.h>
   12041   /* Check that time_t can represent 2**32 - 1 correctly.  */
   12042   #define LARGE_TIME_T \\
   12043     ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
   12044   int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
   12045                            && LARGE_TIME_T % 65537 == 0)
   12046                           ? 1 : -1];
   12047 
   12048 int
   12049 main (void)
   12050 {
   12051 
   12052   ;
   12053   return 0;
   12054 }
   12055 _ACEOF
   12056 if ac_fn_c_try_compile "$LINENO"
   12057 then :
   12058   ac_cv_sys_year2038_opts="$ac_opt"
   12059       ac_opt_found=yes
   12060 fi
   12061 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12062     test $ac_opt_found = no || break
   12063   done
   12064   CPPFLAGS="$ac_save_CPPFLAGS"
   12065   test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
   12066 esac
   12067 fi
   12068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
   12069 printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
   12070 
   12071 ac_have_year2038=yes
   12072 case $ac_cv_sys_year2038_opts in #(
   12073   "none needed") :
   12074      ;; #(
   12075   "support not detected") :
   12076     ac_have_year2038=no ;; #(
   12077   "-D_TIME_BITS=64") :
   12078 
   12079 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
   12080  ;; #(
   12081   "-D__MINGW_USE_VC2005_COMPAT") :
   12082 
   12083 printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
   12084  ;; #(
   12085   "-U_USE_32_BIT_TIME_T"*) :
   12086     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   12087 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   12088 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
   12089 will stop working after mid-January 2038. Remove
   12090 _USE_32BIT_TIME_T from the compiler flags.
   12091 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   12092   *) :
   12093     as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
   12094 esac
   12095 
   12096 fi
   12097 
   12098 fi
   12099 
   12100 
   12101 # Check whether --with-xkb_config_root was given.
   12102 if test ${with_xkb_config_root+y}
   12103 then :
   12104   withval=$with_xkb_config_root; XKBCONFIGROOT="$withval"
   12105 else case e in #(
   12106   e) XKBCONFIGROOT='${datadir}/X11/xkb' ;;
   12107 esac
   12108 fi
   12109 
   12110 
   12111 
   12112 
   12113 ac_config_files="$ac_config_files Makefile man/Makefile xkbcomp.pc"
   12114 
   12115 cat >confcache <<\_ACEOF
   12116 # This file is a shell script that caches the results of configure
   12117 # tests run on this system so they can be shared between configure
   12118 # scripts and configure runs, see configure's option --config-cache.
   12119 # It is not useful on other systems.  If it contains results you don't
   12120 # want to keep, you may remove or edit it.
   12121 #
   12122 # config.status only pays attention to the cache file if you give it
   12123 # the --recheck option to rerun configure.
   12124 #
   12125 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   12126 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   12127 # following values.
   12128 
   12129 _ACEOF
   12130 
   12131 # The following way of writing the cache mishandles newlines in values,
   12132 # but we know of no workaround that is simple, portable, and efficient.
   12133 # So, we kill variables containing newlines.
   12134 # Ultrix sh set writes to stderr and can't be redirected directly,
   12135 # and sets the high bit in the cache file unless we assign to the vars.
   12136 (
   12137   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   12138     eval ac_val=\$$ac_var
   12139     case $ac_val in #(
   12140     *${as_nl}*)
   12141       case $ac_var in #(
   12142       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   12143 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   12144       esac
   12145       case $ac_var in #(
   12146       _ | IFS | as_nl) ;; #(
   12147       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   12148       *) { eval $ac_var=; unset $ac_var;} ;;
   12149       esac ;;
   12150     esac
   12151   done
   12152 
   12153   (set) 2>&1 |
   12154     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   12155     *${as_nl}ac_space=\ *)
   12156       # 'set' does not quote correctly, so add quotes: double-quote
   12157       # substitution turns \\\\ into \\, and sed turns \\ into \.
   12158       sed -n \
   12159 	"s/'/'\\\\''/g;
   12160 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   12161       ;; #(
   12162     *)
   12163       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   12164       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   12165       ;;
   12166     esac |
   12167     sort
   12168 ) |
   12169   sed '
   12170      /^ac_cv_env_/b end
   12171      t clear
   12172      :clear
   12173      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   12174      t end
   12175      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12176      :end' >>confcache
   12177 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12178   if test -w "$cache_file"; then
   12179     if test "x$cache_file" != "x/dev/null"; then
   12180       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   12181 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   12182       if test ! -f "$cache_file" || test -h "$cache_file"; then
   12183 	cat confcache >"$cache_file"
   12184       else
   12185         case $cache_file in #(
   12186         */* | ?:*)
   12187 	  mv -f confcache "$cache_file"$$ &&
   12188 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   12189         *)
   12190 	  mv -f confcache "$cache_file" ;;
   12191 	esac
   12192       fi
   12193     fi
   12194   else
   12195     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   12196 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   12197   fi
   12198 fi
   12199 rm -f confcache
   12200 
   12201 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12202 # Let make expand exec_prefix.
   12203 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12204 
   12205 DEFS=-DHAVE_CONFIG_H
   12206 
   12207 ac_libobjs=
   12208 ac_ltlibobjs=
   12209 U=
   12210 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12211   # 1. Remove the extension, and $U if already installed.
   12212   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12213   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   12214   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12215   #    will be set to the directory where LIBOBJS objects are built.
   12216   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12217   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12218 done
   12219 LIBOBJS=$ac_libobjs
   12220 
   12221 LTLIBOBJS=$ac_ltlibobjs
   12222 
   12223 
   12224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   12225 printf %s "checking that generated files are newer than configure... " >&6; }
   12226    if test -n "$am_sleep_pid"; then
   12227      # Hide warnings about reused PIDs.
   12228      wait $am_sleep_pid 2>/dev/null
   12229    fi
   12230    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   12231 printf "%s\n" "done" >&6; }
   12232 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12233   as_fn_error $? "conditional \"AMDEP\" was never defined.
   12234 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12235 fi
   12236 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12237   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12238 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12239 fi
   12240  if test -n "$EXEEXT"; then
   12241   am__EXEEXT_TRUE=
   12242   am__EXEEXT_FALSE='#'
   12243 else
   12244   am__EXEEXT_TRUE='#'
   12245   am__EXEEXT_FALSE=
   12246 fi
   12247 
   12248 # Check whether --enable-year2038 was given.
   12249 if test ${enable_year2038+y}
   12250 then :
   12251   enableval=$enable_year2038;
   12252 fi
   12253 
   12254 
   12255 : "${CONFIG_STATUS=./config.status}"
   12256 ac_write_fail=0
   12257 ac_clean_files_save=$ac_clean_files
   12258 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12260 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   12261 as_write_fail=0
   12262 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   12263 #! $SHELL
   12264 # Generated by $as_me.
   12265 # Run this file to recreate the current configuration.
   12266 # Compiler output produced by configure, useful for debugging
   12267 # configure, is in config.log if it exists.
   12268 
   12269 debug=false
   12270 ac_cs_recheck=false
   12271 ac_cs_silent=false
   12272 
   12273 SHELL=\${CONFIG_SHELL-$SHELL}
   12274 export SHELL
   12275 _ASEOF
   12276 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12277 ## -------------------- ##
   12278 ## M4sh Initialization. ##
   12279 ## -------------------- ##
   12280 
   12281 # Be more Bourne compatible
   12282 DUALCASE=1; export DUALCASE # for MKS sh
   12283 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   12284 then :
   12285   emulate sh
   12286   NULLCMD=:
   12287   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12288   # is contrary to our usage.  Disable this feature.
   12289   alias -g '${1+"$@"}'='"$@"'
   12290   setopt NO_GLOB_SUBST
   12291 else case e in #(
   12292   e) case `(set -o) 2>/dev/null` in #(
   12293   *posix*) :
   12294     set -o posix ;; #(
   12295   *) :
   12296      ;;
   12297 esac ;;
   12298 esac
   12299 fi
   12300 
   12301 
   12302 
   12303 # Reset variables that may have inherited troublesome values from
   12304 # the environment.
   12305 
   12306 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   12307 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   12308 # side effect of setting IFS to empty, thus disabling word splitting.)
   12309 # Quoting is to prevent editors from complaining about space-tab.
   12310 as_nl='
   12311 '
   12312 export as_nl
   12313 IFS=" ""	$as_nl"
   12314 
   12315 PS1='$ '
   12316 PS2='> '
   12317 PS4='+ '
   12318 
   12319 # Ensure predictable behavior from utilities with locale-dependent output.
   12320 LC_ALL=C
   12321 export LC_ALL
   12322 LANGUAGE=C
   12323 export LANGUAGE
   12324 
   12325 # We cannot yet rely on "unset" to work, but we need these variables
   12326 # to be unset--not just set to an empty or harmless value--now, to
   12327 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   12328 # also avoids known problems related to "unset" and subshell syntax
   12329 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   12330 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   12331 do eval test \${$as_var+y} \
   12332   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12333 done
   12334 
   12335 # Ensure that fds 0, 1, and 2 are open.
   12336 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   12337 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   12338 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   12339 
   12340 # The user is always right.
   12341 if ${PATH_SEPARATOR+false} :; then
   12342   PATH_SEPARATOR=:
   12343   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12344     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12345       PATH_SEPARATOR=';'
   12346   }
   12347 fi
   12348 
   12349 
   12350 # Find who we are.  Look in the path if we contain no directory separator.
   12351 as_myself=
   12352 case $0 in #((
   12353   *[\\/]* ) as_myself=$0 ;;
   12354   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12355 for as_dir in $PATH
   12356 do
   12357   IFS=$as_save_IFS
   12358   case $as_dir in #(((
   12359     '') as_dir=./ ;;
   12360     */) ;;
   12361     *) as_dir=$as_dir/ ;;
   12362   esac
   12363     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   12364   done
   12365 IFS=$as_save_IFS
   12366 
   12367      ;;
   12368 esac
   12369 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   12370 # in which case we are not to be found in the path.
   12371 if test "x$as_myself" = x; then
   12372   as_myself=$0
   12373 fi
   12374 if test ! -f "$as_myself"; then
   12375   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12376   exit 1
   12377 fi
   12378 
   12379 
   12380 
   12381 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12382 # ----------------------------------------
   12383 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12384 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12385 # script with STATUS, using 1 if that was 0.
   12386 as_fn_error ()
   12387 {
   12388   as_status=$1; test $as_status -eq 0 && as_status=1
   12389   if test "$4"; then
   12390     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12391     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12392   fi
   12393   printf "%s\n" "$as_me: error: $2" >&2
   12394   as_fn_exit $as_status
   12395 } # as_fn_error
   12396 
   12397 
   12398 # as_fn_set_status STATUS
   12399 # -----------------------
   12400 # Set $? to STATUS, without forking.
   12401 as_fn_set_status ()
   12402 {
   12403   return $1
   12404 } # as_fn_set_status
   12405 
   12406 # as_fn_exit STATUS
   12407 # -----------------
   12408 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12409 as_fn_exit ()
   12410 {
   12411   set +e
   12412   as_fn_set_status $1
   12413   exit $1
   12414 } # as_fn_exit
   12415 
   12416 # as_fn_unset VAR
   12417 # ---------------
   12418 # Portably unset VAR.
   12419 as_fn_unset ()
   12420 {
   12421   { eval $1=; unset $1;}
   12422 }
   12423 as_unset=as_fn_unset
   12424 
   12425 # as_fn_append VAR VALUE
   12426 # ----------------------
   12427 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12428 # advantage of any shell optimizations that allow amortized linear growth over
   12429 # repeated appends, instead of the typical quadratic growth present in naive
   12430 # implementations.
   12431 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   12432 then :
   12433   eval 'as_fn_append ()
   12434   {
   12435     eval $1+=\$2
   12436   }'
   12437 else case e in #(
   12438   e) as_fn_append ()
   12439   {
   12440     eval $1=\$$1\$2
   12441   } ;;
   12442 esac
   12443 fi # as_fn_append
   12444 
   12445 # as_fn_arith ARG...
   12446 # ------------------
   12447 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12448 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12449 # must be portable across $(()) and expr.
   12450 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   12451 then :
   12452   eval 'as_fn_arith ()
   12453   {
   12454     as_val=$(( $* ))
   12455   }'
   12456 else case e in #(
   12457   e) as_fn_arith ()
   12458   {
   12459     as_val=`expr "$@" || test $? -eq 1`
   12460   } ;;
   12461 esac
   12462 fi # as_fn_arith
   12463 
   12464 
   12465 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12466    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12467   as_expr=expr
   12468 else
   12469   as_expr=false
   12470 fi
   12471 
   12472 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12473   as_basename=basename
   12474 else
   12475   as_basename=false
   12476 fi
   12477 
   12478 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12479   as_dirname=dirname
   12480 else
   12481   as_dirname=false
   12482 fi
   12483 
   12484 as_me=`$as_basename -- "$0" ||
   12485 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12486 	 X"$0" : 'X\(//\)$' \| \
   12487 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12488 printf "%s\n" X/"$0" |
   12489     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12490 	    s//\1/
   12491 	    q
   12492 	  }
   12493 	  /^X\/\(\/\/\)$/{
   12494 	    s//\1/
   12495 	    q
   12496 	  }
   12497 	  /^X\/\(\/\).*/{
   12498 	    s//\1/
   12499 	    q
   12500 	  }
   12501 	  s/.*/./; q'`
   12502 
   12503 # Avoid depending upon Character Ranges.
   12504 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12505 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12506 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12507 as_cr_digits='0123456789'
   12508 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12509 
   12510 
   12511 # Determine whether it's possible to make 'echo' print without a newline.
   12512 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   12513 # for compatibility with existing Makefiles.
   12514 ECHO_C= ECHO_N= ECHO_T=
   12515 case `echo -n x` in #(((((
   12516 -n*)
   12517   case `echo 'xy\c'` in
   12518   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12519   xy)  ECHO_C='\c';;
   12520   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12521        ECHO_T='	';;
   12522   esac;;
   12523 *)
   12524   ECHO_N='-n';;
   12525 esac
   12526 
   12527 # For backward compatibility with old third-party macros, we provide
   12528 # the shell variables $as_echo and $as_echo_n.  New code should use
   12529 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   12530 as_echo='printf %s\n'
   12531 as_echo_n='printf %s'
   12532 
   12533 rm -f conf$$ conf$$.exe conf$$.file
   12534 if test -d conf$$.dir; then
   12535   rm -f conf$$.dir/conf$$.file
   12536 else
   12537   rm -f conf$$.dir
   12538   mkdir conf$$.dir 2>/dev/null
   12539 fi
   12540 if (echo >conf$$.file) 2>/dev/null; then
   12541   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12542     as_ln_s='ln -s'
   12543     # ... but there are two gotchas:
   12544     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   12545     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   12546     # In both cases, we have to default to 'cp -pR'.
   12547     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12548       as_ln_s='cp -pR'
   12549   elif ln conf$$.file conf$$ 2>/dev/null; then
   12550     as_ln_s=ln
   12551   else
   12552     as_ln_s='cp -pR'
   12553   fi
   12554 else
   12555   as_ln_s='cp -pR'
   12556 fi
   12557 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12558 rmdir conf$$.dir 2>/dev/null
   12559 
   12560 
   12561 # as_fn_mkdir_p
   12562 # -------------
   12563 # Create "$as_dir" as a directory, including parents if necessary.
   12564 as_fn_mkdir_p ()
   12565 {
   12566 
   12567   case $as_dir in #(
   12568   -*) as_dir=./$as_dir;;
   12569   esac
   12570   test -d "$as_dir" || eval $as_mkdir_p || {
   12571     as_dirs=
   12572     while :; do
   12573       case $as_dir in #(
   12574       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12575       *) as_qdir=$as_dir;;
   12576       esac
   12577       as_dirs="'$as_qdir' $as_dirs"
   12578       as_dir=`$as_dirname -- "$as_dir" ||
   12579 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12580 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12581 	 X"$as_dir" : 'X\(//\)$' \| \
   12582 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12583 printf "%s\n" X"$as_dir" |
   12584     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12585 	    s//\1/
   12586 	    q
   12587 	  }
   12588 	  /^X\(\/\/\)[^/].*/{
   12589 	    s//\1/
   12590 	    q
   12591 	  }
   12592 	  /^X\(\/\/\)$/{
   12593 	    s//\1/
   12594 	    q
   12595 	  }
   12596 	  /^X\(\/\).*/{
   12597 	    s//\1/
   12598 	    q
   12599 	  }
   12600 	  s/.*/./; q'`
   12601       test -d "$as_dir" && break
   12602     done
   12603     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12604   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12605 
   12606 
   12607 } # as_fn_mkdir_p
   12608 if mkdir -p . 2>/dev/null; then
   12609   as_mkdir_p='mkdir -p "$as_dir"'
   12610 else
   12611   test -d ./-p && rmdir ./-p
   12612   as_mkdir_p=false
   12613 fi
   12614 
   12615 
   12616 # as_fn_executable_p FILE
   12617 # -----------------------
   12618 # Test if FILE is an executable regular file.
   12619 as_fn_executable_p ()
   12620 {
   12621   test -f "$1" && test -x "$1"
   12622 } # as_fn_executable_p
   12623 as_test_x='test -x'
   12624 as_executable_p=as_fn_executable_p
   12625 
   12626 # Sed expression to map a string onto a valid CPP name.
   12627 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   12628 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   12629 
   12630 # Sed expression to map a string onto a valid variable name.
   12631 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   12632 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   12633 
   12634 
   12635 exec 6>&1
   12636 ## ----------------------------------- ##
   12637 ## Main body of $CONFIG_STATUS script. ##
   12638 ## ----------------------------------- ##
   12639 _ASEOF
   12640 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12641 
   12642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12643 # Save the log message, to keep $0 and so on meaningful, and to
   12644 # report actual input values of CONFIG_FILES etc. instead of their
   12645 # values after options handling.
   12646 ac_log="
   12647 This file was extended by xkbcomp $as_me 1.4.7, which was
   12648 generated by GNU Autoconf 2.72.  Invocation command line was
   12649 
   12650   CONFIG_FILES    = $CONFIG_FILES
   12651   CONFIG_HEADERS  = $CONFIG_HEADERS
   12652   CONFIG_LINKS    = $CONFIG_LINKS
   12653   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12654   $ $0 $@
   12655 
   12656 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12657 "
   12658 
   12659 _ACEOF
   12660 
   12661 case $ac_config_files in *"
   12662 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12663 esac
   12664 
   12665 case $ac_config_headers in *"
   12666 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12667 esac
   12668 
   12669 
   12670 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12671 # Files that config.status was made for.
   12672 config_files="$ac_config_files"
   12673 config_headers="$ac_config_headers"
   12674 config_commands="$ac_config_commands"
   12675 
   12676 _ACEOF
   12677 
   12678 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12679 ac_cs_usage="\
   12680 '$as_me' instantiates files and other configuration actions
   12681 from templates according to the current configuration.  Unless the files
   12682 and actions are specified as TAGs, all are instantiated by default.
   12683 
   12684 Usage: $0 [OPTION]... [TAG]...
   12685 
   12686   -h, --help       print this help, then exit
   12687   -V, --version    print version number and configuration settings, then exit
   12688       --config     print configuration, then exit
   12689   -q, --quiet, --silent
   12690                    do not print progress messages
   12691   -d, --debug      don't remove temporary files
   12692       --recheck    update $as_me by reconfiguring in the same conditions
   12693       --file=FILE[:TEMPLATE]
   12694                    instantiate the configuration file FILE
   12695       --header=FILE[:TEMPLATE]
   12696                    instantiate the configuration header FILE
   12697 
   12698 Configuration files:
   12699 $config_files
   12700 
   12701 Configuration headers:
   12702 $config_headers
   12703 
   12704 Configuration commands:
   12705 $config_commands
   12706 
   12707 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xkbcomp/-/issues>."
   12708 
   12709 _ACEOF
   12710 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12711 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12712 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12713 ac_cs_config='$ac_cs_config_escaped'
   12714 ac_cs_version="\\
   12715 xkbcomp config.status 1.4.7
   12716 configured by $0, generated by GNU Autoconf 2.72,
   12717   with options \\"\$ac_cs_config\\"
   12718 
   12719 Copyright (C) 2023 Free Software Foundation, Inc.
   12720 This config.status script is free software; the Free Software Foundation
   12721 gives unlimited permission to copy, distribute and modify it."
   12722 
   12723 ac_pwd='$ac_pwd'
   12724 srcdir='$srcdir'
   12725 INSTALL='$INSTALL'
   12726 MKDIR_P='$MKDIR_P'
   12727 AWK='$AWK'
   12728 test -n "\$AWK" || AWK=awk
   12729 _ACEOF
   12730 
   12731 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12732 # The default lists apply if the user does not specify any file.
   12733 ac_need_defaults=:
   12734 while test $# != 0
   12735 do
   12736   case $1 in
   12737   --*=?*)
   12738     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12739     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12740     ac_shift=:
   12741     ;;
   12742   --*=)
   12743     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12744     ac_optarg=
   12745     ac_shift=:
   12746     ;;
   12747   *)
   12748     ac_option=$1
   12749     ac_optarg=$2
   12750     ac_shift=shift
   12751     ;;
   12752   esac
   12753 
   12754   case $ac_option in
   12755   # Handling of the options.
   12756   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12757     ac_cs_recheck=: ;;
   12758   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12759     printf "%s\n" "$ac_cs_version"; exit ;;
   12760   --config | --confi | --conf | --con | --co | --c )
   12761     printf "%s\n" "$ac_cs_config"; exit ;;
   12762   --debug | --debu | --deb | --de | --d | -d )
   12763     debug=: ;;
   12764   --file | --fil | --fi | --f )
   12765     $ac_shift
   12766     case $ac_optarg in
   12767     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12768     '') as_fn_error $? "missing file argument" ;;
   12769     esac
   12770     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12771     ac_need_defaults=false;;
   12772   --header | --heade | --head | --hea )
   12773     $ac_shift
   12774     case $ac_optarg in
   12775     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12776     esac
   12777     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12778     ac_need_defaults=false;;
   12779   --he | --h)
   12780     # Conflict between --help and --header
   12781     as_fn_error $? "ambiguous option: '$1'
   12782 Try '$0 --help' for more information.";;
   12783   --help | --hel | -h )
   12784     printf "%s\n" "$ac_cs_usage"; exit ;;
   12785   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12786   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12787     ac_cs_silent=: ;;
   12788 
   12789   # This is an error.
   12790   -*) as_fn_error $? "unrecognized option: '$1'
   12791 Try '$0 --help' for more information." ;;
   12792 
   12793   *) as_fn_append ac_config_targets " $1"
   12794      ac_need_defaults=false ;;
   12795 
   12796   esac
   12797   shift
   12798 done
   12799 
   12800 ac_configure_extra_args=
   12801 
   12802 if $ac_cs_silent; then
   12803   exec 6>/dev/null
   12804   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12805 fi
   12806 
   12807 _ACEOF
   12808 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12809 if \$ac_cs_recheck; then
   12810   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12811   shift
   12812   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12813   CONFIG_SHELL='$SHELL'
   12814   export CONFIG_SHELL
   12815   exec "\$@"
   12816 fi
   12817 
   12818 _ACEOF
   12819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12820 exec 5>>config.log
   12821 {
   12822   echo
   12823   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12824 ## Running $as_me. ##
   12825 _ASBOX
   12826   printf "%s\n" "$ac_log"
   12827 } >&5
   12828 
   12829 _ACEOF
   12830 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12831 #
   12832 # INIT-COMMANDS
   12833 #
   12834 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12835 
   12836 _ACEOF
   12837 
   12838 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12839 
   12840 # Handling of arguments.
   12841 for ac_config_target in $ac_config_targets
   12842 do
   12843   case $ac_config_target in
   12844     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12845     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12846     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12847     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12848     "xkbcomp.pc") CONFIG_FILES="$CONFIG_FILES xkbcomp.pc" ;;
   12849 
   12850   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   12851   esac
   12852 done
   12853 
   12854 
   12855 # If the user did not use the arguments to specify the items to instantiate,
   12856 # then the envvar interface is used.  Set only those that are not.
   12857 # We use the long form for the default assignment because of an extremely
   12858 # bizarre bug on SunOS 4.1.3.
   12859 if $ac_need_defaults; then
   12860   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12861   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12862   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12863 fi
   12864 
   12865 # Have a temporary directory for convenience.  Make it in the build tree
   12866 # simply because there is no reason against having it here, and in addition,
   12867 # creating and moving files from /tmp can sometimes cause problems.
   12868 # Hook for its removal unless debugging.
   12869 # Note that there is a small window in which the directory will not be cleaned:
   12870 # after its creation but before its name has been assigned to '$tmp'.
   12871 $debug ||
   12872 {
   12873   tmp= ac_tmp=
   12874   trap 'exit_status=$?
   12875   : "${ac_tmp:=$tmp}"
   12876   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12877 ' 0
   12878   trap 'as_fn_exit 1' 1 2 13 15
   12879 }
   12880 # Create a (secure) tmp directory for tmp files.
   12881 
   12882 {
   12883   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12884   test -d "$tmp"
   12885 }  ||
   12886 {
   12887   tmp=./conf$$-$RANDOM
   12888   (umask 077 && mkdir "$tmp")
   12889 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12890 ac_tmp=$tmp
   12891 
   12892 # Set up the scripts for CONFIG_FILES section.
   12893 # No need to generate them if there are no CONFIG_FILES.
   12894 # This happens for instance with './config.status config.h'.
   12895 if test -n "$CONFIG_FILES"; then
   12896 
   12897 
   12898 ac_cr=`echo X | tr X '\015'`
   12899 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12900 # But we know of no other shell where ac_cr would be empty at this
   12901 # point, so we can use a bashism as a fallback.
   12902 if test "x$ac_cr" = x; then
   12903   eval ac_cr=\$\'\\r\'
   12904 fi
   12905 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12906 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12907   ac_cs_awk_cr='\\r'
   12908 else
   12909   ac_cs_awk_cr=$ac_cr
   12910 fi
   12911 
   12912 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12913 _ACEOF
   12914 
   12915 
   12916 {
   12917   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12918   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12919   echo "_ACEOF"
   12920 } >conf$$subs.sh ||
   12921   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12922 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12923 ac_delim='%!_!# '
   12924 for ac_last_try in false false false false false :; do
   12925   . ./conf$$subs.sh ||
   12926     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12927 
   12928   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12929   if test $ac_delim_n = $ac_delim_num; then
   12930     break
   12931   elif $ac_last_try; then
   12932     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12933   else
   12934     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12935   fi
   12936 done
   12937 rm -f conf$$subs.sh
   12938 
   12939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12940 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12941 _ACEOF
   12942 sed -n '
   12943 h
   12944 s/^/S["/; s/!.*/"]=/
   12945 p
   12946 g
   12947 s/^[^!]*!//
   12948 :repl
   12949 t repl
   12950 s/'"$ac_delim"'$//
   12951 t delim
   12952 :nl
   12953 h
   12954 s/\(.\{148\}\)..*/\1/
   12955 t more1
   12956 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12957 p
   12958 n
   12959 b repl
   12960 :more1
   12961 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12962 p
   12963 g
   12964 s/.\{148\}//
   12965 t nl
   12966 :delim
   12967 h
   12968 s/\(.\{148\}\)..*/\1/
   12969 t more2
   12970 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12971 p
   12972 b
   12973 :more2
   12974 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12975 p
   12976 g
   12977 s/.\{148\}//
   12978 t delim
   12979 ' <conf$$subs.awk | sed '
   12980 /^[^""]/{
   12981   N
   12982   s/\n//
   12983 }
   12984 ' >>$CONFIG_STATUS || ac_write_fail=1
   12985 rm -f conf$$subs.awk
   12986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12987 _ACAWK
   12988 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12989   for (key in S) S_is_set[key] = 1
   12990   FS = ""
   12991 
   12992 }
   12993 {
   12994   line = $ 0
   12995   nfields = split(line, field, "@")
   12996   substed = 0
   12997   len = length(field[1])
   12998   for (i = 2; i < nfields; i++) {
   12999     key = field[i]
   13000     keylen = length(key)
   13001     if (S_is_set[key]) {
   13002       value = S[key]
   13003       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   13004       len += length(value) + length(field[++i])
   13005       substed = 1
   13006     } else
   13007       len += 1 + keylen
   13008   }
   13009 
   13010   print line
   13011 }
   13012 
   13013 _ACAWK
   13014 _ACEOF
   13015 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13016 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   13017   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   13018 else
   13019   cat
   13020 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   13021   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   13022 _ACEOF
   13023 
   13024 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   13025 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   13026 # trailing colons and then remove the whole line if VPATH becomes empty
   13027 # (actually we leave an empty line to preserve line numbers).
   13028 if test "x$srcdir" = x.; then
   13029   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   13030 h
   13031 s///
   13032 s/^/:/
   13033 s/[	 ]*$/:/
   13034 s/:\$(srcdir):/:/g
   13035 s/:\${srcdir}:/:/g
   13036 s/:@srcdir@:/:/g
   13037 s/^:*//
   13038 s/:*$//
   13039 x
   13040 s/\(=[	 ]*\).*/\1/
   13041 G
   13042 s/\n//
   13043 s/^[^=]*=[	 ]*$//
   13044 }'
   13045 fi
   13046 
   13047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13048 fi # test -n "$CONFIG_FILES"
   13049 
   13050 # Set up the scripts for CONFIG_HEADERS section.
   13051 # No need to generate them if there are no CONFIG_HEADERS.
   13052 # This happens for instance with './config.status Makefile'.
   13053 if test -n "$CONFIG_HEADERS"; then
   13054 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   13055 BEGIN {
   13056 _ACEOF
   13057 
   13058 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   13059 # here-document in config.status, that substitutes the proper values into
   13060 # config.h.in to produce config.h.
   13061 
   13062 # Create a delimiter string that does not exist in confdefs.h, to ease
   13063 # handling of long lines.
   13064 ac_delim='%!_!# '
   13065 for ac_last_try in false false :; do
   13066   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   13067   if test -z "$ac_tt"; then
   13068     break
   13069   elif $ac_last_try; then
   13070     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   13071   else
   13072     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13073   fi
   13074 done
   13075 
   13076 # For the awk script, D is an array of macro values keyed by name,
   13077 # likewise P contains macro parameters if any.  Preserve backslash
   13078 # newline sequences.
   13079 
   13080 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   13081 sed -n '
   13082 s/.\{148\}/&'"$ac_delim"'/g
   13083 t rset
   13084 :rset
   13085 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   13086 t def
   13087 d
   13088 :def
   13089 s/\\$//
   13090 t bsnl
   13091 s/["\\]/\\&/g
   13092 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13093 D["\1"]=" \3"/p
   13094 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   13095 d
   13096 :bsnl
   13097 s/["\\]/\\&/g
   13098 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13099 D["\1"]=" \3\\\\\\n"\\/p
   13100 t cont
   13101 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13102 t cont
   13103 d
   13104 :cont
   13105 n
   13106 s/.\{148\}/&'"$ac_delim"'/g
   13107 t clear
   13108 :clear
   13109 s/\\$//
   13110 t bsnlc
   13111 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   13112 d
   13113 :bsnlc
   13114 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   13115 b cont
   13116 ' <confdefs.h | sed '
   13117 s/'"$ac_delim"'/"\\\
   13118 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   13119 
   13120 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13121   for (key in D) D_is_set[key] = 1
   13122   FS = ""
   13123 }
   13124 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   13125   line = \$ 0
   13126   split(line, arg, " ")
   13127   if (arg[1] == "#") {
   13128     defundef = arg[2]
   13129     mac1 = arg[3]
   13130   } else {
   13131     defundef = substr(arg[1], 2)
   13132     mac1 = arg[2]
   13133   }
   13134   split(mac1, mac2, "(") #)
   13135   macro = mac2[1]
   13136   prefix = substr(line, 1, index(line, defundef) - 1)
   13137   if (D_is_set[macro]) {
   13138     # Preserve the white space surrounding the "#".
   13139     print prefix "define", macro P[macro] D[macro]
   13140     next
   13141   } else {
   13142     # Replace #undef with comments.  This is necessary, for example,
   13143     # in the case of _POSIX_SOURCE, which is predefined and required
   13144     # on some systems where configure will not decide to define it.
   13145     if (defundef == "undef") {
   13146       print "/*", prefix defundef, macro, "*/"
   13147       next
   13148     }
   13149   }
   13150 }
   13151 { print }
   13152 _ACAWK
   13153 _ACEOF
   13154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13155   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   13156 fi # test -n "$CONFIG_HEADERS"
   13157 
   13158 
   13159 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13160 shift
   13161 for ac_tag
   13162 do
   13163   case $ac_tag in
   13164   :[FHLC]) ac_mode=$ac_tag; continue;;
   13165   esac
   13166   case $ac_mode$ac_tag in
   13167   :[FHL]*:*);;
   13168   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   13169   :[FH]-) ac_tag=-:-;;
   13170   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13171   esac
   13172   ac_save_IFS=$IFS
   13173   IFS=:
   13174   set x $ac_tag
   13175   IFS=$ac_save_IFS
   13176   shift
   13177   ac_file=$1
   13178   shift
   13179 
   13180   case $ac_mode in
   13181   :L) ac_source=$1;;
   13182   :[FH])
   13183     ac_file_inputs=
   13184     for ac_f
   13185     do
   13186       case $ac_f in
   13187       -) ac_f="$ac_tmp/stdin";;
   13188       *) # Look for the file first in the build tree, then in the source tree
   13189 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13190 	 # because $ac_f cannot contain ':'.
   13191 	 test -f "$ac_f" ||
   13192 	   case $ac_f in
   13193 	   [\\/$]*) false;;
   13194 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13195 	   esac ||
   13196 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   13197       esac
   13198       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13199       as_fn_append ac_file_inputs " '$ac_f'"
   13200     done
   13201 
   13202     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   13203     # use $as_me), people would be surprised to read:
   13204     #    /* config.h.  Generated by config.status.  */
   13205     configure_input='Generated from '`
   13206 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13207 	`' by configure.'
   13208     if test x"$ac_file" != x-; then
   13209       configure_input="$ac_file.  $configure_input"
   13210       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13211 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   13212     fi
   13213     # Neutralize special characters interpreted by sed in replacement strings.
   13214     case $configure_input in #(
   13215     *\&* | *\|* | *\\* )
   13216        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   13217        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13218     *) ac_sed_conf_input=$configure_input;;
   13219     esac
   13220 
   13221     case $ac_tag in
   13222     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   13223       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   13224     esac
   13225     ;;
   13226   esac
   13227 
   13228   ac_dir=`$as_dirname -- "$ac_file" ||
   13229 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13230 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13231 	 X"$ac_file" : 'X\(//\)$' \| \
   13232 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13233 printf "%s\n" X"$ac_file" |
   13234     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13235 	    s//\1/
   13236 	    q
   13237 	  }
   13238 	  /^X\(\/\/\)[^/].*/{
   13239 	    s//\1/
   13240 	    q
   13241 	  }
   13242 	  /^X\(\/\/\)$/{
   13243 	    s//\1/
   13244 	    q
   13245 	  }
   13246 	  /^X\(\/\).*/{
   13247 	    s//\1/
   13248 	    q
   13249 	  }
   13250 	  s/.*/./; q'`
   13251   as_dir="$ac_dir"; as_fn_mkdir_p
   13252   ac_builddir=.
   13253 
   13254 case "$ac_dir" in
   13255 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13256 *)
   13257   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   13258   # A ".." for each directory in $ac_dir_suffix.
   13259   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13260   case $ac_top_builddir_sub in
   13261   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13262   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13263   esac ;;
   13264 esac
   13265 ac_abs_top_builddir=$ac_pwd
   13266 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13267 # for backward compatibility:
   13268 ac_top_builddir=$ac_top_build_prefix
   13269 
   13270 case $srcdir in
   13271   .)  # We are building in place.
   13272     ac_srcdir=.
   13273     ac_top_srcdir=$ac_top_builddir_sub
   13274     ac_abs_top_srcdir=$ac_pwd ;;
   13275   [\\/]* | ?:[\\/]* )  # Absolute name.
   13276     ac_srcdir=$srcdir$ac_dir_suffix;
   13277     ac_top_srcdir=$srcdir
   13278     ac_abs_top_srcdir=$srcdir ;;
   13279   *) # Relative name.
   13280     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13281     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13282     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13283 esac
   13284 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13285 
   13286 
   13287   case $ac_mode in
   13288   :F)
   13289   #
   13290   # CONFIG_FILE
   13291   #
   13292 
   13293   case $INSTALL in
   13294   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13295   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13296   esac
   13297   ac_MKDIR_P=$MKDIR_P
   13298   case $MKDIR_P in
   13299   [\\/$]* | ?:[\\/]* ) ;;
   13300   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13301   esac
   13302 _ACEOF
   13303 
   13304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13305 # If the template does not know about datarootdir, expand it.
   13306 # FIXME: This hack should be removed a few years after 2.60.
   13307 ac_datarootdir_hack=; ac_datarootdir_seen=
   13308 ac_sed_dataroot='
   13309 /datarootdir/ {
   13310   p
   13311   q
   13312 }
   13313 /@datadir@/p
   13314 /@docdir@/p
   13315 /@infodir@/p
   13316 /@localedir@/p
   13317 /@mandir@/p'
   13318 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13319 *datarootdir*) ac_datarootdir_seen=yes;;
   13320 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13321   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13322 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13323 _ACEOF
   13324 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13325   ac_datarootdir_hack='
   13326   s&@datadir@&$datadir&g
   13327   s&@docdir@&$docdir&g
   13328   s&@infodir@&$infodir&g
   13329   s&@localedir@&$localedir&g
   13330   s&@mandir@&$mandir&g
   13331   s&\\\${datarootdir}&$datarootdir&g' ;;
   13332 esac
   13333 _ACEOF
   13334 
   13335 # Neutralize VPATH when '$srcdir' = '.'.
   13336 # Shell code in configure.ac might set extrasub.
   13337 # FIXME: do we really want to maintain this feature?
   13338 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13339 ac_sed_extra="$ac_vpsub
   13340 $extrasub
   13341 _ACEOF
   13342 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13343 :t
   13344 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13345 s|@configure_input@|$ac_sed_conf_input|;t t
   13346 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13347 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13348 s&@srcdir@&$ac_srcdir&;t t
   13349 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13350 s&@top_srcdir@&$ac_top_srcdir&;t t
   13351 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13352 s&@builddir@&$ac_builddir&;t t
   13353 s&@abs_builddir@&$ac_abs_builddir&;t t
   13354 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13355 s&@INSTALL@&$ac_INSTALL&;t t
   13356 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13357 $ac_datarootdir_hack
   13358 "
   13359 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13360   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13361 
   13362 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13363   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13364   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13365       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13366   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13367 which seems to be undefined.  Please make sure it is defined" >&5
   13368 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13369 which seems to be undefined.  Please make sure it is defined" >&2;}
   13370 
   13371   rm -f "$ac_tmp/stdin"
   13372   case $ac_file in
   13373   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13374   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13375   esac \
   13376   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13377  ;;
   13378   :H)
   13379   #
   13380   # CONFIG_HEADER
   13381   #
   13382   if test x"$ac_file" != x-; then
   13383     {
   13384       printf "%s\n" "/* $configure_input  */" >&1 \
   13385       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13386     } >"$ac_tmp/config.h" \
   13387       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13388     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13389       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13390 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   13391     else
   13392       rm -f "$ac_file"
   13393       mv "$ac_tmp/config.h" "$ac_file" \
   13394 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13395     fi
   13396   else
   13397     printf "%s\n" "/* $configure_input  */" >&1 \
   13398       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13399       || as_fn_error $? "could not create -" "$LINENO" 5
   13400   fi
   13401 # Compute "$ac_file"'s index in $config_headers.
   13402 _am_arg="$ac_file"
   13403 _am_stamp_count=1
   13404 for _am_header in $config_headers :; do
   13405   case $_am_header in
   13406     $_am_arg | $_am_arg:* )
   13407       break ;;
   13408     * )
   13409       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13410   esac
   13411 done
   13412 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13413 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13414 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13415 	 X"$_am_arg" : 'X\(//\)$' \| \
   13416 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13417 printf "%s\n" X"$_am_arg" |
   13418     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13419 	    s//\1/
   13420 	    q
   13421 	  }
   13422 	  /^X\(\/\/\)[^/].*/{
   13423 	    s//\1/
   13424 	    q
   13425 	  }
   13426 	  /^X\(\/\/\)$/{
   13427 	    s//\1/
   13428 	    q
   13429 	  }
   13430 	  /^X\(\/\).*/{
   13431 	    s//\1/
   13432 	    q
   13433 	  }
   13434 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13435  ;;
   13436 
   13437   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13438 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   13439  ;;
   13440   esac
   13441 
   13442 
   13443   case $ac_file$ac_mode in
   13444     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13445   # Older Autoconf quotes --file arguments for eval, but not when files
   13446   # are listed without --file.  Let's play safe and only enable the eval
   13447   # if we detect the quoting.
   13448   # TODO: see whether this extra hack can be removed once we start
   13449   # requiring Autoconf 2.70 or later.
   13450   case $CONFIG_FILES in #(
   13451   *\'*) :
   13452     eval set x "$CONFIG_FILES" ;; #(
   13453   *) :
   13454     set x $CONFIG_FILES ;; #(
   13455   *) :
   13456      ;;
   13457 esac
   13458   shift
   13459   # Used to flag and report bootstrapping failures.
   13460   am_rc=0
   13461   for am_mf
   13462   do
   13463     # Strip MF so we end up with the name of the file.
   13464     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   13465     # Check whether this is an Automake generated Makefile which includes
   13466     # dependency-tracking related rules and includes.
   13467     # Grep'ing the whole file directly is not great: AIX grep has a line
   13468     # limit of 2048, but all sed's we know have understand at least 4000.
   13469     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13470       || continue
   13471     am_dirpart=`$as_dirname -- "$am_mf" ||
   13472 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13473 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13474 	 X"$am_mf" : 'X\(//\)$' \| \
   13475 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13476 printf "%s\n" X"$am_mf" |
   13477     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13478 	    s//\1/
   13479 	    q
   13480 	  }
   13481 	  /^X\(\/\/\)[^/].*/{
   13482 	    s//\1/
   13483 	    q
   13484 	  }
   13485 	  /^X\(\/\/\)$/{
   13486 	    s//\1/
   13487 	    q
   13488 	  }
   13489 	  /^X\(\/\).*/{
   13490 	    s//\1/
   13491 	    q
   13492 	  }
   13493 	  s/.*/./; q'`
   13494     am_filepart=`$as_basename -- "$am_mf" ||
   13495 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13496 	 X"$am_mf" : 'X\(//\)$' \| \
   13497 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13498 printf "%s\n" X/"$am_mf" |
   13499     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13500 	    s//\1/
   13501 	    q
   13502 	  }
   13503 	  /^X\/\(\/\/\)$/{
   13504 	    s//\1/
   13505 	    q
   13506 	  }
   13507 	  /^X\/\(\/\).*/{
   13508 	    s//\1/
   13509 	    q
   13510 	  }
   13511 	  s/.*/./; q'`
   13512     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13513       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13514         | $MAKE -f - am--depfiles" >&5
   13515    (cd "$am_dirpart" \
   13516       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13517         | $MAKE -f - am--depfiles) >&5 2>&5
   13518    ac_status=$?
   13519    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13520    (exit $ac_status); } || am_rc=$?
   13521   done
   13522   if test $am_rc -ne 0; then
   13523     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13524 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13525 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13526     for automatic dependency tracking.  If GNU make was not used, consider
   13527     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13528     necessary).  You can also try re-running configure with the
   13529     '--disable-dependency-tracking' option to at least be able to build
   13530     the package (albeit without support for automatic dependency tracking).
   13531 See 'config.log' for more details" "$LINENO" 5; }
   13532   fi
   13533   { am_dirpart=; unset am_dirpart;}
   13534   { am_filepart=; unset am_filepart;}
   13535   { am_mf=; unset am_mf;}
   13536   { am_rc=; unset am_rc;}
   13537   rm -f conftest-deps.mk
   13538 }
   13539  ;;
   13540 
   13541   esac
   13542 done # for ac_tag
   13543 
   13544 
   13545 as_fn_exit 0
   13546 _ACEOF
   13547 ac_clean_files=$ac_clean_files_save
   13548 
   13549 test $ac_write_fail = 0 ||
   13550   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13551 
   13552 
   13553 # configure is writing to config.log, and then calls config.status.
   13554 # config.status does its own redirection, appending to config.log.
   13555 # Unfortunately, on DOS this fails, as config.log is still kept open
   13556 # by configure, so config.status won't be able to write to it; its
   13557 # output is simply discarded.  So we exec the FD to /dev/null,
   13558 # effectively closing config.log, so it can be properly (re)opened and
   13559 # appended to by config.status.  When coming back to configure, we
   13560 # need to make the FD available again.
   13561 if test "$no_create" != yes; then
   13562   ac_cs_success=:
   13563   ac_config_status_args=
   13564   test "$silent" = yes &&
   13565     ac_config_status_args="$ac_config_status_args --quiet"
   13566   exec 5>/dev/null
   13567   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13568   exec 5>>config.log
   13569   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13570   # would make configure fail if this is the last instruction.
   13571   $ac_cs_success || as_fn_exit 1
   13572 fi
   13573 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13574   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13575 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13576 fi
   13577 
   13578 
   13579