Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for xgc 1.0.6.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xgc/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 as_nop=:
     21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     22 then :
     23   emulate sh
     24   NULLCMD=:
     25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     26   # is contrary to our usage.  Disable this feature.
     27   alias -g '${1+"$@"}'='"$@"'
     28   setopt NO_GLOB_SUBST
     29 else $as_nop
     30   case `(set -o) 2>/dev/null` in #(
     31   *posix*) :
     32     set -o posix ;; #(
     33   *) :
     34      ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed `exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="as_nop=:
    144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    145 then :
    146   emulate sh
    147   NULLCMD=:
    148   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    149   # is contrary to our usage.  Disable this feature.
    150   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    151   setopt NO_GLOB_SUBST
    152 else \$as_nop
    153   case \`(set -o) 2>/dev/null\` in #(
    154   *posix*) :
    155     set -o posix ;; #(
    156   *) :
    157      ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else \$as_nop
    176   exitcode=1; echo positional parameters were not saved.
    177 fi
    178 test x\$exitcode = x0 || exit 1
    179 blah=\$(echo \$(echo blah))
    180 test x\"\$blah\" = xblah || exit 1
    181 test -x / || exit 1"
    182   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    183   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    184   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    185   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    186 test \$(( 1 + 1 )) = 2 || exit 1"
    187   if (eval "$as_required") 2>/dev/null
    188 then :
    189   as_have_required=yes
    190 else $as_nop
    191   as_have_required=no
    192 fi
    193   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    194 then :
    195 
    196 else $as_nop
    197   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    198 as_found=false
    199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    200 do
    201   IFS=$as_save_IFS
    202   case $as_dir in #(((
    203     '') as_dir=./ ;;
    204     */) ;;
    205     *) as_dir=$as_dir/ ;;
    206   esac
    207   as_found=:
    208   case $as_dir in #(
    209 	 /*)
    210 	   for as_base in sh bash ksh sh5; do
    211 	     # Try only shells that exist, to save several forks.
    212 	     as_shell=$as_dir$as_base
    213 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    214 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    215 then :
    216   CONFIG_SHELL=$as_shell as_have_required=yes
    217 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    218 then :
    219   break 2
    220 fi
    221 fi
    222 	   done;;
    223        esac
    224   as_found=false
    225 done
    226 IFS=$as_save_IFS
    227 if $as_found
    228 then :
    229 
    230 else $as_nop
    231   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    232 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    233 then :
    234   CONFIG_SHELL=$SHELL as_have_required=yes
    235 fi
    236 fi
    237 
    238 
    239       if test "x$CONFIG_SHELL" != x
    240 then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno
    263 then :
    264   printf "%s\n" "$0: This script requires a shell more modern than all"
    265   printf "%s\n" "$0: the shells that I found on your system."
    266   if test ${ZSH_VERSION+y} ; then
    267     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    268     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    269   else
    270     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    271 $0: https://gitlab.freedesktop.org/xorg/app/xgc/-/issues
    272 $0: about your system, including any error possibly output
    273 $0: before this message. Then install a modern shell, or
    274 $0: manually run the script under such a shell if you do
    275 $0: have one."
    276   fi
    277   exit 1
    278 fi
    279 fi
    280 fi
    281 SHELL=${CONFIG_SHELL-/bin/sh}
    282 export SHELL
    283 # Unset more variables known to interfere with behavior of common tools.
    284 CLICOLOR_FORCE= GREP_OPTIONS=
    285 unset CLICOLOR_FORCE GREP_OPTIONS
    286 
    287 ## --------------------- ##
    288 ## M4sh Shell Functions. ##
    289 ## --------------------- ##
    290 # as_fn_unset VAR
    291 # ---------------
    292 # Portably unset VAR.
    293 as_fn_unset ()
    294 {
    295   { eval $1=; unset $1;}
    296 }
    297 as_unset=as_fn_unset
    298 
    299 
    300 # as_fn_set_status STATUS
    301 # -----------------------
    302 # Set $? to STATUS, without forking.
    303 as_fn_set_status ()
    304 {
    305   return $1
    306 } # as_fn_set_status
    307 
    308 # as_fn_exit STATUS
    309 # -----------------
    310 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    311 as_fn_exit ()
    312 {
    313   set +e
    314   as_fn_set_status $1
    315   exit $1
    316 } # as_fn_exit
    317 # as_fn_nop
    318 # ---------
    319 # Do nothing but, unlike ":", preserve the value of $?.
    320 as_fn_nop ()
    321 {
    322   return $?
    323 }
    324 as_nop=as_fn_nop
    325 
    326 # as_fn_mkdir_p
    327 # -------------
    328 # Create "$as_dir" as a directory, including parents if necessary.
    329 as_fn_mkdir_p ()
    330 {
    331 
    332   case $as_dir in #(
    333   -*) as_dir=./$as_dir;;
    334   esac
    335   test -d "$as_dir" || eval $as_mkdir_p || {
    336     as_dirs=
    337     while :; do
    338       case $as_dir in #(
    339       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    340       *) as_qdir=$as_dir;;
    341       esac
    342       as_dirs="'$as_qdir' $as_dirs"
    343       as_dir=`$as_dirname -- "$as_dir" ||
    344 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    345 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    346 	 X"$as_dir" : 'X\(//\)$' \| \
    347 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    348 printf "%s\n" X"$as_dir" |
    349     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    350 	    s//\1/
    351 	    q
    352 	  }
    353 	  /^X\(\/\/\)[^/].*/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\/\)$/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\).*/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  s/.*/./; q'`
    366       test -d "$as_dir" && break
    367     done
    368     test -z "$as_dirs" || eval "mkdir $as_dirs"
    369   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    370 
    371 
    372 } # as_fn_mkdir_p
    373 
    374 # as_fn_executable_p FILE
    375 # -----------------------
    376 # Test if FILE is an executable regular file.
    377 as_fn_executable_p ()
    378 {
    379   test -f "$1" && test -x "$1"
    380 } # as_fn_executable_p
    381 # as_fn_append VAR VALUE
    382 # ----------------------
    383 # Append the text in VALUE to the end of the definition contained in VAR. Take
    384 # advantage of any shell optimizations that allow amortized linear growth over
    385 # repeated appends, instead of the typical quadratic growth present in naive
    386 # implementations.
    387 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    388 then :
    389   eval 'as_fn_append ()
    390   {
    391     eval $1+=\$2
    392   }'
    393 else $as_nop
    394   as_fn_append ()
    395   {
    396     eval $1=\$$1\$2
    397   }
    398 fi # as_fn_append
    399 
    400 # as_fn_arith ARG...
    401 # ------------------
    402 # Perform arithmetic evaluation on the ARGs, and store the result in the
    403 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    404 # must be portable across $(()) and expr.
    405 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    406 then :
    407   eval 'as_fn_arith ()
    408   {
    409     as_val=$(( $* ))
    410   }'
    411 else $as_nop
    412   as_fn_arith ()
    413   {
    414     as_val=`expr "$@" || test $? -eq 1`
    415   }
    416 fi # as_fn_arith
    417 
    418 # as_fn_nop
    419 # ---------
    420 # Do nothing but, unlike ":", preserve the value of $?.
    421 as_fn_nop ()
    422 {
    423   return $?
    424 }
    425 as_nop=as_fn_nop
    426 
    427 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    428 # ----------------------------------------
    429 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    430 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    431 # script with STATUS, using 1 if that was 0.
    432 as_fn_error ()
    433 {
    434   as_status=$1; test $as_status -eq 0 && as_status=1
    435   if test "$4"; then
    436     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    437     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    438   fi
    439   printf "%s\n" "$as_me: error: $2" >&2
    440   as_fn_exit $as_status
    441 } # as_fn_error
    442 
    443 if expr a : '\(a\)' >/dev/null 2>&1 &&
    444    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    445   as_expr=expr
    446 else
    447   as_expr=false
    448 fi
    449 
    450 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    451   as_basename=basename
    452 else
    453   as_basename=false
    454 fi
    455 
    456 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    457   as_dirname=dirname
    458 else
    459   as_dirname=false
    460 fi
    461 
    462 as_me=`$as_basename -- "$0" ||
    463 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    464 	 X"$0" : 'X\(//\)$' \| \
    465 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    466 printf "%s\n" X/"$0" |
    467     sed '/^.*\/\([^/][^/]*\)\/*$/{
    468 	    s//\1/
    469 	    q
    470 	  }
    471 	  /^X\/\(\/\/\)$/{
    472 	    s//\1/
    473 	    q
    474 	  }
    475 	  /^X\/\(\/\).*/{
    476 	    s//\1/
    477 	    q
    478 	  }
    479 	  s/.*/./; q'`
    480 
    481 # Avoid depending upon Character Ranges.
    482 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    483 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    484 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    485 as_cr_digits='0123456789'
    486 as_cr_alnum=$as_cr_Letters$as_cr_digits
    487 
    488 
    489   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    490   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    491   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    492   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    493   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    494   sed -n '
    495     p
    496     /[$]LINENO/=
    497   ' <$as_myself |
    498     sed '
    499       s/[$]LINENO.*/&-/
    500       t lineno
    501       b
    502       :lineno
    503       N
    504       :loop
    505       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    506       t loop
    507       s/-\n.*//
    508     ' >$as_me.lineno &&
    509   chmod +x "$as_me.lineno" ||
    510     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    511 
    512   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    513   # already done that, so ensure we don't try to do so again and fall
    514   # in an infinite loop.  This has already happened in practice.
    515   _as_can_reexec=no; export _as_can_reexec
    516   # Don't try to exec as it changes $[0], causing all sort of problems
    517   # (the dirname of $[0] is not the place where we might find the
    518   # original and so on.  Autoconf is especially sensitive to this).
    519   . "./$as_me.lineno"
    520   # Exit status is that of the last command.
    521   exit
    522 }
    523 
    524 
    525 # Determine whether it's possible to make 'echo' print without a newline.
    526 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    527 # for compatibility with existing Makefiles.
    528 ECHO_C= ECHO_N= ECHO_T=
    529 case `echo -n x` in #(((((
    530 -n*)
    531   case `echo 'xy\c'` in
    532   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    533   xy)  ECHO_C='\c';;
    534   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    535        ECHO_T='	';;
    536   esac;;
    537 *)
    538   ECHO_N='-n';;
    539 esac
    540 
    541 # For backward compatibility with old third-party macros, we provide
    542 # the shell variables $as_echo and $as_echo_n.  New code should use
    543 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    544 as_echo='printf %s\n'
    545 as_echo_n='printf %s'
    546 
    547 
    548 rm -f conf$$ conf$$.exe conf$$.file
    549 if test -d conf$$.dir; then
    550   rm -f conf$$.dir/conf$$.file
    551 else
    552   rm -f conf$$.dir
    553   mkdir conf$$.dir 2>/dev/null
    554 fi
    555 if (echo >conf$$.file) 2>/dev/null; then
    556   if ln -s conf$$.file conf$$ 2>/dev/null; then
    557     as_ln_s='ln -s'
    558     # ... but there are two gotchas:
    559     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    560     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    561     # In both cases, we have to default to `cp -pR'.
    562     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    563       as_ln_s='cp -pR'
    564   elif ln conf$$.file conf$$ 2>/dev/null; then
    565     as_ln_s=ln
    566   else
    567     as_ln_s='cp -pR'
    568   fi
    569 else
    570   as_ln_s='cp -pR'
    571 fi
    572 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    573 rmdir conf$$.dir 2>/dev/null
    574 
    575 if mkdir -p . 2>/dev/null; then
    576   as_mkdir_p='mkdir -p "$as_dir"'
    577 else
    578   test -d ./-p && rmdir ./-p
    579   as_mkdir_p=false
    580 fi
    581 
    582 as_test_x='test -x'
    583 as_executable_p=as_fn_executable_p
    584 
    585 # Sed expression to map a string onto a valid CPP name.
    586 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    587 
    588 # Sed expression to map a string onto a valid variable name.
    589 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    590 
    591 
    592 test -n "$DJDIR" || exec 7<&0 </dev/null
    593 exec 6>&1
    594 
    595 # Name of the host.
    596 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    597 # so uname gets run too.
    598 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    599 
    600 #
    601 # Initializations.
    602 #
    603 ac_default_prefix=/usr/local
    604 ac_clean_files=
    605 ac_config_libobj_dir=.
    606 LIBOBJS=
    607 cross_compiling=no
    608 subdirs=
    609 MFLAGS=
    610 MAKEFLAGS=
    611 
    612 # Identity of this package.
    613 PACKAGE_NAME='xgc'
    614 PACKAGE_TARNAME='xgc'
    615 PACKAGE_VERSION='1.0.6'
    616 PACKAGE_STRING='xgc 1.0.6'
    617 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xgc/-/issues'
    618 PACKAGE_URL=''
    619 
    620 ac_unique_file="Makefile.am"
    621 # Factoring default headers for most tests.
    622 ac_includes_default="\
    623 #include <stddef.h>
    624 #ifdef HAVE_STDIO_H
    625 # include <stdio.h>
    626 #endif
    627 #ifdef HAVE_STDLIB_H
    628 # include <stdlib.h>
    629 #endif
    630 #ifdef HAVE_STRING_H
    631 # include <string.h>
    632 #endif
    633 #ifdef HAVE_INTTYPES_H
    634 # include <inttypes.h>
    635 #endif
    636 #ifdef HAVE_STDINT_H
    637 # include <stdint.h>
    638 #endif
    639 #ifdef HAVE_STRINGS_H
    640 # include <strings.h>
    641 #endif
    642 #ifdef HAVE_SYS_TYPES_H
    643 # include <sys/types.h>
    644 #endif
    645 #ifdef HAVE_SYS_STAT_H
    646 # include <sys/stat.h>
    647 #endif
    648 #ifdef HAVE_UNISTD_H
    649 # include <unistd.h>
    650 #endif"
    651 
    652 ac_header_c_list=
    653 ac_subst_vars='am__EXEEXT_FALSE
    654 am__EXEEXT_TRUE
    655 LTLIBOBJS
    656 LIBOBJS
    657 appdefaultdir
    658 XGC_LIBS
    659 XGC_CFLAGS
    660 YACC_INST
    661 YFLAGS
    662 YACC
    663 LEXLIB
    664 LEX_OUTPUT_ROOT
    665 LEX
    666 MAN_SUBSTS
    667 XORG_MAN_PAGE
    668 ADMIN_MAN_DIR
    669 DRIVER_MAN_DIR
    670 MISC_MAN_DIR
    671 FILE_MAN_DIR
    672 LIB_MAN_DIR
    673 APP_MAN_DIR
    674 ADMIN_MAN_SUFFIX
    675 DRIVER_MAN_SUFFIX
    676 MISC_MAN_SUFFIX
    677 FILE_MAN_SUFFIX
    678 LIB_MAN_SUFFIX
    679 APP_MAN_SUFFIX
    680 SED
    681 host_os
    682 host_vendor
    683 host_cpu
    684 host
    685 build_os
    686 build_vendor
    687 build_cpu
    688 build
    689 INSTALL_CMD
    690 PKG_CONFIG_LIBDIR
    691 PKG_CONFIG_PATH
    692 PKG_CONFIG
    693 CHANGELOG_CMD
    694 STRICT_CFLAGS
    695 CWARNFLAGS
    696 BASE_CFLAGS
    697 am__fastdepCC_FALSE
    698 am__fastdepCC_TRUE
    699 CCDEPMODE
    700 am__nodep
    701 AMDEPBACKSLASH
    702 AMDEP_FALSE
    703 AMDEP_TRUE
    704 am__include
    705 DEPDIR
    706 OBJEXT
    707 EXEEXT
    708 ac_ct_CC
    709 CPPFLAGS
    710 LDFLAGS
    711 CFLAGS
    712 CC
    713 AM_BACKSLASH
    714 AM_DEFAULT_VERBOSITY
    715 AM_DEFAULT_V
    716 AM_V
    717 CSCOPE
    718 ETAGS
    719 CTAGS
    720 am__untar
    721 am__tar
    722 AMTAR
    723 am__leading_dot
    724 SET_MAKE
    725 AWK
    726 mkdir_p
    727 MKDIR_P
    728 INSTALL_STRIP_PROGRAM
    729 STRIP
    730 install_sh
    731 MAKEINFO
    732 AUTOHEADER
    733 AUTOMAKE
    734 AUTOCONF
    735 ACLOCAL
    736 VERSION
    737 PACKAGE
    738 CYGPATH_W
    739 am__isrc
    740 INSTALL_DATA
    741 INSTALL_SCRIPT
    742 INSTALL_PROGRAM
    743 target_alias
    744 host_alias
    745 build_alias
    746 LIBS
    747 ECHO_T
    748 ECHO_N
    749 ECHO_C
    750 DEFS
    751 mandir
    752 localedir
    753 libdir
    754 psdir
    755 pdfdir
    756 dvidir
    757 htmldir
    758 infodir
    759 docdir
    760 oldincludedir
    761 includedir
    762 runstatedir
    763 localstatedir
    764 sharedstatedir
    765 sysconfdir
    766 datadir
    767 datarootdir
    768 libexecdir
    769 sbindir
    770 bindir
    771 program_transform_name
    772 prefix
    773 exec_prefix
    774 PACKAGE_URL
    775 PACKAGE_BUGREPORT
    776 PACKAGE_STRING
    777 PACKAGE_VERSION
    778 PACKAGE_TARNAME
    779 PACKAGE_NAME
    780 PATH_SEPARATOR
    781 SHELL
    782 am__quote'
    783 ac_subst_files=''
    784 ac_user_opts='
    785 enable_option_checking
    786 enable_silent_rules
    787 enable_dependency_tracking
    788 enable_selective_werror
    789 enable_strict_compilation
    790 with_appdefaultdir
    791 '
    792       ac_precious_vars='build_alias
    793 host_alias
    794 target_alias
    795 CC
    796 CFLAGS
    797 LDFLAGS
    798 LIBS
    799 CPPFLAGS
    800 PKG_CONFIG
    801 PKG_CONFIG_PATH
    802 PKG_CONFIG_LIBDIR
    803 YACC
    804 YFLAGS
    805 XGC_CFLAGS
    806 XGC_LIBS'
    807 
    808 
    809 # Initialize some variables set by options.
    810 ac_init_help=
    811 ac_init_version=false
    812 ac_unrecognized_opts=
    813 ac_unrecognized_sep=
    814 # The variables have the same names as the options, with
    815 # dashes changed to underlines.
    816 cache_file=/dev/null
    817 exec_prefix=NONE
    818 no_create=
    819 no_recursion=
    820 prefix=NONE
    821 program_prefix=NONE
    822 program_suffix=NONE
    823 program_transform_name=s,x,x,
    824 silent=
    825 site=
    826 srcdir=
    827 verbose=
    828 x_includes=NONE
    829 x_libraries=NONE
    830 
    831 # Installation directory options.
    832 # These are left unexpanded so users can "make install exec_prefix=/foo"
    833 # and all the variables that are supposed to be based on exec_prefix
    834 # by default will actually change.
    835 # Use braces instead of parens because sh, perl, etc. also accept them.
    836 # (The list follows the same order as the GNU Coding Standards.)
    837 bindir='${exec_prefix}/bin'
    838 sbindir='${exec_prefix}/sbin'
    839 libexecdir='${exec_prefix}/libexec'
    840 datarootdir='${prefix}/share'
    841 datadir='${datarootdir}'
    842 sysconfdir='${prefix}/etc'
    843 sharedstatedir='${prefix}/com'
    844 localstatedir='${prefix}/var'
    845 runstatedir='${localstatedir}/run'
    846 includedir='${prefix}/include'
    847 oldincludedir='/usr/include'
    848 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    849 infodir='${datarootdir}/info'
    850 htmldir='${docdir}'
    851 dvidir='${docdir}'
    852 pdfdir='${docdir}'
    853 psdir='${docdir}'
    854 libdir='${exec_prefix}/lib'
    855 localedir='${datarootdir}/locale'
    856 mandir='${datarootdir}/man'
    857 
    858 ac_prev=
    859 ac_dashdash=
    860 for ac_option
    861 do
    862   # If the previous option needs an argument, assign it.
    863   if test -n "$ac_prev"; then
    864     eval $ac_prev=\$ac_option
    865     ac_prev=
    866     continue
    867   fi
    868 
    869   case $ac_option in
    870   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    871   *=)   ac_optarg= ;;
    872   *)    ac_optarg=yes ;;
    873   esac
    874 
    875   case $ac_dashdash$ac_option in
    876   --)
    877     ac_dashdash=yes ;;
    878 
    879   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    880     ac_prev=bindir ;;
    881   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    882     bindir=$ac_optarg ;;
    883 
    884   -build | --build | --buil | --bui | --bu)
    885     ac_prev=build_alias ;;
    886   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    887     build_alias=$ac_optarg ;;
    888 
    889   -cache-file | --cache-file | --cache-fil | --cache-fi \
    890   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    891     ac_prev=cache_file ;;
    892   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    893   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    894     cache_file=$ac_optarg ;;
    895 
    896   --config-cache | -C)
    897     cache_file=config.cache ;;
    898 
    899   -datadir | --datadir | --datadi | --datad)
    900     ac_prev=datadir ;;
    901   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    902     datadir=$ac_optarg ;;
    903 
    904   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    905   | --dataroo | --dataro | --datar)
    906     ac_prev=datarootdir ;;
    907   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    908   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    909     datarootdir=$ac_optarg ;;
    910 
    911   -disable-* | --disable-*)
    912     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    913     # Reject names that are not valid shell variable names.
    914     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    915       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    916     ac_useropt_orig=$ac_useropt
    917     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    918     case $ac_user_opts in
    919       *"
    920 "enable_$ac_useropt"
    921 "*) ;;
    922       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    923 	 ac_unrecognized_sep=', ';;
    924     esac
    925     eval enable_$ac_useropt=no ;;
    926 
    927   -docdir | --docdir | --docdi | --doc | --do)
    928     ac_prev=docdir ;;
    929   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    930     docdir=$ac_optarg ;;
    931 
    932   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    933     ac_prev=dvidir ;;
    934   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    935     dvidir=$ac_optarg ;;
    936 
    937   -enable-* | --enable-*)
    938     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    939     # Reject names that are not valid shell variable names.
    940     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    941       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    942     ac_useropt_orig=$ac_useropt
    943     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    944     case $ac_user_opts in
    945       *"
    946 "enable_$ac_useropt"
    947 "*) ;;
    948       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    949 	 ac_unrecognized_sep=', ';;
    950     esac
    951     eval enable_$ac_useropt=\$ac_optarg ;;
    952 
    953   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    954   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    955   | --exec | --exe | --ex)
    956     ac_prev=exec_prefix ;;
    957   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    958   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    959   | --exec=* | --exe=* | --ex=*)
    960     exec_prefix=$ac_optarg ;;
    961 
    962   -gas | --gas | --ga | --g)
    963     # Obsolete; use --with-gas.
    964     with_gas=yes ;;
    965 
    966   -help | --help | --hel | --he | -h)
    967     ac_init_help=long ;;
    968   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    969     ac_init_help=recursive ;;
    970   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    971     ac_init_help=short ;;
    972 
    973   -host | --host | --hos | --ho)
    974     ac_prev=host_alias ;;
    975   -host=* | --host=* | --hos=* | --ho=*)
    976     host_alias=$ac_optarg ;;
    977 
    978   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    979     ac_prev=htmldir ;;
    980   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    981   | --ht=*)
    982     htmldir=$ac_optarg ;;
    983 
    984   -includedir | --includedir | --includedi | --included | --include \
    985   | --includ | --inclu | --incl | --inc)
    986     ac_prev=includedir ;;
    987   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    988   | --includ=* | --inclu=* | --incl=* | --inc=*)
    989     includedir=$ac_optarg ;;
    990 
    991   -infodir | --infodir | --infodi | --infod | --info | --inf)
    992     ac_prev=infodir ;;
    993   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    994     infodir=$ac_optarg ;;
    995 
    996   -libdir | --libdir | --libdi | --libd)
    997     ac_prev=libdir ;;
    998   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    999     libdir=$ac_optarg ;;
   1000 
   1001   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1002   | --libexe | --libex | --libe)
   1003     ac_prev=libexecdir ;;
   1004   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1005   | --libexe=* | --libex=* | --libe=*)
   1006     libexecdir=$ac_optarg ;;
   1007 
   1008   -localedir | --localedir | --localedi | --localed | --locale)
   1009     ac_prev=localedir ;;
   1010   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1011     localedir=$ac_optarg ;;
   1012 
   1013   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1014   | --localstate | --localstat | --localsta | --localst | --locals)
   1015     ac_prev=localstatedir ;;
   1016   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1017   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1018     localstatedir=$ac_optarg ;;
   1019 
   1020   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1021     ac_prev=mandir ;;
   1022   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1023     mandir=$ac_optarg ;;
   1024 
   1025   -nfp | --nfp | --nf)
   1026     # Obsolete; use --without-fp.
   1027     with_fp=no ;;
   1028 
   1029   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1030   | --no-cr | --no-c | -n)
   1031     no_create=yes ;;
   1032 
   1033   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1034   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1035     no_recursion=yes ;;
   1036 
   1037   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1038   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1039   | --oldin | --oldi | --old | --ol | --o)
   1040     ac_prev=oldincludedir ;;
   1041   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1042   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1043   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1044     oldincludedir=$ac_optarg ;;
   1045 
   1046   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1047     ac_prev=prefix ;;
   1048   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1049     prefix=$ac_optarg ;;
   1050 
   1051   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1052   | --program-pre | --program-pr | --program-p)
   1053     ac_prev=program_prefix ;;
   1054   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1055   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1056     program_prefix=$ac_optarg ;;
   1057 
   1058   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1059   | --program-suf | --program-su | --program-s)
   1060     ac_prev=program_suffix ;;
   1061   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1062   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1063     program_suffix=$ac_optarg ;;
   1064 
   1065   -program-transform-name | --program-transform-name \
   1066   | --program-transform-nam | --program-transform-na \
   1067   | --program-transform-n | --program-transform- \
   1068   | --program-transform | --program-transfor \
   1069   | --program-transfo | --program-transf \
   1070   | --program-trans | --program-tran \
   1071   | --progr-tra | --program-tr | --program-t)
   1072     ac_prev=program_transform_name ;;
   1073   -program-transform-name=* | --program-transform-name=* \
   1074   | --program-transform-nam=* | --program-transform-na=* \
   1075   | --program-transform-n=* | --program-transform-=* \
   1076   | --program-transform=* | --program-transfor=* \
   1077   | --program-transfo=* | --program-transf=* \
   1078   | --program-trans=* | --program-tran=* \
   1079   | --progr-tra=* | --program-tr=* | --program-t=*)
   1080     program_transform_name=$ac_optarg ;;
   1081 
   1082   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1083     ac_prev=pdfdir ;;
   1084   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1085     pdfdir=$ac_optarg ;;
   1086 
   1087   -psdir | --psdir | --psdi | --psd | --ps)
   1088     ac_prev=psdir ;;
   1089   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1090     psdir=$ac_optarg ;;
   1091 
   1092   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1093   | -silent | --silent | --silen | --sile | --sil)
   1094     silent=yes ;;
   1095 
   1096   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1097   | --runstate | --runstat | --runsta | --runst | --runs \
   1098   | --run | --ru | --r)
   1099     ac_prev=runstatedir ;;
   1100   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1101   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1102   | --run=* | --ru=* | --r=*)
   1103     runstatedir=$ac_optarg ;;
   1104 
   1105   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1106     ac_prev=sbindir ;;
   1107   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1108   | --sbi=* | --sb=*)
   1109     sbindir=$ac_optarg ;;
   1110 
   1111   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1112   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1113   | --sharedst | --shareds | --shared | --share | --shar \
   1114   | --sha | --sh)
   1115     ac_prev=sharedstatedir ;;
   1116   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1117   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1118   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1119   | --sha=* | --sh=*)
   1120     sharedstatedir=$ac_optarg ;;
   1121 
   1122   -site | --site | --sit)
   1123     ac_prev=site ;;
   1124   -site=* | --site=* | --sit=*)
   1125     site=$ac_optarg ;;
   1126 
   1127   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1128     ac_prev=srcdir ;;
   1129   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1130     srcdir=$ac_optarg ;;
   1131 
   1132   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1133   | --syscon | --sysco | --sysc | --sys | --sy)
   1134     ac_prev=sysconfdir ;;
   1135   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1136   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1137     sysconfdir=$ac_optarg ;;
   1138 
   1139   -target | --target | --targe | --targ | --tar | --ta | --t)
   1140     ac_prev=target_alias ;;
   1141   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1142     target_alias=$ac_optarg ;;
   1143 
   1144   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1145     verbose=yes ;;
   1146 
   1147   -version | --version | --versio | --versi | --vers | -V)
   1148     ac_init_version=: ;;
   1149 
   1150   -with-* | --with-*)
   1151     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1152     # Reject names that are not valid shell variable names.
   1153     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1154       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1155     ac_useropt_orig=$ac_useropt
   1156     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1157     case $ac_user_opts in
   1158       *"
   1159 "with_$ac_useropt"
   1160 "*) ;;
   1161       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1162 	 ac_unrecognized_sep=', ';;
   1163     esac
   1164     eval with_$ac_useropt=\$ac_optarg ;;
   1165 
   1166   -without-* | --without-*)
   1167     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1168     # Reject names that are not valid shell variable names.
   1169     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1170       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1171     ac_useropt_orig=$ac_useropt
   1172     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1173     case $ac_user_opts in
   1174       *"
   1175 "with_$ac_useropt"
   1176 "*) ;;
   1177       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1178 	 ac_unrecognized_sep=', ';;
   1179     esac
   1180     eval with_$ac_useropt=no ;;
   1181 
   1182   --x)
   1183     # Obsolete; use --with-x.
   1184     with_x=yes ;;
   1185 
   1186   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1187   | --x-incl | --x-inc | --x-in | --x-i)
   1188     ac_prev=x_includes ;;
   1189   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1190   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1191     x_includes=$ac_optarg ;;
   1192 
   1193   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1194   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1195     ac_prev=x_libraries ;;
   1196   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1197   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1198     x_libraries=$ac_optarg ;;
   1199 
   1200   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1201 Try \`$0 --help' for more information"
   1202     ;;
   1203 
   1204   *=*)
   1205     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1206     # Reject names that are not valid shell variable names.
   1207     case $ac_envvar in #(
   1208       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1209       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1210     esac
   1211     eval $ac_envvar=\$ac_optarg
   1212     export $ac_envvar ;;
   1213 
   1214   *)
   1215     # FIXME: should be removed in autoconf 3.0.
   1216     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1217     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1218       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1219     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1220     ;;
   1221 
   1222   esac
   1223 done
   1224 
   1225 if test -n "$ac_prev"; then
   1226   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1227   as_fn_error $? "missing argument to $ac_option"
   1228 fi
   1229 
   1230 if test -n "$ac_unrecognized_opts"; then
   1231   case $enable_option_checking in
   1232     no) ;;
   1233     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1234     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1235   esac
   1236 fi
   1237 
   1238 # Check all directory arguments for consistency.
   1239 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1240 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1241 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1242 		libdir localedir mandir runstatedir
   1243 do
   1244   eval ac_val=\$$ac_var
   1245   # Remove trailing slashes.
   1246   case $ac_val in
   1247     */ )
   1248       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1249       eval $ac_var=\$ac_val;;
   1250   esac
   1251   # Be sure to have absolute directory names.
   1252   case $ac_val in
   1253     [\\/$]* | ?:[\\/]* )  continue;;
   1254     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1255   esac
   1256   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1257 done
   1258 
   1259 # There might be people who depend on the old broken behavior: `$host'
   1260 # used to hold the argument of --host etc.
   1261 # FIXME: To remove some day.
   1262 build=$build_alias
   1263 host=$host_alias
   1264 target=$target_alias
   1265 
   1266 # FIXME: To remove some day.
   1267 if test "x$host_alias" != x; then
   1268   if test "x$build_alias" = x; then
   1269     cross_compiling=maybe
   1270   elif test "x$build_alias" != "x$host_alias"; then
   1271     cross_compiling=yes
   1272   fi
   1273 fi
   1274 
   1275 ac_tool_prefix=
   1276 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1277 
   1278 test "$silent" = yes && exec 6>/dev/null
   1279 
   1280 
   1281 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1282 ac_ls_di=`ls -di .` &&
   1283 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1284   as_fn_error $? "working directory cannot be determined"
   1285 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1286   as_fn_error $? "pwd does not report name of working directory"
   1287 
   1288 
   1289 # Find the source files, if location was not specified.
   1290 if test -z "$srcdir"; then
   1291   ac_srcdir_defaulted=yes
   1292   # Try the directory containing this script, then the parent directory.
   1293   ac_confdir=`$as_dirname -- "$as_myself" ||
   1294 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1295 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1296 	 X"$as_myself" : 'X\(//\)$' \| \
   1297 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1298 printf "%s\n" X"$as_myself" |
   1299     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1300 	    s//\1/
   1301 	    q
   1302 	  }
   1303 	  /^X\(\/\/\)[^/].*/{
   1304 	    s//\1/
   1305 	    q
   1306 	  }
   1307 	  /^X\(\/\/\)$/{
   1308 	    s//\1/
   1309 	    q
   1310 	  }
   1311 	  /^X\(\/\).*/{
   1312 	    s//\1/
   1313 	    q
   1314 	  }
   1315 	  s/.*/./; q'`
   1316   srcdir=$ac_confdir
   1317   if test ! -r "$srcdir/$ac_unique_file"; then
   1318     srcdir=..
   1319   fi
   1320 else
   1321   ac_srcdir_defaulted=no
   1322 fi
   1323 if test ! -r "$srcdir/$ac_unique_file"; then
   1324   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1325   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1326 fi
   1327 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1328 ac_abs_confdir=`(
   1329 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1330 	pwd)`
   1331 # When building in place, set srcdir=.
   1332 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1333   srcdir=.
   1334 fi
   1335 # Remove unnecessary trailing slashes from srcdir.
   1336 # Double slashes in file names in object file debugging info
   1337 # mess up M-x gdb in Emacs.
   1338 case $srcdir in
   1339 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1340 esac
   1341 for ac_var in $ac_precious_vars; do
   1342   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1343   eval ac_env_${ac_var}_value=\$${ac_var}
   1344   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1345   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1346 done
   1347 
   1348 #
   1349 # Report the --help message.
   1350 #
   1351 if test "$ac_init_help" = "long"; then
   1352   # Omit some internal or obsolete options to make the list less imposing.
   1353   # This message is too long to be a string in the A/UX 3.1 sh.
   1354   cat <<_ACEOF
   1355 \`configure' configures xgc 1.0.6 to adapt to many kinds of systems.
   1356 
   1357 Usage: $0 [OPTION]... [VAR=VALUE]...
   1358 
   1359 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1360 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1361 
   1362 Defaults for the options are specified in brackets.
   1363 
   1364 Configuration:
   1365   -h, --help              display this help and exit
   1366       --help=short        display options specific to this package
   1367       --help=recursive    display the short help of all the included packages
   1368   -V, --version           display version information and exit
   1369   -q, --quiet, --silent   do not print \`checking ...' messages
   1370       --cache-file=FILE   cache test results in FILE [disabled]
   1371   -C, --config-cache      alias for \`--cache-file=config.cache'
   1372   -n, --no-create         do not create output files
   1373       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1374 
   1375 Installation directories:
   1376   --prefix=PREFIX         install architecture-independent files in PREFIX
   1377                           [$ac_default_prefix]
   1378   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1379                           [PREFIX]
   1380 
   1381 By default, \`make install' will install all the files in
   1382 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1383 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1384 for instance \`--prefix=\$HOME'.
   1385 
   1386 For better control, use the options below.
   1387 
   1388 Fine tuning of the installation directories:
   1389   --bindir=DIR            user executables [EPREFIX/bin]
   1390   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1391   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1392   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1393   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1394   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1395   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1396   --libdir=DIR            object code libraries [EPREFIX/lib]
   1397   --includedir=DIR        C header files [PREFIX/include]
   1398   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1399   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1400   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1401   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1402   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1403   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1404   --docdir=DIR            documentation root [DATAROOTDIR/doc/xgc]
   1405   --htmldir=DIR           html documentation [DOCDIR]
   1406   --dvidir=DIR            dvi documentation [DOCDIR]
   1407   --pdfdir=DIR            pdf documentation [DOCDIR]
   1408   --psdir=DIR             ps documentation [DOCDIR]
   1409 _ACEOF
   1410 
   1411   cat <<\_ACEOF
   1412 
   1413 Program names:
   1414   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1415   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1416   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1417 
   1418 System types:
   1419   --build=BUILD     configure for building on BUILD [guessed]
   1420   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1421 _ACEOF
   1422 fi
   1423 
   1424 if test -n "$ac_init_help"; then
   1425   case $ac_init_help in
   1426      short | recursive ) echo "Configuration of xgc 1.0.6:";;
   1427    esac
   1428   cat <<\_ACEOF
   1429 
   1430 Optional Features:
   1431   --disable-option-checking  ignore unrecognized --enable/--with options
   1432   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1433   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1434   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1435   --disable-silent-rules  verbose build output (undo: "make V=0")
   1436   --enable-dependency-tracking
   1437                           do not reject slow dependency extractors
   1438   --disable-dependency-tracking
   1439                           speeds up one-time build
   1440   --disable-selective-werror
   1441                           Turn off selective compiler errors. (default:
   1442                           enabled)
   1443   --enable-strict-compilation
   1444                           Enable all warnings from compiler and make them
   1445                           errors (default: disabled)
   1446 
   1447 Optional Packages:
   1448   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1449   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1450   --with-appdefaultdir=<pathname>
   1451                           specify directory for app-defaults files (default is
   1452                           autodetected)
   1453 
   1454 Some influential environment variables:
   1455   CC          C compiler command
   1456   CFLAGS      C compiler flags
   1457   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1458               nonstandard directory <lib dir>
   1459   LIBS        libraries to pass to the linker, e.g. -l<library>
   1460   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1461               you have headers in a nonstandard directory <include dir>
   1462   PKG_CONFIG  path to pkg-config utility
   1463   PKG_CONFIG_PATH
   1464               directories to add to pkg-config's search path
   1465   PKG_CONFIG_LIBDIR
   1466               path overriding pkg-config's built-in search path
   1467   YACC        The `Yet Another Compiler Compiler' implementation to use.
   1468               Defaults to the first program found out of: `bison -y', `byacc',
   1469               `yacc'.
   1470   YFLAGS      The list of arguments that will be passed by default to $YACC.
   1471               This script will default YFLAGS to the empty string to avoid a
   1472               default value of `-d' given by some make applications.
   1473   XGC_CFLAGS  C compiler flags for XGC, overriding pkg-config
   1474   XGC_LIBS    linker flags for XGC, overriding pkg-config
   1475 
   1476 Use these variables to override the choices made by `configure' or to help
   1477 it to find libraries and programs with nonstandard names/locations.
   1478 
   1479 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xgc/-/issues>.
   1480 _ACEOF
   1481 ac_status=$?
   1482 fi
   1483 
   1484 if test "$ac_init_help" = "recursive"; then
   1485   # If there are subdirs, report their specific --help.
   1486   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1487     test -d "$ac_dir" ||
   1488       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1489       continue
   1490     ac_builddir=.
   1491 
   1492 case "$ac_dir" in
   1493 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1494 *)
   1495   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1496   # A ".." for each directory in $ac_dir_suffix.
   1497   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1498   case $ac_top_builddir_sub in
   1499   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1500   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1501   esac ;;
   1502 esac
   1503 ac_abs_top_builddir=$ac_pwd
   1504 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1505 # for backward compatibility:
   1506 ac_top_builddir=$ac_top_build_prefix
   1507 
   1508 case $srcdir in
   1509   .)  # We are building in place.
   1510     ac_srcdir=.
   1511     ac_top_srcdir=$ac_top_builddir_sub
   1512     ac_abs_top_srcdir=$ac_pwd ;;
   1513   [\\/]* | ?:[\\/]* )  # Absolute name.
   1514     ac_srcdir=$srcdir$ac_dir_suffix;
   1515     ac_top_srcdir=$srcdir
   1516     ac_abs_top_srcdir=$srcdir ;;
   1517   *) # Relative name.
   1518     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1519     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1520     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1521 esac
   1522 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1523 
   1524     cd "$ac_dir" || { ac_status=$?; continue; }
   1525     # Check for configure.gnu first; this name is used for a wrapper for
   1526     # Metaconfig's "Configure" on case-insensitive file systems.
   1527     if test -f "$ac_srcdir/configure.gnu"; then
   1528       echo &&
   1529       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1530     elif test -f "$ac_srcdir/configure"; then
   1531       echo &&
   1532       $SHELL "$ac_srcdir/configure" --help=recursive
   1533     else
   1534       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1535     fi || ac_status=$?
   1536     cd "$ac_pwd" || { ac_status=$?; break; }
   1537   done
   1538 fi
   1539 
   1540 test -n "$ac_init_help" && exit $ac_status
   1541 if $ac_init_version; then
   1542   cat <<\_ACEOF
   1543 xgc configure 1.0.6
   1544 generated by GNU Autoconf 2.71
   1545 
   1546 Copyright (C) 2021 Free Software Foundation, Inc.
   1547 This configure script is free software; the Free Software Foundation
   1548 gives unlimited permission to copy, distribute and modify it.
   1549 _ACEOF
   1550   exit
   1551 fi
   1552 
   1553 ## ------------------------ ##
   1554 ## Autoconf initialization. ##
   1555 ## ------------------------ ##
   1556 
   1557 # ac_fn_c_try_compile LINENO
   1558 # --------------------------
   1559 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1560 ac_fn_c_try_compile ()
   1561 {
   1562   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1563   rm -f conftest.$ac_objext conftest.beam
   1564   if { { ac_try="$ac_compile"
   1565 case "(($ac_try" in
   1566   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1567   *) ac_try_echo=$ac_try;;
   1568 esac
   1569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1570 printf "%s\n" "$ac_try_echo"; } >&5
   1571   (eval "$ac_compile") 2>conftest.err
   1572   ac_status=$?
   1573   if test -s conftest.err; then
   1574     grep -v '^ *+' conftest.err >conftest.er1
   1575     cat conftest.er1 >&5
   1576     mv -f conftest.er1 conftest.err
   1577   fi
   1578   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1579   test $ac_status = 0; } && {
   1580 	 test -z "$ac_c_werror_flag" ||
   1581 	 test ! -s conftest.err
   1582        } && test -s conftest.$ac_objext
   1583 then :
   1584   ac_retval=0
   1585 else $as_nop
   1586   printf "%s\n" "$as_me: failed program was:" >&5
   1587 sed 's/^/| /' conftest.$ac_ext >&5
   1588 
   1589 	ac_retval=1
   1590 fi
   1591   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1592   as_fn_set_status $ac_retval
   1593 
   1594 } # ac_fn_c_try_compile
   1595 
   1596 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1597 # ------------------------------------------------------------------
   1598 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1599 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1600 ac_fn_check_decl ()
   1601 {
   1602   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1603   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1604   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1605 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1606 if eval test \${$3+y}
   1607 then :
   1608   printf %s "(cached) " >&6
   1609 else $as_nop
   1610   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1611   eval ac_save_FLAGS=\$$6
   1612   as_fn_append $6 " $5"
   1613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1614 /* end confdefs.h.  */
   1615 $4
   1616 int
   1617 main (void)
   1618 {
   1619 #ifndef $as_decl_name
   1620 #ifdef __cplusplus
   1621   (void) $as_decl_use;
   1622 #else
   1623   (void) $as_decl_name;
   1624 #endif
   1625 #endif
   1626 
   1627   ;
   1628   return 0;
   1629 }
   1630 _ACEOF
   1631 if ac_fn_c_try_compile "$LINENO"
   1632 then :
   1633   eval "$3=yes"
   1634 else $as_nop
   1635   eval "$3=no"
   1636 fi
   1637 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1638   eval $6=\$ac_save_FLAGS
   1639 
   1640 fi
   1641 eval ac_res=\$$3
   1642 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1643 printf "%s\n" "$ac_res" >&6; }
   1644   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1645 
   1646 } # ac_fn_check_decl
   1647 
   1648 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1649 # -------------------------------------------------------
   1650 # Tests whether HEADER exists and can be compiled using the include files in
   1651 # INCLUDES, setting the cache variable VAR accordingly.
   1652 ac_fn_c_check_header_compile ()
   1653 {
   1654   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1655   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1656 printf %s "checking for $2... " >&6; }
   1657 if eval test \${$3+y}
   1658 then :
   1659   printf %s "(cached) " >&6
   1660 else $as_nop
   1661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1662 /* end confdefs.h.  */
   1663 $4
   1664 #include <$2>
   1665 _ACEOF
   1666 if ac_fn_c_try_compile "$LINENO"
   1667 then :
   1668   eval "$3=yes"
   1669 else $as_nop
   1670   eval "$3=no"
   1671 fi
   1672 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1673 fi
   1674 eval ac_res=\$$3
   1675 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1676 printf "%s\n" "$ac_res" >&6; }
   1677   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1678 
   1679 } # ac_fn_c_check_header_compile
   1680 
   1681 # ac_fn_c_try_link LINENO
   1682 # -----------------------
   1683 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1684 ac_fn_c_try_link ()
   1685 {
   1686   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1687   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1688   if { { ac_try="$ac_link"
   1689 case "(($ac_try" in
   1690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1691   *) ac_try_echo=$ac_try;;
   1692 esac
   1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1694 printf "%s\n" "$ac_try_echo"; } >&5
   1695   (eval "$ac_link") 2>conftest.err
   1696   ac_status=$?
   1697   if test -s conftest.err; then
   1698     grep -v '^ *+' conftest.err >conftest.er1
   1699     cat conftest.er1 >&5
   1700     mv -f conftest.er1 conftest.err
   1701   fi
   1702   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1703   test $ac_status = 0; } && {
   1704 	 test -z "$ac_c_werror_flag" ||
   1705 	 test ! -s conftest.err
   1706        } && test -s conftest$ac_exeext && {
   1707 	 test "$cross_compiling" = yes ||
   1708 	 test -x conftest$ac_exeext
   1709        }
   1710 then :
   1711   ac_retval=0
   1712 else $as_nop
   1713   printf "%s\n" "$as_me: failed program was:" >&5
   1714 sed 's/^/| /' conftest.$ac_ext >&5
   1715 
   1716 	ac_retval=1
   1717 fi
   1718   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1719   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1720   # interfere with the next link command; also delete a directory that is
   1721   # left behind by Apple's compiler.  We do this before executing the actions.
   1722   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1723   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1724   as_fn_set_status $ac_retval
   1725 
   1726 } # ac_fn_c_try_link
   1727 ac_configure_args_raw=
   1728 for ac_arg
   1729 do
   1730   case $ac_arg in
   1731   *\'*)
   1732     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1733   esac
   1734   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1735 done
   1736 
   1737 case $ac_configure_args_raw in
   1738   *$as_nl*)
   1739     ac_safe_unquote= ;;
   1740   *)
   1741     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1742     ac_unsafe_a="$ac_unsafe_z#~"
   1743     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1744     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1745 esac
   1746 
   1747 cat >config.log <<_ACEOF
   1748 This file contains any messages produced by compilers while
   1749 running configure, to aid debugging if configure makes a mistake.
   1750 
   1751 It was created by xgc $as_me 1.0.6, which was
   1752 generated by GNU Autoconf 2.71.  Invocation command line was
   1753 
   1754   $ $0$ac_configure_args_raw
   1755 
   1756 _ACEOF
   1757 exec 5>>config.log
   1758 {
   1759 cat <<_ASUNAME
   1760 ## --------- ##
   1761 ## Platform. ##
   1762 ## --------- ##
   1763 
   1764 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1765 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1766 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1767 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1768 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1769 
   1770 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1771 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1772 
   1773 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1774 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1775 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1776 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1777 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1778 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1779 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1780 
   1781 _ASUNAME
   1782 
   1783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1784 for as_dir in $PATH
   1785 do
   1786   IFS=$as_save_IFS
   1787   case $as_dir in #(((
   1788     '') as_dir=./ ;;
   1789     */) ;;
   1790     *) as_dir=$as_dir/ ;;
   1791   esac
   1792     printf "%s\n" "PATH: $as_dir"
   1793   done
   1794 IFS=$as_save_IFS
   1795 
   1796 } >&5
   1797 
   1798 cat >&5 <<_ACEOF
   1799 
   1800 
   1801 ## ----------- ##
   1802 ## Core tests. ##
   1803 ## ----------- ##
   1804 
   1805 _ACEOF
   1806 
   1807 
   1808 # Keep a trace of the command line.
   1809 # Strip out --no-create and --no-recursion so they do not pile up.
   1810 # Strip out --silent because we don't want to record it for future runs.
   1811 # Also quote any args containing shell meta-characters.
   1812 # Make two passes to allow for proper duplicate-argument suppression.
   1813 ac_configure_args=
   1814 ac_configure_args0=
   1815 ac_configure_args1=
   1816 ac_must_keep_next=false
   1817 for ac_pass in 1 2
   1818 do
   1819   for ac_arg
   1820   do
   1821     case $ac_arg in
   1822     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1823     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1824     | -silent | --silent | --silen | --sile | --sil)
   1825       continue ;;
   1826     *\'*)
   1827       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1828     esac
   1829     case $ac_pass in
   1830     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1831     2)
   1832       as_fn_append ac_configure_args1 " '$ac_arg'"
   1833       if test $ac_must_keep_next = true; then
   1834 	ac_must_keep_next=false # Got value, back to normal.
   1835       else
   1836 	case $ac_arg in
   1837 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1838 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1839 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1840 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1841 	    case "$ac_configure_args0 " in
   1842 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1843 	    esac
   1844 	    ;;
   1845 	  -* ) ac_must_keep_next=true ;;
   1846 	esac
   1847       fi
   1848       as_fn_append ac_configure_args " '$ac_arg'"
   1849       ;;
   1850     esac
   1851   done
   1852 done
   1853 { ac_configure_args0=; unset ac_configure_args0;}
   1854 { ac_configure_args1=; unset ac_configure_args1;}
   1855 
   1856 # When interrupted or exit'd, cleanup temporary files, and complete
   1857 # config.log.  We remove comments because anyway the quotes in there
   1858 # would cause problems or look ugly.
   1859 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1860 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1861 trap 'exit_status=$?
   1862   # Sanitize IFS.
   1863   IFS=" ""	$as_nl"
   1864   # Save into config.log some information that might help in debugging.
   1865   {
   1866     echo
   1867 
   1868     printf "%s\n" "## ---------------- ##
   1869 ## Cache variables. ##
   1870 ## ---------------- ##"
   1871     echo
   1872     # The following way of writing the cache mishandles newlines in values,
   1873 (
   1874   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1875     eval ac_val=\$$ac_var
   1876     case $ac_val in #(
   1877     *${as_nl}*)
   1878       case $ac_var in #(
   1879       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1880 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1881       esac
   1882       case $ac_var in #(
   1883       _ | IFS | as_nl) ;; #(
   1884       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1885       *) { eval $ac_var=; unset $ac_var;} ;;
   1886       esac ;;
   1887     esac
   1888   done
   1889   (set) 2>&1 |
   1890     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1891     *${as_nl}ac_space=\ *)
   1892       sed -n \
   1893 	"s/'\''/'\''\\\\'\'''\''/g;
   1894 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1895       ;; #(
   1896     *)
   1897       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1898       ;;
   1899     esac |
   1900     sort
   1901 )
   1902     echo
   1903 
   1904     printf "%s\n" "## ----------------- ##
   1905 ## Output variables. ##
   1906 ## ----------------- ##"
   1907     echo
   1908     for ac_var in $ac_subst_vars
   1909     do
   1910       eval ac_val=\$$ac_var
   1911       case $ac_val in
   1912       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1913       esac
   1914       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1915     done | sort
   1916     echo
   1917 
   1918     if test -n "$ac_subst_files"; then
   1919       printf "%s\n" "## ------------------- ##
   1920 ## File substitutions. ##
   1921 ## ------------------- ##"
   1922       echo
   1923       for ac_var in $ac_subst_files
   1924       do
   1925 	eval ac_val=\$$ac_var
   1926 	case $ac_val in
   1927 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1928 	esac
   1929 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1930       done | sort
   1931       echo
   1932     fi
   1933 
   1934     if test -s confdefs.h; then
   1935       printf "%s\n" "## ----------- ##
   1936 ## confdefs.h. ##
   1937 ## ----------- ##"
   1938       echo
   1939       cat confdefs.h
   1940       echo
   1941     fi
   1942     test "$ac_signal" != 0 &&
   1943       printf "%s\n" "$as_me: caught signal $ac_signal"
   1944     printf "%s\n" "$as_me: exit $exit_status"
   1945   } >&5
   1946   rm -f core *.core core.conftest.* &&
   1947     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1948     exit $exit_status
   1949 ' 0
   1950 for ac_signal in 1 2 13 15; do
   1951   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1952 done
   1953 ac_signal=0
   1954 
   1955 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1956 rm -f -r conftest* confdefs.h
   1957 
   1958 printf "%s\n" "/* confdefs.h */" > confdefs.h
   1959 
   1960 # Predefined preprocessor variables.
   1961 
   1962 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   1963 
   1964 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   1965 
   1966 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   1967 
   1968 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   1969 
   1970 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   1971 
   1972 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   1973 
   1974 
   1975 # Let the site file select an alternate cache file if it wants to.
   1976 # Prefer an explicitly selected file to automatically selected ones.
   1977 if test -n "$CONFIG_SITE"; then
   1978   ac_site_files="$CONFIG_SITE"
   1979 elif test "x$prefix" != xNONE; then
   1980   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   1981 else
   1982   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1983 fi
   1984 
   1985 for ac_site_file in $ac_site_files
   1986 do
   1987   case $ac_site_file in #(
   1988   */*) :
   1989      ;; #(
   1990   *) :
   1991     ac_site_file=./$ac_site_file ;;
   1992 esac
   1993   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   1994     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1995 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   1996     sed 's/^/| /' "$ac_site_file" >&5
   1997     . "$ac_site_file" \
   1998       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   1999 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2000 as_fn_error $? "failed to load site script $ac_site_file
   2001 See \`config.log' for more details" "$LINENO" 5; }
   2002   fi
   2003 done
   2004 
   2005 if test -r "$cache_file"; then
   2006   # Some versions of bash will fail to source /dev/null (special files
   2007   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2008   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2009     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2010 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2011     case $cache_file in
   2012       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2013       *)                      . "./$cache_file";;
   2014     esac
   2015   fi
   2016 else
   2017   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2018 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2019   >$cache_file
   2020 fi
   2021 
   2022 # Test code for whether the C compiler supports C89 (global declarations)
   2023 ac_c_conftest_c89_globals='
   2024 /* Does the compiler advertise C89 conformance?
   2025    Do not test the value of __STDC__, because some compilers set it to 0
   2026    while being otherwise adequately conformant. */
   2027 #if !defined __STDC__
   2028 # error "Compiler does not advertise C89 conformance"
   2029 #endif
   2030 
   2031 #include <stddef.h>
   2032 #include <stdarg.h>
   2033 struct stat;
   2034 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2035 struct buf { int x; };
   2036 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2037 static char *e (p, i)
   2038      char **p;
   2039      int i;
   2040 {
   2041   return p[i];
   2042 }
   2043 static char *f (char * (*g) (char **, int), char **p, ...)
   2044 {
   2045   char *s;
   2046   va_list v;
   2047   va_start (v,p);
   2048   s = g (p, va_arg (v,int));
   2049   va_end (v);
   2050   return s;
   2051 }
   2052 
   2053 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2054    function prototypes and stuff, but not \xHH hex character constants.
   2055    These do not provoke an error unfortunately, instead are silently treated
   2056    as an "x".  The following induces an error, until -std is added to get
   2057    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2058    array size at least.  It is necessary to write \x00 == 0 to get something
   2059    that is true only with -std.  */
   2060 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2061 
   2062 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2063    inside strings and character constants.  */
   2064 #define FOO(x) '\''x'\''
   2065 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2066 
   2067 int test (int i, double x);
   2068 struct s1 {int (*f) (int a);};
   2069 struct s2 {int (*f) (double a);};
   2070 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2071                int, int);'
   2072 
   2073 # Test code for whether the C compiler supports C89 (body of main).
   2074 ac_c_conftest_c89_main='
   2075 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2076 '
   2077 
   2078 # Test code for whether the C compiler supports C99 (global declarations)
   2079 ac_c_conftest_c99_globals='
   2080 // Does the compiler advertise C99 conformance?
   2081 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2082 # error "Compiler does not advertise C99 conformance"
   2083 #endif
   2084 
   2085 #include <stdbool.h>
   2086 extern int puts (const char *);
   2087 extern int printf (const char *, ...);
   2088 extern int dprintf (int, const char *, ...);
   2089 extern void *malloc (size_t);
   2090 
   2091 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2092 // dprintf is used instead of fprintf to avoid needing to declare
   2093 // FILE and stderr.
   2094 #define debug(...) dprintf (2, __VA_ARGS__)
   2095 #define showlist(...) puts (#__VA_ARGS__)
   2096 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2097 static void
   2098 test_varargs_macros (void)
   2099 {
   2100   int x = 1234;
   2101   int y = 5678;
   2102   debug ("Flag");
   2103   debug ("X = %d\n", x);
   2104   showlist (The first, second, and third items.);
   2105   report (x>y, "x is %d but y is %d", x, y);
   2106 }
   2107 
   2108 // Check long long types.
   2109 #define BIG64 18446744073709551615ull
   2110 #define BIG32 4294967295ul
   2111 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2112 #if !BIG_OK
   2113   #error "your preprocessor is broken"
   2114 #endif
   2115 #if BIG_OK
   2116 #else
   2117   #error "your preprocessor is broken"
   2118 #endif
   2119 static long long int bignum = -9223372036854775807LL;
   2120 static unsigned long long int ubignum = BIG64;
   2121 
   2122 struct incomplete_array
   2123 {
   2124   int datasize;
   2125   double data[];
   2126 };
   2127 
   2128 struct named_init {
   2129   int number;
   2130   const wchar_t *name;
   2131   double average;
   2132 };
   2133 
   2134 typedef const char *ccp;
   2135 
   2136 static inline int
   2137 test_restrict (ccp restrict text)
   2138 {
   2139   // See if C++-style comments work.
   2140   // Iterate through items via the restricted pointer.
   2141   // Also check for declarations in for loops.
   2142   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2143     continue;
   2144   return 0;
   2145 }
   2146 
   2147 // Check varargs and va_copy.
   2148 static bool
   2149 test_varargs (const char *format, ...)
   2150 {
   2151   va_list args;
   2152   va_start (args, format);
   2153   va_list args_copy;
   2154   va_copy (args_copy, args);
   2155 
   2156   const char *str = "";
   2157   int number = 0;
   2158   float fnumber = 0;
   2159 
   2160   while (*format)
   2161     {
   2162       switch (*format++)
   2163 	{
   2164 	case '\''s'\'': // string
   2165 	  str = va_arg (args_copy, const char *);
   2166 	  break;
   2167 	case '\''d'\'': // int
   2168 	  number = va_arg (args_copy, int);
   2169 	  break;
   2170 	case '\''f'\'': // float
   2171 	  fnumber = va_arg (args_copy, double);
   2172 	  break;
   2173 	default:
   2174 	  break;
   2175 	}
   2176     }
   2177   va_end (args_copy);
   2178   va_end (args);
   2179 
   2180   return *str && number && fnumber;
   2181 }
   2182 '
   2183 
   2184 # Test code for whether the C compiler supports C99 (body of main).
   2185 ac_c_conftest_c99_main='
   2186   // Check bool.
   2187   _Bool success = false;
   2188   success |= (argc != 0);
   2189 
   2190   // Check restrict.
   2191   if (test_restrict ("String literal") == 0)
   2192     success = true;
   2193   char *restrict newvar = "Another string";
   2194 
   2195   // Check varargs.
   2196   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2197   test_varargs_macros ();
   2198 
   2199   // Check flexible array members.
   2200   struct incomplete_array *ia =
   2201     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2202   ia->datasize = 10;
   2203   for (int i = 0; i < ia->datasize; ++i)
   2204     ia->data[i] = i * 1.234;
   2205 
   2206   // Check named initializers.
   2207   struct named_init ni = {
   2208     .number = 34,
   2209     .name = L"Test wide string",
   2210     .average = 543.34343,
   2211   };
   2212 
   2213   ni.number = 58;
   2214 
   2215   int dynamic_array[ni.number];
   2216   dynamic_array[0] = argv[0][0];
   2217   dynamic_array[ni.number - 1] = 543;
   2218 
   2219   // work around unused variable warnings
   2220   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2221 	 || dynamic_array[ni.number - 1] != 543);
   2222 '
   2223 
   2224 # Test code for whether the C compiler supports C11 (global declarations)
   2225 ac_c_conftest_c11_globals='
   2226 // Does the compiler advertise C11 conformance?
   2227 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2228 # error "Compiler does not advertise C11 conformance"
   2229 #endif
   2230 
   2231 // Check _Alignas.
   2232 char _Alignas (double) aligned_as_double;
   2233 char _Alignas (0) no_special_alignment;
   2234 extern char aligned_as_int;
   2235 char _Alignas (0) _Alignas (int) aligned_as_int;
   2236 
   2237 // Check _Alignof.
   2238 enum
   2239 {
   2240   int_alignment = _Alignof (int),
   2241   int_array_alignment = _Alignof (int[100]),
   2242   char_alignment = _Alignof (char)
   2243 };
   2244 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2245 
   2246 // Check _Noreturn.
   2247 int _Noreturn does_not_return (void) { for (;;) continue; }
   2248 
   2249 // Check _Static_assert.
   2250 struct test_static_assert
   2251 {
   2252   int x;
   2253   _Static_assert (sizeof (int) <= sizeof (long int),
   2254                   "_Static_assert does not work in struct");
   2255   long int y;
   2256 };
   2257 
   2258 // Check UTF-8 literals.
   2259 #define u8 syntax error!
   2260 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2261 
   2262 // Check duplicate typedefs.
   2263 typedef long *long_ptr;
   2264 typedef long int *long_ptr;
   2265 typedef long_ptr long_ptr;
   2266 
   2267 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2268 struct anonymous
   2269 {
   2270   union {
   2271     struct { int i; int j; };
   2272     struct { int k; long int l; } w;
   2273   };
   2274   int m;
   2275 } v1;
   2276 '
   2277 
   2278 # Test code for whether the C compiler supports C11 (body of main).
   2279 ac_c_conftest_c11_main='
   2280   _Static_assert ((offsetof (struct anonymous, i)
   2281 		   == offsetof (struct anonymous, w.k)),
   2282 		  "Anonymous union alignment botch");
   2283   v1.i = 2;
   2284   v1.w.k = 5;
   2285   ok |= v1.i != 5;
   2286 '
   2287 
   2288 # Test code for whether the C compiler supports C11 (complete).
   2289 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2290 ${ac_c_conftest_c99_globals}
   2291 ${ac_c_conftest_c11_globals}
   2292 
   2293 int
   2294 main (int argc, char **argv)
   2295 {
   2296   int ok = 0;
   2297   ${ac_c_conftest_c89_main}
   2298   ${ac_c_conftest_c99_main}
   2299   ${ac_c_conftest_c11_main}
   2300   return ok;
   2301 }
   2302 "
   2303 
   2304 # Test code for whether the C compiler supports C99 (complete).
   2305 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2306 ${ac_c_conftest_c99_globals}
   2307 
   2308 int
   2309 main (int argc, char **argv)
   2310 {
   2311   int ok = 0;
   2312   ${ac_c_conftest_c89_main}
   2313   ${ac_c_conftest_c99_main}
   2314   return ok;
   2315 }
   2316 "
   2317 
   2318 # Test code for whether the C compiler supports C89 (complete).
   2319 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2320 
   2321 int
   2322 main (int argc, char **argv)
   2323 {
   2324   int ok = 0;
   2325   ${ac_c_conftest_c89_main}
   2326   return ok;
   2327 }
   2328 "
   2329 
   2330 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2331 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2332 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2333 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2334 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2335 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2336 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2337 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2338 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2339 
   2340 # Auxiliary files required by this configure script.
   2341 ac_aux_files="config.guess config.sub compile missing install-sh"
   2342 
   2343 # Locations in which to look for auxiliary files.
   2344 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2345 
   2346 # Search for a directory containing all of the required auxiliary files,
   2347 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2348 # If we don't find one directory that contains all the files we need,
   2349 # we report the set of missing files from the *first* directory in
   2350 # $ac_aux_dir_candidates and give up.
   2351 ac_missing_aux_files=""
   2352 ac_first_candidate=:
   2353 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2355 as_found=false
   2356 for as_dir in $ac_aux_dir_candidates
   2357 do
   2358   IFS=$as_save_IFS
   2359   case $as_dir in #(((
   2360     '') as_dir=./ ;;
   2361     */) ;;
   2362     *) as_dir=$as_dir/ ;;
   2363   esac
   2364   as_found=:
   2365 
   2366   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2367   ac_aux_dir_found=yes
   2368   ac_install_sh=
   2369   for ac_aux in $ac_aux_files
   2370   do
   2371     # As a special case, if "install-sh" is required, that requirement
   2372     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2373     # and $ac_install_sh is set appropriately for whichever one is found.
   2374     if test x"$ac_aux" = x"install-sh"
   2375     then
   2376       if test -f "${as_dir}install-sh"; then
   2377         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2378         ac_install_sh="${as_dir}install-sh -c"
   2379       elif test -f "${as_dir}install.sh"; then
   2380         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2381         ac_install_sh="${as_dir}install.sh -c"
   2382       elif test -f "${as_dir}shtool"; then
   2383         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2384         ac_install_sh="${as_dir}shtool install -c"
   2385       else
   2386         ac_aux_dir_found=no
   2387         if $ac_first_candidate; then
   2388           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2389         else
   2390           break
   2391         fi
   2392       fi
   2393     else
   2394       if test -f "${as_dir}${ac_aux}"; then
   2395         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2396       else
   2397         ac_aux_dir_found=no
   2398         if $ac_first_candidate; then
   2399           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2400         else
   2401           break
   2402         fi
   2403       fi
   2404     fi
   2405   done
   2406   if test "$ac_aux_dir_found" = yes; then
   2407     ac_aux_dir="$as_dir"
   2408     break
   2409   fi
   2410   ac_first_candidate=false
   2411 
   2412   as_found=false
   2413 done
   2414 IFS=$as_save_IFS
   2415 if $as_found
   2416 then :
   2417 
   2418 else $as_nop
   2419   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2420 fi
   2421 
   2422 
   2423 # These three variables are undocumented and unsupported,
   2424 # and are intended to be withdrawn in a future Autoconf release.
   2425 # They can cause serious problems if a builder's source tree is in a directory
   2426 # whose full name contains unusual characters.
   2427 if test -f "${ac_aux_dir}config.guess"; then
   2428   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2429 fi
   2430 if test -f "${ac_aux_dir}config.sub"; then
   2431   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2432 fi
   2433 if test -f "$ac_aux_dir/configure"; then
   2434   ac_configure="$SHELL ${ac_aux_dir}configure"
   2435 fi
   2436 
   2437 # Check that the precious variables saved in the cache have kept the same
   2438 # value.
   2439 ac_cache_corrupted=false
   2440 for ac_var in $ac_precious_vars; do
   2441   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2442   eval ac_new_set=\$ac_env_${ac_var}_set
   2443   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2444   eval ac_new_val=\$ac_env_${ac_var}_value
   2445   case $ac_old_set,$ac_new_set in
   2446     set,)
   2447       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2448 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2449       ac_cache_corrupted=: ;;
   2450     ,set)
   2451       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2452 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2453       ac_cache_corrupted=: ;;
   2454     ,);;
   2455     *)
   2456       if test "x$ac_old_val" != "x$ac_new_val"; then
   2457 	# differences in whitespace do not lead to failure.
   2458 	ac_old_val_w=`echo x $ac_old_val`
   2459 	ac_new_val_w=`echo x $ac_new_val`
   2460 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2461 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2462 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2463 	  ac_cache_corrupted=:
   2464 	else
   2465 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2466 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2467 	  eval $ac_var=\$ac_old_val
   2468 	fi
   2469 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2470 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2471 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2472 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2473       fi;;
   2474   esac
   2475   # Pass precious variables to config.status.
   2476   if test "$ac_new_set" = set; then
   2477     case $ac_new_val in
   2478     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2479     *) ac_arg=$ac_var=$ac_new_val ;;
   2480     esac
   2481     case " $ac_configure_args " in
   2482       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2483       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2484     esac
   2485   fi
   2486 done
   2487 if $ac_cache_corrupted; then
   2488   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2489 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2490   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2491 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2492   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2493 	    and start over" "$LINENO" 5
   2494 fi
   2495 ## -------------------- ##
   2496 ## Main body of script. ##
   2497 ## -------------------- ##
   2498 
   2499 ac_ext=c
   2500 ac_cpp='$CPP $CPPFLAGS'
   2501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2504 
   2505 
   2506 
   2507 ac_config_headers="$ac_config_headers config.h"
   2508 
   2509 
   2510 # Initialize Automake
   2511 am__api_version='1.16'
   2512 
   2513 
   2514 
   2515   # Find a good install program.  We prefer a C program (faster),
   2516 # so one script is as good as another.  But avoid the broken or
   2517 # incompatible versions:
   2518 # SysV /etc/install, /usr/sbin/install
   2519 # SunOS /usr/etc/install
   2520 # IRIX /sbin/install
   2521 # AIX /bin/install
   2522 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2523 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2524 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2525 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2526 # OS/2's system install, which has a completely different semantic
   2527 # ./install, which can be erroneously created by make from ./install.sh.
   2528 # Reject install programs that cannot install multiple files.
   2529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2530 printf %s "checking for a BSD-compatible install... " >&6; }
   2531 if test -z "$INSTALL"; then
   2532 if test ${ac_cv_path_install+y}
   2533 then :
   2534   printf %s "(cached) " >&6
   2535 else $as_nop
   2536   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2537 for as_dir in $PATH
   2538 do
   2539   IFS=$as_save_IFS
   2540   case $as_dir in #(((
   2541     '') as_dir=./ ;;
   2542     */) ;;
   2543     *) as_dir=$as_dir/ ;;
   2544   esac
   2545     # Account for fact that we put trailing slashes in our PATH walk.
   2546 case $as_dir in #((
   2547   ./ | /[cC]/* | \
   2548   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2549   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2550   /usr/ucb/* ) ;;
   2551   *)
   2552     # OSF1 and SCO ODT 3.0 have their own names for install.
   2553     # Don't use installbsd from OSF since it installs stuff as root
   2554     # by default.
   2555     for ac_prog in ginstall scoinst install; do
   2556       for ac_exec_ext in '' $ac_executable_extensions; do
   2557 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2558 	  if test $ac_prog = install &&
   2559 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2560 	    # AIX install.  It has an incompatible calling convention.
   2561 	    :
   2562 	  elif test $ac_prog = install &&
   2563 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2564 	    # program-specific install script used by HP pwplus--don't use.
   2565 	    :
   2566 	  else
   2567 	    rm -rf conftest.one conftest.two conftest.dir
   2568 	    echo one > conftest.one
   2569 	    echo two > conftest.two
   2570 	    mkdir conftest.dir
   2571 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2572 	      test -s conftest.one && test -s conftest.two &&
   2573 	      test -s conftest.dir/conftest.one &&
   2574 	      test -s conftest.dir/conftest.two
   2575 	    then
   2576 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2577 	      break 3
   2578 	    fi
   2579 	  fi
   2580 	fi
   2581       done
   2582     done
   2583     ;;
   2584 esac
   2585 
   2586   done
   2587 IFS=$as_save_IFS
   2588 
   2589 rm -rf conftest.one conftest.two conftest.dir
   2590 
   2591 fi
   2592   if test ${ac_cv_path_install+y}; then
   2593     INSTALL=$ac_cv_path_install
   2594   else
   2595     # As a last resort, use the slow shell script.  Don't cache a
   2596     # value for INSTALL within a source directory, because that will
   2597     # break other packages using the cache if that directory is
   2598     # removed, or if the value is a relative name.
   2599     INSTALL=$ac_install_sh
   2600   fi
   2601 fi
   2602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2603 printf "%s\n" "$INSTALL" >&6; }
   2604 
   2605 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2606 # It thinks the first close brace ends the variable substitution.
   2607 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2608 
   2609 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2610 
   2611 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2612 
   2613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2614 printf %s "checking whether build environment is sane... " >&6; }
   2615 # Reject unsafe characters in $srcdir or the absolute working directory
   2616 # name.  Accept space and tab only in the latter.
   2617 am_lf='
   2618 '
   2619 case `pwd` in
   2620   *[\\\"\#\$\&\'\`$am_lf]*)
   2621     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2622 esac
   2623 case $srcdir in
   2624   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2625     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2626 esac
   2627 
   2628 # Do 'set' in a subshell so we don't clobber the current shell's
   2629 # arguments.  Must try -L first in case configure is actually a
   2630 # symlink; some systems play weird games with the mod time of symlinks
   2631 # (eg FreeBSD returns the mod time of the symlink's containing
   2632 # directory).
   2633 if (
   2634    am_has_slept=no
   2635    for am_try in 1 2; do
   2636      echo "timestamp, slept: $am_has_slept" > conftest.file
   2637      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2638      if test "$*" = "X"; then
   2639 	# -L didn't work.
   2640 	set X `ls -t "$srcdir/configure" conftest.file`
   2641      fi
   2642      if test "$*" != "X $srcdir/configure conftest.file" \
   2643 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2644 
   2645 	# If neither matched, then we have a broken ls.  This can happen
   2646 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2647 	# broken ls alias from the environment.  This has actually
   2648 	# happened.  Such a system could not be considered "sane".
   2649 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2650   alias in your environment" "$LINENO" 5
   2651      fi
   2652      if test "$2" = conftest.file || test $am_try -eq 2; then
   2653        break
   2654      fi
   2655      # Just in case.
   2656      sleep 1
   2657      am_has_slept=yes
   2658    done
   2659    test "$2" = conftest.file
   2660    )
   2661 then
   2662    # Ok.
   2663    :
   2664 else
   2665    as_fn_error $? "newly created file is older than distributed files!
   2666 Check your system clock" "$LINENO" 5
   2667 fi
   2668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2669 printf "%s\n" "yes" >&6; }
   2670 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2671 # generated files are strictly newer.
   2672 am_sleep_pid=
   2673 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2674   ( sleep 1 ) &
   2675   am_sleep_pid=$!
   2676 fi
   2677 
   2678 rm -f conftest.file
   2679 
   2680 test "$program_prefix" != NONE &&
   2681   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2682 # Use a double $ so make ignores it.
   2683 test "$program_suffix" != NONE &&
   2684   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2685 # Double any \ or $.
   2686 # By default was `s,x,x', remove it if useless.
   2687 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2688 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2689 
   2690 
   2691 # Expand $ac_aux_dir to an absolute path.
   2692 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2693 
   2694 
   2695   if test x"${MISSING+set}" != xset; then
   2696   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2697 fi
   2698 # Use eval to expand $SHELL
   2699 if eval "$MISSING --is-lightweight"; then
   2700   am_missing_run="$MISSING "
   2701 else
   2702   am_missing_run=
   2703   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2704 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2705 fi
   2706 
   2707 if test x"${install_sh+set}" != xset; then
   2708   case $am_aux_dir in
   2709   *\ * | *\	*)
   2710     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2711   *)
   2712     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2713   esac
   2714 fi
   2715 
   2716 # Installed binaries are usually stripped using 'strip' when the user
   2717 # run "make install-strip".  However 'strip' might not be the right
   2718 # tool to use in cross-compilation environments, therefore Automake
   2719 # will honor the 'STRIP' environment variable to overrule this program.
   2720 if test "$cross_compiling" != no; then
   2721   if test -n "$ac_tool_prefix"; then
   2722   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2723 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2725 printf %s "checking for $ac_word... " >&6; }
   2726 if test ${ac_cv_prog_STRIP+y}
   2727 then :
   2728   printf %s "(cached) " >&6
   2729 else $as_nop
   2730   if test -n "$STRIP"; then
   2731   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2732 else
   2733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2734 for as_dir in $PATH
   2735 do
   2736   IFS=$as_save_IFS
   2737   case $as_dir in #(((
   2738     '') as_dir=./ ;;
   2739     */) ;;
   2740     *) as_dir=$as_dir/ ;;
   2741   esac
   2742     for ac_exec_ext in '' $ac_executable_extensions; do
   2743   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2744     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2745     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2746     break 2
   2747   fi
   2748 done
   2749   done
   2750 IFS=$as_save_IFS
   2751 
   2752 fi
   2753 fi
   2754 STRIP=$ac_cv_prog_STRIP
   2755 if test -n "$STRIP"; then
   2756   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2757 printf "%s\n" "$STRIP" >&6; }
   2758 else
   2759   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2760 printf "%s\n" "no" >&6; }
   2761 fi
   2762 
   2763 
   2764 fi
   2765 if test -z "$ac_cv_prog_STRIP"; then
   2766   ac_ct_STRIP=$STRIP
   2767   # Extract the first word of "strip", so it can be a program name with args.
   2768 set dummy strip; ac_word=$2
   2769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2770 printf %s "checking for $ac_word... " >&6; }
   2771 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2772 then :
   2773   printf %s "(cached) " >&6
   2774 else $as_nop
   2775   if test -n "$ac_ct_STRIP"; then
   2776   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2777 else
   2778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2779 for as_dir in $PATH
   2780 do
   2781   IFS=$as_save_IFS
   2782   case $as_dir in #(((
   2783     '') as_dir=./ ;;
   2784     */) ;;
   2785     *) as_dir=$as_dir/ ;;
   2786   esac
   2787     for ac_exec_ext in '' $ac_executable_extensions; do
   2788   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2789     ac_cv_prog_ac_ct_STRIP="strip"
   2790     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2791     break 2
   2792   fi
   2793 done
   2794   done
   2795 IFS=$as_save_IFS
   2796 
   2797 fi
   2798 fi
   2799 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2800 if test -n "$ac_ct_STRIP"; then
   2801   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2802 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2803 else
   2804   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2805 printf "%s\n" "no" >&6; }
   2806 fi
   2807 
   2808   if test "x$ac_ct_STRIP" = x; then
   2809     STRIP=":"
   2810   else
   2811     case $cross_compiling:$ac_tool_warned in
   2812 yes:)
   2813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2814 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2815 ac_tool_warned=yes ;;
   2816 esac
   2817     STRIP=$ac_ct_STRIP
   2818   fi
   2819 else
   2820   STRIP="$ac_cv_prog_STRIP"
   2821 fi
   2822 
   2823 fi
   2824 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2825 
   2826 
   2827   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2828 printf %s "checking for a race-free mkdir -p... " >&6; }
   2829 if test -z "$MKDIR_P"; then
   2830   if test ${ac_cv_path_mkdir+y}
   2831 then :
   2832   printf %s "(cached) " >&6
   2833 else $as_nop
   2834   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2835 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2836 do
   2837   IFS=$as_save_IFS
   2838   case $as_dir in #(((
   2839     '') as_dir=./ ;;
   2840     */) ;;
   2841     *) as_dir=$as_dir/ ;;
   2842   esac
   2843     for ac_prog in mkdir gmkdir; do
   2844 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2845 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2846 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2847 	     'mkdir ('*'coreutils) '* | \
   2848 	     'BusyBox '* | \
   2849 	     'mkdir (fileutils) '4.1*)
   2850 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2851 	       break 3;;
   2852 	   esac
   2853 	 done
   2854        done
   2855   done
   2856 IFS=$as_save_IFS
   2857 
   2858 fi
   2859 
   2860   test -d ./--version && rmdir ./--version
   2861   if test ${ac_cv_path_mkdir+y}; then
   2862     MKDIR_P="$ac_cv_path_mkdir -p"
   2863   else
   2864     # As a last resort, use the slow shell script.  Don't cache a
   2865     # value for MKDIR_P within a source directory, because that will
   2866     # break other packages using the cache if that directory is
   2867     # removed, or if the value is a relative name.
   2868     MKDIR_P="$ac_install_sh -d"
   2869   fi
   2870 fi
   2871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2872 printf "%s\n" "$MKDIR_P" >&6; }
   2873 
   2874 for ac_prog in gawk mawk nawk awk
   2875 do
   2876   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2877 set dummy $ac_prog; ac_word=$2
   2878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2879 printf %s "checking for $ac_word... " >&6; }
   2880 if test ${ac_cv_prog_AWK+y}
   2881 then :
   2882   printf %s "(cached) " >&6
   2883 else $as_nop
   2884   if test -n "$AWK"; then
   2885   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2886 else
   2887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2888 for as_dir in $PATH
   2889 do
   2890   IFS=$as_save_IFS
   2891   case $as_dir in #(((
   2892     '') as_dir=./ ;;
   2893     */) ;;
   2894     *) as_dir=$as_dir/ ;;
   2895   esac
   2896     for ac_exec_ext in '' $ac_executable_extensions; do
   2897   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2898     ac_cv_prog_AWK="$ac_prog"
   2899     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2900     break 2
   2901   fi
   2902 done
   2903   done
   2904 IFS=$as_save_IFS
   2905 
   2906 fi
   2907 fi
   2908 AWK=$ac_cv_prog_AWK
   2909 if test -n "$AWK"; then
   2910   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2911 printf "%s\n" "$AWK" >&6; }
   2912 else
   2913   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2914 printf "%s\n" "no" >&6; }
   2915 fi
   2916 
   2917 
   2918   test -n "$AWK" && break
   2919 done
   2920 
   2921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2922 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2923 set x ${MAKE-make}
   2924 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2925 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   2926 then :
   2927   printf %s "(cached) " >&6
   2928 else $as_nop
   2929   cat >conftest.make <<\_ACEOF
   2930 SHELL = /bin/sh
   2931 all:
   2932 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2933 _ACEOF
   2934 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2935 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2936   *@@@%%%=?*=@@@%%%*)
   2937     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2938   *)
   2939     eval ac_cv_prog_make_${ac_make}_set=no;;
   2940 esac
   2941 rm -f conftest.make
   2942 fi
   2943 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2944   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2945 printf "%s\n" "yes" >&6; }
   2946   SET_MAKE=
   2947 else
   2948   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2949 printf "%s\n" "no" >&6; }
   2950   SET_MAKE="MAKE=${MAKE-make}"
   2951 fi
   2952 
   2953 rm -rf .tst 2>/dev/null
   2954 mkdir .tst 2>/dev/null
   2955 if test -d .tst; then
   2956   am__leading_dot=.
   2957 else
   2958   am__leading_dot=_
   2959 fi
   2960 rmdir .tst 2>/dev/null
   2961 
   2962 # Check whether --enable-silent-rules was given.
   2963 if test ${enable_silent_rules+y}
   2964 then :
   2965   enableval=$enable_silent_rules;
   2966 fi
   2967 
   2968 case $enable_silent_rules in # (((
   2969   yes) AM_DEFAULT_VERBOSITY=0;;
   2970    no) AM_DEFAULT_VERBOSITY=1;;
   2971     *) AM_DEFAULT_VERBOSITY=1;;
   2972 esac
   2973 am_make=${MAKE-make}
   2974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2975 printf %s "checking whether $am_make supports nested variables... " >&6; }
   2976 if test ${am_cv_make_support_nested_variables+y}
   2977 then :
   2978   printf %s "(cached) " >&6
   2979 else $as_nop
   2980   if printf "%s\n" 'TRUE=$(BAR$(V))
   2981 BAR0=false
   2982 BAR1=true
   2983 V=1
   2984 am__doit:
   2985 	@$(TRUE)
   2986 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2987   am_cv_make_support_nested_variables=yes
   2988 else
   2989   am_cv_make_support_nested_variables=no
   2990 fi
   2991 fi
   2992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2993 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   2994 if test $am_cv_make_support_nested_variables = yes; then
   2995     AM_V='$(V)'
   2996   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2997 else
   2998   AM_V=$AM_DEFAULT_VERBOSITY
   2999   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3000 fi
   3001 AM_BACKSLASH='\'
   3002 
   3003 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3004   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3005   # is not polluted with repeated "-I."
   3006   am__isrc=' -I$(srcdir)'
   3007   # test to see if srcdir already configured
   3008   if test -f $srcdir/config.status; then
   3009     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3010   fi
   3011 fi
   3012 
   3013 # test whether we have cygpath
   3014 if test -z "$CYGPATH_W"; then
   3015   if (cygpath --version) >/dev/null 2>/dev/null; then
   3016     CYGPATH_W='cygpath -w'
   3017   else
   3018     CYGPATH_W=echo
   3019   fi
   3020 fi
   3021 
   3022 
   3023 # Define the identity of the package.
   3024  PACKAGE='xgc'
   3025  VERSION='1.0.6'
   3026 
   3027 
   3028 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3029 
   3030 
   3031 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3032 
   3033 # Some tools Automake needs.
   3034 
   3035 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3036 
   3037 
   3038 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3039 
   3040 
   3041 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3042 
   3043 
   3044 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3045 
   3046 
   3047 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3048 
   3049 # For better backward compatibility.  To be removed once Automake 1.9.x
   3050 # dies out for good.  For more background, see:
   3051 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3052 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3053 mkdir_p='$(MKDIR_P)'
   3054 
   3055 # We need awk for the "check" target (and possibly the TAP driver).  The
   3056 # system "awk" is bad on some platforms.
   3057 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3058 # in the wild :-(  We should find a proper way to deprecate it ...
   3059 AMTAR='$${TAR-tar}'
   3060 
   3061 
   3062 # We'll loop over all known methods to create a tar archive until one works.
   3063 _am_tools='gnutar  pax cpio none'
   3064 
   3065 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3066 
   3067 
   3068 
   3069 
   3070 
   3071 # Variables for tags utilities; see am/tags.am
   3072 if test -z "$CTAGS"; then
   3073   CTAGS=ctags
   3074 fi
   3075 
   3076 if test -z "$ETAGS"; then
   3077   ETAGS=etags
   3078 fi
   3079 
   3080 if test -z "$CSCOPE"; then
   3081   CSCOPE=cscope
   3082 fi
   3083 
   3084 
   3085 
   3086 # POSIX will say in a future version that running "rm -f" with no argument
   3087 # is OK; and we want to be able to make that assumption in our Makefile
   3088 # recipes.  So use an aggressive probe to check that the usage we want is
   3089 # actually supported "in the wild" to an acceptable degree.
   3090 # See automake bug#10828.
   3091 # To make any issue more visible, cause the running configure to be aborted
   3092 # by default if the 'rm' program in use doesn't match our expectations; the
   3093 # user can still override this though.
   3094 if rm -f && rm -fr && rm -rf; then : OK; else
   3095   cat >&2 <<'END'
   3096 Oops!
   3097 
   3098 Your 'rm' program seems unable to run without file operands specified
   3099 on the command line, even when the '-f' option is present.  This is contrary
   3100 to the behaviour of most rm programs out there, and not conforming with
   3101 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3102 
   3103 Please tell bug-automake@gnu.org about your system, including the value
   3104 of your $PATH and any error possibly output before this message.  This
   3105 can help us improve future automake versions.
   3106 
   3107 END
   3108   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3109     echo 'Configuration will proceed anyway, since you have set the' >&2
   3110     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3111     echo >&2
   3112   else
   3113     cat >&2 <<'END'
   3114 Aborting the configuration process, to ensure you take notice of the issue.
   3115 
   3116 You can download and install GNU coreutils to get an 'rm' implementation
   3117 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3118 
   3119 If you want to complete the configuration process using your problematic
   3120 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3121 to "yes", and re-run configure.
   3122 
   3123 END
   3124     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3125   fi
   3126 fi
   3127 
   3128 
   3129 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3130 
   3131 
   3132 
   3133 
   3134 
   3135 
   3136 
   3137 
   3138 
   3139 
   3140 
   3141 
   3142 
   3143 
   3144 
   3145 
   3146 
   3147 
   3148 
   3149 
   3150 DEPDIR="${am__leading_dot}deps"
   3151 
   3152 ac_config_commands="$ac_config_commands depfiles"
   3153 
   3154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3155 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3156 cat > confinc.mk << 'END'
   3157 am__doit:
   3158 	@echo this is the am__doit target >confinc.out
   3159 .PHONY: am__doit
   3160 END
   3161 am__include="#"
   3162 am__quote=
   3163 # BSD make does it like this.
   3164 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3165 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3166 echo 'include confinc.mk # ignored' > confmf.GNU
   3167 _am_result=no
   3168 for s in GNU BSD; do
   3169   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3170    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3171    ac_status=$?
   3172    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3173    (exit $ac_status); }
   3174   case $?:`cat confinc.out 2>/dev/null` in #(
   3175   '0:this is the am__doit target') :
   3176     case $s in #(
   3177   BSD) :
   3178     am__include='.include' am__quote='"' ;; #(
   3179   *) :
   3180     am__include='include' am__quote='' ;;
   3181 esac ;; #(
   3182   *) :
   3183      ;;
   3184 esac
   3185   if test "$am__include" != "#"; then
   3186     _am_result="yes ($s style)"
   3187     break
   3188   fi
   3189 done
   3190 rm -f confinc.* confmf.*
   3191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3192 printf "%s\n" "${_am_result}" >&6; }
   3193 
   3194 # Check whether --enable-dependency-tracking was given.
   3195 if test ${enable_dependency_tracking+y}
   3196 then :
   3197   enableval=$enable_dependency_tracking;
   3198 fi
   3199 
   3200 if test "x$enable_dependency_tracking" != xno; then
   3201   am_depcomp="$ac_aux_dir/depcomp"
   3202   AMDEPBACKSLASH='\'
   3203   am__nodep='_no'
   3204 fi
   3205  if test "x$enable_dependency_tracking" != xno; then
   3206   AMDEP_TRUE=
   3207   AMDEP_FALSE='#'
   3208 else
   3209   AMDEP_TRUE='#'
   3210   AMDEP_FALSE=
   3211 fi
   3212 
   3213 
   3214 ac_ext=c
   3215 ac_cpp='$CPP $CPPFLAGS'
   3216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3219 if test -n "$ac_tool_prefix"; then
   3220   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3221 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3223 printf %s "checking for $ac_word... " >&6; }
   3224 if test ${ac_cv_prog_CC+y}
   3225 then :
   3226   printf %s "(cached) " >&6
   3227 else $as_nop
   3228   if test -n "$CC"; then
   3229   ac_cv_prog_CC="$CC" # Let the user override the test.
   3230 else
   3231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3232 for as_dir in $PATH
   3233 do
   3234   IFS=$as_save_IFS
   3235   case $as_dir in #(((
   3236     '') as_dir=./ ;;
   3237     */) ;;
   3238     *) as_dir=$as_dir/ ;;
   3239   esac
   3240     for ac_exec_ext in '' $ac_executable_extensions; do
   3241   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3242     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3243     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3244     break 2
   3245   fi
   3246 done
   3247   done
   3248 IFS=$as_save_IFS
   3249 
   3250 fi
   3251 fi
   3252 CC=$ac_cv_prog_CC
   3253 if test -n "$CC"; then
   3254   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3255 printf "%s\n" "$CC" >&6; }
   3256 else
   3257   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3258 printf "%s\n" "no" >&6; }
   3259 fi
   3260 
   3261 
   3262 fi
   3263 if test -z "$ac_cv_prog_CC"; then
   3264   ac_ct_CC=$CC
   3265   # Extract the first word of "gcc", so it can be a program name with args.
   3266 set dummy gcc; ac_word=$2
   3267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3268 printf %s "checking for $ac_word... " >&6; }
   3269 if test ${ac_cv_prog_ac_ct_CC+y}
   3270 then :
   3271   printf %s "(cached) " >&6
   3272 else $as_nop
   3273   if test -n "$ac_ct_CC"; then
   3274   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3275 else
   3276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3277 for as_dir in $PATH
   3278 do
   3279   IFS=$as_save_IFS
   3280   case $as_dir in #(((
   3281     '') as_dir=./ ;;
   3282     */) ;;
   3283     *) as_dir=$as_dir/ ;;
   3284   esac
   3285     for ac_exec_ext in '' $ac_executable_extensions; do
   3286   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3287     ac_cv_prog_ac_ct_CC="gcc"
   3288     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3289     break 2
   3290   fi
   3291 done
   3292   done
   3293 IFS=$as_save_IFS
   3294 
   3295 fi
   3296 fi
   3297 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3298 if test -n "$ac_ct_CC"; then
   3299   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3300 printf "%s\n" "$ac_ct_CC" >&6; }
   3301 else
   3302   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3303 printf "%s\n" "no" >&6; }
   3304 fi
   3305 
   3306   if test "x$ac_ct_CC" = x; then
   3307     CC=""
   3308   else
   3309     case $cross_compiling:$ac_tool_warned in
   3310 yes:)
   3311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3312 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3313 ac_tool_warned=yes ;;
   3314 esac
   3315     CC=$ac_ct_CC
   3316   fi
   3317 else
   3318   CC="$ac_cv_prog_CC"
   3319 fi
   3320 
   3321 if test -z "$CC"; then
   3322           if test -n "$ac_tool_prefix"; then
   3323     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3324 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3326 printf %s "checking for $ac_word... " >&6; }
   3327 if test ${ac_cv_prog_CC+y}
   3328 then :
   3329   printf %s "(cached) " >&6
   3330 else $as_nop
   3331   if test -n "$CC"; then
   3332   ac_cv_prog_CC="$CC" # Let the user override the test.
   3333 else
   3334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3335 for as_dir in $PATH
   3336 do
   3337   IFS=$as_save_IFS
   3338   case $as_dir in #(((
   3339     '') as_dir=./ ;;
   3340     */) ;;
   3341     *) as_dir=$as_dir/ ;;
   3342   esac
   3343     for ac_exec_ext in '' $ac_executable_extensions; do
   3344   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3345     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3346     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3347     break 2
   3348   fi
   3349 done
   3350   done
   3351 IFS=$as_save_IFS
   3352 
   3353 fi
   3354 fi
   3355 CC=$ac_cv_prog_CC
   3356 if test -n "$CC"; then
   3357   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3358 printf "%s\n" "$CC" >&6; }
   3359 else
   3360   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3361 printf "%s\n" "no" >&6; }
   3362 fi
   3363 
   3364 
   3365   fi
   3366 fi
   3367 if test -z "$CC"; then
   3368   # Extract the first word of "cc", so it can be a program name with args.
   3369 set dummy cc; ac_word=$2
   3370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3371 printf %s "checking for $ac_word... " >&6; }
   3372 if test ${ac_cv_prog_CC+y}
   3373 then :
   3374   printf %s "(cached) " >&6
   3375 else $as_nop
   3376   if test -n "$CC"; then
   3377   ac_cv_prog_CC="$CC" # Let the user override the test.
   3378 else
   3379   ac_prog_rejected=no
   3380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3381 for as_dir in $PATH
   3382 do
   3383   IFS=$as_save_IFS
   3384   case $as_dir in #(((
   3385     '') as_dir=./ ;;
   3386     */) ;;
   3387     *) as_dir=$as_dir/ ;;
   3388   esac
   3389     for ac_exec_ext in '' $ac_executable_extensions; do
   3390   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3391     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3392        ac_prog_rejected=yes
   3393        continue
   3394      fi
   3395     ac_cv_prog_CC="cc"
   3396     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3397     break 2
   3398   fi
   3399 done
   3400   done
   3401 IFS=$as_save_IFS
   3402 
   3403 if test $ac_prog_rejected = yes; then
   3404   # We found a bogon in the path, so make sure we never use it.
   3405   set dummy $ac_cv_prog_CC
   3406   shift
   3407   if test $# != 0; then
   3408     # We chose a different compiler from the bogus one.
   3409     # However, it has the same basename, so the bogon will be chosen
   3410     # first if we set CC to just the basename; use the full file name.
   3411     shift
   3412     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3413   fi
   3414 fi
   3415 fi
   3416 fi
   3417 CC=$ac_cv_prog_CC
   3418 if test -n "$CC"; then
   3419   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3420 printf "%s\n" "$CC" >&6; }
   3421 else
   3422   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3423 printf "%s\n" "no" >&6; }
   3424 fi
   3425 
   3426 
   3427 fi
   3428 if test -z "$CC"; then
   3429   if test -n "$ac_tool_prefix"; then
   3430   for ac_prog in cl.exe
   3431   do
   3432     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3433 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3435 printf %s "checking for $ac_word... " >&6; }
   3436 if test ${ac_cv_prog_CC+y}
   3437 then :
   3438   printf %s "(cached) " >&6
   3439 else $as_nop
   3440   if test -n "$CC"; then
   3441   ac_cv_prog_CC="$CC" # Let the user override the test.
   3442 else
   3443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3444 for as_dir in $PATH
   3445 do
   3446   IFS=$as_save_IFS
   3447   case $as_dir in #(((
   3448     '') as_dir=./ ;;
   3449     */) ;;
   3450     *) as_dir=$as_dir/ ;;
   3451   esac
   3452     for ac_exec_ext in '' $ac_executable_extensions; do
   3453   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3454     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3455     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3456     break 2
   3457   fi
   3458 done
   3459   done
   3460 IFS=$as_save_IFS
   3461 
   3462 fi
   3463 fi
   3464 CC=$ac_cv_prog_CC
   3465 if test -n "$CC"; then
   3466   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3467 printf "%s\n" "$CC" >&6; }
   3468 else
   3469   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3470 printf "%s\n" "no" >&6; }
   3471 fi
   3472 
   3473 
   3474     test -n "$CC" && break
   3475   done
   3476 fi
   3477 if test -z "$CC"; then
   3478   ac_ct_CC=$CC
   3479   for ac_prog in cl.exe
   3480 do
   3481   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3482 set dummy $ac_prog; ac_word=$2
   3483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3484 printf %s "checking for $ac_word... " >&6; }
   3485 if test ${ac_cv_prog_ac_ct_CC+y}
   3486 then :
   3487   printf %s "(cached) " >&6
   3488 else $as_nop
   3489   if test -n "$ac_ct_CC"; then
   3490   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3491 else
   3492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3493 for as_dir in $PATH
   3494 do
   3495   IFS=$as_save_IFS
   3496   case $as_dir in #(((
   3497     '') as_dir=./ ;;
   3498     */) ;;
   3499     *) as_dir=$as_dir/ ;;
   3500   esac
   3501     for ac_exec_ext in '' $ac_executable_extensions; do
   3502   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3503     ac_cv_prog_ac_ct_CC="$ac_prog"
   3504     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3505     break 2
   3506   fi
   3507 done
   3508   done
   3509 IFS=$as_save_IFS
   3510 
   3511 fi
   3512 fi
   3513 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3514 if test -n "$ac_ct_CC"; then
   3515   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3516 printf "%s\n" "$ac_ct_CC" >&6; }
   3517 else
   3518   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3519 printf "%s\n" "no" >&6; }
   3520 fi
   3521 
   3522 
   3523   test -n "$ac_ct_CC" && break
   3524 done
   3525 
   3526   if test "x$ac_ct_CC" = x; then
   3527     CC=""
   3528   else
   3529     case $cross_compiling:$ac_tool_warned in
   3530 yes:)
   3531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3532 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3533 ac_tool_warned=yes ;;
   3534 esac
   3535     CC=$ac_ct_CC
   3536   fi
   3537 fi
   3538 
   3539 fi
   3540 if test -z "$CC"; then
   3541   if test -n "$ac_tool_prefix"; then
   3542   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3543 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3545 printf %s "checking for $ac_word... " >&6; }
   3546 if test ${ac_cv_prog_CC+y}
   3547 then :
   3548   printf %s "(cached) " >&6
   3549 else $as_nop
   3550   if test -n "$CC"; then
   3551   ac_cv_prog_CC="$CC" # Let the user override the test.
   3552 else
   3553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3554 for as_dir in $PATH
   3555 do
   3556   IFS=$as_save_IFS
   3557   case $as_dir in #(((
   3558     '') as_dir=./ ;;
   3559     */) ;;
   3560     *) as_dir=$as_dir/ ;;
   3561   esac
   3562     for ac_exec_ext in '' $ac_executable_extensions; do
   3563   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3564     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3565     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3566     break 2
   3567   fi
   3568 done
   3569   done
   3570 IFS=$as_save_IFS
   3571 
   3572 fi
   3573 fi
   3574 CC=$ac_cv_prog_CC
   3575 if test -n "$CC"; then
   3576   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3577 printf "%s\n" "$CC" >&6; }
   3578 else
   3579   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3580 printf "%s\n" "no" >&6; }
   3581 fi
   3582 
   3583 
   3584 fi
   3585 if test -z "$ac_cv_prog_CC"; then
   3586   ac_ct_CC=$CC
   3587   # Extract the first word of "clang", so it can be a program name with args.
   3588 set dummy clang; ac_word=$2
   3589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3590 printf %s "checking for $ac_word... " >&6; }
   3591 if test ${ac_cv_prog_ac_ct_CC+y}
   3592 then :
   3593   printf %s "(cached) " >&6
   3594 else $as_nop
   3595   if test -n "$ac_ct_CC"; then
   3596   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3597 else
   3598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3599 for as_dir in $PATH
   3600 do
   3601   IFS=$as_save_IFS
   3602   case $as_dir in #(((
   3603     '') as_dir=./ ;;
   3604     */) ;;
   3605     *) as_dir=$as_dir/ ;;
   3606   esac
   3607     for ac_exec_ext in '' $ac_executable_extensions; do
   3608   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3609     ac_cv_prog_ac_ct_CC="clang"
   3610     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3611     break 2
   3612   fi
   3613 done
   3614   done
   3615 IFS=$as_save_IFS
   3616 
   3617 fi
   3618 fi
   3619 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3620 if test -n "$ac_ct_CC"; then
   3621   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3622 printf "%s\n" "$ac_ct_CC" >&6; }
   3623 else
   3624   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3625 printf "%s\n" "no" >&6; }
   3626 fi
   3627 
   3628   if test "x$ac_ct_CC" = x; then
   3629     CC=""
   3630   else
   3631     case $cross_compiling:$ac_tool_warned in
   3632 yes:)
   3633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3634 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3635 ac_tool_warned=yes ;;
   3636 esac
   3637     CC=$ac_ct_CC
   3638   fi
   3639 else
   3640   CC="$ac_cv_prog_CC"
   3641 fi
   3642 
   3643 fi
   3644 
   3645 
   3646 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3647 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3648 as_fn_error $? "no acceptable C compiler found in \$PATH
   3649 See \`config.log' for more details" "$LINENO" 5; }
   3650 
   3651 # Provide some information about the compiler.
   3652 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3653 set X $ac_compile
   3654 ac_compiler=$2
   3655 for ac_option in --version -v -V -qversion -version; do
   3656   { { ac_try="$ac_compiler $ac_option >&5"
   3657 case "(($ac_try" in
   3658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3659   *) ac_try_echo=$ac_try;;
   3660 esac
   3661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3662 printf "%s\n" "$ac_try_echo"; } >&5
   3663   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3664   ac_status=$?
   3665   if test -s conftest.err; then
   3666     sed '10a\
   3667 ... rest of stderr output deleted ...
   3668          10q' conftest.err >conftest.er1
   3669     cat conftest.er1 >&5
   3670   fi
   3671   rm -f conftest.er1 conftest.err
   3672   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3673   test $ac_status = 0; }
   3674 done
   3675 
   3676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3677 /* end confdefs.h.  */
   3678 
   3679 int
   3680 main (void)
   3681 {
   3682 
   3683   ;
   3684   return 0;
   3685 }
   3686 _ACEOF
   3687 ac_clean_files_save=$ac_clean_files
   3688 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3689 # Try to create an executable without -o first, disregard a.out.
   3690 # It will help us diagnose broken compilers, and finding out an intuition
   3691 # of exeext.
   3692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3693 printf %s "checking whether the C compiler works... " >&6; }
   3694 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3695 
   3696 # The possible output files:
   3697 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3698 
   3699 ac_rmfiles=
   3700 for ac_file in $ac_files
   3701 do
   3702   case $ac_file in
   3703     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3704     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3705   esac
   3706 done
   3707 rm -f $ac_rmfiles
   3708 
   3709 if { { ac_try="$ac_link_default"
   3710 case "(($ac_try" in
   3711   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3712   *) ac_try_echo=$ac_try;;
   3713 esac
   3714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3715 printf "%s\n" "$ac_try_echo"; } >&5
   3716   (eval "$ac_link_default") 2>&5
   3717   ac_status=$?
   3718   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3719   test $ac_status = 0; }
   3720 then :
   3721   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3722 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3723 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3724 # so that the user can short-circuit this test for compilers unknown to
   3725 # Autoconf.
   3726 for ac_file in $ac_files ''
   3727 do
   3728   test -f "$ac_file" || continue
   3729   case $ac_file in
   3730     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3731 	;;
   3732     [ab].out )
   3733 	# We found the default executable, but exeext='' is most
   3734 	# certainly right.
   3735 	break;;
   3736     *.* )
   3737 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3738 	then :; else
   3739 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3740 	fi
   3741 	# We set ac_cv_exeext here because the later test for it is not
   3742 	# safe: cross compilers may not add the suffix if given an `-o'
   3743 	# argument, so we may need to know it at that point already.
   3744 	# Even if this section looks crufty: it has the advantage of
   3745 	# actually working.
   3746 	break;;
   3747     * )
   3748 	break;;
   3749   esac
   3750 done
   3751 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3752 
   3753 else $as_nop
   3754   ac_file=''
   3755 fi
   3756 if test -z "$ac_file"
   3757 then :
   3758   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3759 printf "%s\n" "no" >&6; }
   3760 printf "%s\n" "$as_me: failed program was:" >&5
   3761 sed 's/^/| /' conftest.$ac_ext >&5
   3762 
   3763 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3764 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3765 as_fn_error 77 "C compiler cannot create executables
   3766 See \`config.log' for more details" "$LINENO" 5; }
   3767 else $as_nop
   3768   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3769 printf "%s\n" "yes" >&6; }
   3770 fi
   3771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3772 printf %s "checking for C compiler default output file name... " >&6; }
   3773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3774 printf "%s\n" "$ac_file" >&6; }
   3775 ac_exeext=$ac_cv_exeext
   3776 
   3777 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3778 ac_clean_files=$ac_clean_files_save
   3779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3780 printf %s "checking for suffix of executables... " >&6; }
   3781 if { { ac_try="$ac_link"
   3782 case "(($ac_try" in
   3783   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3784   *) ac_try_echo=$ac_try;;
   3785 esac
   3786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3787 printf "%s\n" "$ac_try_echo"; } >&5
   3788   (eval "$ac_link") 2>&5
   3789   ac_status=$?
   3790   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3791   test $ac_status = 0; }
   3792 then :
   3793   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3794 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3795 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3796 # `rm'.
   3797 for ac_file in conftest.exe conftest conftest.*; do
   3798   test -f "$ac_file" || continue
   3799   case $ac_file in
   3800     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3801     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3802 	  break;;
   3803     * ) break;;
   3804   esac
   3805 done
   3806 else $as_nop
   3807   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3808 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3809 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3810 See \`config.log' for more details" "$LINENO" 5; }
   3811 fi
   3812 rm -f conftest conftest$ac_cv_exeext
   3813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3814 printf "%s\n" "$ac_cv_exeext" >&6; }
   3815 
   3816 rm -f conftest.$ac_ext
   3817 EXEEXT=$ac_cv_exeext
   3818 ac_exeext=$EXEEXT
   3819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3820 /* end confdefs.h.  */
   3821 #include <stdio.h>
   3822 int
   3823 main (void)
   3824 {
   3825 FILE *f = fopen ("conftest.out", "w");
   3826  return ferror (f) || fclose (f) != 0;
   3827 
   3828   ;
   3829   return 0;
   3830 }
   3831 _ACEOF
   3832 ac_clean_files="$ac_clean_files conftest.out"
   3833 # Check that the compiler produces executables we can run.  If not, either
   3834 # the compiler is broken, or we cross compile.
   3835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3836 printf %s "checking whether we are cross compiling... " >&6; }
   3837 if test "$cross_compiling" != yes; then
   3838   { { ac_try="$ac_link"
   3839 case "(($ac_try" in
   3840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3841   *) ac_try_echo=$ac_try;;
   3842 esac
   3843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3844 printf "%s\n" "$ac_try_echo"; } >&5
   3845   (eval "$ac_link") 2>&5
   3846   ac_status=$?
   3847   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3848   test $ac_status = 0; }
   3849   if { ac_try='./conftest$ac_cv_exeext'
   3850   { { case "(($ac_try" in
   3851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3852   *) ac_try_echo=$ac_try;;
   3853 esac
   3854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3855 printf "%s\n" "$ac_try_echo"; } >&5
   3856   (eval "$ac_try") 2>&5
   3857   ac_status=$?
   3858   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3859   test $ac_status = 0; }; }; then
   3860     cross_compiling=no
   3861   else
   3862     if test "$cross_compiling" = maybe; then
   3863 	cross_compiling=yes
   3864     else
   3865 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3866 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3867 as_fn_error 77 "cannot run C compiled programs.
   3868 If you meant to cross compile, use \`--host'.
   3869 See \`config.log' for more details" "$LINENO" 5; }
   3870     fi
   3871   fi
   3872 fi
   3873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3874 printf "%s\n" "$cross_compiling" >&6; }
   3875 
   3876 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3877 ac_clean_files=$ac_clean_files_save
   3878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3879 printf %s "checking for suffix of object files... " >&6; }
   3880 if test ${ac_cv_objext+y}
   3881 then :
   3882   printf %s "(cached) " >&6
   3883 else $as_nop
   3884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3885 /* end confdefs.h.  */
   3886 
   3887 int
   3888 main (void)
   3889 {
   3890 
   3891   ;
   3892   return 0;
   3893 }
   3894 _ACEOF
   3895 rm -f conftest.o conftest.obj
   3896 if { { ac_try="$ac_compile"
   3897 case "(($ac_try" in
   3898   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3899   *) ac_try_echo=$ac_try;;
   3900 esac
   3901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3902 printf "%s\n" "$ac_try_echo"; } >&5
   3903   (eval "$ac_compile") 2>&5
   3904   ac_status=$?
   3905   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3906   test $ac_status = 0; }
   3907 then :
   3908   for ac_file in conftest.o conftest.obj conftest.*; do
   3909   test -f "$ac_file" || continue;
   3910   case $ac_file in
   3911     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3912     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3913        break;;
   3914   esac
   3915 done
   3916 else $as_nop
   3917   printf "%s\n" "$as_me: failed program was:" >&5
   3918 sed 's/^/| /' conftest.$ac_ext >&5
   3919 
   3920 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3921 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3922 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3923 See \`config.log' for more details" "$LINENO" 5; }
   3924 fi
   3925 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3926 fi
   3927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3928 printf "%s\n" "$ac_cv_objext" >&6; }
   3929 OBJEXT=$ac_cv_objext
   3930 ac_objext=$OBJEXT
   3931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3932 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3933 if test ${ac_cv_c_compiler_gnu+y}
   3934 then :
   3935   printf %s "(cached) " >&6
   3936 else $as_nop
   3937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3938 /* end confdefs.h.  */
   3939 
   3940 int
   3941 main (void)
   3942 {
   3943 #ifndef __GNUC__
   3944        choke me
   3945 #endif
   3946 
   3947   ;
   3948   return 0;
   3949 }
   3950 _ACEOF
   3951 if ac_fn_c_try_compile "$LINENO"
   3952 then :
   3953   ac_compiler_gnu=yes
   3954 else $as_nop
   3955   ac_compiler_gnu=no
   3956 fi
   3957 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3958 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3959 
   3960 fi
   3961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3962 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3964 
   3965 if test $ac_compiler_gnu = yes; then
   3966   GCC=yes
   3967 else
   3968   GCC=
   3969 fi
   3970 ac_test_CFLAGS=${CFLAGS+y}
   3971 ac_save_CFLAGS=$CFLAGS
   3972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3973 printf %s "checking whether $CC accepts -g... " >&6; }
   3974 if test ${ac_cv_prog_cc_g+y}
   3975 then :
   3976   printf %s "(cached) " >&6
   3977 else $as_nop
   3978   ac_save_c_werror_flag=$ac_c_werror_flag
   3979    ac_c_werror_flag=yes
   3980    ac_cv_prog_cc_g=no
   3981    CFLAGS="-g"
   3982    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3983 /* end confdefs.h.  */
   3984 
   3985 int
   3986 main (void)
   3987 {
   3988 
   3989   ;
   3990   return 0;
   3991 }
   3992 _ACEOF
   3993 if ac_fn_c_try_compile "$LINENO"
   3994 then :
   3995   ac_cv_prog_cc_g=yes
   3996 else $as_nop
   3997   CFLAGS=""
   3998       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3999 /* end confdefs.h.  */
   4000 
   4001 int
   4002 main (void)
   4003 {
   4004 
   4005   ;
   4006   return 0;
   4007 }
   4008 _ACEOF
   4009 if ac_fn_c_try_compile "$LINENO"
   4010 then :
   4011 
   4012 else $as_nop
   4013   ac_c_werror_flag=$ac_save_c_werror_flag
   4014 	 CFLAGS="-g"
   4015 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4016 /* end confdefs.h.  */
   4017 
   4018 int
   4019 main (void)
   4020 {
   4021 
   4022   ;
   4023   return 0;
   4024 }
   4025 _ACEOF
   4026 if ac_fn_c_try_compile "$LINENO"
   4027 then :
   4028   ac_cv_prog_cc_g=yes
   4029 fi
   4030 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4031 fi
   4032 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4033 fi
   4034 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4035    ac_c_werror_flag=$ac_save_c_werror_flag
   4036 fi
   4037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4038 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4039 if test $ac_test_CFLAGS; then
   4040   CFLAGS=$ac_save_CFLAGS
   4041 elif test $ac_cv_prog_cc_g = yes; then
   4042   if test "$GCC" = yes; then
   4043     CFLAGS="-g -O2"
   4044   else
   4045     CFLAGS="-g"
   4046   fi
   4047 else
   4048   if test "$GCC" = yes; then
   4049     CFLAGS="-O2"
   4050   else
   4051     CFLAGS=
   4052   fi
   4053 fi
   4054 ac_prog_cc_stdc=no
   4055 if test x$ac_prog_cc_stdc = xno
   4056 then :
   4057   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4058 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4059 if test ${ac_cv_prog_cc_c11+y}
   4060 then :
   4061   printf %s "(cached) " >&6
   4062 else $as_nop
   4063   ac_cv_prog_cc_c11=no
   4064 ac_save_CC=$CC
   4065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4066 /* end confdefs.h.  */
   4067 $ac_c_conftest_c11_program
   4068 _ACEOF
   4069 for ac_arg in '' -std=gnu11
   4070 do
   4071   CC="$ac_save_CC $ac_arg"
   4072   if ac_fn_c_try_compile "$LINENO"
   4073 then :
   4074   ac_cv_prog_cc_c11=$ac_arg
   4075 fi
   4076 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4077   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4078 done
   4079 rm -f conftest.$ac_ext
   4080 CC=$ac_save_CC
   4081 fi
   4082 
   4083 if test "x$ac_cv_prog_cc_c11" = xno
   4084 then :
   4085   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4086 printf "%s\n" "unsupported" >&6; }
   4087 else $as_nop
   4088   if test "x$ac_cv_prog_cc_c11" = x
   4089 then :
   4090   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4091 printf "%s\n" "none needed" >&6; }
   4092 else $as_nop
   4093   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4094 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4095      CC="$CC $ac_cv_prog_cc_c11"
   4096 fi
   4097   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4098   ac_prog_cc_stdc=c11
   4099 fi
   4100 fi
   4101 if test x$ac_prog_cc_stdc = xno
   4102 then :
   4103   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4104 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4105 if test ${ac_cv_prog_cc_c99+y}
   4106 then :
   4107   printf %s "(cached) " >&6
   4108 else $as_nop
   4109   ac_cv_prog_cc_c99=no
   4110 ac_save_CC=$CC
   4111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4112 /* end confdefs.h.  */
   4113 $ac_c_conftest_c99_program
   4114 _ACEOF
   4115 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4116 do
   4117   CC="$ac_save_CC $ac_arg"
   4118   if ac_fn_c_try_compile "$LINENO"
   4119 then :
   4120   ac_cv_prog_cc_c99=$ac_arg
   4121 fi
   4122 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4123   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4124 done
   4125 rm -f conftest.$ac_ext
   4126 CC=$ac_save_CC
   4127 fi
   4128 
   4129 if test "x$ac_cv_prog_cc_c99" = xno
   4130 then :
   4131   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4132 printf "%s\n" "unsupported" >&6; }
   4133 else $as_nop
   4134   if test "x$ac_cv_prog_cc_c99" = x
   4135 then :
   4136   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4137 printf "%s\n" "none needed" >&6; }
   4138 else $as_nop
   4139   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4140 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4141      CC="$CC $ac_cv_prog_cc_c99"
   4142 fi
   4143   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4144   ac_prog_cc_stdc=c99
   4145 fi
   4146 fi
   4147 if test x$ac_prog_cc_stdc = xno
   4148 then :
   4149   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4150 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4151 if test ${ac_cv_prog_cc_c89+y}
   4152 then :
   4153   printf %s "(cached) " >&6
   4154 else $as_nop
   4155   ac_cv_prog_cc_c89=no
   4156 ac_save_CC=$CC
   4157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4158 /* end confdefs.h.  */
   4159 $ac_c_conftest_c89_program
   4160 _ACEOF
   4161 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4162 do
   4163   CC="$ac_save_CC $ac_arg"
   4164   if ac_fn_c_try_compile "$LINENO"
   4165 then :
   4166   ac_cv_prog_cc_c89=$ac_arg
   4167 fi
   4168 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4169   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4170 done
   4171 rm -f conftest.$ac_ext
   4172 CC=$ac_save_CC
   4173 fi
   4174 
   4175 if test "x$ac_cv_prog_cc_c89" = xno
   4176 then :
   4177   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4178 printf "%s\n" "unsupported" >&6; }
   4179 else $as_nop
   4180   if test "x$ac_cv_prog_cc_c89" = x
   4181 then :
   4182   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4183 printf "%s\n" "none needed" >&6; }
   4184 else $as_nop
   4185   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4186 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4187      CC="$CC $ac_cv_prog_cc_c89"
   4188 fi
   4189   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4190   ac_prog_cc_stdc=c89
   4191 fi
   4192 fi
   4193 
   4194 ac_ext=c
   4195 ac_cpp='$CPP $CPPFLAGS'
   4196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4199 
   4200 
   4201   ac_ext=c
   4202 ac_cpp='$CPP $CPPFLAGS'
   4203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4207 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4208 if test ${am_cv_prog_cc_c_o+y}
   4209 then :
   4210   printf %s "(cached) " >&6
   4211 else $as_nop
   4212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4213 /* end confdefs.h.  */
   4214 
   4215 int
   4216 main (void)
   4217 {
   4218 
   4219   ;
   4220   return 0;
   4221 }
   4222 _ACEOF
   4223   # Make sure it works both with $CC and with simple cc.
   4224   # Following AC_PROG_CC_C_O, we do the test twice because some
   4225   # compilers refuse to overwrite an existing .o file with -o,
   4226   # though they will create one.
   4227   am_cv_prog_cc_c_o=yes
   4228   for am_i in 1 2; do
   4229     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4230    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4231    ac_status=$?
   4232    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4233    (exit $ac_status); } \
   4234          && test -f conftest2.$ac_objext; then
   4235       : OK
   4236     else
   4237       am_cv_prog_cc_c_o=no
   4238       break
   4239     fi
   4240   done
   4241   rm -f core conftest*
   4242   unset am_i
   4243 fi
   4244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4245 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4246 if test "$am_cv_prog_cc_c_o" != yes; then
   4247    # Losing compiler, so override with the script.
   4248    # FIXME: It is wrong to rewrite CC.
   4249    # But if we don't then we get into trouble of one sort or another.
   4250    # A longer-term fix would be to have automake use am__CC in this case,
   4251    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4252    CC="$am_aux_dir/compile $CC"
   4253 fi
   4254 ac_ext=c
   4255 ac_cpp='$CPP $CPPFLAGS'
   4256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4259 
   4260 
   4261 depcc="$CC"   am_compiler_list=
   4262 
   4263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4264 printf %s "checking dependency style of $depcc... " >&6; }
   4265 if test ${am_cv_CC_dependencies_compiler_type+y}
   4266 then :
   4267   printf %s "(cached) " >&6
   4268 else $as_nop
   4269   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4270   # We make a subdir and do the tests there.  Otherwise we can end up
   4271   # making bogus files that we don't know about and never remove.  For
   4272   # instance it was reported that on HP-UX the gcc test will end up
   4273   # making a dummy file named 'D' -- because '-MD' means "put the output
   4274   # in D".
   4275   rm -rf conftest.dir
   4276   mkdir conftest.dir
   4277   # Copy depcomp to subdir because otherwise we won't find it if we're
   4278   # using a relative directory.
   4279   cp "$am_depcomp" conftest.dir
   4280   cd conftest.dir
   4281   # We will build objects and dependencies in a subdirectory because
   4282   # it helps to detect inapplicable dependency modes.  For instance
   4283   # both Tru64's cc and ICC support -MD to output dependencies as a
   4284   # side effect of compilation, but ICC will put the dependencies in
   4285   # the current directory while Tru64 will put them in the object
   4286   # directory.
   4287   mkdir sub
   4288 
   4289   am_cv_CC_dependencies_compiler_type=none
   4290   if test "$am_compiler_list" = ""; then
   4291      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4292   fi
   4293   am__universal=false
   4294   case " $depcc " in #(
   4295      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4296      esac
   4297 
   4298   for depmode in $am_compiler_list; do
   4299     # Setup a source with many dependencies, because some compilers
   4300     # like to wrap large dependency lists on column 80 (with \), and
   4301     # we should not choose a depcomp mode which is confused by this.
   4302     #
   4303     # We need to recreate these files for each test, as the compiler may
   4304     # overwrite some of them when testing with obscure command lines.
   4305     # This happens at least with the AIX C compiler.
   4306     : > sub/conftest.c
   4307     for i in 1 2 3 4 5 6; do
   4308       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4309       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4310       # Solaris 10 /bin/sh.
   4311       echo '/* dummy */' > sub/conftst$i.h
   4312     done
   4313     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4314 
   4315     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4316     # mode.  It turns out that the SunPro C++ compiler does not properly
   4317     # handle '-M -o', and we need to detect this.  Also, some Intel
   4318     # versions had trouble with output in subdirs.
   4319     am__obj=sub/conftest.${OBJEXT-o}
   4320     am__minus_obj="-o $am__obj"
   4321     case $depmode in
   4322     gcc)
   4323       # This depmode causes a compiler race in universal mode.
   4324       test "$am__universal" = false || continue
   4325       ;;
   4326     nosideeffect)
   4327       # After this tag, mechanisms are not by side-effect, so they'll
   4328       # only be used when explicitly requested.
   4329       if test "x$enable_dependency_tracking" = xyes; then
   4330 	continue
   4331       else
   4332 	break
   4333       fi
   4334       ;;
   4335     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4336       # This compiler won't grok '-c -o', but also, the minuso test has
   4337       # not run yet.  These depmodes are late enough in the game, and
   4338       # so weak that their functioning should not be impacted.
   4339       am__obj=conftest.${OBJEXT-o}
   4340       am__minus_obj=
   4341       ;;
   4342     none) break ;;
   4343     esac
   4344     if depmode=$depmode \
   4345        source=sub/conftest.c object=$am__obj \
   4346        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4347        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4348          >/dev/null 2>conftest.err &&
   4349        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4350        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4351        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4352        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4353       # icc doesn't choke on unknown options, it will just issue warnings
   4354       # or remarks (even with -Werror).  So we grep stderr for any message
   4355       # that says an option was ignored or not supported.
   4356       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4357       #   icc: Command line warning: ignoring option '-M'; no argument required
   4358       # The diagnosis changed in icc 8.0:
   4359       #   icc: Command line remark: option '-MP' not supported
   4360       if (grep 'ignoring option' conftest.err ||
   4361           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4362         am_cv_CC_dependencies_compiler_type=$depmode
   4363         break
   4364       fi
   4365     fi
   4366   done
   4367 
   4368   cd ..
   4369   rm -rf conftest.dir
   4370 else
   4371   am_cv_CC_dependencies_compiler_type=none
   4372 fi
   4373 
   4374 fi
   4375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4376 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4377 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4378 
   4379  if
   4380   test "x$enable_dependency_tracking" != xno \
   4381   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4382   am__fastdepCC_TRUE=
   4383   am__fastdepCC_FALSE='#'
   4384 else
   4385   am__fastdepCC_TRUE='#'
   4386   am__fastdepCC_FALSE=
   4387 fi
   4388 
   4389 
   4390 
   4391 
   4392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4393 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4394 if test ${ac_cv_c_undeclared_builtin_options+y}
   4395 then :
   4396   printf %s "(cached) " >&6
   4397 else $as_nop
   4398   ac_save_CFLAGS=$CFLAGS
   4399    ac_cv_c_undeclared_builtin_options='cannot detect'
   4400    for ac_arg in '' -fno-builtin; do
   4401      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4402      # This test program should *not* compile successfully.
   4403      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4404 /* end confdefs.h.  */
   4405 
   4406 int
   4407 main (void)
   4408 {
   4409 (void) strchr;
   4410   ;
   4411   return 0;
   4412 }
   4413 _ACEOF
   4414 if ac_fn_c_try_compile "$LINENO"
   4415 then :
   4416 
   4417 else $as_nop
   4418   # This test program should compile successfully.
   4419         # No library function is consistently available on
   4420         # freestanding implementations, so test against a dummy
   4421         # declaration.  Include always-available headers on the
   4422         # off chance that they somehow elicit warnings.
   4423         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4424 /* end confdefs.h.  */
   4425 #include <float.h>
   4426 #include <limits.h>
   4427 #include <stdarg.h>
   4428 #include <stddef.h>
   4429 extern void ac_decl (int, char *);
   4430 
   4431 int
   4432 main (void)
   4433 {
   4434 (void) ac_decl (0, (char *) 0);
   4435   (void) ac_decl;
   4436 
   4437   ;
   4438   return 0;
   4439 }
   4440 _ACEOF
   4441 if ac_fn_c_try_compile "$LINENO"
   4442 then :
   4443   if test x"$ac_arg" = x
   4444 then :
   4445   ac_cv_c_undeclared_builtin_options='none needed'
   4446 else $as_nop
   4447   ac_cv_c_undeclared_builtin_options=$ac_arg
   4448 fi
   4449           break
   4450 fi
   4451 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4452 fi
   4453 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4454     done
   4455     CFLAGS=$ac_save_CFLAGS
   4456 
   4457 fi
   4458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4459 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4460   case $ac_cv_c_undeclared_builtin_options in #(
   4461   'cannot detect') :
   4462     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4463 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4464 as_fn_error $? "cannot make $CC report undeclared builtins
   4465 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   4466   'none needed') :
   4467     ac_c_undeclared_builtin_options='' ;; #(
   4468   *) :
   4469     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4470 esac
   4471 
   4472 ac_header= ac_cache=
   4473 for ac_item in $ac_header_c_list
   4474 do
   4475   if test $ac_cache; then
   4476     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4477     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4478       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4479     fi
   4480     ac_header= ac_cache=
   4481   elif test $ac_header; then
   4482     ac_cache=$ac_item
   4483   else
   4484     ac_header=$ac_item
   4485   fi
   4486 done
   4487 
   4488 
   4489 
   4490 
   4491 
   4492 
   4493 
   4494 
   4495 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4496 then :
   4497 
   4498 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4499 
   4500 fi
   4501 
   4502 
   4503 
   4504 
   4505 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4506 if test "x$ac_cv_have_decl___clang__" = xyes
   4507 then :
   4508   CLANGCC="yes"
   4509 else $as_nop
   4510   CLANGCC="no"
   4511 fi
   4512 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4513 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4514 then :
   4515   INTELCC="yes"
   4516 else $as_nop
   4517   INTELCC="no"
   4518 fi
   4519 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4520 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4521 then :
   4522   SUNCC="yes"
   4523 else $as_nop
   4524   SUNCC="no"
   4525 fi
   4526 
   4527 
   4528 
   4529 
   4530 
   4531 
   4532 
   4533 
   4534 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4535 	if test -n "$ac_tool_prefix"; then
   4536   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4537 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4539 printf %s "checking for $ac_word... " >&6; }
   4540 if test ${ac_cv_path_PKG_CONFIG+y}
   4541 then :
   4542   printf %s "(cached) " >&6
   4543 else $as_nop
   4544   case $PKG_CONFIG in
   4545   [\\/]* | ?:[\\/]*)
   4546   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4547   ;;
   4548   *)
   4549   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4550 for as_dir in $PATH
   4551 do
   4552   IFS=$as_save_IFS
   4553   case $as_dir in #(((
   4554     '') as_dir=./ ;;
   4555     */) ;;
   4556     *) as_dir=$as_dir/ ;;
   4557   esac
   4558     for ac_exec_ext in '' $ac_executable_extensions; do
   4559   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4560     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4561     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4562     break 2
   4563   fi
   4564 done
   4565   done
   4566 IFS=$as_save_IFS
   4567 
   4568   ;;
   4569 esac
   4570 fi
   4571 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4572 if test -n "$PKG_CONFIG"; then
   4573   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4574 printf "%s\n" "$PKG_CONFIG" >&6; }
   4575 else
   4576   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4577 printf "%s\n" "no" >&6; }
   4578 fi
   4579 
   4580 
   4581 fi
   4582 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4583   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4584   # Extract the first word of "pkg-config", so it can be a program name with args.
   4585 set dummy pkg-config; ac_word=$2
   4586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4587 printf %s "checking for $ac_word... " >&6; }
   4588 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4589 then :
   4590   printf %s "(cached) " >&6
   4591 else $as_nop
   4592   case $ac_pt_PKG_CONFIG in
   4593   [\\/]* | ?:[\\/]*)
   4594   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4595   ;;
   4596   *)
   4597   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4598 for as_dir in $PATH
   4599 do
   4600   IFS=$as_save_IFS
   4601   case $as_dir in #(((
   4602     '') as_dir=./ ;;
   4603     */) ;;
   4604     *) as_dir=$as_dir/ ;;
   4605   esac
   4606     for ac_exec_ext in '' $ac_executable_extensions; do
   4607   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4608     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4609     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4610     break 2
   4611   fi
   4612 done
   4613   done
   4614 IFS=$as_save_IFS
   4615 
   4616   ;;
   4617 esac
   4618 fi
   4619 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4620 if test -n "$ac_pt_PKG_CONFIG"; then
   4621   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4622 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4623 else
   4624   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4625 printf "%s\n" "no" >&6; }
   4626 fi
   4627 
   4628   if test "x$ac_pt_PKG_CONFIG" = x; then
   4629     PKG_CONFIG=""
   4630   else
   4631     case $cross_compiling:$ac_tool_warned in
   4632 yes:)
   4633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4634 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4635 ac_tool_warned=yes ;;
   4636 esac
   4637     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4638   fi
   4639 else
   4640   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4641 fi
   4642 
   4643 fi
   4644 if test -n "$PKG_CONFIG"; then
   4645 	_pkg_min_version=0.9.0
   4646 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4647 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4648 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4649 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4650 printf "%s\n" "yes" >&6; }
   4651 	else
   4652 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4653 printf "%s\n" "no" >&6; }
   4654 		PKG_CONFIG=""
   4655 	fi
   4656 fi
   4657 
   4658 
   4659   # Make sure we can run config.sub.
   4660 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4661   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4662 
   4663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4664 printf %s "checking build system type... " >&6; }
   4665 if test ${ac_cv_build+y}
   4666 then :
   4667   printf %s "(cached) " >&6
   4668 else $as_nop
   4669   ac_build_alias=$build_alias
   4670 test "x$ac_build_alias" = x &&
   4671   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4672 test "x$ac_build_alias" = x &&
   4673   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4674 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4675   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4676 
   4677 fi
   4678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4679 printf "%s\n" "$ac_cv_build" >&6; }
   4680 case $ac_cv_build in
   4681 *-*-*) ;;
   4682 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4683 esac
   4684 build=$ac_cv_build
   4685 ac_save_IFS=$IFS; IFS='-'
   4686 set x $ac_cv_build
   4687 shift
   4688 build_cpu=$1
   4689 build_vendor=$2
   4690 shift; shift
   4691 # Remember, the first character of IFS is used to create $*,
   4692 # except with old shells:
   4693 build_os=$*
   4694 IFS=$ac_save_IFS
   4695 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4696 
   4697 
   4698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4699 printf %s "checking host system type... " >&6; }
   4700 if test ${ac_cv_host+y}
   4701 then :
   4702   printf %s "(cached) " >&6
   4703 else $as_nop
   4704   if test "x$host_alias" = x; then
   4705   ac_cv_host=$ac_cv_build
   4706 else
   4707   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4708     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4709 fi
   4710 
   4711 fi
   4712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4713 printf "%s\n" "$ac_cv_host" >&6; }
   4714 case $ac_cv_host in
   4715 *-*-*) ;;
   4716 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4717 esac
   4718 host=$ac_cv_host
   4719 ac_save_IFS=$IFS; IFS='-'
   4720 set x $ac_cv_host
   4721 shift
   4722 host_cpu=$1
   4723 host_vendor=$2
   4724 shift; shift
   4725 # Remember, the first character of IFS is used to create $*,
   4726 # except with old shells:
   4727 host_os=$*
   4728 IFS=$ac_save_IFS
   4729 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4730 
   4731 
   4732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4733 printf %s "checking for a sed that does not truncate output... " >&6; }
   4734 if test ${ac_cv_path_SED+y}
   4735 then :
   4736   printf %s "(cached) " >&6
   4737 else $as_nop
   4738             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4739      for ac_i in 1 2 3 4 5 6 7; do
   4740        ac_script="$ac_script$as_nl$ac_script"
   4741      done
   4742      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4743      { ac_script=; unset ac_script;}
   4744      if test -z "$SED"; then
   4745   ac_path_SED_found=false
   4746   # Loop through the user's path and test for each of PROGNAME-LIST
   4747   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4748 for as_dir in $PATH
   4749 do
   4750   IFS=$as_save_IFS
   4751   case $as_dir in #(((
   4752     '') as_dir=./ ;;
   4753     */) ;;
   4754     *) as_dir=$as_dir/ ;;
   4755   esac
   4756     for ac_prog in sed gsed
   4757    do
   4758     for ac_exec_ext in '' $ac_executable_extensions; do
   4759       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4760       as_fn_executable_p "$ac_path_SED" || continue
   4761 # Check for GNU ac_path_SED and select it if it is found.
   4762   # Check for GNU $ac_path_SED
   4763 case `"$ac_path_SED" --version 2>&1` in
   4764 *GNU*)
   4765   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4766 *)
   4767   ac_count=0
   4768   printf %s 0123456789 >"conftest.in"
   4769   while :
   4770   do
   4771     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4772     mv "conftest.tmp" "conftest.in"
   4773     cp "conftest.in" "conftest.nl"
   4774     printf "%s\n" '' >> "conftest.nl"
   4775     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4776     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4777     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4778     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4779       # Best one so far, save it but keep looking for a better one
   4780       ac_cv_path_SED="$ac_path_SED"
   4781       ac_path_SED_max=$ac_count
   4782     fi
   4783     # 10*(2^10) chars as input seems more than enough
   4784     test $ac_count -gt 10 && break
   4785   done
   4786   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4787 esac
   4788 
   4789       $ac_path_SED_found && break 3
   4790     done
   4791   done
   4792   done
   4793 IFS=$as_save_IFS
   4794   if test -z "$ac_cv_path_SED"; then
   4795     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4796   fi
   4797 else
   4798   ac_cv_path_SED=$SED
   4799 fi
   4800 
   4801 fi
   4802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4803 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4804  SED="$ac_cv_path_SED"
   4805   rm -f conftest.sed
   4806 
   4807 
   4808 
   4809 
   4810 
   4811 
   4812 # Check whether --enable-selective-werror was given.
   4813 if test ${enable_selective_werror+y}
   4814 then :
   4815   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4816 else $as_nop
   4817   SELECTIVE_WERROR=yes
   4818 fi
   4819 
   4820 
   4821 
   4822 
   4823 
   4824 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4825 if test "x$SUNCC" = "xyes"; then
   4826     BASE_CFLAGS="-v"
   4827 else
   4828     BASE_CFLAGS=""
   4829 fi
   4830 
   4831 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4832 
   4833 
   4834 
   4835 
   4836 
   4837 
   4838 
   4839 
   4840 
   4841 
   4842 
   4843 
   4844 
   4845 xorg_testset_save_CFLAGS="$CFLAGS"
   4846 
   4847 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4848 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4849 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4850 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4851 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4852 then :
   4853   printf %s "(cached) " >&6
   4854 else $as_nop
   4855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4856 /* end confdefs.h.  */
   4857 int i;
   4858 _ACEOF
   4859 if ac_fn_c_try_compile "$LINENO"
   4860 then :
   4861   xorg_cv_cc_flag_unknown_warning_option=yes
   4862 else $as_nop
   4863   xorg_cv_cc_flag_unknown_warning_option=no
   4864 fi
   4865 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4866 fi
   4867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4868 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4869 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4870 	CFLAGS="$xorg_testset_save_CFLAGS"
   4871 fi
   4872 
   4873 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4874 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4875 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4876 	fi
   4877 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4878 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4879 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4880 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   4881 then :
   4882   printf %s "(cached) " >&6
   4883 else $as_nop
   4884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4885 /* end confdefs.h.  */
   4886 int i;
   4887 _ACEOF
   4888 if ac_fn_c_try_compile "$LINENO"
   4889 then :
   4890   xorg_cv_cc_flag_unused_command_line_argument=yes
   4891 else $as_nop
   4892   xorg_cv_cc_flag_unused_command_line_argument=no
   4893 fi
   4894 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4895 fi
   4896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4897 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4898 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4899 	CFLAGS="$xorg_testset_save_CFLAGS"
   4900 fi
   4901 
   4902 found="no"
   4903 
   4904 	if test $found = "no" ; then
   4905 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4906 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4907 		fi
   4908 
   4909 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4910 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4911 		fi
   4912 
   4913 		CFLAGS="$CFLAGS -Wall"
   4914 
   4915 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4916 printf %s "checking if $CC supports -Wall... " >&6; }
   4917 		cacheid=xorg_cv_cc_flag__Wall
   4918 		if eval test \${$cacheid+y}
   4919 then :
   4920   printf %s "(cached) " >&6
   4921 else $as_nop
   4922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4923 /* end confdefs.h.  */
   4924 int i;
   4925 int
   4926 main (void)
   4927 {
   4928 
   4929   ;
   4930   return 0;
   4931 }
   4932 _ACEOF
   4933 if ac_fn_c_try_link "$LINENO"
   4934 then :
   4935   eval $cacheid=yes
   4936 else $as_nop
   4937   eval $cacheid=no
   4938 fi
   4939 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   4940     conftest$ac_exeext conftest.$ac_ext
   4941 fi
   4942 
   4943 
   4944 		CFLAGS="$xorg_testset_save_CFLAGS"
   4945 
   4946 		eval supported=\$$cacheid
   4947 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4948 printf "%s\n" "$supported" >&6; }
   4949 		if test "$supported" = "yes" ; then
   4950 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4951 			found="yes"
   4952 		fi
   4953 	fi
   4954 
   4955 
   4956 
   4957 
   4958 
   4959 
   4960 
   4961 
   4962 
   4963 
   4964 
   4965 
   4966 
   4967 
   4968 
   4969 xorg_testset_save_CFLAGS="$CFLAGS"
   4970 
   4971 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4972 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4973 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4974 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4975 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4976 then :
   4977   printf %s "(cached) " >&6
   4978 else $as_nop
   4979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4980 /* end confdefs.h.  */
   4981 int i;
   4982 _ACEOF
   4983 if ac_fn_c_try_compile "$LINENO"
   4984 then :
   4985   xorg_cv_cc_flag_unknown_warning_option=yes
   4986 else $as_nop
   4987   xorg_cv_cc_flag_unknown_warning_option=no
   4988 fi
   4989 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4990 fi
   4991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4992 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4993 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4994 	CFLAGS="$xorg_testset_save_CFLAGS"
   4995 fi
   4996 
   4997 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4998 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4999 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5000 	fi
   5001 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5002 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5003 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5004 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5005 then :
   5006   printf %s "(cached) " >&6
   5007 else $as_nop
   5008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5009 /* end confdefs.h.  */
   5010 int i;
   5011 _ACEOF
   5012 if ac_fn_c_try_compile "$LINENO"
   5013 then :
   5014   xorg_cv_cc_flag_unused_command_line_argument=yes
   5015 else $as_nop
   5016   xorg_cv_cc_flag_unused_command_line_argument=no
   5017 fi
   5018 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5019 fi
   5020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5021 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5022 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5023 	CFLAGS="$xorg_testset_save_CFLAGS"
   5024 fi
   5025 
   5026 found="no"
   5027 
   5028 	if test $found = "no" ; then
   5029 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5030 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5031 		fi
   5032 
   5033 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5034 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5035 		fi
   5036 
   5037 		CFLAGS="$CFLAGS -Wpointer-arith"
   5038 
   5039 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5040 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5041 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5042 		if eval test \${$cacheid+y}
   5043 then :
   5044   printf %s "(cached) " >&6
   5045 else $as_nop
   5046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5047 /* end confdefs.h.  */
   5048 int i;
   5049 int
   5050 main (void)
   5051 {
   5052 
   5053   ;
   5054   return 0;
   5055 }
   5056 _ACEOF
   5057 if ac_fn_c_try_link "$LINENO"
   5058 then :
   5059   eval $cacheid=yes
   5060 else $as_nop
   5061   eval $cacheid=no
   5062 fi
   5063 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5064     conftest$ac_exeext conftest.$ac_ext
   5065 fi
   5066 
   5067 
   5068 		CFLAGS="$xorg_testset_save_CFLAGS"
   5069 
   5070 		eval supported=\$$cacheid
   5071 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5072 printf "%s\n" "$supported" >&6; }
   5073 		if test "$supported" = "yes" ; then
   5074 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5075 			found="yes"
   5076 		fi
   5077 	fi
   5078 
   5079 
   5080 
   5081 
   5082 
   5083 
   5084 
   5085 
   5086 
   5087 
   5088 
   5089 
   5090 
   5091 
   5092 
   5093 xorg_testset_save_CFLAGS="$CFLAGS"
   5094 
   5095 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5096 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5097 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5098 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5099 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5100 then :
   5101   printf %s "(cached) " >&6
   5102 else $as_nop
   5103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5104 /* end confdefs.h.  */
   5105 int i;
   5106 _ACEOF
   5107 if ac_fn_c_try_compile "$LINENO"
   5108 then :
   5109   xorg_cv_cc_flag_unknown_warning_option=yes
   5110 else $as_nop
   5111   xorg_cv_cc_flag_unknown_warning_option=no
   5112 fi
   5113 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5114 fi
   5115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5116 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5117 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5118 	CFLAGS="$xorg_testset_save_CFLAGS"
   5119 fi
   5120 
   5121 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5122 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5123 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5124 	fi
   5125 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5126 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5127 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5128 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5129 then :
   5130   printf %s "(cached) " >&6
   5131 else $as_nop
   5132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5133 /* end confdefs.h.  */
   5134 int i;
   5135 _ACEOF
   5136 if ac_fn_c_try_compile "$LINENO"
   5137 then :
   5138   xorg_cv_cc_flag_unused_command_line_argument=yes
   5139 else $as_nop
   5140   xorg_cv_cc_flag_unused_command_line_argument=no
   5141 fi
   5142 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5143 fi
   5144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5145 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5146 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5147 	CFLAGS="$xorg_testset_save_CFLAGS"
   5148 fi
   5149 
   5150 found="no"
   5151 
   5152 	if test $found = "no" ; then
   5153 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5154 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5155 		fi
   5156 
   5157 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5158 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5159 		fi
   5160 
   5161 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5162 
   5163 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5164 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5165 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5166 		if eval test \${$cacheid+y}
   5167 then :
   5168   printf %s "(cached) " >&6
   5169 else $as_nop
   5170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5171 /* end confdefs.h.  */
   5172 int i;
   5173 int
   5174 main (void)
   5175 {
   5176 
   5177   ;
   5178   return 0;
   5179 }
   5180 _ACEOF
   5181 if ac_fn_c_try_link "$LINENO"
   5182 then :
   5183   eval $cacheid=yes
   5184 else $as_nop
   5185   eval $cacheid=no
   5186 fi
   5187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5188     conftest$ac_exeext conftest.$ac_ext
   5189 fi
   5190 
   5191 
   5192 		CFLAGS="$xorg_testset_save_CFLAGS"
   5193 
   5194 		eval supported=\$$cacheid
   5195 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5196 printf "%s\n" "$supported" >&6; }
   5197 		if test "$supported" = "yes" ; then
   5198 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5199 			found="yes"
   5200 		fi
   5201 	fi
   5202 
   5203 
   5204 
   5205 
   5206 
   5207 
   5208 
   5209 
   5210 
   5211 
   5212 
   5213 
   5214 
   5215 
   5216 
   5217 xorg_testset_save_CFLAGS="$CFLAGS"
   5218 
   5219 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5220 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5221 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5222 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5223 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5224 then :
   5225   printf %s "(cached) " >&6
   5226 else $as_nop
   5227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5228 /* end confdefs.h.  */
   5229 int i;
   5230 _ACEOF
   5231 if ac_fn_c_try_compile "$LINENO"
   5232 then :
   5233   xorg_cv_cc_flag_unknown_warning_option=yes
   5234 else $as_nop
   5235   xorg_cv_cc_flag_unknown_warning_option=no
   5236 fi
   5237 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5238 fi
   5239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5240 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5241 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5242 	CFLAGS="$xorg_testset_save_CFLAGS"
   5243 fi
   5244 
   5245 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5246 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5247 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5248 	fi
   5249 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5250 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5251 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5252 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5253 then :
   5254   printf %s "(cached) " >&6
   5255 else $as_nop
   5256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5257 /* end confdefs.h.  */
   5258 int i;
   5259 _ACEOF
   5260 if ac_fn_c_try_compile "$LINENO"
   5261 then :
   5262   xorg_cv_cc_flag_unused_command_line_argument=yes
   5263 else $as_nop
   5264   xorg_cv_cc_flag_unused_command_line_argument=no
   5265 fi
   5266 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5267 fi
   5268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5269 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5270 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5271 	CFLAGS="$xorg_testset_save_CFLAGS"
   5272 fi
   5273 
   5274 found="no"
   5275 
   5276 	if test $found = "no" ; then
   5277 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5278 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5279 		fi
   5280 
   5281 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5282 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5283 		fi
   5284 
   5285 		CFLAGS="$CFLAGS -Wformat=2"
   5286 
   5287 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5288 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5289 		cacheid=xorg_cv_cc_flag__Wformat_2
   5290 		if eval test \${$cacheid+y}
   5291 then :
   5292   printf %s "(cached) " >&6
   5293 else $as_nop
   5294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5295 /* end confdefs.h.  */
   5296 int i;
   5297 int
   5298 main (void)
   5299 {
   5300 
   5301   ;
   5302   return 0;
   5303 }
   5304 _ACEOF
   5305 if ac_fn_c_try_link "$LINENO"
   5306 then :
   5307   eval $cacheid=yes
   5308 else $as_nop
   5309   eval $cacheid=no
   5310 fi
   5311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5312     conftest$ac_exeext conftest.$ac_ext
   5313 fi
   5314 
   5315 
   5316 		CFLAGS="$xorg_testset_save_CFLAGS"
   5317 
   5318 		eval supported=\$$cacheid
   5319 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5320 printf "%s\n" "$supported" >&6; }
   5321 		if test "$supported" = "yes" ; then
   5322 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5323 			found="yes"
   5324 		fi
   5325 	fi
   5326 
   5327 	if test $found = "no" ; then
   5328 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5329 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5330 		fi
   5331 
   5332 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5333 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5334 		fi
   5335 
   5336 		CFLAGS="$CFLAGS -Wformat"
   5337 
   5338 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5339 printf %s "checking if $CC supports -Wformat... " >&6; }
   5340 		cacheid=xorg_cv_cc_flag__Wformat
   5341 		if eval test \${$cacheid+y}
   5342 then :
   5343   printf %s "(cached) " >&6
   5344 else $as_nop
   5345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5346 /* end confdefs.h.  */
   5347 int i;
   5348 int
   5349 main (void)
   5350 {
   5351 
   5352   ;
   5353   return 0;
   5354 }
   5355 _ACEOF
   5356 if ac_fn_c_try_link "$LINENO"
   5357 then :
   5358   eval $cacheid=yes
   5359 else $as_nop
   5360   eval $cacheid=no
   5361 fi
   5362 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5363     conftest$ac_exeext conftest.$ac_ext
   5364 fi
   5365 
   5366 
   5367 		CFLAGS="$xorg_testset_save_CFLAGS"
   5368 
   5369 		eval supported=\$$cacheid
   5370 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5371 printf "%s\n" "$supported" >&6; }
   5372 		if test "$supported" = "yes" ; then
   5373 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5374 			found="yes"
   5375 		fi
   5376 	fi
   5377 
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 
   5385 
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 
   5394 xorg_testset_save_CFLAGS="$CFLAGS"
   5395 
   5396 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5397 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5398 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5399 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5400 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5401 then :
   5402   printf %s "(cached) " >&6
   5403 else $as_nop
   5404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5405 /* end confdefs.h.  */
   5406 int i;
   5407 _ACEOF
   5408 if ac_fn_c_try_compile "$LINENO"
   5409 then :
   5410   xorg_cv_cc_flag_unknown_warning_option=yes
   5411 else $as_nop
   5412   xorg_cv_cc_flag_unknown_warning_option=no
   5413 fi
   5414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5415 fi
   5416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5417 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5418 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5419 	CFLAGS="$xorg_testset_save_CFLAGS"
   5420 fi
   5421 
   5422 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5423 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5424 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5425 	fi
   5426 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5427 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5428 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5429 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5430 then :
   5431   printf %s "(cached) " >&6
   5432 else $as_nop
   5433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5434 /* end confdefs.h.  */
   5435 int i;
   5436 _ACEOF
   5437 if ac_fn_c_try_compile "$LINENO"
   5438 then :
   5439   xorg_cv_cc_flag_unused_command_line_argument=yes
   5440 else $as_nop
   5441   xorg_cv_cc_flag_unused_command_line_argument=no
   5442 fi
   5443 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5444 fi
   5445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5446 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5447 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5448 	CFLAGS="$xorg_testset_save_CFLAGS"
   5449 fi
   5450 
   5451 found="no"
   5452 
   5453 	if test $found = "no" ; then
   5454 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5455 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5456 		fi
   5457 
   5458 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5459 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5460 		fi
   5461 
   5462 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5463 
   5464 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5465 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5466 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5467 		if eval test \${$cacheid+y}
   5468 then :
   5469   printf %s "(cached) " >&6
   5470 else $as_nop
   5471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5472 /* end confdefs.h.  */
   5473 int i;
   5474 int
   5475 main (void)
   5476 {
   5477 
   5478   ;
   5479   return 0;
   5480 }
   5481 _ACEOF
   5482 if ac_fn_c_try_link "$LINENO"
   5483 then :
   5484   eval $cacheid=yes
   5485 else $as_nop
   5486   eval $cacheid=no
   5487 fi
   5488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5489     conftest$ac_exeext conftest.$ac_ext
   5490 fi
   5491 
   5492 
   5493 		CFLAGS="$xorg_testset_save_CFLAGS"
   5494 
   5495 		eval supported=\$$cacheid
   5496 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5497 printf "%s\n" "$supported" >&6; }
   5498 		if test "$supported" = "yes" ; then
   5499 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5500 			found="yes"
   5501 		fi
   5502 	fi
   5503 
   5504 
   5505 
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 
   5518 xorg_testset_save_CFLAGS="$CFLAGS"
   5519 
   5520 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5521 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5522 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5523 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5524 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5525 then :
   5526   printf %s "(cached) " >&6
   5527 else $as_nop
   5528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5529 /* end confdefs.h.  */
   5530 int i;
   5531 _ACEOF
   5532 if ac_fn_c_try_compile "$LINENO"
   5533 then :
   5534   xorg_cv_cc_flag_unknown_warning_option=yes
   5535 else $as_nop
   5536   xorg_cv_cc_flag_unknown_warning_option=no
   5537 fi
   5538 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5539 fi
   5540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5541 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5542 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5543 	CFLAGS="$xorg_testset_save_CFLAGS"
   5544 fi
   5545 
   5546 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5547 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5548 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5549 	fi
   5550 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5551 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5552 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5553 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5554 then :
   5555   printf %s "(cached) " >&6
   5556 else $as_nop
   5557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5558 /* end confdefs.h.  */
   5559 int i;
   5560 _ACEOF
   5561 if ac_fn_c_try_compile "$LINENO"
   5562 then :
   5563   xorg_cv_cc_flag_unused_command_line_argument=yes
   5564 else $as_nop
   5565   xorg_cv_cc_flag_unused_command_line_argument=no
   5566 fi
   5567 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5568 fi
   5569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5570 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5571 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5572 	CFLAGS="$xorg_testset_save_CFLAGS"
   5573 fi
   5574 
   5575 found="no"
   5576 
   5577 	if test $found = "no" ; then
   5578 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5579 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5580 		fi
   5581 
   5582 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5583 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5584 		fi
   5585 
   5586 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5587 
   5588 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5589 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5590 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5591 		if eval test \${$cacheid+y}
   5592 then :
   5593   printf %s "(cached) " >&6
   5594 else $as_nop
   5595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5596 /* end confdefs.h.  */
   5597 int i;
   5598 int
   5599 main (void)
   5600 {
   5601 
   5602   ;
   5603   return 0;
   5604 }
   5605 _ACEOF
   5606 if ac_fn_c_try_link "$LINENO"
   5607 then :
   5608   eval $cacheid=yes
   5609 else $as_nop
   5610   eval $cacheid=no
   5611 fi
   5612 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5613     conftest$ac_exeext conftest.$ac_ext
   5614 fi
   5615 
   5616 
   5617 		CFLAGS="$xorg_testset_save_CFLAGS"
   5618 
   5619 		eval supported=\$$cacheid
   5620 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5621 printf "%s\n" "$supported" >&6; }
   5622 		if test "$supported" = "yes" ; then
   5623 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5624 			found="yes"
   5625 		fi
   5626 	fi
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 xorg_testset_save_CFLAGS="$CFLAGS"
   5643 
   5644 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5645 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5646 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5647 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5648 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5649 then :
   5650   printf %s "(cached) " >&6
   5651 else $as_nop
   5652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5653 /* end confdefs.h.  */
   5654 int i;
   5655 _ACEOF
   5656 if ac_fn_c_try_compile "$LINENO"
   5657 then :
   5658   xorg_cv_cc_flag_unknown_warning_option=yes
   5659 else $as_nop
   5660   xorg_cv_cc_flag_unknown_warning_option=no
   5661 fi
   5662 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5663 fi
   5664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5665 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5666 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5667 	CFLAGS="$xorg_testset_save_CFLAGS"
   5668 fi
   5669 
   5670 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5671 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5672 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5673 	fi
   5674 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5675 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5676 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5677 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5678 then :
   5679   printf %s "(cached) " >&6
   5680 else $as_nop
   5681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5682 /* end confdefs.h.  */
   5683 int i;
   5684 _ACEOF
   5685 if ac_fn_c_try_compile "$LINENO"
   5686 then :
   5687   xorg_cv_cc_flag_unused_command_line_argument=yes
   5688 else $as_nop
   5689   xorg_cv_cc_flag_unused_command_line_argument=no
   5690 fi
   5691 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5692 fi
   5693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5694 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5695 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5696 	CFLAGS="$xorg_testset_save_CFLAGS"
   5697 fi
   5698 
   5699 found="no"
   5700 
   5701 	if test $found = "no" ; then
   5702 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5703 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5704 		fi
   5705 
   5706 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5707 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5708 		fi
   5709 
   5710 		CFLAGS="$CFLAGS -Wnested-externs"
   5711 
   5712 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5713 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5714 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5715 		if eval test \${$cacheid+y}
   5716 then :
   5717   printf %s "(cached) " >&6
   5718 else $as_nop
   5719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5720 /* end confdefs.h.  */
   5721 int i;
   5722 int
   5723 main (void)
   5724 {
   5725 
   5726   ;
   5727   return 0;
   5728 }
   5729 _ACEOF
   5730 if ac_fn_c_try_link "$LINENO"
   5731 then :
   5732   eval $cacheid=yes
   5733 else $as_nop
   5734   eval $cacheid=no
   5735 fi
   5736 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5737     conftest$ac_exeext conftest.$ac_ext
   5738 fi
   5739 
   5740 
   5741 		CFLAGS="$xorg_testset_save_CFLAGS"
   5742 
   5743 		eval supported=\$$cacheid
   5744 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5745 printf "%s\n" "$supported" >&6; }
   5746 		if test "$supported" = "yes" ; then
   5747 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5748 			found="yes"
   5749 		fi
   5750 	fi
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 xorg_testset_save_CFLAGS="$CFLAGS"
   5767 
   5768 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5769 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5770 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5771 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5772 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5773 then :
   5774   printf %s "(cached) " >&6
   5775 else $as_nop
   5776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5777 /* end confdefs.h.  */
   5778 int i;
   5779 _ACEOF
   5780 if ac_fn_c_try_compile "$LINENO"
   5781 then :
   5782   xorg_cv_cc_flag_unknown_warning_option=yes
   5783 else $as_nop
   5784   xorg_cv_cc_flag_unknown_warning_option=no
   5785 fi
   5786 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5787 fi
   5788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5789 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5790 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5791 	CFLAGS="$xorg_testset_save_CFLAGS"
   5792 fi
   5793 
   5794 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5795 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5796 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5797 	fi
   5798 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5799 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5800 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5801 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5802 then :
   5803   printf %s "(cached) " >&6
   5804 else $as_nop
   5805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5806 /* end confdefs.h.  */
   5807 int i;
   5808 _ACEOF
   5809 if ac_fn_c_try_compile "$LINENO"
   5810 then :
   5811   xorg_cv_cc_flag_unused_command_line_argument=yes
   5812 else $as_nop
   5813   xorg_cv_cc_flag_unused_command_line_argument=no
   5814 fi
   5815 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5816 fi
   5817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5818 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5819 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5820 	CFLAGS="$xorg_testset_save_CFLAGS"
   5821 fi
   5822 
   5823 found="no"
   5824 
   5825 	if test $found = "no" ; then
   5826 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5827 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5828 		fi
   5829 
   5830 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5831 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5832 		fi
   5833 
   5834 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5835 
   5836 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5837 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   5838 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5839 		if eval test \${$cacheid+y}
   5840 then :
   5841   printf %s "(cached) " >&6
   5842 else $as_nop
   5843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5844 /* end confdefs.h.  */
   5845 int i;
   5846 int
   5847 main (void)
   5848 {
   5849 
   5850   ;
   5851   return 0;
   5852 }
   5853 _ACEOF
   5854 if ac_fn_c_try_link "$LINENO"
   5855 then :
   5856   eval $cacheid=yes
   5857 else $as_nop
   5858   eval $cacheid=no
   5859 fi
   5860 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5861     conftest$ac_exeext conftest.$ac_ext
   5862 fi
   5863 
   5864 
   5865 		CFLAGS="$xorg_testset_save_CFLAGS"
   5866 
   5867 		eval supported=\$$cacheid
   5868 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5869 printf "%s\n" "$supported" >&6; }
   5870 		if test "$supported" = "yes" ; then
   5871 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5872 			found="yes"
   5873 		fi
   5874 	fi
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 
   5889 
   5890 xorg_testset_save_CFLAGS="$CFLAGS"
   5891 
   5892 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5893 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5894 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5895 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5896 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5897 then :
   5898   printf %s "(cached) " >&6
   5899 else $as_nop
   5900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5901 /* end confdefs.h.  */
   5902 int i;
   5903 _ACEOF
   5904 if ac_fn_c_try_compile "$LINENO"
   5905 then :
   5906   xorg_cv_cc_flag_unknown_warning_option=yes
   5907 else $as_nop
   5908   xorg_cv_cc_flag_unknown_warning_option=no
   5909 fi
   5910 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5911 fi
   5912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5913 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5914 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5915 	CFLAGS="$xorg_testset_save_CFLAGS"
   5916 fi
   5917 
   5918 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5919 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5920 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5921 	fi
   5922 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5923 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5924 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5925 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5926 then :
   5927   printf %s "(cached) " >&6
   5928 else $as_nop
   5929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5930 /* end confdefs.h.  */
   5931 int i;
   5932 _ACEOF
   5933 if ac_fn_c_try_compile "$LINENO"
   5934 then :
   5935   xorg_cv_cc_flag_unused_command_line_argument=yes
   5936 else $as_nop
   5937   xorg_cv_cc_flag_unused_command_line_argument=no
   5938 fi
   5939 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5940 fi
   5941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5942 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5943 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5944 	CFLAGS="$xorg_testset_save_CFLAGS"
   5945 fi
   5946 
   5947 found="no"
   5948 
   5949 	if test $found = "no" ; then
   5950 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5951 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5952 		fi
   5953 
   5954 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5955 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5956 		fi
   5957 
   5958 		CFLAGS="$CFLAGS -Wold-style-definition"
   5959 
   5960 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5961 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   5962 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5963 		if eval test \${$cacheid+y}
   5964 then :
   5965   printf %s "(cached) " >&6
   5966 else $as_nop
   5967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5968 /* end confdefs.h.  */
   5969 int i;
   5970 int
   5971 main (void)
   5972 {
   5973 
   5974   ;
   5975   return 0;
   5976 }
   5977 _ACEOF
   5978 if ac_fn_c_try_link "$LINENO"
   5979 then :
   5980   eval $cacheid=yes
   5981 else $as_nop
   5982   eval $cacheid=no
   5983 fi
   5984 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5985     conftest$ac_exeext conftest.$ac_ext
   5986 fi
   5987 
   5988 
   5989 		CFLAGS="$xorg_testset_save_CFLAGS"
   5990 
   5991 		eval supported=\$$cacheid
   5992 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5993 printf "%s\n" "$supported" >&6; }
   5994 		if test "$supported" = "yes" ; then
   5995 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5996 			found="yes"
   5997 		fi
   5998 	fi
   5999 
   6000 	if test $found = "no" ; then
   6001 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6002 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6003 		fi
   6004 
   6005 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6006 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6007 		fi
   6008 
   6009 		CFLAGS="$CFLAGS -fd"
   6010 
   6011 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6012 printf %s "checking if $CC supports -fd... " >&6; }
   6013 		cacheid=xorg_cv_cc_flag__fd
   6014 		if eval test \${$cacheid+y}
   6015 then :
   6016   printf %s "(cached) " >&6
   6017 else $as_nop
   6018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6019 /* end confdefs.h.  */
   6020 int i;
   6021 int
   6022 main (void)
   6023 {
   6024 
   6025   ;
   6026   return 0;
   6027 }
   6028 _ACEOF
   6029 if ac_fn_c_try_link "$LINENO"
   6030 then :
   6031   eval $cacheid=yes
   6032 else $as_nop
   6033   eval $cacheid=no
   6034 fi
   6035 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6036     conftest$ac_exeext conftest.$ac_ext
   6037 fi
   6038 
   6039 
   6040 		CFLAGS="$xorg_testset_save_CFLAGS"
   6041 
   6042 		eval supported=\$$cacheid
   6043 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6044 printf "%s\n" "$supported" >&6; }
   6045 		if test "$supported" = "yes" ; then
   6046 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6047 			found="yes"
   6048 		fi
   6049 	fi
   6050 
   6051 
   6052 
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 
   6065 xorg_testset_save_CFLAGS="$CFLAGS"
   6066 
   6067 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6068 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6069 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6070 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6071 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6072 then :
   6073   printf %s "(cached) " >&6
   6074 else $as_nop
   6075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6076 /* end confdefs.h.  */
   6077 int i;
   6078 _ACEOF
   6079 if ac_fn_c_try_compile "$LINENO"
   6080 then :
   6081   xorg_cv_cc_flag_unknown_warning_option=yes
   6082 else $as_nop
   6083   xorg_cv_cc_flag_unknown_warning_option=no
   6084 fi
   6085 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6086 fi
   6087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6088 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6089 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6090 	CFLAGS="$xorg_testset_save_CFLAGS"
   6091 fi
   6092 
   6093 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6094 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6095 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6096 	fi
   6097 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6098 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6099 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6100 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6101 then :
   6102   printf %s "(cached) " >&6
   6103 else $as_nop
   6104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6105 /* end confdefs.h.  */
   6106 int i;
   6107 _ACEOF
   6108 if ac_fn_c_try_compile "$LINENO"
   6109 then :
   6110   xorg_cv_cc_flag_unused_command_line_argument=yes
   6111 else $as_nop
   6112   xorg_cv_cc_flag_unused_command_line_argument=no
   6113 fi
   6114 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6115 fi
   6116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6117 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6118 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6119 	CFLAGS="$xorg_testset_save_CFLAGS"
   6120 fi
   6121 
   6122 found="no"
   6123 
   6124 	if test $found = "no" ; then
   6125 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6126 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6127 		fi
   6128 
   6129 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6130 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6131 		fi
   6132 
   6133 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6134 
   6135 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6136 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6137 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6138 		if eval test \${$cacheid+y}
   6139 then :
   6140   printf %s "(cached) " >&6
   6141 else $as_nop
   6142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6143 /* end confdefs.h.  */
   6144 int i;
   6145 int
   6146 main (void)
   6147 {
   6148 
   6149   ;
   6150   return 0;
   6151 }
   6152 _ACEOF
   6153 if ac_fn_c_try_link "$LINENO"
   6154 then :
   6155   eval $cacheid=yes
   6156 else $as_nop
   6157   eval $cacheid=no
   6158 fi
   6159 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6160     conftest$ac_exeext conftest.$ac_ext
   6161 fi
   6162 
   6163 
   6164 		CFLAGS="$xorg_testset_save_CFLAGS"
   6165 
   6166 		eval supported=\$$cacheid
   6167 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6168 printf "%s\n" "$supported" >&6; }
   6169 		if test "$supported" = "yes" ; then
   6170 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6171 			found="yes"
   6172 		fi
   6173 	fi
   6174 
   6175 
   6176 
   6177 
   6178 
   6179 # This chunk adds additional warnings that could catch undesired effects.
   6180 
   6181 
   6182 
   6183 
   6184 
   6185 
   6186 
   6187 
   6188 
   6189 
   6190 
   6191 
   6192 
   6193 xorg_testset_save_CFLAGS="$CFLAGS"
   6194 
   6195 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6196 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6197 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6198 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6199 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6200 then :
   6201   printf %s "(cached) " >&6
   6202 else $as_nop
   6203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6204 /* end confdefs.h.  */
   6205 int i;
   6206 _ACEOF
   6207 if ac_fn_c_try_compile "$LINENO"
   6208 then :
   6209   xorg_cv_cc_flag_unknown_warning_option=yes
   6210 else $as_nop
   6211   xorg_cv_cc_flag_unknown_warning_option=no
   6212 fi
   6213 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6214 fi
   6215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6216 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6217 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6218 	CFLAGS="$xorg_testset_save_CFLAGS"
   6219 fi
   6220 
   6221 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6222 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6223 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6224 	fi
   6225 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6226 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6227 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6228 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6229 then :
   6230   printf %s "(cached) " >&6
   6231 else $as_nop
   6232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6233 /* end confdefs.h.  */
   6234 int i;
   6235 _ACEOF
   6236 if ac_fn_c_try_compile "$LINENO"
   6237 then :
   6238   xorg_cv_cc_flag_unused_command_line_argument=yes
   6239 else $as_nop
   6240   xorg_cv_cc_flag_unused_command_line_argument=no
   6241 fi
   6242 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6243 fi
   6244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6245 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6246 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6247 	CFLAGS="$xorg_testset_save_CFLAGS"
   6248 fi
   6249 
   6250 found="no"
   6251 
   6252 	if test $found = "no" ; then
   6253 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6254 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6255 		fi
   6256 
   6257 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6258 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6259 		fi
   6260 
   6261 		CFLAGS="$CFLAGS -Wunused"
   6262 
   6263 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6264 printf %s "checking if $CC supports -Wunused... " >&6; }
   6265 		cacheid=xorg_cv_cc_flag__Wunused
   6266 		if eval test \${$cacheid+y}
   6267 then :
   6268   printf %s "(cached) " >&6
   6269 else $as_nop
   6270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6271 /* end confdefs.h.  */
   6272 int i;
   6273 int
   6274 main (void)
   6275 {
   6276 
   6277   ;
   6278   return 0;
   6279 }
   6280 _ACEOF
   6281 if ac_fn_c_try_link "$LINENO"
   6282 then :
   6283   eval $cacheid=yes
   6284 else $as_nop
   6285   eval $cacheid=no
   6286 fi
   6287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6288     conftest$ac_exeext conftest.$ac_ext
   6289 fi
   6290 
   6291 
   6292 		CFLAGS="$xorg_testset_save_CFLAGS"
   6293 
   6294 		eval supported=\$$cacheid
   6295 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6296 printf "%s\n" "$supported" >&6; }
   6297 		if test "$supported" = "yes" ; then
   6298 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6299 			found="yes"
   6300 		fi
   6301 	fi
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 
   6311 
   6312 
   6313 
   6314 
   6315 
   6316 
   6317 xorg_testset_save_CFLAGS="$CFLAGS"
   6318 
   6319 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6320 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6321 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6322 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6323 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6324 then :
   6325   printf %s "(cached) " >&6
   6326 else $as_nop
   6327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6328 /* end confdefs.h.  */
   6329 int i;
   6330 _ACEOF
   6331 if ac_fn_c_try_compile "$LINENO"
   6332 then :
   6333   xorg_cv_cc_flag_unknown_warning_option=yes
   6334 else $as_nop
   6335   xorg_cv_cc_flag_unknown_warning_option=no
   6336 fi
   6337 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6338 fi
   6339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6340 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6341 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6342 	CFLAGS="$xorg_testset_save_CFLAGS"
   6343 fi
   6344 
   6345 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6346 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6347 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6348 	fi
   6349 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6350 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6351 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6352 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6353 then :
   6354   printf %s "(cached) " >&6
   6355 else $as_nop
   6356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6357 /* end confdefs.h.  */
   6358 int i;
   6359 _ACEOF
   6360 if ac_fn_c_try_compile "$LINENO"
   6361 then :
   6362   xorg_cv_cc_flag_unused_command_line_argument=yes
   6363 else $as_nop
   6364   xorg_cv_cc_flag_unused_command_line_argument=no
   6365 fi
   6366 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6367 fi
   6368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6369 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6370 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6371 	CFLAGS="$xorg_testset_save_CFLAGS"
   6372 fi
   6373 
   6374 found="no"
   6375 
   6376 	if test $found = "no" ; then
   6377 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6378 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6379 		fi
   6380 
   6381 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6382 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6383 		fi
   6384 
   6385 		CFLAGS="$CFLAGS -Wuninitialized"
   6386 
   6387 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6388 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6389 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6390 		if eval test \${$cacheid+y}
   6391 then :
   6392   printf %s "(cached) " >&6
   6393 else $as_nop
   6394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6395 /* end confdefs.h.  */
   6396 int i;
   6397 int
   6398 main (void)
   6399 {
   6400 
   6401   ;
   6402   return 0;
   6403 }
   6404 _ACEOF
   6405 if ac_fn_c_try_link "$LINENO"
   6406 then :
   6407   eval $cacheid=yes
   6408 else $as_nop
   6409   eval $cacheid=no
   6410 fi
   6411 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6412     conftest$ac_exeext conftest.$ac_ext
   6413 fi
   6414 
   6415 
   6416 		CFLAGS="$xorg_testset_save_CFLAGS"
   6417 
   6418 		eval supported=\$$cacheid
   6419 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6420 printf "%s\n" "$supported" >&6; }
   6421 		if test "$supported" = "yes" ; then
   6422 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6423 			found="yes"
   6424 		fi
   6425 	fi
   6426 
   6427 
   6428 
   6429 
   6430 
   6431 
   6432 
   6433 
   6434 
   6435 
   6436 
   6437 
   6438 
   6439 
   6440 
   6441 xorg_testset_save_CFLAGS="$CFLAGS"
   6442 
   6443 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6444 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6445 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6446 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6447 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6448 then :
   6449   printf %s "(cached) " >&6
   6450 else $as_nop
   6451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6452 /* end confdefs.h.  */
   6453 int i;
   6454 _ACEOF
   6455 if ac_fn_c_try_compile "$LINENO"
   6456 then :
   6457   xorg_cv_cc_flag_unknown_warning_option=yes
   6458 else $as_nop
   6459   xorg_cv_cc_flag_unknown_warning_option=no
   6460 fi
   6461 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6462 fi
   6463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6464 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6465 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6466 	CFLAGS="$xorg_testset_save_CFLAGS"
   6467 fi
   6468 
   6469 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6470 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6471 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6472 	fi
   6473 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6474 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6475 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6476 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6477 then :
   6478   printf %s "(cached) " >&6
   6479 else $as_nop
   6480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6481 /* end confdefs.h.  */
   6482 int i;
   6483 _ACEOF
   6484 if ac_fn_c_try_compile "$LINENO"
   6485 then :
   6486   xorg_cv_cc_flag_unused_command_line_argument=yes
   6487 else $as_nop
   6488   xorg_cv_cc_flag_unused_command_line_argument=no
   6489 fi
   6490 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6491 fi
   6492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6493 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6494 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6495 	CFLAGS="$xorg_testset_save_CFLAGS"
   6496 fi
   6497 
   6498 found="no"
   6499 
   6500 	if test $found = "no" ; then
   6501 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6502 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6503 		fi
   6504 
   6505 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6506 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6507 		fi
   6508 
   6509 		CFLAGS="$CFLAGS -Wshadow"
   6510 
   6511 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6512 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6513 		cacheid=xorg_cv_cc_flag__Wshadow
   6514 		if eval test \${$cacheid+y}
   6515 then :
   6516   printf %s "(cached) " >&6
   6517 else $as_nop
   6518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6519 /* end confdefs.h.  */
   6520 int i;
   6521 int
   6522 main (void)
   6523 {
   6524 
   6525   ;
   6526   return 0;
   6527 }
   6528 _ACEOF
   6529 if ac_fn_c_try_link "$LINENO"
   6530 then :
   6531   eval $cacheid=yes
   6532 else $as_nop
   6533   eval $cacheid=no
   6534 fi
   6535 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6536     conftest$ac_exeext conftest.$ac_ext
   6537 fi
   6538 
   6539 
   6540 		CFLAGS="$xorg_testset_save_CFLAGS"
   6541 
   6542 		eval supported=\$$cacheid
   6543 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6544 printf "%s\n" "$supported" >&6; }
   6545 		if test "$supported" = "yes" ; then
   6546 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6547 			found="yes"
   6548 		fi
   6549 	fi
   6550 
   6551 
   6552 
   6553 
   6554 
   6555 
   6556 
   6557 
   6558 
   6559 
   6560 
   6561 
   6562 
   6563 
   6564 
   6565 xorg_testset_save_CFLAGS="$CFLAGS"
   6566 
   6567 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6568 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6569 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6570 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6571 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6572 then :
   6573   printf %s "(cached) " >&6
   6574 else $as_nop
   6575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6576 /* end confdefs.h.  */
   6577 int i;
   6578 _ACEOF
   6579 if ac_fn_c_try_compile "$LINENO"
   6580 then :
   6581   xorg_cv_cc_flag_unknown_warning_option=yes
   6582 else $as_nop
   6583   xorg_cv_cc_flag_unknown_warning_option=no
   6584 fi
   6585 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6586 fi
   6587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6588 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6589 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6590 	CFLAGS="$xorg_testset_save_CFLAGS"
   6591 fi
   6592 
   6593 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6594 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6595 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6596 	fi
   6597 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6598 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6599 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6600 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6601 then :
   6602   printf %s "(cached) " >&6
   6603 else $as_nop
   6604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6605 /* end confdefs.h.  */
   6606 int i;
   6607 _ACEOF
   6608 if ac_fn_c_try_compile "$LINENO"
   6609 then :
   6610   xorg_cv_cc_flag_unused_command_line_argument=yes
   6611 else $as_nop
   6612   xorg_cv_cc_flag_unused_command_line_argument=no
   6613 fi
   6614 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6615 fi
   6616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6617 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6618 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6619 	CFLAGS="$xorg_testset_save_CFLAGS"
   6620 fi
   6621 
   6622 found="no"
   6623 
   6624 	if test $found = "no" ; then
   6625 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6626 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6627 		fi
   6628 
   6629 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6630 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6631 		fi
   6632 
   6633 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6634 
   6635 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6636 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6637 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6638 		if eval test \${$cacheid+y}
   6639 then :
   6640   printf %s "(cached) " >&6
   6641 else $as_nop
   6642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6643 /* end confdefs.h.  */
   6644 int i;
   6645 int
   6646 main (void)
   6647 {
   6648 
   6649   ;
   6650   return 0;
   6651 }
   6652 _ACEOF
   6653 if ac_fn_c_try_link "$LINENO"
   6654 then :
   6655   eval $cacheid=yes
   6656 else $as_nop
   6657   eval $cacheid=no
   6658 fi
   6659 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6660     conftest$ac_exeext conftest.$ac_ext
   6661 fi
   6662 
   6663 
   6664 		CFLAGS="$xorg_testset_save_CFLAGS"
   6665 
   6666 		eval supported=\$$cacheid
   6667 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6668 printf "%s\n" "$supported" >&6; }
   6669 		if test "$supported" = "yes" ; then
   6670 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6671 			found="yes"
   6672 		fi
   6673 	fi
   6674 
   6675 
   6676 
   6677 
   6678 
   6679 
   6680 
   6681 
   6682 
   6683 
   6684 
   6685 
   6686 
   6687 
   6688 
   6689 xorg_testset_save_CFLAGS="$CFLAGS"
   6690 
   6691 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6692 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6693 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6694 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6695 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6696 then :
   6697   printf %s "(cached) " >&6
   6698 else $as_nop
   6699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6700 /* end confdefs.h.  */
   6701 int i;
   6702 _ACEOF
   6703 if ac_fn_c_try_compile "$LINENO"
   6704 then :
   6705   xorg_cv_cc_flag_unknown_warning_option=yes
   6706 else $as_nop
   6707   xorg_cv_cc_flag_unknown_warning_option=no
   6708 fi
   6709 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6710 fi
   6711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6712 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6713 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6714 	CFLAGS="$xorg_testset_save_CFLAGS"
   6715 fi
   6716 
   6717 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6718 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6719 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6720 	fi
   6721 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6722 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6723 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6724 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6725 then :
   6726   printf %s "(cached) " >&6
   6727 else $as_nop
   6728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6729 /* end confdefs.h.  */
   6730 int i;
   6731 _ACEOF
   6732 if ac_fn_c_try_compile "$LINENO"
   6733 then :
   6734   xorg_cv_cc_flag_unused_command_line_argument=yes
   6735 else $as_nop
   6736   xorg_cv_cc_flag_unused_command_line_argument=no
   6737 fi
   6738 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6739 fi
   6740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6741 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6742 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6743 	CFLAGS="$xorg_testset_save_CFLAGS"
   6744 fi
   6745 
   6746 found="no"
   6747 
   6748 	if test $found = "no" ; then
   6749 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6750 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6751 		fi
   6752 
   6753 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6754 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6755 		fi
   6756 
   6757 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6758 
   6759 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6760 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6761 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6762 		if eval test \${$cacheid+y}
   6763 then :
   6764   printf %s "(cached) " >&6
   6765 else $as_nop
   6766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6767 /* end confdefs.h.  */
   6768 int i;
   6769 int
   6770 main (void)
   6771 {
   6772 
   6773   ;
   6774   return 0;
   6775 }
   6776 _ACEOF
   6777 if ac_fn_c_try_link "$LINENO"
   6778 then :
   6779   eval $cacheid=yes
   6780 else $as_nop
   6781   eval $cacheid=no
   6782 fi
   6783 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6784     conftest$ac_exeext conftest.$ac_ext
   6785 fi
   6786 
   6787 
   6788 		CFLAGS="$xorg_testset_save_CFLAGS"
   6789 
   6790 		eval supported=\$$cacheid
   6791 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6792 printf "%s\n" "$supported" >&6; }
   6793 		if test "$supported" = "yes" ; then
   6794 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6795 			found="yes"
   6796 		fi
   6797 	fi
   6798 
   6799 
   6800 
   6801 
   6802 
   6803 
   6804 
   6805 
   6806 
   6807 
   6808 
   6809 
   6810 
   6811 
   6812 
   6813 xorg_testset_save_CFLAGS="$CFLAGS"
   6814 
   6815 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6816 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6817 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6818 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6819 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6820 then :
   6821   printf %s "(cached) " >&6
   6822 else $as_nop
   6823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6824 /* end confdefs.h.  */
   6825 int i;
   6826 _ACEOF
   6827 if ac_fn_c_try_compile "$LINENO"
   6828 then :
   6829   xorg_cv_cc_flag_unknown_warning_option=yes
   6830 else $as_nop
   6831   xorg_cv_cc_flag_unknown_warning_option=no
   6832 fi
   6833 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6834 fi
   6835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6836 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6837 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6838 	CFLAGS="$xorg_testset_save_CFLAGS"
   6839 fi
   6840 
   6841 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6842 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6843 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6844 	fi
   6845 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6846 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6847 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6848 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6849 then :
   6850   printf %s "(cached) " >&6
   6851 else $as_nop
   6852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6853 /* end confdefs.h.  */
   6854 int i;
   6855 _ACEOF
   6856 if ac_fn_c_try_compile "$LINENO"
   6857 then :
   6858   xorg_cv_cc_flag_unused_command_line_argument=yes
   6859 else $as_nop
   6860   xorg_cv_cc_flag_unused_command_line_argument=no
   6861 fi
   6862 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6863 fi
   6864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6865 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6866 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6867 	CFLAGS="$xorg_testset_save_CFLAGS"
   6868 fi
   6869 
   6870 found="no"
   6871 
   6872 	if test $found = "no" ; then
   6873 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6874 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6875 		fi
   6876 
   6877 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6878 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6879 		fi
   6880 
   6881 		CFLAGS="$CFLAGS -Wredundant-decls"
   6882 
   6883 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6884 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   6885 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6886 		if eval test \${$cacheid+y}
   6887 then :
   6888   printf %s "(cached) " >&6
   6889 else $as_nop
   6890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6891 /* end confdefs.h.  */
   6892 int i;
   6893 int
   6894 main (void)
   6895 {
   6896 
   6897   ;
   6898   return 0;
   6899 }
   6900 _ACEOF
   6901 if ac_fn_c_try_link "$LINENO"
   6902 then :
   6903   eval $cacheid=yes
   6904 else $as_nop
   6905   eval $cacheid=no
   6906 fi
   6907 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6908     conftest$ac_exeext conftest.$ac_ext
   6909 fi
   6910 
   6911 
   6912 		CFLAGS="$xorg_testset_save_CFLAGS"
   6913 
   6914 		eval supported=\$$cacheid
   6915 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6916 printf "%s\n" "$supported" >&6; }
   6917 		if test "$supported" = "yes" ; then
   6918 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6919 			found="yes"
   6920 		fi
   6921 	fi
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 
   6929 
   6930 
   6931 
   6932 
   6933 
   6934 
   6935 
   6936 
   6937 xorg_testset_save_CFLAGS="$CFLAGS"
   6938 
   6939 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6940 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6941 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6942 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6943 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6944 then :
   6945   printf %s "(cached) " >&6
   6946 else $as_nop
   6947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6948 /* end confdefs.h.  */
   6949 int i;
   6950 _ACEOF
   6951 if ac_fn_c_try_compile "$LINENO"
   6952 then :
   6953   xorg_cv_cc_flag_unknown_warning_option=yes
   6954 else $as_nop
   6955   xorg_cv_cc_flag_unknown_warning_option=no
   6956 fi
   6957 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   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 $as_nop
   6976   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 $as_nop
   6984   xorg_cv_cc_flag_unused_command_line_argument=no
   6985 fi
   6986 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6987 fi
   6988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6989 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6990 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6991 	CFLAGS="$xorg_testset_save_CFLAGS"
   6992 fi
   6993 
   6994 found="no"
   6995 
   6996 	if test $found = "no" ; then
   6997 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6998 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6999 		fi
   7000 
   7001 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7002 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7003 		fi
   7004 
   7005 		CFLAGS="$CFLAGS -Wlogical-op"
   7006 
   7007 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7008 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7009 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7010 		if eval test \${$cacheid+y}
   7011 then :
   7012   printf %s "(cached) " >&6
   7013 else $as_nop
   7014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7015 /* end confdefs.h.  */
   7016 int i;
   7017 int
   7018 main (void)
   7019 {
   7020 
   7021   ;
   7022   return 0;
   7023 }
   7024 _ACEOF
   7025 if ac_fn_c_try_link "$LINENO"
   7026 then :
   7027   eval $cacheid=yes
   7028 else $as_nop
   7029   eval $cacheid=no
   7030 fi
   7031 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7032     conftest$ac_exeext conftest.$ac_ext
   7033 fi
   7034 
   7035 
   7036 		CFLAGS="$xorg_testset_save_CFLAGS"
   7037 
   7038 		eval supported=\$$cacheid
   7039 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7040 printf "%s\n" "$supported" >&6; }
   7041 		if test "$supported" = "yes" ; then
   7042 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7043 			found="yes"
   7044 		fi
   7045 	fi
   7046 
   7047 
   7048 
   7049 # These are currently disabled because they are noisy.  They will be enabled
   7050 # in the future once the codebase is sufficiently modernized to silence
   7051 # them.  For now, I don't want them to drown out the other warnings.
   7052 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7053 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7054 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7055 
   7056 # Turn some warnings into errors, so we don't accidently get successful builds
   7057 # when there are problems that should be fixed.
   7058 
   7059 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7060 
   7061 
   7062 
   7063 
   7064 
   7065 
   7066 
   7067 
   7068 
   7069 
   7070 
   7071 
   7072 
   7073 xorg_testset_save_CFLAGS="$CFLAGS"
   7074 
   7075 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7076 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7077 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7078 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7079 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7080 then :
   7081   printf %s "(cached) " >&6
   7082 else $as_nop
   7083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7084 /* end confdefs.h.  */
   7085 int i;
   7086 _ACEOF
   7087 if ac_fn_c_try_compile "$LINENO"
   7088 then :
   7089   xorg_cv_cc_flag_unknown_warning_option=yes
   7090 else $as_nop
   7091   xorg_cv_cc_flag_unknown_warning_option=no
   7092 fi
   7093 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7094 fi
   7095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7096 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7097 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7098 	CFLAGS="$xorg_testset_save_CFLAGS"
   7099 fi
   7100 
   7101 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7102 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7103 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7104 	fi
   7105 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7106 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7107 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7108 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7109 then :
   7110   printf %s "(cached) " >&6
   7111 else $as_nop
   7112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7113 /* end confdefs.h.  */
   7114 int i;
   7115 _ACEOF
   7116 if ac_fn_c_try_compile "$LINENO"
   7117 then :
   7118   xorg_cv_cc_flag_unused_command_line_argument=yes
   7119 else $as_nop
   7120   xorg_cv_cc_flag_unused_command_line_argument=no
   7121 fi
   7122 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7123 fi
   7124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7125 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7126 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7127 	CFLAGS="$xorg_testset_save_CFLAGS"
   7128 fi
   7129 
   7130 found="no"
   7131 
   7132 	if test $found = "no" ; then
   7133 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7134 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7135 		fi
   7136 
   7137 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7138 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7139 		fi
   7140 
   7141 		CFLAGS="$CFLAGS -Werror=implicit"
   7142 
   7143 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7144 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7145 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7146 		if eval test \${$cacheid+y}
   7147 then :
   7148   printf %s "(cached) " >&6
   7149 else $as_nop
   7150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7151 /* end confdefs.h.  */
   7152 int i;
   7153 int
   7154 main (void)
   7155 {
   7156 
   7157   ;
   7158   return 0;
   7159 }
   7160 _ACEOF
   7161 if ac_fn_c_try_link "$LINENO"
   7162 then :
   7163   eval $cacheid=yes
   7164 else $as_nop
   7165   eval $cacheid=no
   7166 fi
   7167 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7168     conftest$ac_exeext conftest.$ac_ext
   7169 fi
   7170 
   7171 
   7172 		CFLAGS="$xorg_testset_save_CFLAGS"
   7173 
   7174 		eval supported=\$$cacheid
   7175 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7176 printf "%s\n" "$supported" >&6; }
   7177 		if test "$supported" = "yes" ; then
   7178 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7179 			found="yes"
   7180 		fi
   7181 	fi
   7182 
   7183 	if test $found = "no" ; then
   7184 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7185 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7186 		fi
   7187 
   7188 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7189 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7190 		fi
   7191 
   7192 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7193 
   7194 		{ 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
   7195 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7196 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7197 		if eval test \${$cacheid+y}
   7198 then :
   7199   printf %s "(cached) " >&6
   7200 else $as_nop
   7201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7202 /* end confdefs.h.  */
   7203 int i;
   7204 int
   7205 main (void)
   7206 {
   7207 
   7208   ;
   7209   return 0;
   7210 }
   7211 _ACEOF
   7212 if ac_fn_c_try_link "$LINENO"
   7213 then :
   7214   eval $cacheid=yes
   7215 else $as_nop
   7216   eval $cacheid=no
   7217 fi
   7218 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7219     conftest$ac_exeext conftest.$ac_ext
   7220 fi
   7221 
   7222 
   7223 		CFLAGS="$xorg_testset_save_CFLAGS"
   7224 
   7225 		eval supported=\$$cacheid
   7226 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7227 printf "%s\n" "$supported" >&6; }
   7228 		if test "$supported" = "yes" ; then
   7229 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7230 			found="yes"
   7231 		fi
   7232 	fi
   7233 
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 
   7244 
   7245 
   7246 
   7247 
   7248 xorg_testset_save_CFLAGS="$CFLAGS"
   7249 
   7250 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7251 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7252 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7253 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7254 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7255 then :
   7256   printf %s "(cached) " >&6
   7257 else $as_nop
   7258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7259 /* end confdefs.h.  */
   7260 int i;
   7261 _ACEOF
   7262 if ac_fn_c_try_compile "$LINENO"
   7263 then :
   7264   xorg_cv_cc_flag_unknown_warning_option=yes
   7265 else $as_nop
   7266   xorg_cv_cc_flag_unknown_warning_option=no
   7267 fi
   7268 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7269 fi
   7270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7271 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7272 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7273 	CFLAGS="$xorg_testset_save_CFLAGS"
   7274 fi
   7275 
   7276 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7277 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7278 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7279 	fi
   7280 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7281 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7282 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7283 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7284 then :
   7285   printf %s "(cached) " >&6
   7286 else $as_nop
   7287   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7288 /* end confdefs.h.  */
   7289 int i;
   7290 _ACEOF
   7291 if ac_fn_c_try_compile "$LINENO"
   7292 then :
   7293   xorg_cv_cc_flag_unused_command_line_argument=yes
   7294 else $as_nop
   7295   xorg_cv_cc_flag_unused_command_line_argument=no
   7296 fi
   7297 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7298 fi
   7299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7300 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7301 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7302 	CFLAGS="$xorg_testset_save_CFLAGS"
   7303 fi
   7304 
   7305 found="no"
   7306 
   7307 	if test $found = "no" ; then
   7308 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7309 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7310 		fi
   7311 
   7312 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7313 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7314 		fi
   7315 
   7316 		CFLAGS="$CFLAGS -Werror=nonnull"
   7317 
   7318 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7319 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7320 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7321 		if eval test \${$cacheid+y}
   7322 then :
   7323   printf %s "(cached) " >&6
   7324 else $as_nop
   7325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7326 /* end confdefs.h.  */
   7327 int i;
   7328 int
   7329 main (void)
   7330 {
   7331 
   7332   ;
   7333   return 0;
   7334 }
   7335 _ACEOF
   7336 if ac_fn_c_try_link "$LINENO"
   7337 then :
   7338   eval $cacheid=yes
   7339 else $as_nop
   7340   eval $cacheid=no
   7341 fi
   7342 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7343     conftest$ac_exeext conftest.$ac_ext
   7344 fi
   7345 
   7346 
   7347 		CFLAGS="$xorg_testset_save_CFLAGS"
   7348 
   7349 		eval supported=\$$cacheid
   7350 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7351 printf "%s\n" "$supported" >&6; }
   7352 		if test "$supported" = "yes" ; then
   7353 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7354 			found="yes"
   7355 		fi
   7356 	fi
   7357 
   7358 
   7359 
   7360 
   7361 
   7362 
   7363 
   7364 
   7365 
   7366 
   7367 
   7368 
   7369 
   7370 
   7371 
   7372 xorg_testset_save_CFLAGS="$CFLAGS"
   7373 
   7374 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7375 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7376 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7377 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7378 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7379 then :
   7380   printf %s "(cached) " >&6
   7381 else $as_nop
   7382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7383 /* end confdefs.h.  */
   7384 int i;
   7385 _ACEOF
   7386 if ac_fn_c_try_compile "$LINENO"
   7387 then :
   7388   xorg_cv_cc_flag_unknown_warning_option=yes
   7389 else $as_nop
   7390   xorg_cv_cc_flag_unknown_warning_option=no
   7391 fi
   7392 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7393 fi
   7394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7395 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7396 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7397 	CFLAGS="$xorg_testset_save_CFLAGS"
   7398 fi
   7399 
   7400 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7401 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7402 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7403 	fi
   7404 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7405 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7406 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7407 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7408 then :
   7409   printf %s "(cached) " >&6
   7410 else $as_nop
   7411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7412 /* end confdefs.h.  */
   7413 int i;
   7414 _ACEOF
   7415 if ac_fn_c_try_compile "$LINENO"
   7416 then :
   7417   xorg_cv_cc_flag_unused_command_line_argument=yes
   7418 else $as_nop
   7419   xorg_cv_cc_flag_unused_command_line_argument=no
   7420 fi
   7421 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7422 fi
   7423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7424 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7425 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7426 	CFLAGS="$xorg_testset_save_CFLAGS"
   7427 fi
   7428 
   7429 found="no"
   7430 
   7431 	if test $found = "no" ; then
   7432 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7433 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7434 		fi
   7435 
   7436 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7437 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7438 		fi
   7439 
   7440 		CFLAGS="$CFLAGS -Werror=init-self"
   7441 
   7442 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7443 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7444 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7445 		if eval test \${$cacheid+y}
   7446 then :
   7447   printf %s "(cached) " >&6
   7448 else $as_nop
   7449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7450 /* end confdefs.h.  */
   7451 int i;
   7452 int
   7453 main (void)
   7454 {
   7455 
   7456   ;
   7457   return 0;
   7458 }
   7459 _ACEOF
   7460 if ac_fn_c_try_link "$LINENO"
   7461 then :
   7462   eval $cacheid=yes
   7463 else $as_nop
   7464   eval $cacheid=no
   7465 fi
   7466 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7467     conftest$ac_exeext conftest.$ac_ext
   7468 fi
   7469 
   7470 
   7471 		CFLAGS="$xorg_testset_save_CFLAGS"
   7472 
   7473 		eval supported=\$$cacheid
   7474 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7475 printf "%s\n" "$supported" >&6; }
   7476 		if test "$supported" = "yes" ; then
   7477 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7478 			found="yes"
   7479 		fi
   7480 	fi
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 xorg_testset_save_CFLAGS="$CFLAGS"
   7497 
   7498 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7499 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7500 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7501 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7502 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7503 then :
   7504   printf %s "(cached) " >&6
   7505 else $as_nop
   7506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7507 /* end confdefs.h.  */
   7508 int i;
   7509 _ACEOF
   7510 if ac_fn_c_try_compile "$LINENO"
   7511 then :
   7512   xorg_cv_cc_flag_unknown_warning_option=yes
   7513 else $as_nop
   7514   xorg_cv_cc_flag_unknown_warning_option=no
   7515 fi
   7516 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7517 fi
   7518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7519 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7520 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7521 	CFLAGS="$xorg_testset_save_CFLAGS"
   7522 fi
   7523 
   7524 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7525 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7526 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7527 	fi
   7528 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7529 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7530 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7531 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7532 then :
   7533   printf %s "(cached) " >&6
   7534 else $as_nop
   7535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7536 /* end confdefs.h.  */
   7537 int i;
   7538 _ACEOF
   7539 if ac_fn_c_try_compile "$LINENO"
   7540 then :
   7541   xorg_cv_cc_flag_unused_command_line_argument=yes
   7542 else $as_nop
   7543   xorg_cv_cc_flag_unused_command_line_argument=no
   7544 fi
   7545 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7546 fi
   7547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7548 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7549 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7550 	CFLAGS="$xorg_testset_save_CFLAGS"
   7551 fi
   7552 
   7553 found="no"
   7554 
   7555 	if test $found = "no" ; then
   7556 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7557 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7558 		fi
   7559 
   7560 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7561 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7562 		fi
   7563 
   7564 		CFLAGS="$CFLAGS -Werror=main"
   7565 
   7566 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7567 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7568 		cacheid=xorg_cv_cc_flag__Werror_main
   7569 		if eval test \${$cacheid+y}
   7570 then :
   7571   printf %s "(cached) " >&6
   7572 else $as_nop
   7573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7574 /* end confdefs.h.  */
   7575 int i;
   7576 int
   7577 main (void)
   7578 {
   7579 
   7580   ;
   7581   return 0;
   7582 }
   7583 _ACEOF
   7584 if ac_fn_c_try_link "$LINENO"
   7585 then :
   7586   eval $cacheid=yes
   7587 else $as_nop
   7588   eval $cacheid=no
   7589 fi
   7590 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7591     conftest$ac_exeext conftest.$ac_ext
   7592 fi
   7593 
   7594 
   7595 		CFLAGS="$xorg_testset_save_CFLAGS"
   7596 
   7597 		eval supported=\$$cacheid
   7598 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7599 printf "%s\n" "$supported" >&6; }
   7600 		if test "$supported" = "yes" ; then
   7601 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7602 			found="yes"
   7603 		fi
   7604 	fi
   7605 
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 xorg_testset_save_CFLAGS="$CFLAGS"
   7621 
   7622 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7623 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7624 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7625 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7626 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7627 then :
   7628   printf %s "(cached) " >&6
   7629 else $as_nop
   7630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7631 /* end confdefs.h.  */
   7632 int i;
   7633 _ACEOF
   7634 if ac_fn_c_try_compile "$LINENO"
   7635 then :
   7636   xorg_cv_cc_flag_unknown_warning_option=yes
   7637 else $as_nop
   7638   xorg_cv_cc_flag_unknown_warning_option=no
   7639 fi
   7640 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7641 fi
   7642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7643 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7644 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7645 	CFLAGS="$xorg_testset_save_CFLAGS"
   7646 fi
   7647 
   7648 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7649 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7650 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7651 	fi
   7652 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7653 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7654 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7655 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7656 then :
   7657   printf %s "(cached) " >&6
   7658 else $as_nop
   7659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7660 /* end confdefs.h.  */
   7661 int i;
   7662 _ACEOF
   7663 if ac_fn_c_try_compile "$LINENO"
   7664 then :
   7665   xorg_cv_cc_flag_unused_command_line_argument=yes
   7666 else $as_nop
   7667   xorg_cv_cc_flag_unused_command_line_argument=no
   7668 fi
   7669 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7670 fi
   7671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7672 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7673 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7674 	CFLAGS="$xorg_testset_save_CFLAGS"
   7675 fi
   7676 
   7677 found="no"
   7678 
   7679 	if test $found = "no" ; then
   7680 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7681 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7682 		fi
   7683 
   7684 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7685 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7686 		fi
   7687 
   7688 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7689 
   7690 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7691 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7692 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7693 		if eval test \${$cacheid+y}
   7694 then :
   7695   printf %s "(cached) " >&6
   7696 else $as_nop
   7697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7698 /* end confdefs.h.  */
   7699 int i;
   7700 int
   7701 main (void)
   7702 {
   7703 
   7704   ;
   7705   return 0;
   7706 }
   7707 _ACEOF
   7708 if ac_fn_c_try_link "$LINENO"
   7709 then :
   7710   eval $cacheid=yes
   7711 else $as_nop
   7712   eval $cacheid=no
   7713 fi
   7714 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7715     conftest$ac_exeext conftest.$ac_ext
   7716 fi
   7717 
   7718 
   7719 		CFLAGS="$xorg_testset_save_CFLAGS"
   7720 
   7721 		eval supported=\$$cacheid
   7722 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7723 printf "%s\n" "$supported" >&6; }
   7724 		if test "$supported" = "yes" ; then
   7725 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7726 			found="yes"
   7727 		fi
   7728 	fi
   7729 
   7730 
   7731 
   7732 
   7733 
   7734 
   7735 
   7736 
   7737 
   7738 
   7739 
   7740 
   7741 
   7742 
   7743 
   7744 xorg_testset_save_CFLAGS="$CFLAGS"
   7745 
   7746 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7747 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7748 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7749 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7750 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7751 then :
   7752   printf %s "(cached) " >&6
   7753 else $as_nop
   7754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7755 /* end confdefs.h.  */
   7756 int i;
   7757 _ACEOF
   7758 if ac_fn_c_try_compile "$LINENO"
   7759 then :
   7760   xorg_cv_cc_flag_unknown_warning_option=yes
   7761 else $as_nop
   7762   xorg_cv_cc_flag_unknown_warning_option=no
   7763 fi
   7764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7765 fi
   7766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7767 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7768 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7769 	CFLAGS="$xorg_testset_save_CFLAGS"
   7770 fi
   7771 
   7772 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7773 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7774 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7775 	fi
   7776 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7777 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7778 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7779 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7780 then :
   7781   printf %s "(cached) " >&6
   7782 else $as_nop
   7783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7784 /* end confdefs.h.  */
   7785 int i;
   7786 _ACEOF
   7787 if ac_fn_c_try_compile "$LINENO"
   7788 then :
   7789   xorg_cv_cc_flag_unused_command_line_argument=yes
   7790 else $as_nop
   7791   xorg_cv_cc_flag_unused_command_line_argument=no
   7792 fi
   7793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7794 fi
   7795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7796 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7797 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7798 	CFLAGS="$xorg_testset_save_CFLAGS"
   7799 fi
   7800 
   7801 found="no"
   7802 
   7803 	if test $found = "no" ; then
   7804 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7805 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7806 		fi
   7807 
   7808 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7809 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7810 		fi
   7811 
   7812 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7813 
   7814 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7815 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   7816 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7817 		if eval test \${$cacheid+y}
   7818 then :
   7819   printf %s "(cached) " >&6
   7820 else $as_nop
   7821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7822 /* end confdefs.h.  */
   7823 int i;
   7824 int
   7825 main (void)
   7826 {
   7827 
   7828   ;
   7829   return 0;
   7830 }
   7831 _ACEOF
   7832 if ac_fn_c_try_link "$LINENO"
   7833 then :
   7834   eval $cacheid=yes
   7835 else $as_nop
   7836   eval $cacheid=no
   7837 fi
   7838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7839     conftest$ac_exeext conftest.$ac_ext
   7840 fi
   7841 
   7842 
   7843 		CFLAGS="$xorg_testset_save_CFLAGS"
   7844 
   7845 		eval supported=\$$cacheid
   7846 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7847 printf "%s\n" "$supported" >&6; }
   7848 		if test "$supported" = "yes" ; then
   7849 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7850 			found="yes"
   7851 		fi
   7852 	fi
   7853 
   7854 
   7855 
   7856 
   7857 
   7858 
   7859 
   7860 
   7861 
   7862 
   7863 
   7864 
   7865 
   7866 
   7867 
   7868 xorg_testset_save_CFLAGS="$CFLAGS"
   7869 
   7870 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7871 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7872 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7873 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7874 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7875 then :
   7876   printf %s "(cached) " >&6
   7877 else $as_nop
   7878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7879 /* end confdefs.h.  */
   7880 int i;
   7881 _ACEOF
   7882 if ac_fn_c_try_compile "$LINENO"
   7883 then :
   7884   xorg_cv_cc_flag_unknown_warning_option=yes
   7885 else $as_nop
   7886   xorg_cv_cc_flag_unknown_warning_option=no
   7887 fi
   7888 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7889 fi
   7890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7891 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7892 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7893 	CFLAGS="$xorg_testset_save_CFLAGS"
   7894 fi
   7895 
   7896 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7897 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7898 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7899 	fi
   7900 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7901 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7902 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7903 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7904 then :
   7905   printf %s "(cached) " >&6
   7906 else $as_nop
   7907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7908 /* end confdefs.h.  */
   7909 int i;
   7910 _ACEOF
   7911 if ac_fn_c_try_compile "$LINENO"
   7912 then :
   7913   xorg_cv_cc_flag_unused_command_line_argument=yes
   7914 else $as_nop
   7915   xorg_cv_cc_flag_unused_command_line_argument=no
   7916 fi
   7917 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7918 fi
   7919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7920 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7921 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7922 	CFLAGS="$xorg_testset_save_CFLAGS"
   7923 fi
   7924 
   7925 found="no"
   7926 
   7927 	if test $found = "no" ; then
   7928 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7929 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7930 		fi
   7931 
   7932 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7933 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7934 		fi
   7935 
   7936 		CFLAGS="$CFLAGS -Werror=return-type"
   7937 
   7938 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7939 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   7940 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7941 		if eval test \${$cacheid+y}
   7942 then :
   7943   printf %s "(cached) " >&6
   7944 else $as_nop
   7945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7946 /* end confdefs.h.  */
   7947 int i;
   7948 int
   7949 main (void)
   7950 {
   7951 
   7952   ;
   7953   return 0;
   7954 }
   7955 _ACEOF
   7956 if ac_fn_c_try_link "$LINENO"
   7957 then :
   7958   eval $cacheid=yes
   7959 else $as_nop
   7960   eval $cacheid=no
   7961 fi
   7962 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7963     conftest$ac_exeext conftest.$ac_ext
   7964 fi
   7965 
   7966 
   7967 		CFLAGS="$xorg_testset_save_CFLAGS"
   7968 
   7969 		eval supported=\$$cacheid
   7970 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7971 printf "%s\n" "$supported" >&6; }
   7972 		if test "$supported" = "yes" ; then
   7973 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7974 			found="yes"
   7975 		fi
   7976 	fi
   7977 
   7978 	if test $found = "no" ; then
   7979 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7980 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7981 		fi
   7982 
   7983 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7984 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7985 		fi
   7986 
   7987 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7988 
   7989 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7990 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7991 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7992 		if eval test \${$cacheid+y}
   7993 then :
   7994   printf %s "(cached) " >&6
   7995 else $as_nop
   7996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7997 /* end confdefs.h.  */
   7998 int i;
   7999 int
   8000 main (void)
   8001 {
   8002 
   8003   ;
   8004   return 0;
   8005 }
   8006 _ACEOF
   8007 if ac_fn_c_try_link "$LINENO"
   8008 then :
   8009   eval $cacheid=yes
   8010 else $as_nop
   8011   eval $cacheid=no
   8012 fi
   8013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8014     conftest$ac_exeext conftest.$ac_ext
   8015 fi
   8016 
   8017 
   8018 		CFLAGS="$xorg_testset_save_CFLAGS"
   8019 
   8020 		eval supported=\$$cacheid
   8021 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8022 printf "%s\n" "$supported" >&6; }
   8023 		if test "$supported" = "yes" ; then
   8024 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8025 			found="yes"
   8026 		fi
   8027 	fi
   8028 
   8029 
   8030 
   8031 
   8032 
   8033 
   8034 
   8035 
   8036 
   8037 
   8038 
   8039 
   8040 
   8041 
   8042 
   8043 xorg_testset_save_CFLAGS="$CFLAGS"
   8044 
   8045 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8046 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8047 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8048 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8049 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8050 then :
   8051   printf %s "(cached) " >&6
   8052 else $as_nop
   8053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8054 /* end confdefs.h.  */
   8055 int i;
   8056 _ACEOF
   8057 if ac_fn_c_try_compile "$LINENO"
   8058 then :
   8059   xorg_cv_cc_flag_unknown_warning_option=yes
   8060 else $as_nop
   8061   xorg_cv_cc_flag_unknown_warning_option=no
   8062 fi
   8063 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8064 fi
   8065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8066 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8067 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8068 	CFLAGS="$xorg_testset_save_CFLAGS"
   8069 fi
   8070 
   8071 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8072 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8073 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8074 	fi
   8075 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8076 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8077 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8078 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8079 then :
   8080   printf %s "(cached) " >&6
   8081 else $as_nop
   8082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8083 /* end confdefs.h.  */
   8084 int i;
   8085 _ACEOF
   8086 if ac_fn_c_try_compile "$LINENO"
   8087 then :
   8088   xorg_cv_cc_flag_unused_command_line_argument=yes
   8089 else $as_nop
   8090   xorg_cv_cc_flag_unused_command_line_argument=no
   8091 fi
   8092 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8093 fi
   8094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8095 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8096 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8097 	CFLAGS="$xorg_testset_save_CFLAGS"
   8098 fi
   8099 
   8100 found="no"
   8101 
   8102 	if test $found = "no" ; then
   8103 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8104 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8105 		fi
   8106 
   8107 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8108 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8109 		fi
   8110 
   8111 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8112 
   8113 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8114 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8115 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8116 		if eval test \${$cacheid+y}
   8117 then :
   8118   printf %s "(cached) " >&6
   8119 else $as_nop
   8120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8121 /* end confdefs.h.  */
   8122 int i;
   8123 int
   8124 main (void)
   8125 {
   8126 
   8127   ;
   8128   return 0;
   8129 }
   8130 _ACEOF
   8131 if ac_fn_c_try_link "$LINENO"
   8132 then :
   8133   eval $cacheid=yes
   8134 else $as_nop
   8135   eval $cacheid=no
   8136 fi
   8137 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8138     conftest$ac_exeext conftest.$ac_ext
   8139 fi
   8140 
   8141 
   8142 		CFLAGS="$xorg_testset_save_CFLAGS"
   8143 
   8144 		eval supported=\$$cacheid
   8145 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8146 printf "%s\n" "$supported" >&6; }
   8147 		if test "$supported" = "yes" ; then
   8148 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8149 			found="yes"
   8150 		fi
   8151 	fi
   8152 
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 xorg_testset_save_CFLAGS="$CFLAGS"
   8168 
   8169 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8170 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8171 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8172 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8173 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8174 then :
   8175   printf %s "(cached) " >&6
   8176 else $as_nop
   8177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8178 /* end confdefs.h.  */
   8179 int i;
   8180 _ACEOF
   8181 if ac_fn_c_try_compile "$LINENO"
   8182 then :
   8183   xorg_cv_cc_flag_unknown_warning_option=yes
   8184 else $as_nop
   8185   xorg_cv_cc_flag_unknown_warning_option=no
   8186 fi
   8187 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8188 fi
   8189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8190 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8191 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8192 	CFLAGS="$xorg_testset_save_CFLAGS"
   8193 fi
   8194 
   8195 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8196 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8197 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8198 	fi
   8199 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8200 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8201 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8202 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8203 then :
   8204   printf %s "(cached) " >&6
   8205 else $as_nop
   8206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8207 /* end confdefs.h.  */
   8208 int i;
   8209 _ACEOF
   8210 if ac_fn_c_try_compile "$LINENO"
   8211 then :
   8212   xorg_cv_cc_flag_unused_command_line_argument=yes
   8213 else $as_nop
   8214   xorg_cv_cc_flag_unused_command_line_argument=no
   8215 fi
   8216 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8217 fi
   8218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8219 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8220 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8221 	CFLAGS="$xorg_testset_save_CFLAGS"
   8222 fi
   8223 
   8224 found="no"
   8225 
   8226 	if test $found = "no" ; then
   8227 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8228 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8229 		fi
   8230 
   8231 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8232 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8233 		fi
   8234 
   8235 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8236 
   8237 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8238 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8239 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8240 		if eval test \${$cacheid+y}
   8241 then :
   8242   printf %s "(cached) " >&6
   8243 else $as_nop
   8244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8245 /* end confdefs.h.  */
   8246 int i;
   8247 int
   8248 main (void)
   8249 {
   8250 
   8251   ;
   8252   return 0;
   8253 }
   8254 _ACEOF
   8255 if ac_fn_c_try_link "$LINENO"
   8256 then :
   8257   eval $cacheid=yes
   8258 else $as_nop
   8259   eval $cacheid=no
   8260 fi
   8261 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8262     conftest$ac_exeext conftest.$ac_ext
   8263 fi
   8264 
   8265 
   8266 		CFLAGS="$xorg_testset_save_CFLAGS"
   8267 
   8268 		eval supported=\$$cacheid
   8269 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8270 printf "%s\n" "$supported" >&6; }
   8271 		if test "$supported" = "yes" ; then
   8272 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8273 			found="yes"
   8274 		fi
   8275 	fi
   8276 
   8277 
   8278 
   8279 
   8280 
   8281 
   8282 
   8283 
   8284 
   8285 
   8286 
   8287 
   8288 
   8289 
   8290 
   8291 xorg_testset_save_CFLAGS="$CFLAGS"
   8292 
   8293 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8294 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8295 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8296 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8297 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8298 then :
   8299   printf %s "(cached) " >&6
   8300 else $as_nop
   8301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8302 /* end confdefs.h.  */
   8303 int i;
   8304 _ACEOF
   8305 if ac_fn_c_try_compile "$LINENO"
   8306 then :
   8307   xorg_cv_cc_flag_unknown_warning_option=yes
   8308 else $as_nop
   8309   xorg_cv_cc_flag_unknown_warning_option=no
   8310 fi
   8311 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8312 fi
   8313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8314 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8315 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8316 	CFLAGS="$xorg_testset_save_CFLAGS"
   8317 fi
   8318 
   8319 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8320 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8321 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8322 	fi
   8323 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8324 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8325 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8326 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8327 then :
   8328   printf %s "(cached) " >&6
   8329 else $as_nop
   8330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8331 /* end confdefs.h.  */
   8332 int i;
   8333 _ACEOF
   8334 if ac_fn_c_try_compile "$LINENO"
   8335 then :
   8336   xorg_cv_cc_flag_unused_command_line_argument=yes
   8337 else $as_nop
   8338   xorg_cv_cc_flag_unused_command_line_argument=no
   8339 fi
   8340 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8341 fi
   8342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8343 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8344 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8345 	CFLAGS="$xorg_testset_save_CFLAGS"
   8346 fi
   8347 
   8348 found="no"
   8349 
   8350 	if test $found = "no" ; then
   8351 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8352 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8353 		fi
   8354 
   8355 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8356 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8357 		fi
   8358 
   8359 		CFLAGS="$CFLAGS -Werror=write-strings"
   8360 
   8361 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8362 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8363 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8364 		if eval test \${$cacheid+y}
   8365 then :
   8366   printf %s "(cached) " >&6
   8367 else $as_nop
   8368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8369 /* end confdefs.h.  */
   8370 int i;
   8371 int
   8372 main (void)
   8373 {
   8374 
   8375   ;
   8376   return 0;
   8377 }
   8378 _ACEOF
   8379 if ac_fn_c_try_link "$LINENO"
   8380 then :
   8381   eval $cacheid=yes
   8382 else $as_nop
   8383   eval $cacheid=no
   8384 fi
   8385 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8386     conftest$ac_exeext conftest.$ac_ext
   8387 fi
   8388 
   8389 
   8390 		CFLAGS="$xorg_testset_save_CFLAGS"
   8391 
   8392 		eval supported=\$$cacheid
   8393 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8394 printf "%s\n" "$supported" >&6; }
   8395 		if test "$supported" = "yes" ; then
   8396 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8397 			found="yes"
   8398 		fi
   8399 	fi
   8400 
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 
   8410 
   8411 
   8412 
   8413 
   8414 
   8415 xorg_testset_save_CFLAGS="$CFLAGS"
   8416 
   8417 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8418 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8419 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8420 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8421 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8422 then :
   8423   printf %s "(cached) " >&6
   8424 else $as_nop
   8425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8426 /* end confdefs.h.  */
   8427 int i;
   8428 _ACEOF
   8429 if ac_fn_c_try_compile "$LINENO"
   8430 then :
   8431   xorg_cv_cc_flag_unknown_warning_option=yes
   8432 else $as_nop
   8433   xorg_cv_cc_flag_unknown_warning_option=no
   8434 fi
   8435 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8436 fi
   8437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8438 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8439 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8440 	CFLAGS="$xorg_testset_save_CFLAGS"
   8441 fi
   8442 
   8443 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8444 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8445 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8446 	fi
   8447 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8448 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8449 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8450 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8451 then :
   8452   printf %s "(cached) " >&6
   8453 else $as_nop
   8454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8455 /* end confdefs.h.  */
   8456 int i;
   8457 _ACEOF
   8458 if ac_fn_c_try_compile "$LINENO"
   8459 then :
   8460   xorg_cv_cc_flag_unused_command_line_argument=yes
   8461 else $as_nop
   8462   xorg_cv_cc_flag_unused_command_line_argument=no
   8463 fi
   8464 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8465 fi
   8466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8467 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8468 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8469 	CFLAGS="$xorg_testset_save_CFLAGS"
   8470 fi
   8471 
   8472 found="no"
   8473 
   8474 	if test $found = "no" ; then
   8475 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8476 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8477 		fi
   8478 
   8479 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8480 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8481 		fi
   8482 
   8483 		CFLAGS="$CFLAGS -Werror=address"
   8484 
   8485 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8486 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8487 		cacheid=xorg_cv_cc_flag__Werror_address
   8488 		if eval test \${$cacheid+y}
   8489 then :
   8490   printf %s "(cached) " >&6
   8491 else $as_nop
   8492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8493 /* end confdefs.h.  */
   8494 int i;
   8495 int
   8496 main (void)
   8497 {
   8498 
   8499   ;
   8500   return 0;
   8501 }
   8502 _ACEOF
   8503 if ac_fn_c_try_link "$LINENO"
   8504 then :
   8505   eval $cacheid=yes
   8506 else $as_nop
   8507   eval $cacheid=no
   8508 fi
   8509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8510     conftest$ac_exeext conftest.$ac_ext
   8511 fi
   8512 
   8513 
   8514 		CFLAGS="$xorg_testset_save_CFLAGS"
   8515 
   8516 		eval supported=\$$cacheid
   8517 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8518 printf "%s\n" "$supported" >&6; }
   8519 		if test "$supported" = "yes" ; then
   8520 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8521 			found="yes"
   8522 		fi
   8523 	fi
   8524 
   8525 
   8526 
   8527 
   8528 
   8529 
   8530 
   8531 
   8532 
   8533 
   8534 
   8535 
   8536 
   8537 
   8538 
   8539 xorg_testset_save_CFLAGS="$CFLAGS"
   8540 
   8541 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8542 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8543 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8544 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8545 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8546 then :
   8547   printf %s "(cached) " >&6
   8548 else $as_nop
   8549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8550 /* end confdefs.h.  */
   8551 int i;
   8552 _ACEOF
   8553 if ac_fn_c_try_compile "$LINENO"
   8554 then :
   8555   xorg_cv_cc_flag_unknown_warning_option=yes
   8556 else $as_nop
   8557   xorg_cv_cc_flag_unknown_warning_option=no
   8558 fi
   8559 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8560 fi
   8561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8562 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8563 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8564 	CFLAGS="$xorg_testset_save_CFLAGS"
   8565 fi
   8566 
   8567 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8568 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8569 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8570 	fi
   8571 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8572 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8573 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8574 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8575 then :
   8576   printf %s "(cached) " >&6
   8577 else $as_nop
   8578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8579 /* end confdefs.h.  */
   8580 int i;
   8581 _ACEOF
   8582 if ac_fn_c_try_compile "$LINENO"
   8583 then :
   8584   xorg_cv_cc_flag_unused_command_line_argument=yes
   8585 else $as_nop
   8586   xorg_cv_cc_flag_unused_command_line_argument=no
   8587 fi
   8588 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8589 fi
   8590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8591 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8592 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8593 	CFLAGS="$xorg_testset_save_CFLAGS"
   8594 fi
   8595 
   8596 found="no"
   8597 
   8598 	if test $found = "no" ; then
   8599 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8600 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8601 		fi
   8602 
   8603 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8604 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8605 		fi
   8606 
   8607 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8608 
   8609 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8610 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8611 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8612 		if eval test \${$cacheid+y}
   8613 then :
   8614   printf %s "(cached) " >&6
   8615 else $as_nop
   8616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8617 /* end confdefs.h.  */
   8618 int i;
   8619 int
   8620 main (void)
   8621 {
   8622 
   8623   ;
   8624   return 0;
   8625 }
   8626 _ACEOF
   8627 if ac_fn_c_try_link "$LINENO"
   8628 then :
   8629   eval $cacheid=yes
   8630 else $as_nop
   8631   eval $cacheid=no
   8632 fi
   8633 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8634     conftest$ac_exeext conftest.$ac_ext
   8635 fi
   8636 
   8637 
   8638 		CFLAGS="$xorg_testset_save_CFLAGS"
   8639 
   8640 		eval supported=\$$cacheid
   8641 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8642 printf "%s\n" "$supported" >&6; }
   8643 		if test "$supported" = "yes" ; then
   8644 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8645 			found="yes"
   8646 		fi
   8647 	fi
   8648 
   8649 	if test $found = "no" ; then
   8650 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8651 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8652 		fi
   8653 
   8654 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8655 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8656 		fi
   8657 
   8658 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8659 
   8660 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8661 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8662 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8663 		if eval test \${$cacheid+y}
   8664 then :
   8665   printf %s "(cached) " >&6
   8666 else $as_nop
   8667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8668 /* end confdefs.h.  */
   8669 int i;
   8670 int
   8671 main (void)
   8672 {
   8673 
   8674   ;
   8675   return 0;
   8676 }
   8677 _ACEOF
   8678 if ac_fn_c_try_link "$LINENO"
   8679 then :
   8680   eval $cacheid=yes
   8681 else $as_nop
   8682   eval $cacheid=no
   8683 fi
   8684 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8685     conftest$ac_exeext conftest.$ac_ext
   8686 fi
   8687 
   8688 
   8689 		CFLAGS="$xorg_testset_save_CFLAGS"
   8690 
   8691 		eval supported=\$$cacheid
   8692 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8693 printf "%s\n" "$supported" >&6; }
   8694 		if test "$supported" = "yes" ; then
   8695 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8696 			found="yes"
   8697 		fi
   8698 	fi
   8699 
   8700 
   8701 
   8702 
   8703 
   8704 
   8705 
   8706 
   8707 
   8708 
   8709 
   8710 
   8711 
   8712 
   8713 
   8714 xorg_testset_save_CFLAGS="$CFLAGS"
   8715 
   8716 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8717 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8718 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8719 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8720 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8721 then :
   8722   printf %s "(cached) " >&6
   8723 else $as_nop
   8724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8725 /* end confdefs.h.  */
   8726 int i;
   8727 _ACEOF
   8728 if ac_fn_c_try_compile "$LINENO"
   8729 then :
   8730   xorg_cv_cc_flag_unknown_warning_option=yes
   8731 else $as_nop
   8732   xorg_cv_cc_flag_unknown_warning_option=no
   8733 fi
   8734 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8735 fi
   8736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8737 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8738 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8739 	CFLAGS="$xorg_testset_save_CFLAGS"
   8740 fi
   8741 
   8742 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8743 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8744 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8745 	fi
   8746 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8747 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8748 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8749 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8750 then :
   8751   printf %s "(cached) " >&6
   8752 else $as_nop
   8753   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_unused_command_line_argument=yes
   8760 else $as_nop
   8761   xorg_cv_cc_flag_unused_command_line_argument=no
   8762 fi
   8763 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8764 fi
   8765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8766 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8767 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8768 	CFLAGS="$xorg_testset_save_CFLAGS"
   8769 fi
   8770 
   8771 found="no"
   8772 
   8773 	if test $found = "no" ; then
   8774 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8775 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8776 		fi
   8777 
   8778 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8779 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8780 		fi
   8781 
   8782 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8783 
   8784 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8785 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8786 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8787 		if eval test \${$cacheid+y}
   8788 then :
   8789   printf %s "(cached) " >&6
   8790 else $as_nop
   8791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8792 /* end confdefs.h.  */
   8793 int i;
   8794 int
   8795 main (void)
   8796 {
   8797 
   8798   ;
   8799   return 0;
   8800 }
   8801 _ACEOF
   8802 if ac_fn_c_try_link "$LINENO"
   8803 then :
   8804   eval $cacheid=yes
   8805 else $as_nop
   8806   eval $cacheid=no
   8807 fi
   8808 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8809     conftest$ac_exeext conftest.$ac_ext
   8810 fi
   8811 
   8812 
   8813 		CFLAGS="$xorg_testset_save_CFLAGS"
   8814 
   8815 		eval supported=\$$cacheid
   8816 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8817 printf "%s\n" "$supported" >&6; }
   8818 		if test "$supported" = "yes" ; then
   8819 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8820 			found="yes"
   8821 		fi
   8822 	fi
   8823 
   8824  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8825 else
   8826 { 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
   8827 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;}
   8828 
   8829 
   8830 
   8831 
   8832 
   8833 
   8834 
   8835 
   8836 
   8837 
   8838 
   8839 
   8840 
   8841 xorg_testset_save_CFLAGS="$CFLAGS"
   8842 
   8843 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8844 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8845 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8846 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8847 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8848 then :
   8849   printf %s "(cached) " >&6
   8850 else $as_nop
   8851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8852 /* end confdefs.h.  */
   8853 int i;
   8854 _ACEOF
   8855 if ac_fn_c_try_compile "$LINENO"
   8856 then :
   8857   xorg_cv_cc_flag_unknown_warning_option=yes
   8858 else $as_nop
   8859   xorg_cv_cc_flag_unknown_warning_option=no
   8860 fi
   8861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8862 fi
   8863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8864 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8865 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8866 	CFLAGS="$xorg_testset_save_CFLAGS"
   8867 fi
   8868 
   8869 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8870 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8871 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8872 	fi
   8873 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8874 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8875 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8876 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8877 then :
   8878   printf %s "(cached) " >&6
   8879 else $as_nop
   8880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8881 /* end confdefs.h.  */
   8882 int i;
   8883 _ACEOF
   8884 if ac_fn_c_try_compile "$LINENO"
   8885 then :
   8886   xorg_cv_cc_flag_unused_command_line_argument=yes
   8887 else $as_nop
   8888   xorg_cv_cc_flag_unused_command_line_argument=no
   8889 fi
   8890 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8891 fi
   8892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8893 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8894 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8895 	CFLAGS="$xorg_testset_save_CFLAGS"
   8896 fi
   8897 
   8898 found="no"
   8899 
   8900 	if test $found = "no" ; then
   8901 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8902 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8903 		fi
   8904 
   8905 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8906 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8907 		fi
   8908 
   8909 		CFLAGS="$CFLAGS -Wimplicit"
   8910 
   8911 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8912 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   8913 		cacheid=xorg_cv_cc_flag__Wimplicit
   8914 		if eval test \${$cacheid+y}
   8915 then :
   8916   printf %s "(cached) " >&6
   8917 else $as_nop
   8918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8919 /* end confdefs.h.  */
   8920 int i;
   8921 int
   8922 main (void)
   8923 {
   8924 
   8925   ;
   8926   return 0;
   8927 }
   8928 _ACEOF
   8929 if ac_fn_c_try_link "$LINENO"
   8930 then :
   8931   eval $cacheid=yes
   8932 else $as_nop
   8933   eval $cacheid=no
   8934 fi
   8935 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8936     conftest$ac_exeext conftest.$ac_ext
   8937 fi
   8938 
   8939 
   8940 		CFLAGS="$xorg_testset_save_CFLAGS"
   8941 
   8942 		eval supported=\$$cacheid
   8943 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8944 printf "%s\n" "$supported" >&6; }
   8945 		if test "$supported" = "yes" ; then
   8946 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8947 			found="yes"
   8948 		fi
   8949 	fi
   8950 
   8951 
   8952 
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 
   8960 
   8961 
   8962 
   8963 
   8964 
   8965 xorg_testset_save_CFLAGS="$CFLAGS"
   8966 
   8967 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8968 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8969 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8970 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8971 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8972 then :
   8973   printf %s "(cached) " >&6
   8974 else $as_nop
   8975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8976 /* end confdefs.h.  */
   8977 int i;
   8978 _ACEOF
   8979 if ac_fn_c_try_compile "$LINENO"
   8980 then :
   8981   xorg_cv_cc_flag_unknown_warning_option=yes
   8982 else $as_nop
   8983   xorg_cv_cc_flag_unknown_warning_option=no
   8984 fi
   8985 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8986 fi
   8987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8988 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8989 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8990 	CFLAGS="$xorg_testset_save_CFLAGS"
   8991 fi
   8992 
   8993 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8994 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8995 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8996 	fi
   8997 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8998 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8999 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9000 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9001 then :
   9002   printf %s "(cached) " >&6
   9003 else $as_nop
   9004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9005 /* end confdefs.h.  */
   9006 int i;
   9007 _ACEOF
   9008 if ac_fn_c_try_compile "$LINENO"
   9009 then :
   9010   xorg_cv_cc_flag_unused_command_line_argument=yes
   9011 else $as_nop
   9012   xorg_cv_cc_flag_unused_command_line_argument=no
   9013 fi
   9014 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9015 fi
   9016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9017 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9018 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9019 	CFLAGS="$xorg_testset_save_CFLAGS"
   9020 fi
   9021 
   9022 found="no"
   9023 
   9024 	if test $found = "no" ; then
   9025 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9026 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9027 		fi
   9028 
   9029 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9030 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9031 		fi
   9032 
   9033 		CFLAGS="$CFLAGS -Wnonnull"
   9034 
   9035 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9036 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9037 		cacheid=xorg_cv_cc_flag__Wnonnull
   9038 		if eval test \${$cacheid+y}
   9039 then :
   9040   printf %s "(cached) " >&6
   9041 else $as_nop
   9042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9043 /* end confdefs.h.  */
   9044 int i;
   9045 int
   9046 main (void)
   9047 {
   9048 
   9049   ;
   9050   return 0;
   9051 }
   9052 _ACEOF
   9053 if ac_fn_c_try_link "$LINENO"
   9054 then :
   9055   eval $cacheid=yes
   9056 else $as_nop
   9057   eval $cacheid=no
   9058 fi
   9059 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9060     conftest$ac_exeext conftest.$ac_ext
   9061 fi
   9062 
   9063 
   9064 		CFLAGS="$xorg_testset_save_CFLAGS"
   9065 
   9066 		eval supported=\$$cacheid
   9067 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9068 printf "%s\n" "$supported" >&6; }
   9069 		if test "$supported" = "yes" ; then
   9070 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9071 			found="yes"
   9072 		fi
   9073 	fi
   9074 
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 
   9081 
   9082 
   9083 
   9084 
   9085 
   9086 
   9087 
   9088 
   9089 xorg_testset_save_CFLAGS="$CFLAGS"
   9090 
   9091 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9092 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9093 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9094 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9095 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9096 then :
   9097   printf %s "(cached) " >&6
   9098 else $as_nop
   9099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9100 /* end confdefs.h.  */
   9101 int i;
   9102 _ACEOF
   9103 if ac_fn_c_try_compile "$LINENO"
   9104 then :
   9105   xorg_cv_cc_flag_unknown_warning_option=yes
   9106 else $as_nop
   9107   xorg_cv_cc_flag_unknown_warning_option=no
   9108 fi
   9109 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9110 fi
   9111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9112 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9113 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9114 	CFLAGS="$xorg_testset_save_CFLAGS"
   9115 fi
   9116 
   9117 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9118 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9119 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9120 	fi
   9121 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9122 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9123 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9124 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9125 then :
   9126   printf %s "(cached) " >&6
   9127 else $as_nop
   9128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9129 /* end confdefs.h.  */
   9130 int i;
   9131 _ACEOF
   9132 if ac_fn_c_try_compile "$LINENO"
   9133 then :
   9134   xorg_cv_cc_flag_unused_command_line_argument=yes
   9135 else $as_nop
   9136   xorg_cv_cc_flag_unused_command_line_argument=no
   9137 fi
   9138 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9139 fi
   9140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9141 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9142 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9143 	CFLAGS="$xorg_testset_save_CFLAGS"
   9144 fi
   9145 
   9146 found="no"
   9147 
   9148 	if test $found = "no" ; then
   9149 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9150 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9151 		fi
   9152 
   9153 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9154 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9155 		fi
   9156 
   9157 		CFLAGS="$CFLAGS -Winit-self"
   9158 
   9159 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9160 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9161 		cacheid=xorg_cv_cc_flag__Winit_self
   9162 		if eval test \${$cacheid+y}
   9163 then :
   9164   printf %s "(cached) " >&6
   9165 else $as_nop
   9166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9167 /* end confdefs.h.  */
   9168 int i;
   9169 int
   9170 main (void)
   9171 {
   9172 
   9173   ;
   9174   return 0;
   9175 }
   9176 _ACEOF
   9177 if ac_fn_c_try_link "$LINENO"
   9178 then :
   9179   eval $cacheid=yes
   9180 else $as_nop
   9181   eval $cacheid=no
   9182 fi
   9183 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9184     conftest$ac_exeext conftest.$ac_ext
   9185 fi
   9186 
   9187 
   9188 		CFLAGS="$xorg_testset_save_CFLAGS"
   9189 
   9190 		eval supported=\$$cacheid
   9191 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9192 printf "%s\n" "$supported" >&6; }
   9193 		if test "$supported" = "yes" ; then
   9194 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9195 			found="yes"
   9196 		fi
   9197 	fi
   9198 
   9199 
   9200 
   9201 
   9202 
   9203 
   9204 
   9205 
   9206 
   9207 
   9208 
   9209 
   9210 
   9211 
   9212 
   9213 xorg_testset_save_CFLAGS="$CFLAGS"
   9214 
   9215 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9216 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9217 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9218 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9219 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9220 then :
   9221   printf %s "(cached) " >&6
   9222 else $as_nop
   9223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9224 /* end confdefs.h.  */
   9225 int i;
   9226 _ACEOF
   9227 if ac_fn_c_try_compile "$LINENO"
   9228 then :
   9229   xorg_cv_cc_flag_unknown_warning_option=yes
   9230 else $as_nop
   9231   xorg_cv_cc_flag_unknown_warning_option=no
   9232 fi
   9233 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9234 fi
   9235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9236 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9237 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9238 	CFLAGS="$xorg_testset_save_CFLAGS"
   9239 fi
   9240 
   9241 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9242 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9243 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9244 	fi
   9245 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9246 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9247 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9248 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9249 then :
   9250   printf %s "(cached) " >&6
   9251 else $as_nop
   9252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9253 /* end confdefs.h.  */
   9254 int i;
   9255 _ACEOF
   9256 if ac_fn_c_try_compile "$LINENO"
   9257 then :
   9258   xorg_cv_cc_flag_unused_command_line_argument=yes
   9259 else $as_nop
   9260   xorg_cv_cc_flag_unused_command_line_argument=no
   9261 fi
   9262 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9263 fi
   9264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9265 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9266 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9267 	CFLAGS="$xorg_testset_save_CFLAGS"
   9268 fi
   9269 
   9270 found="no"
   9271 
   9272 	if test $found = "no" ; then
   9273 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9274 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9275 		fi
   9276 
   9277 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9278 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9279 		fi
   9280 
   9281 		CFLAGS="$CFLAGS -Wmain"
   9282 
   9283 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9284 printf %s "checking if $CC supports -Wmain... " >&6; }
   9285 		cacheid=xorg_cv_cc_flag__Wmain
   9286 		if eval test \${$cacheid+y}
   9287 then :
   9288   printf %s "(cached) " >&6
   9289 else $as_nop
   9290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9291 /* end confdefs.h.  */
   9292 int i;
   9293 int
   9294 main (void)
   9295 {
   9296 
   9297   ;
   9298   return 0;
   9299 }
   9300 _ACEOF
   9301 if ac_fn_c_try_link "$LINENO"
   9302 then :
   9303   eval $cacheid=yes
   9304 else $as_nop
   9305   eval $cacheid=no
   9306 fi
   9307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9308     conftest$ac_exeext conftest.$ac_ext
   9309 fi
   9310 
   9311 
   9312 		CFLAGS="$xorg_testset_save_CFLAGS"
   9313 
   9314 		eval supported=\$$cacheid
   9315 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9316 printf "%s\n" "$supported" >&6; }
   9317 		if test "$supported" = "yes" ; then
   9318 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9319 			found="yes"
   9320 		fi
   9321 	fi
   9322 
   9323 
   9324 
   9325 
   9326 
   9327 
   9328 
   9329 
   9330 
   9331 
   9332 
   9333 
   9334 
   9335 
   9336 
   9337 xorg_testset_save_CFLAGS="$CFLAGS"
   9338 
   9339 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9340 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9341 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9342 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9343 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9344 then :
   9345   printf %s "(cached) " >&6
   9346 else $as_nop
   9347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9348 /* end confdefs.h.  */
   9349 int i;
   9350 _ACEOF
   9351 if ac_fn_c_try_compile "$LINENO"
   9352 then :
   9353   xorg_cv_cc_flag_unknown_warning_option=yes
   9354 else $as_nop
   9355   xorg_cv_cc_flag_unknown_warning_option=no
   9356 fi
   9357 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9358 fi
   9359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9360 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9361 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9362 	CFLAGS="$xorg_testset_save_CFLAGS"
   9363 fi
   9364 
   9365 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9366 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9367 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9368 	fi
   9369 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9370 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9371 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9372 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9373 then :
   9374   printf %s "(cached) " >&6
   9375 else $as_nop
   9376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9377 /* end confdefs.h.  */
   9378 int i;
   9379 _ACEOF
   9380 if ac_fn_c_try_compile "$LINENO"
   9381 then :
   9382   xorg_cv_cc_flag_unused_command_line_argument=yes
   9383 else $as_nop
   9384   xorg_cv_cc_flag_unused_command_line_argument=no
   9385 fi
   9386 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9387 fi
   9388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9389 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9390 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9391 	CFLAGS="$xorg_testset_save_CFLAGS"
   9392 fi
   9393 
   9394 found="no"
   9395 
   9396 	if test $found = "no" ; then
   9397 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9398 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9399 		fi
   9400 
   9401 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9402 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9403 		fi
   9404 
   9405 		CFLAGS="$CFLAGS -Wmissing-braces"
   9406 
   9407 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9408 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9409 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9410 		if eval test \${$cacheid+y}
   9411 then :
   9412   printf %s "(cached) " >&6
   9413 else $as_nop
   9414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9415 /* end confdefs.h.  */
   9416 int i;
   9417 int
   9418 main (void)
   9419 {
   9420 
   9421   ;
   9422   return 0;
   9423 }
   9424 _ACEOF
   9425 if ac_fn_c_try_link "$LINENO"
   9426 then :
   9427   eval $cacheid=yes
   9428 else $as_nop
   9429   eval $cacheid=no
   9430 fi
   9431 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9432     conftest$ac_exeext conftest.$ac_ext
   9433 fi
   9434 
   9435 
   9436 		CFLAGS="$xorg_testset_save_CFLAGS"
   9437 
   9438 		eval supported=\$$cacheid
   9439 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9440 printf "%s\n" "$supported" >&6; }
   9441 		if test "$supported" = "yes" ; then
   9442 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9443 			found="yes"
   9444 		fi
   9445 	fi
   9446 
   9447 
   9448 
   9449 
   9450 
   9451 
   9452 
   9453 
   9454 
   9455 
   9456 
   9457 
   9458 
   9459 
   9460 
   9461 xorg_testset_save_CFLAGS="$CFLAGS"
   9462 
   9463 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9464 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9465 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9466 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9467 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9468 then :
   9469   printf %s "(cached) " >&6
   9470 else $as_nop
   9471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9472 /* end confdefs.h.  */
   9473 int i;
   9474 _ACEOF
   9475 if ac_fn_c_try_compile "$LINENO"
   9476 then :
   9477   xorg_cv_cc_flag_unknown_warning_option=yes
   9478 else $as_nop
   9479   xorg_cv_cc_flag_unknown_warning_option=no
   9480 fi
   9481 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9482 fi
   9483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9484 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9485 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9486 	CFLAGS="$xorg_testset_save_CFLAGS"
   9487 fi
   9488 
   9489 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9490 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9491 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9492 	fi
   9493 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9494 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9495 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9496 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9497 then :
   9498   printf %s "(cached) " >&6
   9499 else $as_nop
   9500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9501 /* end confdefs.h.  */
   9502 int i;
   9503 _ACEOF
   9504 if ac_fn_c_try_compile "$LINENO"
   9505 then :
   9506   xorg_cv_cc_flag_unused_command_line_argument=yes
   9507 else $as_nop
   9508   xorg_cv_cc_flag_unused_command_line_argument=no
   9509 fi
   9510 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9511 fi
   9512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9513 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9514 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9515 	CFLAGS="$xorg_testset_save_CFLAGS"
   9516 fi
   9517 
   9518 found="no"
   9519 
   9520 	if test $found = "no" ; then
   9521 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9522 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9523 		fi
   9524 
   9525 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9526 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9527 		fi
   9528 
   9529 		CFLAGS="$CFLAGS -Wsequence-point"
   9530 
   9531 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9532 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9533 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9534 		if eval test \${$cacheid+y}
   9535 then :
   9536   printf %s "(cached) " >&6
   9537 else $as_nop
   9538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9539 /* end confdefs.h.  */
   9540 int i;
   9541 int
   9542 main (void)
   9543 {
   9544 
   9545   ;
   9546   return 0;
   9547 }
   9548 _ACEOF
   9549 if ac_fn_c_try_link "$LINENO"
   9550 then :
   9551   eval $cacheid=yes
   9552 else $as_nop
   9553   eval $cacheid=no
   9554 fi
   9555 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9556     conftest$ac_exeext conftest.$ac_ext
   9557 fi
   9558 
   9559 
   9560 		CFLAGS="$xorg_testset_save_CFLAGS"
   9561 
   9562 		eval supported=\$$cacheid
   9563 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9564 printf "%s\n" "$supported" >&6; }
   9565 		if test "$supported" = "yes" ; then
   9566 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9567 			found="yes"
   9568 		fi
   9569 	fi
   9570 
   9571 
   9572 
   9573 
   9574 
   9575 
   9576 
   9577 
   9578 
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 xorg_testset_save_CFLAGS="$CFLAGS"
   9586 
   9587 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9588 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9589 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9590 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9591 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9592 then :
   9593   printf %s "(cached) " >&6
   9594 else $as_nop
   9595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9596 /* end confdefs.h.  */
   9597 int i;
   9598 _ACEOF
   9599 if ac_fn_c_try_compile "$LINENO"
   9600 then :
   9601   xorg_cv_cc_flag_unknown_warning_option=yes
   9602 else $as_nop
   9603   xorg_cv_cc_flag_unknown_warning_option=no
   9604 fi
   9605 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9606 fi
   9607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9608 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9609 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9610 	CFLAGS="$xorg_testset_save_CFLAGS"
   9611 fi
   9612 
   9613 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9614 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9615 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9616 	fi
   9617 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9618 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9619 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9620 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9621 then :
   9622   printf %s "(cached) " >&6
   9623 else $as_nop
   9624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9625 /* end confdefs.h.  */
   9626 int i;
   9627 _ACEOF
   9628 if ac_fn_c_try_compile "$LINENO"
   9629 then :
   9630   xorg_cv_cc_flag_unused_command_line_argument=yes
   9631 else $as_nop
   9632   xorg_cv_cc_flag_unused_command_line_argument=no
   9633 fi
   9634 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9635 fi
   9636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9637 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9638 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9639 	CFLAGS="$xorg_testset_save_CFLAGS"
   9640 fi
   9641 
   9642 found="no"
   9643 
   9644 	if test $found = "no" ; then
   9645 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9646 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9647 		fi
   9648 
   9649 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9650 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9651 		fi
   9652 
   9653 		CFLAGS="$CFLAGS -Wreturn-type"
   9654 
   9655 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9656 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9657 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9658 		if eval test \${$cacheid+y}
   9659 then :
   9660   printf %s "(cached) " >&6
   9661 else $as_nop
   9662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9663 /* end confdefs.h.  */
   9664 int i;
   9665 int
   9666 main (void)
   9667 {
   9668 
   9669   ;
   9670   return 0;
   9671 }
   9672 _ACEOF
   9673 if ac_fn_c_try_link "$LINENO"
   9674 then :
   9675   eval $cacheid=yes
   9676 else $as_nop
   9677   eval $cacheid=no
   9678 fi
   9679 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9680     conftest$ac_exeext conftest.$ac_ext
   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 -Wreturn-type"
   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 $as_nop
   9719   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 $as_nop
   9727   xorg_cv_cc_flag_unknown_warning_option=no
   9728 fi
   9729 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9730 fi
   9731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9732 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9733 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9734 	CFLAGS="$xorg_testset_save_CFLAGS"
   9735 fi
   9736 
   9737 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9738 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9739 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9740 	fi
   9741 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9742 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9743 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9744 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9745 then :
   9746   printf %s "(cached) " >&6
   9747 else $as_nop
   9748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9749 /* end confdefs.h.  */
   9750 int i;
   9751 _ACEOF
   9752 if ac_fn_c_try_compile "$LINENO"
   9753 then :
   9754   xorg_cv_cc_flag_unused_command_line_argument=yes
   9755 else $as_nop
   9756   xorg_cv_cc_flag_unused_command_line_argument=no
   9757 fi
   9758 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9759 fi
   9760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9761 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9762 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9763 	CFLAGS="$xorg_testset_save_CFLAGS"
   9764 fi
   9765 
   9766 found="no"
   9767 
   9768 	if test $found = "no" ; then
   9769 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9770 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9771 		fi
   9772 
   9773 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9774 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9775 		fi
   9776 
   9777 		CFLAGS="$CFLAGS -Wtrigraphs"
   9778 
   9779 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9780 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   9781 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9782 		if eval test \${$cacheid+y}
   9783 then :
   9784   printf %s "(cached) " >&6
   9785 else $as_nop
   9786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9787 /* end confdefs.h.  */
   9788 int i;
   9789 int
   9790 main (void)
   9791 {
   9792 
   9793   ;
   9794   return 0;
   9795 }
   9796 _ACEOF
   9797 if ac_fn_c_try_link "$LINENO"
   9798 then :
   9799   eval $cacheid=yes
   9800 else $as_nop
   9801   eval $cacheid=no
   9802 fi
   9803 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9804     conftest$ac_exeext conftest.$ac_ext
   9805 fi
   9806 
   9807 
   9808 		CFLAGS="$xorg_testset_save_CFLAGS"
   9809 
   9810 		eval supported=\$$cacheid
   9811 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9812 printf "%s\n" "$supported" >&6; }
   9813 		if test "$supported" = "yes" ; then
   9814 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9815 			found="yes"
   9816 		fi
   9817 	fi
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 xorg_testset_save_CFLAGS="$CFLAGS"
   9834 
   9835 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9836 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9837 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9838 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9839 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9840 then :
   9841   printf %s "(cached) " >&6
   9842 else $as_nop
   9843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9844 /* end confdefs.h.  */
   9845 int i;
   9846 _ACEOF
   9847 if ac_fn_c_try_compile "$LINENO"
   9848 then :
   9849   xorg_cv_cc_flag_unknown_warning_option=yes
   9850 else $as_nop
   9851   xorg_cv_cc_flag_unknown_warning_option=no
   9852 fi
   9853 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9854 fi
   9855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9856 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9857 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9858 	CFLAGS="$xorg_testset_save_CFLAGS"
   9859 fi
   9860 
   9861 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9862 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9863 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9864 	fi
   9865 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9866 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9867 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9868 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9869 then :
   9870   printf %s "(cached) " >&6
   9871 else $as_nop
   9872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9873 /* end confdefs.h.  */
   9874 int i;
   9875 _ACEOF
   9876 if ac_fn_c_try_compile "$LINENO"
   9877 then :
   9878   xorg_cv_cc_flag_unused_command_line_argument=yes
   9879 else $as_nop
   9880   xorg_cv_cc_flag_unused_command_line_argument=no
   9881 fi
   9882 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9883 fi
   9884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9885 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9886 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9887 	CFLAGS="$xorg_testset_save_CFLAGS"
   9888 fi
   9889 
   9890 found="no"
   9891 
   9892 	if test $found = "no" ; then
   9893 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9894 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9895 		fi
   9896 
   9897 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9898 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9899 		fi
   9900 
   9901 		CFLAGS="$CFLAGS -Warray-bounds"
   9902 
   9903 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9904 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   9905 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9906 		if eval test \${$cacheid+y}
   9907 then :
   9908   printf %s "(cached) " >&6
   9909 else $as_nop
   9910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9911 /* end confdefs.h.  */
   9912 int i;
   9913 int
   9914 main (void)
   9915 {
   9916 
   9917   ;
   9918   return 0;
   9919 }
   9920 _ACEOF
   9921 if ac_fn_c_try_link "$LINENO"
   9922 then :
   9923   eval $cacheid=yes
   9924 else $as_nop
   9925   eval $cacheid=no
   9926 fi
   9927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9928     conftest$ac_exeext conftest.$ac_ext
   9929 fi
   9930 
   9931 
   9932 		CFLAGS="$xorg_testset_save_CFLAGS"
   9933 
   9934 		eval supported=\$$cacheid
   9935 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9936 printf "%s\n" "$supported" >&6; }
   9937 		if test "$supported" = "yes" ; then
   9938 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9939 			found="yes"
   9940 		fi
   9941 	fi
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 xorg_testset_save_CFLAGS="$CFLAGS"
   9958 
   9959 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9960 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9961 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9962 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9963 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9964 then :
   9965   printf %s "(cached) " >&6
   9966 else $as_nop
   9967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9968 /* end confdefs.h.  */
   9969 int i;
   9970 _ACEOF
   9971 if ac_fn_c_try_compile "$LINENO"
   9972 then :
   9973   xorg_cv_cc_flag_unknown_warning_option=yes
   9974 else $as_nop
   9975   xorg_cv_cc_flag_unknown_warning_option=no
   9976 fi
   9977 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9978 fi
   9979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9980 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9981 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9982 	CFLAGS="$xorg_testset_save_CFLAGS"
   9983 fi
   9984 
   9985 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9986 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9987 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9988 	fi
   9989 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9990 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9991 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9992 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9993 then :
   9994   printf %s "(cached) " >&6
   9995 else $as_nop
   9996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9997 /* end confdefs.h.  */
   9998 int i;
   9999 _ACEOF
   10000 if ac_fn_c_try_compile "$LINENO"
   10001 then :
   10002   xorg_cv_cc_flag_unused_command_line_argument=yes
   10003 else $as_nop
   10004   xorg_cv_cc_flag_unused_command_line_argument=no
   10005 fi
   10006 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10007 fi
   10008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10009 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10010 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10011 	CFLAGS="$xorg_testset_save_CFLAGS"
   10012 fi
   10013 
   10014 found="no"
   10015 
   10016 	if test $found = "no" ; then
   10017 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10018 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10019 		fi
   10020 
   10021 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10022 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10023 		fi
   10024 
   10025 		CFLAGS="$CFLAGS -Wwrite-strings"
   10026 
   10027 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10028 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10029 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10030 		if eval test \${$cacheid+y}
   10031 then :
   10032   printf %s "(cached) " >&6
   10033 else $as_nop
   10034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10035 /* end confdefs.h.  */
   10036 int i;
   10037 int
   10038 main (void)
   10039 {
   10040 
   10041   ;
   10042   return 0;
   10043 }
   10044 _ACEOF
   10045 if ac_fn_c_try_link "$LINENO"
   10046 then :
   10047   eval $cacheid=yes
   10048 else $as_nop
   10049   eval $cacheid=no
   10050 fi
   10051 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10052     conftest$ac_exeext conftest.$ac_ext
   10053 fi
   10054 
   10055 
   10056 		CFLAGS="$xorg_testset_save_CFLAGS"
   10057 
   10058 		eval supported=\$$cacheid
   10059 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10060 printf "%s\n" "$supported" >&6; }
   10061 		if test "$supported" = "yes" ; then
   10062 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10063 			found="yes"
   10064 		fi
   10065 	fi
   10066 
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 xorg_testset_save_CFLAGS="$CFLAGS"
   10082 
   10083 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10084 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10085 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10086 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10087 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10088 then :
   10089   printf %s "(cached) " >&6
   10090 else $as_nop
   10091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10092 /* end confdefs.h.  */
   10093 int i;
   10094 _ACEOF
   10095 if ac_fn_c_try_compile "$LINENO"
   10096 then :
   10097   xorg_cv_cc_flag_unknown_warning_option=yes
   10098 else $as_nop
   10099   xorg_cv_cc_flag_unknown_warning_option=no
   10100 fi
   10101 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10102 fi
   10103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10104 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10105 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10106 	CFLAGS="$xorg_testset_save_CFLAGS"
   10107 fi
   10108 
   10109 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10110 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10111 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10112 	fi
   10113 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10114 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10115 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10116 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10117 then :
   10118   printf %s "(cached) " >&6
   10119 else $as_nop
   10120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10121 /* end confdefs.h.  */
   10122 int i;
   10123 _ACEOF
   10124 if ac_fn_c_try_compile "$LINENO"
   10125 then :
   10126   xorg_cv_cc_flag_unused_command_line_argument=yes
   10127 else $as_nop
   10128   xorg_cv_cc_flag_unused_command_line_argument=no
   10129 fi
   10130 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10131 fi
   10132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10133 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10134 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10135 	CFLAGS="$xorg_testset_save_CFLAGS"
   10136 fi
   10137 
   10138 found="no"
   10139 
   10140 	if test $found = "no" ; then
   10141 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10142 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10143 		fi
   10144 
   10145 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10146 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10147 		fi
   10148 
   10149 		CFLAGS="$CFLAGS -Waddress"
   10150 
   10151 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10152 printf %s "checking if $CC supports -Waddress... " >&6; }
   10153 		cacheid=xorg_cv_cc_flag__Waddress
   10154 		if eval test \${$cacheid+y}
   10155 then :
   10156   printf %s "(cached) " >&6
   10157 else $as_nop
   10158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10159 /* end confdefs.h.  */
   10160 int i;
   10161 int
   10162 main (void)
   10163 {
   10164 
   10165   ;
   10166   return 0;
   10167 }
   10168 _ACEOF
   10169 if ac_fn_c_try_link "$LINENO"
   10170 then :
   10171   eval $cacheid=yes
   10172 else $as_nop
   10173   eval $cacheid=no
   10174 fi
   10175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10176     conftest$ac_exeext conftest.$ac_ext
   10177 fi
   10178 
   10179 
   10180 		CFLAGS="$xorg_testset_save_CFLAGS"
   10181 
   10182 		eval supported=\$$cacheid
   10183 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10184 printf "%s\n" "$supported" >&6; }
   10185 		if test "$supported" = "yes" ; then
   10186 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10187 			found="yes"
   10188 		fi
   10189 	fi
   10190 
   10191 
   10192 
   10193 
   10194 
   10195 
   10196 
   10197 
   10198 
   10199 
   10200 
   10201 
   10202 
   10203 
   10204 
   10205 xorg_testset_save_CFLAGS="$CFLAGS"
   10206 
   10207 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10208 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10209 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10210 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10211 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10212 then :
   10213   printf %s "(cached) " >&6
   10214 else $as_nop
   10215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10216 /* end confdefs.h.  */
   10217 int i;
   10218 _ACEOF
   10219 if ac_fn_c_try_compile "$LINENO"
   10220 then :
   10221   xorg_cv_cc_flag_unknown_warning_option=yes
   10222 else $as_nop
   10223   xorg_cv_cc_flag_unknown_warning_option=no
   10224 fi
   10225 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10226 fi
   10227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10228 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10229 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10230 	CFLAGS="$xorg_testset_save_CFLAGS"
   10231 fi
   10232 
   10233 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10234 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10235 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10236 	fi
   10237 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10238 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10239 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10240 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10241 then :
   10242   printf %s "(cached) " >&6
   10243 else $as_nop
   10244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10245 /* end confdefs.h.  */
   10246 int i;
   10247 _ACEOF
   10248 if ac_fn_c_try_compile "$LINENO"
   10249 then :
   10250   xorg_cv_cc_flag_unused_command_line_argument=yes
   10251 else $as_nop
   10252   xorg_cv_cc_flag_unused_command_line_argument=no
   10253 fi
   10254 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10255 fi
   10256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10257 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10258 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10259 	CFLAGS="$xorg_testset_save_CFLAGS"
   10260 fi
   10261 
   10262 found="no"
   10263 
   10264 	if test $found = "no" ; then
   10265 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10266 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10267 		fi
   10268 
   10269 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10270 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10271 		fi
   10272 
   10273 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10274 
   10275 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10276 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10277 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10278 		if eval test \${$cacheid+y}
   10279 then :
   10280   printf %s "(cached) " >&6
   10281 else $as_nop
   10282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10283 /* end confdefs.h.  */
   10284 int i;
   10285 int
   10286 main (void)
   10287 {
   10288 
   10289   ;
   10290   return 0;
   10291 }
   10292 _ACEOF
   10293 if ac_fn_c_try_link "$LINENO"
   10294 then :
   10295   eval $cacheid=yes
   10296 else $as_nop
   10297   eval $cacheid=no
   10298 fi
   10299 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10300     conftest$ac_exeext conftest.$ac_ext
   10301 fi
   10302 
   10303 
   10304 		CFLAGS="$xorg_testset_save_CFLAGS"
   10305 
   10306 		eval supported=\$$cacheid
   10307 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10308 printf "%s\n" "$supported" >&6; }
   10309 		if test "$supported" = "yes" ; then
   10310 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10311 			found="yes"
   10312 		fi
   10313 	fi
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 
   10329 xorg_testset_save_CFLAGS="$CFLAGS"
   10330 
   10331 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10332 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10333 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10334 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10335 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10336 then :
   10337   printf %s "(cached) " >&6
   10338 else $as_nop
   10339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10340 /* end confdefs.h.  */
   10341 int i;
   10342 _ACEOF
   10343 if ac_fn_c_try_compile "$LINENO"
   10344 then :
   10345   xorg_cv_cc_flag_unknown_warning_option=yes
   10346 else $as_nop
   10347   xorg_cv_cc_flag_unknown_warning_option=no
   10348 fi
   10349 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10350 fi
   10351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10352 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10353 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10354 	CFLAGS="$xorg_testset_save_CFLAGS"
   10355 fi
   10356 
   10357 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10358 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10359 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10360 	fi
   10361 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10362 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10363 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10364 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10365 then :
   10366   printf %s "(cached) " >&6
   10367 else $as_nop
   10368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10369 /* end confdefs.h.  */
   10370 int i;
   10371 _ACEOF
   10372 if ac_fn_c_try_compile "$LINENO"
   10373 then :
   10374   xorg_cv_cc_flag_unused_command_line_argument=yes
   10375 else $as_nop
   10376   xorg_cv_cc_flag_unused_command_line_argument=no
   10377 fi
   10378 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10379 fi
   10380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10381 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10382 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10383 	CFLAGS="$xorg_testset_save_CFLAGS"
   10384 fi
   10385 
   10386 found="no"
   10387 
   10388 	if test $found = "no" ; then
   10389 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10390 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10391 		fi
   10392 
   10393 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10394 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10395 		fi
   10396 
   10397 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10398 
   10399 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10400 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10401 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10402 		if eval test \${$cacheid+y}
   10403 then :
   10404   printf %s "(cached) " >&6
   10405 else $as_nop
   10406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10407 /* end confdefs.h.  */
   10408 int i;
   10409 int
   10410 main (void)
   10411 {
   10412 
   10413   ;
   10414   return 0;
   10415 }
   10416 _ACEOF
   10417 if ac_fn_c_try_link "$LINENO"
   10418 then :
   10419   eval $cacheid=yes
   10420 else $as_nop
   10421   eval $cacheid=no
   10422 fi
   10423 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10424     conftest$ac_exeext conftest.$ac_ext
   10425 fi
   10426 
   10427 
   10428 		CFLAGS="$xorg_testset_save_CFLAGS"
   10429 
   10430 		eval supported=\$$cacheid
   10431 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10432 printf "%s\n" "$supported" >&6; }
   10433 		if test "$supported" = "yes" ; then
   10434 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10435 			found="yes"
   10436 		fi
   10437 	fi
   10438 
   10439 
   10440 fi
   10441 
   10442 
   10443 
   10444 
   10445 
   10446 
   10447 
   10448 		CWARNFLAGS="$BASE_CFLAGS"
   10449 		if  test "x$GCC" = xyes ; then
   10450 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10451 		fi
   10452 
   10453 
   10454 
   10455 
   10456 
   10457 
   10458 
   10459 
   10460 # Check whether --enable-strict-compilation was given.
   10461 if test ${enable_strict_compilation+y}
   10462 then :
   10463   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10464 else $as_nop
   10465   STRICT_COMPILE=no
   10466 fi
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 STRICT_CFLAGS=""
   10474 
   10475 
   10476 
   10477 
   10478 
   10479 
   10480 
   10481 
   10482 
   10483 
   10484 
   10485 
   10486 
   10487 xorg_testset_save_CFLAGS="$CFLAGS"
   10488 
   10489 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10490 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10491 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10492 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10493 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10494 then :
   10495   printf %s "(cached) " >&6
   10496 else $as_nop
   10497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10498 /* end confdefs.h.  */
   10499 int i;
   10500 _ACEOF
   10501 if ac_fn_c_try_compile "$LINENO"
   10502 then :
   10503   xorg_cv_cc_flag_unknown_warning_option=yes
   10504 else $as_nop
   10505   xorg_cv_cc_flag_unknown_warning_option=no
   10506 fi
   10507 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10508 fi
   10509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10510 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10511 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10512 	CFLAGS="$xorg_testset_save_CFLAGS"
   10513 fi
   10514 
   10515 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10516 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10517 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10518 	fi
   10519 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10520 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10521 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10522 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10523 then :
   10524   printf %s "(cached) " >&6
   10525 else $as_nop
   10526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10527 /* end confdefs.h.  */
   10528 int i;
   10529 _ACEOF
   10530 if ac_fn_c_try_compile "$LINENO"
   10531 then :
   10532   xorg_cv_cc_flag_unused_command_line_argument=yes
   10533 else $as_nop
   10534   xorg_cv_cc_flag_unused_command_line_argument=no
   10535 fi
   10536 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10537 fi
   10538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10539 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10540 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10541 	CFLAGS="$xorg_testset_save_CFLAGS"
   10542 fi
   10543 
   10544 found="no"
   10545 
   10546 	if test $found = "no" ; then
   10547 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10548 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10549 		fi
   10550 
   10551 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10552 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10553 		fi
   10554 
   10555 		CFLAGS="$CFLAGS -pedantic"
   10556 
   10557 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10558 printf %s "checking if $CC supports -pedantic... " >&6; }
   10559 		cacheid=xorg_cv_cc_flag__pedantic
   10560 		if eval test \${$cacheid+y}
   10561 then :
   10562   printf %s "(cached) " >&6
   10563 else $as_nop
   10564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10565 /* end confdefs.h.  */
   10566 int i;
   10567 int
   10568 main (void)
   10569 {
   10570 
   10571   ;
   10572   return 0;
   10573 }
   10574 _ACEOF
   10575 if ac_fn_c_try_link "$LINENO"
   10576 then :
   10577   eval $cacheid=yes
   10578 else $as_nop
   10579   eval $cacheid=no
   10580 fi
   10581 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10582     conftest$ac_exeext conftest.$ac_ext
   10583 fi
   10584 
   10585 
   10586 		CFLAGS="$xorg_testset_save_CFLAGS"
   10587 
   10588 		eval supported=\$$cacheid
   10589 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10590 printf "%s\n" "$supported" >&6; }
   10591 		if test "$supported" = "yes" ; then
   10592 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10593 			found="yes"
   10594 		fi
   10595 	fi
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 xorg_testset_save_CFLAGS="$CFLAGS"
   10612 
   10613 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10614 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10615 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10616 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10617 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10618 then :
   10619   printf %s "(cached) " >&6
   10620 else $as_nop
   10621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10622 /* end confdefs.h.  */
   10623 int i;
   10624 _ACEOF
   10625 if ac_fn_c_try_compile "$LINENO"
   10626 then :
   10627   xorg_cv_cc_flag_unknown_warning_option=yes
   10628 else $as_nop
   10629   xorg_cv_cc_flag_unknown_warning_option=no
   10630 fi
   10631 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10632 fi
   10633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10634 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10635 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10636 	CFLAGS="$xorg_testset_save_CFLAGS"
   10637 fi
   10638 
   10639 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10640 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10641 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10642 	fi
   10643 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10644 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10645 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10646 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10647 then :
   10648   printf %s "(cached) " >&6
   10649 else $as_nop
   10650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10651 /* end confdefs.h.  */
   10652 int i;
   10653 _ACEOF
   10654 if ac_fn_c_try_compile "$LINENO"
   10655 then :
   10656   xorg_cv_cc_flag_unused_command_line_argument=yes
   10657 else $as_nop
   10658   xorg_cv_cc_flag_unused_command_line_argument=no
   10659 fi
   10660 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10661 fi
   10662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10663 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10664 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10665 	CFLAGS="$xorg_testset_save_CFLAGS"
   10666 fi
   10667 
   10668 found="no"
   10669 
   10670 	if test $found = "no" ; then
   10671 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10672 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10673 		fi
   10674 
   10675 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10676 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10677 		fi
   10678 
   10679 		CFLAGS="$CFLAGS -Werror"
   10680 
   10681 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10682 printf %s "checking if $CC supports -Werror... " >&6; }
   10683 		cacheid=xorg_cv_cc_flag__Werror
   10684 		if eval test \${$cacheid+y}
   10685 then :
   10686   printf %s "(cached) " >&6
   10687 else $as_nop
   10688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10689 /* end confdefs.h.  */
   10690 int i;
   10691 int
   10692 main (void)
   10693 {
   10694 
   10695   ;
   10696   return 0;
   10697 }
   10698 _ACEOF
   10699 if ac_fn_c_try_link "$LINENO"
   10700 then :
   10701   eval $cacheid=yes
   10702 else $as_nop
   10703   eval $cacheid=no
   10704 fi
   10705 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10706     conftest$ac_exeext conftest.$ac_ext
   10707 fi
   10708 
   10709 
   10710 		CFLAGS="$xorg_testset_save_CFLAGS"
   10711 
   10712 		eval supported=\$$cacheid
   10713 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10714 printf "%s\n" "$supported" >&6; }
   10715 		if test "$supported" = "yes" ; then
   10716 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10717 			found="yes"
   10718 		fi
   10719 	fi
   10720 
   10721 	if test $found = "no" ; then
   10722 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10723 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10724 		fi
   10725 
   10726 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10727 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10728 		fi
   10729 
   10730 		CFLAGS="$CFLAGS -errwarn"
   10731 
   10732 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10733 printf %s "checking if $CC supports -errwarn... " >&6; }
   10734 		cacheid=xorg_cv_cc_flag__errwarn
   10735 		if eval test \${$cacheid+y}
   10736 then :
   10737   printf %s "(cached) " >&6
   10738 else $as_nop
   10739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10740 /* end confdefs.h.  */
   10741 int i;
   10742 int
   10743 main (void)
   10744 {
   10745 
   10746   ;
   10747   return 0;
   10748 }
   10749 _ACEOF
   10750 if ac_fn_c_try_link "$LINENO"
   10751 then :
   10752   eval $cacheid=yes
   10753 else $as_nop
   10754   eval $cacheid=no
   10755 fi
   10756 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10757     conftest$ac_exeext conftest.$ac_ext
   10758 fi
   10759 
   10760 
   10761 		CFLAGS="$xorg_testset_save_CFLAGS"
   10762 
   10763 		eval supported=\$$cacheid
   10764 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10765 printf "%s\n" "$supported" >&6; }
   10766 		if test "$supported" = "yes" ; then
   10767 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10768 			found="yes"
   10769 		fi
   10770 	fi
   10771 
   10772 
   10773 
   10774 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10775 # activate it with -Werror, so we add it here explicitly.
   10776 
   10777 
   10778 
   10779 
   10780 
   10781 
   10782 
   10783 
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 xorg_testset_save_CFLAGS="$CFLAGS"
   10790 
   10791 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10792 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10793 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10794 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10795 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10796 then :
   10797   printf %s "(cached) " >&6
   10798 else $as_nop
   10799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10800 /* end confdefs.h.  */
   10801 int i;
   10802 _ACEOF
   10803 if ac_fn_c_try_compile "$LINENO"
   10804 then :
   10805   xorg_cv_cc_flag_unknown_warning_option=yes
   10806 else $as_nop
   10807   xorg_cv_cc_flag_unknown_warning_option=no
   10808 fi
   10809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10810 fi
   10811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10812 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10813 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10814 	CFLAGS="$xorg_testset_save_CFLAGS"
   10815 fi
   10816 
   10817 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10818 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10819 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10820 	fi
   10821 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10822 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10823 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10824 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10825 then :
   10826   printf %s "(cached) " >&6
   10827 else $as_nop
   10828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10829 /* end confdefs.h.  */
   10830 int i;
   10831 _ACEOF
   10832 if ac_fn_c_try_compile "$LINENO"
   10833 then :
   10834   xorg_cv_cc_flag_unused_command_line_argument=yes
   10835 else $as_nop
   10836   xorg_cv_cc_flag_unused_command_line_argument=no
   10837 fi
   10838 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10839 fi
   10840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10841 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10842 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10843 	CFLAGS="$xorg_testset_save_CFLAGS"
   10844 fi
   10845 
   10846 found="no"
   10847 
   10848 	if test $found = "no" ; then
   10849 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10850 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10851 		fi
   10852 
   10853 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10854 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10855 		fi
   10856 
   10857 		CFLAGS="$CFLAGS -Werror=attributes"
   10858 
   10859 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10860 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   10861 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10862 		if eval test \${$cacheid+y}
   10863 then :
   10864   printf %s "(cached) " >&6
   10865 else $as_nop
   10866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10867 /* end confdefs.h.  */
   10868 int i;
   10869 int
   10870 main (void)
   10871 {
   10872 
   10873   ;
   10874   return 0;
   10875 }
   10876 _ACEOF
   10877 if ac_fn_c_try_link "$LINENO"
   10878 then :
   10879   eval $cacheid=yes
   10880 else $as_nop
   10881   eval $cacheid=no
   10882 fi
   10883 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10884     conftest$ac_exeext conftest.$ac_ext
   10885 fi
   10886 
   10887 
   10888 		CFLAGS="$xorg_testset_save_CFLAGS"
   10889 
   10890 		eval supported=\$$cacheid
   10891 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10892 printf "%s\n" "$supported" >&6; }
   10893 		if test "$supported" = "yes" ; then
   10894 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10895 			found="yes"
   10896 		fi
   10897 	fi
   10898 
   10899 
   10900 
   10901 if test "x$STRICT_COMPILE" = "xyes"; then
   10902     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10903     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10904 fi
   10905 
   10906 
   10907 
   10908 
   10909 
   10910 
   10911 cat >>confdefs.h <<_ACEOF
   10912 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10913 _ACEOF
   10914 
   10915 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10916 	if test "x$PVM" = "x"; then
   10917 		PVM="0"
   10918 	fi
   10919 
   10920 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   10921 
   10922 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10923 	if test "x$PVP" = "x"; then
   10924 		PVP="0"
   10925 	fi
   10926 
   10927 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   10928 
   10929 
   10930 
   10931 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   10932 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10933 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   10934 touch \$(top_srcdir)/ChangeLog; \
   10935 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   10936 
   10937 
   10938 
   10939 
   10940 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10941 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10942 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10943 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   10944 touch \$(top_srcdir)/INSTALL; \
   10945 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   10946 
   10947 
   10948 
   10949 
   10950 
   10951 
   10952 case $host_os in
   10953     solaris*)
   10954         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   10955         # check for a man page file found in later versions that use
   10956         # traditional section numbers instead
   10957         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   10958 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   10959 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   10960 then :
   10961   printf %s "(cached) " >&6
   10962 else $as_nop
   10963   test "$cross_compiling" = yes &&
   10964   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   10965 if test -r "/usr/share/man/man7/attributes.7"; then
   10966   ac_cv_file__usr_share_man_man7_attributes_7=yes
   10967 else
   10968   ac_cv_file__usr_share_man_man7_attributes_7=no
   10969 fi
   10970 fi
   10971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   10972 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   10973 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   10974 then :
   10975   SYSV_MAN_SECTIONS=false
   10976 else $as_nop
   10977   SYSV_MAN_SECTIONS=true
   10978 fi
   10979 
   10980         ;;
   10981     *) SYSV_MAN_SECTIONS=false ;;
   10982 esac
   10983 
   10984 if test x$APP_MAN_SUFFIX = x    ; then
   10985     APP_MAN_SUFFIX=1
   10986 fi
   10987 if test x$APP_MAN_DIR = x    ; then
   10988     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10989 fi
   10990 
   10991 if test x$LIB_MAN_SUFFIX = x    ; then
   10992     LIB_MAN_SUFFIX=3
   10993 fi
   10994 if test x$LIB_MAN_DIR = x    ; then
   10995     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10996 fi
   10997 
   10998 if test x$FILE_MAN_SUFFIX = x    ; then
   10999     case $SYSV_MAN_SECTIONS in
   11000 	true)				FILE_MAN_SUFFIX=4  ;;
   11001 	*)				FILE_MAN_SUFFIX=5  ;;
   11002     esac
   11003 fi
   11004 if test x$FILE_MAN_DIR = x    ; then
   11005     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11006 fi
   11007 
   11008 if test x$MISC_MAN_SUFFIX = x    ; then
   11009     case $SYSV_MAN_SECTIONS in
   11010 	true)				MISC_MAN_SUFFIX=5  ;;
   11011 	*)				MISC_MAN_SUFFIX=7  ;;
   11012     esac
   11013 fi
   11014 if test x$MISC_MAN_DIR = x    ; then
   11015     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11016 fi
   11017 
   11018 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11019     case $SYSV_MAN_SECTIONS in
   11020 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11021 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11022     esac
   11023 fi
   11024 if test x$DRIVER_MAN_DIR = x    ; then
   11025     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11026 fi
   11027 
   11028 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11029     case $SYSV_MAN_SECTIONS in
   11030 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11031 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11032     esac
   11033 fi
   11034 if test x$ADMIN_MAN_DIR = x    ; then
   11035     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11036 fi
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 
   11044 
   11045 
   11046 
   11047 
   11048 
   11049 
   11050 
   11051 
   11052 XORG_MAN_PAGE="X Version 11"
   11053 
   11054 MAN_SUBSTS="\
   11055 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11056 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11057 	-e 's|__xservername__|Xorg|g' \
   11058 	-e 's|__xconfigfile__|xorg.conf|g' \
   11059 	-e 's|__projectroot__|\$(prefix)|g' \
   11060 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11061 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11062 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11063 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11064 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11065 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11066 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11067 
   11068 
   11069 
   11070 # Check whether --enable-silent-rules was given.
   11071 if test ${enable_silent_rules+y}
   11072 then :
   11073   enableval=$enable_silent_rules;
   11074 fi
   11075 
   11076 case $enable_silent_rules in # (((
   11077   yes) AM_DEFAULT_VERBOSITY=0;;
   11078    no) AM_DEFAULT_VERBOSITY=1;;
   11079     *) AM_DEFAULT_VERBOSITY=0;;
   11080 esac
   11081 am_make=${MAKE-make}
   11082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11083 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11084 if test ${am_cv_make_support_nested_variables+y}
   11085 then :
   11086   printf %s "(cached) " >&6
   11087 else $as_nop
   11088   if printf "%s\n" 'TRUE=$(BAR$(V))
   11089 BAR0=false
   11090 BAR1=true
   11091 V=1
   11092 am__doit:
   11093 	@$(TRUE)
   11094 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11095   am_cv_make_support_nested_variables=yes
   11096 else
   11097   am_cv_make_support_nested_variables=no
   11098 fi
   11099 fi
   11100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11101 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11102 if test $am_cv_make_support_nested_variables = yes; then
   11103     AM_V='$(V)'
   11104   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11105 else
   11106   AM_V=$AM_DEFAULT_VERBOSITY
   11107   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11108 fi
   11109 AM_BACKSLASH='\'
   11110 
   11111 
   11112 
   11113 for ac_prog in flex lex
   11114 do
   11115   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11116 set dummy $ac_prog; ac_word=$2
   11117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11118 printf %s "checking for $ac_word... " >&6; }
   11119 if test ${ac_cv_prog_LEX+y}
   11120 then :
   11121   printf %s "(cached) " >&6
   11122 else $as_nop
   11123   if test -n "$LEX"; then
   11124   ac_cv_prog_LEX="$LEX" # Let the user override the test.
   11125 else
   11126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11127 for as_dir in $PATH
   11128 do
   11129   IFS=$as_save_IFS
   11130   case $as_dir in #(((
   11131     '') as_dir=./ ;;
   11132     */) ;;
   11133     *) as_dir=$as_dir/ ;;
   11134   esac
   11135     for ac_exec_ext in '' $ac_executable_extensions; do
   11136   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11137     ac_cv_prog_LEX="$ac_prog"
   11138     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11139     break 2
   11140   fi
   11141 done
   11142   done
   11143 IFS=$as_save_IFS
   11144 
   11145 fi
   11146 fi
   11147 LEX=$ac_cv_prog_LEX
   11148 if test -n "$LEX"; then
   11149   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
   11150 printf "%s\n" "$LEX" >&6; }
   11151 else
   11152   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11153 printf "%s\n" "no" >&6; }
   11154 fi
   11155 
   11156 
   11157   test -n "$LEX" && break
   11158 done
   11159 test -n "$LEX" || LEX=":"
   11160 
   11161   if test "x$LEX" != "x:"; then
   11162     cat >conftest.l <<_ACEOF
   11163 %{
   11164 #ifdef __cplusplus
   11165 extern "C"
   11166 #endif
   11167 int yywrap(void);
   11168 %}
   11169 %%
   11170 a { ECHO; }
   11171 b { REJECT; }
   11172 c { yymore (); }
   11173 d { yyless (1); }
   11174 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
   11175 #ifdef __cplusplus
   11176     yyless ((yyinput () != 0));
   11177 #else
   11178     yyless ((input () != 0));
   11179 #endif
   11180   }
   11181 f { unput (yytext[0]); }
   11182 . { BEGIN INITIAL; }
   11183 %%
   11184 #ifdef YYTEXT_POINTER
   11185 extern char *yytext;
   11186 #endif
   11187 int
   11188 yywrap (void)
   11189 {
   11190   return 1;
   11191 }
   11192 int
   11193 main (void)
   11194 {
   11195   return ! yylex ();
   11196 }
   11197 _ACEOF
   11198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex output file root" >&5
   11199 printf %s "checking for lex output file root... " >&6; }
   11200 if test ${ac_cv_prog_lex_root+y}
   11201 then :
   11202   printf %s "(cached) " >&6
   11203 else $as_nop
   11204 
   11205 ac_cv_prog_lex_root=unknown
   11206 { { ac_try="$LEX conftest.l"
   11207 case "(($ac_try" in
   11208   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11209   *) ac_try_echo=$ac_try;;
   11210 esac
   11211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   11212 printf "%s\n" "$ac_try_echo"; } >&5
   11213   (eval "$LEX conftest.l") 2>&5
   11214   ac_status=$?
   11215   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11216   test $ac_status = 0; } &&
   11217 if test -f lex.yy.c; then
   11218   ac_cv_prog_lex_root=lex.yy
   11219 elif test -f lexyy.c; then
   11220   ac_cv_prog_lex_root=lexyy
   11221 fi
   11222 fi
   11223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
   11224 printf "%s\n" "$ac_cv_prog_lex_root" >&6; }
   11225 if test "$ac_cv_prog_lex_root" = unknown
   11226 then :
   11227   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot find output from $LEX; giving up on $LEX" >&5
   11228 printf "%s\n" "$as_me: WARNING: cannot find output from $LEX; giving up on $LEX" >&2;}
   11229    LEX=: LEXLIB=
   11230 fi
   11231 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
   11232 
   11233 if test ${LEXLIB+y}
   11234 then :
   11235 
   11236 else $as_nop
   11237 
   11238   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex library" >&5
   11239 printf %s "checking for lex library... " >&6; }
   11240 if test ${ac_cv_lib_lex+y}
   11241 then :
   11242   printf %s "(cached) " >&6
   11243 else $as_nop
   11244 
   11245     ac_save_LIBS="$LIBS"
   11246     ac_found=false
   11247     for ac_cv_lib_lex in 'none needed' -lfl -ll 'not found'; do
   11248       case $ac_cv_lib_lex in #(
   11249   'none needed') :
   11250      ;; #(
   11251   'not found') :
   11252     break ;; #(
   11253   *) :
   11254     LIBS="$ac_cv_lib_lex $ac_save_LIBS" ;; #(
   11255   *) :
   11256      ;;
   11257 esac
   11258 
   11259       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11260 /* end confdefs.h.  */
   11261 `cat $LEX_OUTPUT_ROOT.c`
   11262 _ACEOF
   11263 if ac_fn_c_try_link "$LINENO"
   11264 then :
   11265   ac_found=:
   11266 fi
   11267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11268     conftest$ac_exeext conftest.$ac_ext
   11269       if $ac_found; then
   11270         break
   11271       fi
   11272     done
   11273     LIBS="$ac_save_LIBS"
   11274 
   11275 fi
   11276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
   11277 printf "%s\n" "$ac_cv_lib_lex" >&6; }
   11278   if test "$ac_cv_lib_lex" = 'not found'
   11279 then :
   11280   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: required lex library not found; giving up on $LEX" >&5
   11281 printf "%s\n" "$as_me: WARNING: required lex library not found; giving up on $LEX" >&2;}
   11282 	 LEX=: LEXLIB=
   11283 elif test "$ac_cv_lib_lex" = 'none needed'
   11284 then :
   11285   LEXLIB=''
   11286 else $as_nop
   11287   LEXLIB=$ac_cv_lib_lex
   11288 fi
   11289   ac_save_LIBS="$LIBS"
   11290       LIBS=
   11291       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing yywrap" >&5
   11292 printf %s "checking for library containing yywrap... " >&6; }
   11293 if test ${ac_cv_search_yywrap+y}
   11294 then :
   11295   printf %s "(cached) " >&6
   11296 else $as_nop
   11297   ac_func_search_save_LIBS=$LIBS
   11298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11299 /* end confdefs.h.  */
   11300 
   11301 /* Override any GCC internal prototype to avoid an error.
   11302    Use char because int might match the return type of a GCC
   11303    builtin and then its argument prototype would still apply.  */
   11304 char yywrap ();
   11305 int
   11306 main (void)
   11307 {
   11308 return yywrap ();
   11309   ;
   11310   return 0;
   11311 }
   11312 _ACEOF
   11313 for ac_lib in '' fl l
   11314 do
   11315   if test -z "$ac_lib"; then
   11316     ac_res="none required"
   11317   else
   11318     ac_res=-l$ac_lib
   11319     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11320   fi
   11321   if ac_fn_c_try_link "$LINENO"
   11322 then :
   11323   ac_cv_search_yywrap=$ac_res
   11324 fi
   11325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11326     conftest$ac_exeext
   11327   if test ${ac_cv_search_yywrap+y}
   11328 then :
   11329   break
   11330 fi
   11331 done
   11332 if test ${ac_cv_search_yywrap+y}
   11333 then :
   11334 
   11335 else $as_nop
   11336   ac_cv_search_yywrap=no
   11337 fi
   11338 rm conftest.$ac_ext
   11339 LIBS=$ac_func_search_save_LIBS
   11340 fi
   11341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_yywrap" >&5
   11342 printf "%s\n" "$ac_cv_search_yywrap" >&6; }
   11343 ac_res=$ac_cv_search_yywrap
   11344 if test "$ac_res" != no
   11345 then :
   11346   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11347   LEXLIB="$LIBS"
   11348 fi
   11349 
   11350       LIBS="$ac_save_LIBS"
   11351 fi
   11352 
   11353 
   11354 if test "$LEX" != :
   11355 then :
   11356 
   11357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
   11358 printf %s "checking whether yytext is a pointer... " >&6; }
   11359 if test ${ac_cv_prog_lex_yytext_pointer+y}
   11360 then :
   11361   printf %s "(cached) " >&6
   11362 else $as_nop
   11363   # POSIX says lex can declare yytext either as a pointer or an array; the
   11364 # default is implementation-dependent.  Figure out which it is, since
   11365 # not all implementations provide the %pointer and %array declarations.
   11366 ac_cv_prog_lex_yytext_pointer=no
   11367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11368 /* end confdefs.h.  */
   11369 
   11370   #define YYTEXT_POINTER 1
   11371 `cat $LEX_OUTPUT_ROOT.c`
   11372 _ACEOF
   11373 if ac_fn_c_try_compile "$LINENO"
   11374 then :
   11375   ac_cv_prog_lex_yytext_pointer=yes
   11376 fi
   11377 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11378 
   11379 fi
   11380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
   11381 printf "%s\n" "$ac_cv_prog_lex_yytext_pointer" >&6; }
   11382 if test $ac_cv_prog_lex_yytext_pointer = yes; then
   11383 
   11384 printf "%s\n" "#define YYTEXT_POINTER 1" >>confdefs.h
   11385 
   11386 fi
   11387 
   11388 fi
   11389 rm -f conftest.l $LEX_OUTPUT_ROOT.c
   11390 
   11391 fi
   11392 for ac_prog in 'bison -y' byacc
   11393 do
   11394   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11395 set dummy $ac_prog; ac_word=$2
   11396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11397 printf %s "checking for $ac_word... " >&6; }
   11398 if test ${ac_cv_prog_YACC+y}
   11399 then :
   11400   printf %s "(cached) " >&6
   11401 else $as_nop
   11402   if test -n "$YACC"; then
   11403   ac_cv_prog_YACC="$YACC" # Let the user override the test.
   11404 else
   11405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11406 for as_dir in $PATH
   11407 do
   11408   IFS=$as_save_IFS
   11409   case $as_dir in #(((
   11410     '') as_dir=./ ;;
   11411     */) ;;
   11412     *) as_dir=$as_dir/ ;;
   11413   esac
   11414     for ac_exec_ext in '' $ac_executable_extensions; do
   11415   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11416     ac_cv_prog_YACC="$ac_prog"
   11417     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11418     break 2
   11419   fi
   11420 done
   11421   done
   11422 IFS=$as_save_IFS
   11423 
   11424 fi
   11425 fi
   11426 YACC=$ac_cv_prog_YACC
   11427 if test -n "$YACC"; then
   11428   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
   11429 printf "%s\n" "$YACC" >&6; }
   11430 else
   11431   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11432 printf "%s\n" "no" >&6; }
   11433 fi
   11434 
   11435 
   11436   test -n "$YACC" && break
   11437 done
   11438 test -n "$YACC" || YACC="yacc"
   11439 
   11440 # Extract the first word of "$YACC", so it can be a program name with args.
   11441 set dummy $YACC; ac_word=$2
   11442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11443 printf %s "checking for $ac_word... " >&6; }
   11444 if test ${ac_cv_path_YACC_INST+y}
   11445 then :
   11446   printf %s "(cached) " >&6
   11447 else $as_nop
   11448   case $YACC_INST in
   11449   [\\/]* | ?:[\\/]*)
   11450   ac_cv_path_YACC_INST="$YACC_INST" # Let the user override the test with a path.
   11451   ;;
   11452   *)
   11453   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11454 for as_dir in $PATH
   11455 do
   11456   IFS=$as_save_IFS
   11457   case $as_dir in #(((
   11458     '') as_dir=./ ;;
   11459     */) ;;
   11460     *) as_dir=$as_dir/ ;;
   11461   esac
   11462     for ac_exec_ext in '' $ac_executable_extensions; do
   11463   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11464     ac_cv_path_YACC_INST="$as_dir$ac_word$ac_exec_ext"
   11465     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11466     break 2
   11467   fi
   11468 done
   11469   done
   11470 IFS=$as_save_IFS
   11471 
   11472   ;;
   11473 esac
   11474 fi
   11475 YACC_INST=$ac_cv_path_YACC_INST
   11476 if test -n "$YACC_INST"; then
   11477   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $YACC_INST" >&5
   11478 printf "%s\n" "$YACC_INST" >&6; }
   11479 else
   11480   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11481 printf "%s\n" "no" >&6; }
   11482 fi
   11483 
   11484 
   11485 if ! test -f "$srcdir/gram.c"; then
   11486    if test -z "$YACC_INST"; then
   11487       as_fn_error $? "yacc not found - unable to compile gram.y" "$LINENO" 5
   11488    fi
   11489 fi
   11490 
   11491 
   11492 pkg_failed=no
   11493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XGC" >&5
   11494 printf %s "checking for XGC... " >&6; }
   11495 
   11496 if test -n "$XGC_CFLAGS"; then
   11497     pkg_cv_XGC_CFLAGS="$XGC_CFLAGS"
   11498  elif test -n "$PKG_CONFIG"; then
   11499     if test -n "$PKG_CONFIG" && \
   11500     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xt\""; } >&5
   11501   ($PKG_CONFIG --exists --print-errors "xaw7 xt") 2>&5
   11502   ac_status=$?
   11503   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11504   test $ac_status = 0; }; then
   11505   pkg_cv_XGC_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xt" 2>/dev/null`
   11506 		      test "x$?" != "x0" && pkg_failed=yes
   11507 else
   11508   pkg_failed=yes
   11509 fi
   11510  else
   11511     pkg_failed=untried
   11512 fi
   11513 if test -n "$XGC_LIBS"; then
   11514     pkg_cv_XGC_LIBS="$XGC_LIBS"
   11515  elif test -n "$PKG_CONFIG"; then
   11516     if test -n "$PKG_CONFIG" && \
   11517     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xt\""; } >&5
   11518   ($PKG_CONFIG --exists --print-errors "xaw7 xt") 2>&5
   11519   ac_status=$?
   11520   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11521   test $ac_status = 0; }; then
   11522   pkg_cv_XGC_LIBS=`$PKG_CONFIG --libs "xaw7 xt" 2>/dev/null`
   11523 		      test "x$?" != "x0" && pkg_failed=yes
   11524 else
   11525   pkg_failed=yes
   11526 fi
   11527  else
   11528     pkg_failed=untried
   11529 fi
   11530 
   11531 
   11532 
   11533 if test $pkg_failed = yes; then
   11534    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11535 printf "%s\n" "no" >&6; }
   11536 
   11537 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11538         _pkg_short_errors_supported=yes
   11539 else
   11540         _pkg_short_errors_supported=no
   11541 fi
   11542         if test $_pkg_short_errors_supported = yes; then
   11543 	        XGC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7 xt" 2>&1`
   11544         else
   11545 	        XGC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7 xt" 2>&1`
   11546         fi
   11547 	# Put the nasty error message in config.log where it belongs
   11548 	echo "$XGC_PKG_ERRORS" >&5
   11549 
   11550 	as_fn_error $? "Package requirements (xaw7 xt) were not met:
   11551 
   11552 $XGC_PKG_ERRORS
   11553 
   11554 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11555 installed software in a non-standard prefix.
   11556 
   11557 Alternatively, you may set the environment variables XGC_CFLAGS
   11558 and XGC_LIBS to avoid the need to call pkg-config.
   11559 See the pkg-config man page for more details." "$LINENO" 5
   11560 elif test $pkg_failed = untried; then
   11561      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11562 printf "%s\n" "no" >&6; }
   11563 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11564 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   11565 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11566 is in your PATH or set the PKG_CONFIG environment variable to the full
   11567 path to pkg-config.
   11568 
   11569 Alternatively, you may set the environment variables XGC_CFLAGS
   11570 and XGC_LIBS to avoid the need to call pkg-config.
   11571 See the pkg-config man page for more details.
   11572 
   11573 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11574 See \`config.log' for more details" "$LINENO" 5; }
   11575 else
   11576 	XGC_CFLAGS=$pkg_cv_XGC_CFLAGS
   11577 	XGC_LIBS=$pkg_cv_XGC_LIBS
   11578         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11579 printf "%s\n" "yes" >&6; }
   11580 
   11581 fi
   11582 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   11583 
   11584 # Check whether --with-appdefaultdir was given.
   11585 if test ${with_appdefaultdir+y}
   11586 then :
   11587   withval=$with_appdefaultdir; appdefaultdir="$withval"
   11588 else $as_nop
   11589   appdefaultdir="${xt_appdefaultdir}"
   11590 fi
   11591 
   11592 
   11593 
   11594 ac_config_files="$ac_config_files Makefile man/Makefile"
   11595 
   11596 cat >confcache <<\_ACEOF
   11597 # This file is a shell script that caches the results of configure
   11598 # tests run on this system so they can be shared between configure
   11599 # scripts and configure runs, see configure's option --config-cache.
   11600 # It is not useful on other systems.  If it contains results you don't
   11601 # want to keep, you may remove or edit it.
   11602 #
   11603 # config.status only pays attention to the cache file if you give it
   11604 # the --recheck option to rerun configure.
   11605 #
   11606 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11607 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11608 # following values.
   11609 
   11610 _ACEOF
   11611 
   11612 # The following way of writing the cache mishandles newlines in values,
   11613 # but we know of no workaround that is simple, portable, and efficient.
   11614 # So, we kill variables containing newlines.
   11615 # Ultrix sh set writes to stderr and can't be redirected directly,
   11616 # and sets the high bit in the cache file unless we assign to the vars.
   11617 (
   11618   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11619     eval ac_val=\$$ac_var
   11620     case $ac_val in #(
   11621     *${as_nl}*)
   11622       case $ac_var in #(
   11623       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11624 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11625       esac
   11626       case $ac_var in #(
   11627       _ | IFS | as_nl) ;; #(
   11628       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11629       *) { eval $ac_var=; unset $ac_var;} ;;
   11630       esac ;;
   11631     esac
   11632   done
   11633 
   11634   (set) 2>&1 |
   11635     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11636     *${as_nl}ac_space=\ *)
   11637       # `set' does not quote correctly, so add quotes: double-quote
   11638       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11639       sed -n \
   11640 	"s/'/'\\\\''/g;
   11641 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11642       ;; #(
   11643     *)
   11644       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11645       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11646       ;;
   11647     esac |
   11648     sort
   11649 ) |
   11650   sed '
   11651      /^ac_cv_env_/b end
   11652      t clear
   11653      :clear
   11654      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11655      t end
   11656      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11657      :end' >>confcache
   11658 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11659   if test -w "$cache_file"; then
   11660     if test "x$cache_file" != "x/dev/null"; then
   11661       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11662 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11663       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11664 	cat confcache >"$cache_file"
   11665       else
   11666         case $cache_file in #(
   11667         */* | ?:*)
   11668 	  mv -f confcache "$cache_file"$$ &&
   11669 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11670         *)
   11671 	  mv -f confcache "$cache_file" ;;
   11672 	esac
   11673       fi
   11674     fi
   11675   else
   11676     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11677 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11678   fi
   11679 fi
   11680 rm -f confcache
   11681 
   11682 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11683 # Let make expand exec_prefix.
   11684 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11685 
   11686 DEFS=-DHAVE_CONFIG_H
   11687 
   11688 ac_libobjs=
   11689 ac_ltlibobjs=
   11690 U=
   11691 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11692   # 1. Remove the extension, and $U if already installed.
   11693   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11694   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   11695   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11696   #    will be set to the directory where LIBOBJS objects are built.
   11697   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11698   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11699 done
   11700 LIBOBJS=$ac_libobjs
   11701 
   11702 LTLIBOBJS=$ac_ltlibobjs
   11703 
   11704 
   11705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11706 printf %s "checking that generated files are newer than configure... " >&6; }
   11707    if test -n "$am_sleep_pid"; then
   11708      # Hide warnings about reused PIDs.
   11709      wait $am_sleep_pid 2>/dev/null
   11710    fi
   11711    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11712 printf "%s\n" "done" >&6; }
   11713  if test -n "$EXEEXT"; then
   11714   am__EXEEXT_TRUE=
   11715   am__EXEEXT_FALSE='#'
   11716 else
   11717   am__EXEEXT_TRUE='#'
   11718   am__EXEEXT_FALSE=
   11719 fi
   11720 
   11721 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11722   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11723 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11724 fi
   11725 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11726   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11727 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11728 fi
   11729 
   11730 : "${CONFIG_STATUS=./config.status}"
   11731 ac_write_fail=0
   11732 ac_clean_files_save=$ac_clean_files
   11733 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11735 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   11736 as_write_fail=0
   11737 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11738 #! $SHELL
   11739 # Generated by $as_me.
   11740 # Run this file to recreate the current configuration.
   11741 # Compiler output produced by configure, useful for debugging
   11742 # configure, is in config.log if it exists.
   11743 
   11744 debug=false
   11745 ac_cs_recheck=false
   11746 ac_cs_silent=false
   11747 
   11748 SHELL=\${CONFIG_SHELL-$SHELL}
   11749 export SHELL
   11750 _ASEOF
   11751 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11752 ## -------------------- ##
   11753 ## M4sh Initialization. ##
   11754 ## -------------------- ##
   11755 
   11756 # Be more Bourne compatible
   11757 DUALCASE=1; export DUALCASE # for MKS sh
   11758 as_nop=:
   11759 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   11760 then :
   11761   emulate sh
   11762   NULLCMD=:
   11763   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11764   # is contrary to our usage.  Disable this feature.
   11765   alias -g '${1+"$@"}'='"$@"'
   11766   setopt NO_GLOB_SUBST
   11767 else $as_nop
   11768   case `(set -o) 2>/dev/null` in #(
   11769   *posix*) :
   11770     set -o posix ;; #(
   11771   *) :
   11772      ;;
   11773 esac
   11774 fi
   11775 
   11776 
   11777 
   11778 # Reset variables that may have inherited troublesome values from
   11779 # the environment.
   11780 
   11781 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   11782 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   11783 # side effect of setting IFS to empty, thus disabling word splitting.)
   11784 # Quoting is to prevent editors from complaining about space-tab.
   11785 as_nl='
   11786 '
   11787 export as_nl
   11788 IFS=" ""	$as_nl"
   11789 
   11790 PS1='$ '
   11791 PS2='> '
   11792 PS4='+ '
   11793 
   11794 # Ensure predictable behavior from utilities with locale-dependent output.
   11795 LC_ALL=C
   11796 export LC_ALL
   11797 LANGUAGE=C
   11798 export LANGUAGE
   11799 
   11800 # We cannot yet rely on "unset" to work, but we need these variables
   11801 # to be unset--not just set to an empty or harmless value--now, to
   11802 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   11803 # also avoids known problems related to "unset" and subshell syntax
   11804 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   11805 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   11806 do eval test \${$as_var+y} \
   11807   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11808 done
   11809 
   11810 # Ensure that fds 0, 1, and 2 are open.
   11811 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   11812 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   11813 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   11814 
   11815 # The user is always right.
   11816 if ${PATH_SEPARATOR+false} :; then
   11817   PATH_SEPARATOR=:
   11818   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11819     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11820       PATH_SEPARATOR=';'
   11821   }
   11822 fi
   11823 
   11824 
   11825 # Find who we are.  Look in the path if we contain no directory separator.
   11826 as_myself=
   11827 case $0 in #((
   11828   *[\\/]* ) as_myself=$0 ;;
   11829   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11830 for as_dir in $PATH
   11831 do
   11832   IFS=$as_save_IFS
   11833   case $as_dir in #(((
   11834     '') as_dir=./ ;;
   11835     */) ;;
   11836     *) as_dir=$as_dir/ ;;
   11837   esac
   11838     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   11839   done
   11840 IFS=$as_save_IFS
   11841 
   11842      ;;
   11843 esac
   11844 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11845 # in which case we are not to be found in the path.
   11846 if test "x$as_myself" = x; then
   11847   as_myself=$0
   11848 fi
   11849 if test ! -f "$as_myself"; then
   11850   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11851   exit 1
   11852 fi
   11853 
   11854 
   11855 
   11856 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11857 # ----------------------------------------
   11858 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11859 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11860 # script with STATUS, using 1 if that was 0.
   11861 as_fn_error ()
   11862 {
   11863   as_status=$1; test $as_status -eq 0 && as_status=1
   11864   if test "$4"; then
   11865     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11866     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11867   fi
   11868   printf "%s\n" "$as_me: error: $2" >&2
   11869   as_fn_exit $as_status
   11870 } # as_fn_error
   11871 
   11872 
   11873 
   11874 # as_fn_set_status STATUS
   11875 # -----------------------
   11876 # Set $? to STATUS, without forking.
   11877 as_fn_set_status ()
   11878 {
   11879   return $1
   11880 } # as_fn_set_status
   11881 
   11882 # as_fn_exit STATUS
   11883 # -----------------
   11884 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11885 as_fn_exit ()
   11886 {
   11887   set +e
   11888   as_fn_set_status $1
   11889   exit $1
   11890 } # as_fn_exit
   11891 
   11892 # as_fn_unset VAR
   11893 # ---------------
   11894 # Portably unset VAR.
   11895 as_fn_unset ()
   11896 {
   11897   { eval $1=; unset $1;}
   11898 }
   11899 as_unset=as_fn_unset
   11900 
   11901 # as_fn_append VAR VALUE
   11902 # ----------------------
   11903 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11904 # advantage of any shell optimizations that allow amortized linear growth over
   11905 # repeated appends, instead of the typical quadratic growth present in naive
   11906 # implementations.
   11907 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   11908 then :
   11909   eval 'as_fn_append ()
   11910   {
   11911     eval $1+=\$2
   11912   }'
   11913 else $as_nop
   11914   as_fn_append ()
   11915   {
   11916     eval $1=\$$1\$2
   11917   }
   11918 fi # as_fn_append
   11919 
   11920 # as_fn_arith ARG...
   11921 # ------------------
   11922 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11923 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11924 # must be portable across $(()) and expr.
   11925 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   11926 then :
   11927   eval 'as_fn_arith ()
   11928   {
   11929     as_val=$(( $* ))
   11930   }'
   11931 else $as_nop
   11932   as_fn_arith ()
   11933   {
   11934     as_val=`expr "$@" || test $? -eq 1`
   11935   }
   11936 fi # as_fn_arith
   11937 
   11938 
   11939 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11940    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11941   as_expr=expr
   11942 else
   11943   as_expr=false
   11944 fi
   11945 
   11946 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11947   as_basename=basename
   11948 else
   11949   as_basename=false
   11950 fi
   11951 
   11952 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11953   as_dirname=dirname
   11954 else
   11955   as_dirname=false
   11956 fi
   11957 
   11958 as_me=`$as_basename -- "$0" ||
   11959 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11960 	 X"$0" : 'X\(//\)$' \| \
   11961 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11962 printf "%s\n" X/"$0" |
   11963     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11964 	    s//\1/
   11965 	    q
   11966 	  }
   11967 	  /^X\/\(\/\/\)$/{
   11968 	    s//\1/
   11969 	    q
   11970 	  }
   11971 	  /^X\/\(\/\).*/{
   11972 	    s//\1/
   11973 	    q
   11974 	  }
   11975 	  s/.*/./; q'`
   11976 
   11977 # Avoid depending upon Character Ranges.
   11978 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11979 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11980 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11981 as_cr_digits='0123456789'
   11982 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11983 
   11984 
   11985 # Determine whether it's possible to make 'echo' print without a newline.
   11986 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   11987 # for compatibility with existing Makefiles.
   11988 ECHO_C= ECHO_N= ECHO_T=
   11989 case `echo -n x` in #(((((
   11990 -n*)
   11991   case `echo 'xy\c'` in
   11992   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11993   xy)  ECHO_C='\c';;
   11994   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11995        ECHO_T='	';;
   11996   esac;;
   11997 *)
   11998   ECHO_N='-n';;
   11999 esac
   12000 
   12001 # For backward compatibility with old third-party macros, we provide
   12002 # the shell variables $as_echo and $as_echo_n.  New code should use
   12003 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   12004 as_echo='printf %s\n'
   12005 as_echo_n='printf %s'
   12006 
   12007 rm -f conf$$ conf$$.exe conf$$.file
   12008 if test -d conf$$.dir; then
   12009   rm -f conf$$.dir/conf$$.file
   12010 else
   12011   rm -f conf$$.dir
   12012   mkdir conf$$.dir 2>/dev/null
   12013 fi
   12014 if (echo >conf$$.file) 2>/dev/null; then
   12015   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12016     as_ln_s='ln -s'
   12017     # ... but there are two gotchas:
   12018     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   12019     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   12020     # In both cases, we have to default to `cp -pR'.
   12021     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12022       as_ln_s='cp -pR'
   12023   elif ln conf$$.file conf$$ 2>/dev/null; then
   12024     as_ln_s=ln
   12025   else
   12026     as_ln_s='cp -pR'
   12027   fi
   12028 else
   12029   as_ln_s='cp -pR'
   12030 fi
   12031 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12032 rmdir conf$$.dir 2>/dev/null
   12033 
   12034 
   12035 # as_fn_mkdir_p
   12036 # -------------
   12037 # Create "$as_dir" as a directory, including parents if necessary.
   12038 as_fn_mkdir_p ()
   12039 {
   12040 
   12041   case $as_dir in #(
   12042   -*) as_dir=./$as_dir;;
   12043   esac
   12044   test -d "$as_dir" || eval $as_mkdir_p || {
   12045     as_dirs=
   12046     while :; do
   12047       case $as_dir in #(
   12048       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12049       *) as_qdir=$as_dir;;
   12050       esac
   12051       as_dirs="'$as_qdir' $as_dirs"
   12052       as_dir=`$as_dirname -- "$as_dir" ||
   12053 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12054 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12055 	 X"$as_dir" : 'X\(//\)$' \| \
   12056 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12057 printf "%s\n" X"$as_dir" |
   12058     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12059 	    s//\1/
   12060 	    q
   12061 	  }
   12062 	  /^X\(\/\/\)[^/].*/{
   12063 	    s//\1/
   12064 	    q
   12065 	  }
   12066 	  /^X\(\/\/\)$/{
   12067 	    s//\1/
   12068 	    q
   12069 	  }
   12070 	  /^X\(\/\).*/{
   12071 	    s//\1/
   12072 	    q
   12073 	  }
   12074 	  s/.*/./; q'`
   12075       test -d "$as_dir" && break
   12076     done
   12077     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12078   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12079 
   12080 
   12081 } # as_fn_mkdir_p
   12082 if mkdir -p . 2>/dev/null; then
   12083   as_mkdir_p='mkdir -p "$as_dir"'
   12084 else
   12085   test -d ./-p && rmdir ./-p
   12086   as_mkdir_p=false
   12087 fi
   12088 
   12089 
   12090 # as_fn_executable_p FILE
   12091 # -----------------------
   12092 # Test if FILE is an executable regular file.
   12093 as_fn_executable_p ()
   12094 {
   12095   test -f "$1" && test -x "$1"
   12096 } # as_fn_executable_p
   12097 as_test_x='test -x'
   12098 as_executable_p=as_fn_executable_p
   12099 
   12100 # Sed expression to map a string onto a valid CPP name.
   12101 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   12102 
   12103 # Sed expression to map a string onto a valid variable name.
   12104 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   12105 
   12106 
   12107 exec 6>&1
   12108 ## ----------------------------------- ##
   12109 ## Main body of $CONFIG_STATUS script. ##
   12110 ## ----------------------------------- ##
   12111 _ASEOF
   12112 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12113 
   12114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12115 # Save the log message, to keep $0 and so on meaningful, and to
   12116 # report actual input values of CONFIG_FILES etc. instead of their
   12117 # values after options handling.
   12118 ac_log="
   12119 This file was extended by xgc $as_me 1.0.6, which was
   12120 generated by GNU Autoconf 2.71.  Invocation command line was
   12121 
   12122   CONFIG_FILES    = $CONFIG_FILES
   12123   CONFIG_HEADERS  = $CONFIG_HEADERS
   12124   CONFIG_LINKS    = $CONFIG_LINKS
   12125   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12126   $ $0 $@
   12127 
   12128 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12129 "
   12130 
   12131 _ACEOF
   12132 
   12133 case $ac_config_files in *"
   12134 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12135 esac
   12136 
   12137 case $ac_config_headers in *"
   12138 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12139 esac
   12140 
   12141 
   12142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12143 # Files that config.status was made for.
   12144 config_files="$ac_config_files"
   12145 config_headers="$ac_config_headers"
   12146 config_commands="$ac_config_commands"
   12147 
   12148 _ACEOF
   12149 
   12150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12151 ac_cs_usage="\
   12152 \`$as_me' instantiates files and other configuration actions
   12153 from templates according to the current configuration.  Unless the files
   12154 and actions are specified as TAGs, all are instantiated by default.
   12155 
   12156 Usage: $0 [OPTION]... [TAG]...
   12157 
   12158   -h, --help       print this help, then exit
   12159   -V, --version    print version number and configuration settings, then exit
   12160       --config     print configuration, then exit
   12161   -q, --quiet, --silent
   12162                    do not print progress messages
   12163   -d, --debug      don't remove temporary files
   12164       --recheck    update $as_me by reconfiguring in the same conditions
   12165       --file=FILE[:TEMPLATE]
   12166                    instantiate the configuration file FILE
   12167       --header=FILE[:TEMPLATE]
   12168                    instantiate the configuration header FILE
   12169 
   12170 Configuration files:
   12171 $config_files
   12172 
   12173 Configuration headers:
   12174 $config_headers
   12175 
   12176 Configuration commands:
   12177 $config_commands
   12178 
   12179 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xgc/-/issues>."
   12180 
   12181 _ACEOF
   12182 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12183 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12184 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12185 ac_cs_config='$ac_cs_config_escaped'
   12186 ac_cs_version="\\
   12187 xgc config.status 1.0.6
   12188 configured by $0, generated by GNU Autoconf 2.71,
   12189   with options \\"\$ac_cs_config\\"
   12190 
   12191 Copyright (C) 2021 Free Software Foundation, Inc.
   12192 This config.status script is free software; the Free Software Foundation
   12193 gives unlimited permission to copy, distribute and modify it."
   12194 
   12195 ac_pwd='$ac_pwd'
   12196 srcdir='$srcdir'
   12197 INSTALL='$INSTALL'
   12198 MKDIR_P='$MKDIR_P'
   12199 AWK='$AWK'
   12200 test -n "\$AWK" || AWK=awk
   12201 _ACEOF
   12202 
   12203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12204 # The default lists apply if the user does not specify any file.
   12205 ac_need_defaults=:
   12206 while test $# != 0
   12207 do
   12208   case $1 in
   12209   --*=?*)
   12210     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12211     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12212     ac_shift=:
   12213     ;;
   12214   --*=)
   12215     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12216     ac_optarg=
   12217     ac_shift=:
   12218     ;;
   12219   *)
   12220     ac_option=$1
   12221     ac_optarg=$2
   12222     ac_shift=shift
   12223     ;;
   12224   esac
   12225 
   12226   case $ac_option in
   12227   # Handling of the options.
   12228   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12229     ac_cs_recheck=: ;;
   12230   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12231     printf "%s\n" "$ac_cs_version"; exit ;;
   12232   --config | --confi | --conf | --con | --co | --c )
   12233     printf "%s\n" "$ac_cs_config"; exit ;;
   12234   --debug | --debu | --deb | --de | --d | -d )
   12235     debug=: ;;
   12236   --file | --fil | --fi | --f )
   12237     $ac_shift
   12238     case $ac_optarg in
   12239     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12240     '') as_fn_error $? "missing file argument" ;;
   12241     esac
   12242     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12243     ac_need_defaults=false;;
   12244   --header | --heade | --head | --hea )
   12245     $ac_shift
   12246     case $ac_optarg in
   12247     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12248     esac
   12249     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12250     ac_need_defaults=false;;
   12251   --he | --h)
   12252     # Conflict between --help and --header
   12253     as_fn_error $? "ambiguous option: \`$1'
   12254 Try \`$0 --help' for more information.";;
   12255   --help | --hel | -h )
   12256     printf "%s\n" "$ac_cs_usage"; exit ;;
   12257   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12258   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12259     ac_cs_silent=: ;;
   12260 
   12261   # This is an error.
   12262   -*) as_fn_error $? "unrecognized option: \`$1'
   12263 Try \`$0 --help' for more information." ;;
   12264 
   12265   *) as_fn_append ac_config_targets " $1"
   12266      ac_need_defaults=false ;;
   12267 
   12268   esac
   12269   shift
   12270 done
   12271 
   12272 ac_configure_extra_args=
   12273 
   12274 if $ac_cs_silent; then
   12275   exec 6>/dev/null
   12276   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12277 fi
   12278 
   12279 _ACEOF
   12280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12281 if \$ac_cs_recheck; then
   12282   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12283   shift
   12284   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12285   CONFIG_SHELL='$SHELL'
   12286   export CONFIG_SHELL
   12287   exec "\$@"
   12288 fi
   12289 
   12290 _ACEOF
   12291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12292 exec 5>>config.log
   12293 {
   12294   echo
   12295   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12296 ## Running $as_me. ##
   12297 _ASBOX
   12298   printf "%s\n" "$ac_log"
   12299 } >&5
   12300 
   12301 _ACEOF
   12302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12303 #
   12304 # INIT-COMMANDS
   12305 #
   12306 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12307 
   12308 _ACEOF
   12309 
   12310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12311 
   12312 # Handling of arguments.
   12313 for ac_config_target in $ac_config_targets
   12314 do
   12315   case $ac_config_target in
   12316     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12317     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12318     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12319     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12320 
   12321   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12322   esac
   12323 done
   12324 
   12325 
   12326 # If the user did not use the arguments to specify the items to instantiate,
   12327 # then the envvar interface is used.  Set only those that are not.
   12328 # We use the long form for the default assignment because of an extremely
   12329 # bizarre bug on SunOS 4.1.3.
   12330 if $ac_need_defaults; then
   12331   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12332   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12333   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12334 fi
   12335 
   12336 # Have a temporary directory for convenience.  Make it in the build tree
   12337 # simply because there is no reason against having it here, and in addition,
   12338 # creating and moving files from /tmp can sometimes cause problems.
   12339 # Hook for its removal unless debugging.
   12340 # Note that there is a small window in which the directory will not be cleaned:
   12341 # after its creation but before its name has been assigned to `$tmp'.
   12342 $debug ||
   12343 {
   12344   tmp= ac_tmp=
   12345   trap 'exit_status=$?
   12346   : "${ac_tmp:=$tmp}"
   12347   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12348 ' 0
   12349   trap 'as_fn_exit 1' 1 2 13 15
   12350 }
   12351 # Create a (secure) tmp directory for tmp files.
   12352 
   12353 {
   12354   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12355   test -d "$tmp"
   12356 }  ||
   12357 {
   12358   tmp=./conf$$-$RANDOM
   12359   (umask 077 && mkdir "$tmp")
   12360 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12361 ac_tmp=$tmp
   12362 
   12363 # Set up the scripts for CONFIG_FILES section.
   12364 # No need to generate them if there are no CONFIG_FILES.
   12365 # This happens for instance with `./config.status config.h'.
   12366 if test -n "$CONFIG_FILES"; then
   12367 
   12368 
   12369 ac_cr=`echo X | tr X '\015'`
   12370 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12371 # But we know of no other shell where ac_cr would be empty at this
   12372 # point, so we can use a bashism as a fallback.
   12373 if test "x$ac_cr" = x; then
   12374   eval ac_cr=\$\'\\r\'
   12375 fi
   12376 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12377 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12378   ac_cs_awk_cr='\\r'
   12379 else
   12380   ac_cs_awk_cr=$ac_cr
   12381 fi
   12382 
   12383 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12384 _ACEOF
   12385 
   12386 
   12387 {
   12388   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12389   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12390   echo "_ACEOF"
   12391 } >conf$$subs.sh ||
   12392   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12393 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12394 ac_delim='%!_!# '
   12395 for ac_last_try in false false false false false :; do
   12396   . ./conf$$subs.sh ||
   12397     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12398 
   12399   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12400   if test $ac_delim_n = $ac_delim_num; then
   12401     break
   12402   elif $ac_last_try; then
   12403     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12404   else
   12405     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12406   fi
   12407 done
   12408 rm -f conf$$subs.sh
   12409 
   12410 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12411 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12412 _ACEOF
   12413 sed -n '
   12414 h
   12415 s/^/S["/; s/!.*/"]=/
   12416 p
   12417 g
   12418 s/^[^!]*!//
   12419 :repl
   12420 t repl
   12421 s/'"$ac_delim"'$//
   12422 t delim
   12423 :nl
   12424 h
   12425 s/\(.\{148\}\)..*/\1/
   12426 t more1
   12427 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12428 p
   12429 n
   12430 b repl
   12431 :more1
   12432 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12433 p
   12434 g
   12435 s/.\{148\}//
   12436 t nl
   12437 :delim
   12438 h
   12439 s/\(.\{148\}\)..*/\1/
   12440 t more2
   12441 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12442 p
   12443 b
   12444 :more2
   12445 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12446 p
   12447 g
   12448 s/.\{148\}//
   12449 t delim
   12450 ' <conf$$subs.awk | sed '
   12451 /^[^""]/{
   12452   N
   12453   s/\n//
   12454 }
   12455 ' >>$CONFIG_STATUS || ac_write_fail=1
   12456 rm -f conf$$subs.awk
   12457 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12458 _ACAWK
   12459 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12460   for (key in S) S_is_set[key] = 1
   12461   FS = ""
   12462 
   12463 }
   12464 {
   12465   line = $ 0
   12466   nfields = split(line, field, "@")
   12467   substed = 0
   12468   len = length(field[1])
   12469   for (i = 2; i < nfields; i++) {
   12470     key = field[i]
   12471     keylen = length(key)
   12472     if (S_is_set[key]) {
   12473       value = S[key]
   12474       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12475       len += length(value) + length(field[++i])
   12476       substed = 1
   12477     } else
   12478       len += 1 + keylen
   12479   }
   12480 
   12481   print line
   12482 }
   12483 
   12484 _ACAWK
   12485 _ACEOF
   12486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12487 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12488   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12489 else
   12490   cat
   12491 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12492   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12493 _ACEOF
   12494 
   12495 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12496 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12497 # trailing colons and then remove the whole line if VPATH becomes empty
   12498 # (actually we leave an empty line to preserve line numbers).
   12499 if test "x$srcdir" = x.; then
   12500   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12501 h
   12502 s///
   12503 s/^/:/
   12504 s/[	 ]*$/:/
   12505 s/:\$(srcdir):/:/g
   12506 s/:\${srcdir}:/:/g
   12507 s/:@srcdir@:/:/g
   12508 s/^:*//
   12509 s/:*$//
   12510 x
   12511 s/\(=[	 ]*\).*/\1/
   12512 G
   12513 s/\n//
   12514 s/^[^=]*=[	 ]*$//
   12515 }'
   12516 fi
   12517 
   12518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12519 fi # test -n "$CONFIG_FILES"
   12520 
   12521 # Set up the scripts for CONFIG_HEADERS section.
   12522 # No need to generate them if there are no CONFIG_HEADERS.
   12523 # This happens for instance with `./config.status Makefile'.
   12524 if test -n "$CONFIG_HEADERS"; then
   12525 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12526 BEGIN {
   12527 _ACEOF
   12528 
   12529 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12530 # here-document in config.status, that substitutes the proper values into
   12531 # config.h.in to produce config.h.
   12532 
   12533 # Create a delimiter string that does not exist in confdefs.h, to ease
   12534 # handling of long lines.
   12535 ac_delim='%!_!# '
   12536 for ac_last_try in false false :; do
   12537   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12538   if test -z "$ac_tt"; then
   12539     break
   12540   elif $ac_last_try; then
   12541     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12542   else
   12543     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12544   fi
   12545 done
   12546 
   12547 # For the awk script, D is an array of macro values keyed by name,
   12548 # likewise P contains macro parameters if any.  Preserve backslash
   12549 # newline sequences.
   12550 
   12551 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12552 sed -n '
   12553 s/.\{148\}/&'"$ac_delim"'/g
   12554 t rset
   12555 :rset
   12556 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12557 t def
   12558 d
   12559 :def
   12560 s/\\$//
   12561 t bsnl
   12562 s/["\\]/\\&/g
   12563 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12564 D["\1"]=" \3"/p
   12565 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12566 d
   12567 :bsnl
   12568 s/["\\]/\\&/g
   12569 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12570 D["\1"]=" \3\\\\\\n"\\/p
   12571 t cont
   12572 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12573 t cont
   12574 d
   12575 :cont
   12576 n
   12577 s/.\{148\}/&'"$ac_delim"'/g
   12578 t clear
   12579 :clear
   12580 s/\\$//
   12581 t bsnlc
   12582 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12583 d
   12584 :bsnlc
   12585 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12586 b cont
   12587 ' <confdefs.h | sed '
   12588 s/'"$ac_delim"'/"\\\
   12589 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12590 
   12591 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12592   for (key in D) D_is_set[key] = 1
   12593   FS = ""
   12594 }
   12595 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12596   line = \$ 0
   12597   split(line, arg, " ")
   12598   if (arg[1] == "#") {
   12599     defundef = arg[2]
   12600     mac1 = arg[3]
   12601   } else {
   12602     defundef = substr(arg[1], 2)
   12603     mac1 = arg[2]
   12604   }
   12605   split(mac1, mac2, "(") #)
   12606   macro = mac2[1]
   12607   prefix = substr(line, 1, index(line, defundef) - 1)
   12608   if (D_is_set[macro]) {
   12609     # Preserve the white space surrounding the "#".
   12610     print prefix "define", macro P[macro] D[macro]
   12611     next
   12612   } else {
   12613     # Replace #undef with comments.  This is necessary, for example,
   12614     # in the case of _POSIX_SOURCE, which is predefined and required
   12615     # on some systems where configure will not decide to define it.
   12616     if (defundef == "undef") {
   12617       print "/*", prefix defundef, macro, "*/"
   12618       next
   12619     }
   12620   }
   12621 }
   12622 { print }
   12623 _ACAWK
   12624 _ACEOF
   12625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12626   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12627 fi # test -n "$CONFIG_HEADERS"
   12628 
   12629 
   12630 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12631 shift
   12632 for ac_tag
   12633 do
   12634   case $ac_tag in
   12635   :[FHLC]) ac_mode=$ac_tag; continue;;
   12636   esac
   12637   case $ac_mode$ac_tag in
   12638   :[FHL]*:*);;
   12639   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12640   :[FH]-) ac_tag=-:-;;
   12641   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12642   esac
   12643   ac_save_IFS=$IFS
   12644   IFS=:
   12645   set x $ac_tag
   12646   IFS=$ac_save_IFS
   12647   shift
   12648   ac_file=$1
   12649   shift
   12650 
   12651   case $ac_mode in
   12652   :L) ac_source=$1;;
   12653   :[FH])
   12654     ac_file_inputs=
   12655     for ac_f
   12656     do
   12657       case $ac_f in
   12658       -) ac_f="$ac_tmp/stdin";;
   12659       *) # Look for the file first in the build tree, then in the source tree
   12660 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12661 	 # because $ac_f cannot contain `:'.
   12662 	 test -f "$ac_f" ||
   12663 	   case $ac_f in
   12664 	   [\\/$]*) false;;
   12665 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12666 	   esac ||
   12667 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12668       esac
   12669       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12670       as_fn_append ac_file_inputs " '$ac_f'"
   12671     done
   12672 
   12673     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12674     # use $as_me), people would be surprised to read:
   12675     #    /* config.h.  Generated by config.status.  */
   12676     configure_input='Generated from '`
   12677 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12678 	`' by configure.'
   12679     if test x"$ac_file" != x-; then
   12680       configure_input="$ac_file.  $configure_input"
   12681       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12682 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   12683     fi
   12684     # Neutralize special characters interpreted by sed in replacement strings.
   12685     case $configure_input in #(
   12686     *\&* | *\|* | *\\* )
   12687        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   12688        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12689     *) ac_sed_conf_input=$configure_input;;
   12690     esac
   12691 
   12692     case $ac_tag in
   12693     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12694       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12695     esac
   12696     ;;
   12697   esac
   12698 
   12699   ac_dir=`$as_dirname -- "$ac_file" ||
   12700 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12701 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12702 	 X"$ac_file" : 'X\(//\)$' \| \
   12703 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12704 printf "%s\n" X"$ac_file" |
   12705     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12706 	    s//\1/
   12707 	    q
   12708 	  }
   12709 	  /^X\(\/\/\)[^/].*/{
   12710 	    s//\1/
   12711 	    q
   12712 	  }
   12713 	  /^X\(\/\/\)$/{
   12714 	    s//\1/
   12715 	    q
   12716 	  }
   12717 	  /^X\(\/\).*/{
   12718 	    s//\1/
   12719 	    q
   12720 	  }
   12721 	  s/.*/./; q'`
   12722   as_dir="$ac_dir"; as_fn_mkdir_p
   12723   ac_builddir=.
   12724 
   12725 case "$ac_dir" in
   12726 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12727 *)
   12728   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   12729   # A ".." for each directory in $ac_dir_suffix.
   12730   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12731   case $ac_top_builddir_sub in
   12732   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12733   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12734   esac ;;
   12735 esac
   12736 ac_abs_top_builddir=$ac_pwd
   12737 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12738 # for backward compatibility:
   12739 ac_top_builddir=$ac_top_build_prefix
   12740 
   12741 case $srcdir in
   12742   .)  # We are building in place.
   12743     ac_srcdir=.
   12744     ac_top_srcdir=$ac_top_builddir_sub
   12745     ac_abs_top_srcdir=$ac_pwd ;;
   12746   [\\/]* | ?:[\\/]* )  # Absolute name.
   12747     ac_srcdir=$srcdir$ac_dir_suffix;
   12748     ac_top_srcdir=$srcdir
   12749     ac_abs_top_srcdir=$srcdir ;;
   12750   *) # Relative name.
   12751     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12752     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12753     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12754 esac
   12755 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12756 
   12757 
   12758   case $ac_mode in
   12759   :F)
   12760   #
   12761   # CONFIG_FILE
   12762   #
   12763 
   12764   case $INSTALL in
   12765   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12766   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12767   esac
   12768   ac_MKDIR_P=$MKDIR_P
   12769   case $MKDIR_P in
   12770   [\\/$]* | ?:[\\/]* ) ;;
   12771   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12772   esac
   12773 _ACEOF
   12774 
   12775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12776 # If the template does not know about datarootdir, expand it.
   12777 # FIXME: This hack should be removed a few years after 2.60.
   12778 ac_datarootdir_hack=; ac_datarootdir_seen=
   12779 ac_sed_dataroot='
   12780 /datarootdir/ {
   12781   p
   12782   q
   12783 }
   12784 /@datadir@/p
   12785 /@docdir@/p
   12786 /@infodir@/p
   12787 /@localedir@/p
   12788 /@mandir@/p'
   12789 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12790 *datarootdir*) ac_datarootdir_seen=yes;;
   12791 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12792   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12793 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12794 _ACEOF
   12795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12796   ac_datarootdir_hack='
   12797   s&@datadir@&$datadir&g
   12798   s&@docdir@&$docdir&g
   12799   s&@infodir@&$infodir&g
   12800   s&@localedir@&$localedir&g
   12801   s&@mandir@&$mandir&g
   12802   s&\\\${datarootdir}&$datarootdir&g' ;;
   12803 esac
   12804 _ACEOF
   12805 
   12806 # Neutralize VPATH when `$srcdir' = `.'.
   12807 # Shell code in configure.ac might set extrasub.
   12808 # FIXME: do we really want to maintain this feature?
   12809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12810 ac_sed_extra="$ac_vpsub
   12811 $extrasub
   12812 _ACEOF
   12813 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12814 :t
   12815 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12816 s|@configure_input@|$ac_sed_conf_input|;t t
   12817 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12818 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12819 s&@srcdir@&$ac_srcdir&;t t
   12820 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12821 s&@top_srcdir@&$ac_top_srcdir&;t t
   12822 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12823 s&@builddir@&$ac_builddir&;t t
   12824 s&@abs_builddir@&$ac_abs_builddir&;t t
   12825 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12826 s&@INSTALL@&$ac_INSTALL&;t t
   12827 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12828 $ac_datarootdir_hack
   12829 "
   12830 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12831   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12832 
   12833 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12834   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12835   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12836       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12837   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12838 which seems to be undefined.  Please make sure it is defined" >&5
   12839 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12840 which seems to be undefined.  Please make sure it is defined" >&2;}
   12841 
   12842   rm -f "$ac_tmp/stdin"
   12843   case $ac_file in
   12844   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12845   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12846   esac \
   12847   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12848  ;;
   12849   :H)
   12850   #
   12851   # CONFIG_HEADER
   12852   #
   12853   if test x"$ac_file" != x-; then
   12854     {
   12855       printf "%s\n" "/* $configure_input  */" >&1 \
   12856       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12857     } >"$ac_tmp/config.h" \
   12858       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12859     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12860       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12861 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   12862     else
   12863       rm -f "$ac_file"
   12864       mv "$ac_tmp/config.h" "$ac_file" \
   12865 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12866     fi
   12867   else
   12868     printf "%s\n" "/* $configure_input  */" >&1 \
   12869       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12870       || as_fn_error $? "could not create -" "$LINENO" 5
   12871   fi
   12872 # Compute "$ac_file"'s index in $config_headers.
   12873 _am_arg="$ac_file"
   12874 _am_stamp_count=1
   12875 for _am_header in $config_headers :; do
   12876   case $_am_header in
   12877     $_am_arg | $_am_arg:* )
   12878       break ;;
   12879     * )
   12880       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12881   esac
   12882 done
   12883 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12884 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12885 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12886 	 X"$_am_arg" : 'X\(//\)$' \| \
   12887 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12888 printf "%s\n" X"$_am_arg" |
   12889     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12890 	    s//\1/
   12891 	    q
   12892 	  }
   12893 	  /^X\(\/\/\)[^/].*/{
   12894 	    s//\1/
   12895 	    q
   12896 	  }
   12897 	  /^X\(\/\/\)$/{
   12898 	    s//\1/
   12899 	    q
   12900 	  }
   12901 	  /^X\(\/\).*/{
   12902 	    s//\1/
   12903 	    q
   12904 	  }
   12905 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12906  ;;
   12907 
   12908   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12909 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   12910  ;;
   12911   esac
   12912 
   12913 
   12914   case $ac_file$ac_mode in
   12915     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12916   # Older Autoconf quotes --file arguments for eval, but not when files
   12917   # are listed without --file.  Let's play safe and only enable the eval
   12918   # if we detect the quoting.
   12919   # TODO: see whether this extra hack can be removed once we start
   12920   # requiring Autoconf 2.70 or later.
   12921   case $CONFIG_FILES in #(
   12922   *\'*) :
   12923     eval set x "$CONFIG_FILES" ;; #(
   12924   *) :
   12925     set x $CONFIG_FILES ;; #(
   12926   *) :
   12927      ;;
   12928 esac
   12929   shift
   12930   # Used to flag and report bootstrapping failures.
   12931   am_rc=0
   12932   for am_mf
   12933   do
   12934     # Strip MF so we end up with the name of the file.
   12935     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   12936     # Check whether this is an Automake generated Makefile which includes
   12937     # dependency-tracking related rules and includes.
   12938     # Grep'ing the whole file directly is not great: AIX grep has a line
   12939     # limit of 2048, but all sed's we know have understand at least 4000.
   12940     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   12941       || continue
   12942     am_dirpart=`$as_dirname -- "$am_mf" ||
   12943 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12944 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   12945 	 X"$am_mf" : 'X\(//\)$' \| \
   12946 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12947 printf "%s\n" X"$am_mf" |
   12948     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12949 	    s//\1/
   12950 	    q
   12951 	  }
   12952 	  /^X\(\/\/\)[^/].*/{
   12953 	    s//\1/
   12954 	    q
   12955 	  }
   12956 	  /^X\(\/\/\)$/{
   12957 	    s//\1/
   12958 	    q
   12959 	  }
   12960 	  /^X\(\/\).*/{
   12961 	    s//\1/
   12962 	    q
   12963 	  }
   12964 	  s/.*/./; q'`
   12965     am_filepart=`$as_basename -- "$am_mf" ||
   12966 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   12967 	 X"$am_mf" : 'X\(//\)$' \| \
   12968 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12969 printf "%s\n" X/"$am_mf" |
   12970     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12971 	    s//\1/
   12972 	    q
   12973 	  }
   12974 	  /^X\/\(\/\/\)$/{
   12975 	    s//\1/
   12976 	    q
   12977 	  }
   12978 	  /^X\/\(\/\).*/{
   12979 	    s//\1/
   12980 	    q
   12981 	  }
   12982 	  s/.*/./; q'`
   12983     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   12984       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12985         | $MAKE -f - am--depfiles" >&5
   12986    (cd "$am_dirpart" \
   12987       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12988         | $MAKE -f - am--depfiles) >&5 2>&5
   12989    ac_status=$?
   12990    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12991    (exit $ac_status); } || am_rc=$?
   12992   done
   12993   if test $am_rc -ne 0; then
   12994     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12995 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12996 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   12997     for automatic dependency tracking.  If GNU make was not used, consider
   12998     re-running the configure script with MAKE=\"gmake\" (or whatever is
   12999     necessary).  You can also try re-running configure with the
   13000     '--disable-dependency-tracking' option to at least be able to build
   13001     the package (albeit without support for automatic dependency tracking).
   13002 See \`config.log' for more details" "$LINENO" 5; }
   13003   fi
   13004   { am_dirpart=; unset am_dirpart;}
   13005   { am_filepart=; unset am_filepart;}
   13006   { am_mf=; unset am_mf;}
   13007   { am_rc=; unset am_rc;}
   13008   rm -f conftest-deps.mk
   13009 }
   13010  ;;
   13011 
   13012   esac
   13013 done # for ac_tag
   13014 
   13015 
   13016 as_fn_exit 0
   13017 _ACEOF
   13018 ac_clean_files=$ac_clean_files_save
   13019 
   13020 test $ac_write_fail = 0 ||
   13021   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13022 
   13023 
   13024 # configure is writing to config.log, and then calls config.status.
   13025 # config.status does its own redirection, appending to config.log.
   13026 # Unfortunately, on DOS this fails, as config.log is still kept open
   13027 # by configure, so config.status won't be able to write to it; its
   13028 # output is simply discarded.  So we exec the FD to /dev/null,
   13029 # effectively closing config.log, so it can be properly (re)opened and
   13030 # appended to by config.status.  When coming back to configure, we
   13031 # need to make the FD available again.
   13032 if test "$no_create" != yes; then
   13033   ac_cs_success=:
   13034   ac_config_status_args=
   13035   test "$silent" = yes &&
   13036     ac_config_status_args="$ac_config_status_args --quiet"
   13037   exec 5>/dev/null
   13038   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13039   exec 5>>config.log
   13040   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13041   # would make configure fail if this is the last instruction.
   13042   $ac_cs_success || as_fn_exit 1
   13043 fi
   13044 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13045   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13046 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13047 fi
   13048 
   13049 
   13050