Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for listres 1.0.5.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/listres/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/listres/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='listres'
    614 PACKAGE_TARNAME='listres'
    615 PACKAGE_VERSION='1.0.5'
    616 PACKAGE_STRING='listres 1.0.5'
    617 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/listres/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 LISTRES_LIBS
    658 LISTRES_CFLAGS
    659 MAN_SUBSTS
    660 XORG_MAN_PAGE
    661 ADMIN_MAN_DIR
    662 DRIVER_MAN_DIR
    663 MISC_MAN_DIR
    664 FILE_MAN_DIR
    665 LIB_MAN_DIR
    666 APP_MAN_DIR
    667 ADMIN_MAN_SUFFIX
    668 DRIVER_MAN_SUFFIX
    669 MISC_MAN_SUFFIX
    670 FILE_MAN_SUFFIX
    671 LIB_MAN_SUFFIX
    672 APP_MAN_SUFFIX
    673 SED
    674 host_os
    675 host_vendor
    676 host_cpu
    677 host
    678 build_os
    679 build_vendor
    680 build_cpu
    681 build
    682 INSTALL_CMD
    683 PKG_CONFIG_LIBDIR
    684 PKG_CONFIG_PATH
    685 PKG_CONFIG
    686 CHANGELOG_CMD
    687 STRICT_CFLAGS
    688 CWARNFLAGS
    689 BASE_CFLAGS
    690 am__fastdepCC_FALSE
    691 am__fastdepCC_TRUE
    692 CCDEPMODE
    693 am__nodep
    694 AMDEPBACKSLASH
    695 AMDEP_FALSE
    696 AMDEP_TRUE
    697 am__include
    698 DEPDIR
    699 OBJEXT
    700 EXEEXT
    701 ac_ct_CC
    702 CPPFLAGS
    703 LDFLAGS
    704 CFLAGS
    705 CC
    706 AM_BACKSLASH
    707 AM_DEFAULT_VERBOSITY
    708 AM_DEFAULT_V
    709 AM_V
    710 CSCOPE
    711 ETAGS
    712 CTAGS
    713 am__untar
    714 am__tar
    715 AMTAR
    716 am__leading_dot
    717 SET_MAKE
    718 AWK
    719 mkdir_p
    720 MKDIR_P
    721 INSTALL_STRIP_PROGRAM
    722 STRIP
    723 install_sh
    724 MAKEINFO
    725 AUTOHEADER
    726 AUTOMAKE
    727 AUTOCONF
    728 ACLOCAL
    729 VERSION
    730 PACKAGE
    731 CYGPATH_W
    732 am__isrc
    733 INSTALL_DATA
    734 INSTALL_SCRIPT
    735 INSTALL_PROGRAM
    736 target_alias
    737 host_alias
    738 build_alias
    739 LIBS
    740 ECHO_T
    741 ECHO_N
    742 ECHO_C
    743 DEFS
    744 mandir
    745 localedir
    746 libdir
    747 psdir
    748 pdfdir
    749 dvidir
    750 htmldir
    751 infodir
    752 docdir
    753 oldincludedir
    754 includedir
    755 runstatedir
    756 localstatedir
    757 sharedstatedir
    758 sysconfdir
    759 datadir
    760 datarootdir
    761 libexecdir
    762 sbindir
    763 bindir
    764 program_transform_name
    765 prefix
    766 exec_prefix
    767 PACKAGE_URL
    768 PACKAGE_BUGREPORT
    769 PACKAGE_STRING
    770 PACKAGE_VERSION
    771 PACKAGE_TARNAME
    772 PACKAGE_NAME
    773 PATH_SEPARATOR
    774 SHELL
    775 am__quote'
    776 ac_subst_files=''
    777 ac_user_opts='
    778 enable_option_checking
    779 enable_silent_rules
    780 enable_dependency_tracking
    781 enable_selective_werror
    782 enable_strict_compilation
    783 '
    784       ac_precious_vars='build_alias
    785 host_alias
    786 target_alias
    787 CC
    788 CFLAGS
    789 LDFLAGS
    790 LIBS
    791 CPPFLAGS
    792 PKG_CONFIG
    793 PKG_CONFIG_PATH
    794 PKG_CONFIG_LIBDIR
    795 LISTRES_CFLAGS
    796 LISTRES_LIBS'
    797 
    798 
    799 # Initialize some variables set by options.
    800 ac_init_help=
    801 ac_init_version=false
    802 ac_unrecognized_opts=
    803 ac_unrecognized_sep=
    804 # The variables have the same names as the options, with
    805 # dashes changed to underlines.
    806 cache_file=/dev/null
    807 exec_prefix=NONE
    808 no_create=
    809 no_recursion=
    810 prefix=NONE
    811 program_prefix=NONE
    812 program_suffix=NONE
    813 program_transform_name=s,x,x,
    814 silent=
    815 site=
    816 srcdir=
    817 verbose=
    818 x_includes=NONE
    819 x_libraries=NONE
    820 
    821 # Installation directory options.
    822 # These are left unexpanded so users can "make install exec_prefix=/foo"
    823 # and all the variables that are supposed to be based on exec_prefix
    824 # by default will actually change.
    825 # Use braces instead of parens because sh, perl, etc. also accept them.
    826 # (The list follows the same order as the GNU Coding Standards.)
    827 bindir='${exec_prefix}/bin'
    828 sbindir='${exec_prefix}/sbin'
    829 libexecdir='${exec_prefix}/libexec'
    830 datarootdir='${prefix}/share'
    831 datadir='${datarootdir}'
    832 sysconfdir='${prefix}/etc'
    833 sharedstatedir='${prefix}/com'
    834 localstatedir='${prefix}/var'
    835 runstatedir='${localstatedir}/run'
    836 includedir='${prefix}/include'
    837 oldincludedir='/usr/include'
    838 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    839 infodir='${datarootdir}/info'
    840 htmldir='${docdir}'
    841 dvidir='${docdir}'
    842 pdfdir='${docdir}'
    843 psdir='${docdir}'
    844 libdir='${exec_prefix}/lib'
    845 localedir='${datarootdir}/locale'
    846 mandir='${datarootdir}/man'
    847 
    848 ac_prev=
    849 ac_dashdash=
    850 for ac_option
    851 do
    852   # If the previous option needs an argument, assign it.
    853   if test -n "$ac_prev"; then
    854     eval $ac_prev=\$ac_option
    855     ac_prev=
    856     continue
    857   fi
    858 
    859   case $ac_option in
    860   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    861   *=)   ac_optarg= ;;
    862   *)    ac_optarg=yes ;;
    863   esac
    864 
    865   case $ac_dashdash$ac_option in
    866   --)
    867     ac_dashdash=yes ;;
    868 
    869   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    870     ac_prev=bindir ;;
    871   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    872     bindir=$ac_optarg ;;
    873 
    874   -build | --build | --buil | --bui | --bu)
    875     ac_prev=build_alias ;;
    876   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    877     build_alias=$ac_optarg ;;
    878 
    879   -cache-file | --cache-file | --cache-fil | --cache-fi \
    880   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    881     ac_prev=cache_file ;;
    882   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    883   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    884     cache_file=$ac_optarg ;;
    885 
    886   --config-cache | -C)
    887     cache_file=config.cache ;;
    888 
    889   -datadir | --datadir | --datadi | --datad)
    890     ac_prev=datadir ;;
    891   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    892     datadir=$ac_optarg ;;
    893 
    894   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    895   | --dataroo | --dataro | --datar)
    896     ac_prev=datarootdir ;;
    897   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    898   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    899     datarootdir=$ac_optarg ;;
    900 
    901   -disable-* | --disable-*)
    902     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    903     # Reject names that are not valid shell variable names.
    904     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    905       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    906     ac_useropt_orig=$ac_useropt
    907     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    908     case $ac_user_opts in
    909       *"
    910 "enable_$ac_useropt"
    911 "*) ;;
    912       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    913 	 ac_unrecognized_sep=', ';;
    914     esac
    915     eval enable_$ac_useropt=no ;;
    916 
    917   -docdir | --docdir | --docdi | --doc | --do)
    918     ac_prev=docdir ;;
    919   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    920     docdir=$ac_optarg ;;
    921 
    922   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    923     ac_prev=dvidir ;;
    924   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    925     dvidir=$ac_optarg ;;
    926 
    927   -enable-* | --enable-*)
    928     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    929     # Reject names that are not valid shell variable names.
    930     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    931       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    932     ac_useropt_orig=$ac_useropt
    933     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    934     case $ac_user_opts in
    935       *"
    936 "enable_$ac_useropt"
    937 "*) ;;
    938       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    939 	 ac_unrecognized_sep=', ';;
    940     esac
    941     eval enable_$ac_useropt=\$ac_optarg ;;
    942 
    943   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    944   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    945   | --exec | --exe | --ex)
    946     ac_prev=exec_prefix ;;
    947   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    948   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    949   | --exec=* | --exe=* | --ex=*)
    950     exec_prefix=$ac_optarg ;;
    951 
    952   -gas | --gas | --ga | --g)
    953     # Obsolete; use --with-gas.
    954     with_gas=yes ;;
    955 
    956   -help | --help | --hel | --he | -h)
    957     ac_init_help=long ;;
    958   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    959     ac_init_help=recursive ;;
    960   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    961     ac_init_help=short ;;
    962 
    963   -host | --host | --hos | --ho)
    964     ac_prev=host_alias ;;
    965   -host=* | --host=* | --hos=* | --ho=*)
    966     host_alias=$ac_optarg ;;
    967 
    968   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    969     ac_prev=htmldir ;;
    970   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    971   | --ht=*)
    972     htmldir=$ac_optarg ;;
    973 
    974   -includedir | --includedir | --includedi | --included | --include \
    975   | --includ | --inclu | --incl | --inc)
    976     ac_prev=includedir ;;
    977   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    978   | --includ=* | --inclu=* | --incl=* | --inc=*)
    979     includedir=$ac_optarg ;;
    980 
    981   -infodir | --infodir | --infodi | --infod | --info | --inf)
    982     ac_prev=infodir ;;
    983   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    984     infodir=$ac_optarg ;;
    985 
    986   -libdir | --libdir | --libdi | --libd)
    987     ac_prev=libdir ;;
    988   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    989     libdir=$ac_optarg ;;
    990 
    991   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    992   | --libexe | --libex | --libe)
    993     ac_prev=libexecdir ;;
    994   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    995   | --libexe=* | --libex=* | --libe=*)
    996     libexecdir=$ac_optarg ;;
    997 
    998   -localedir | --localedir | --localedi | --localed | --locale)
    999     ac_prev=localedir ;;
   1000   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1001     localedir=$ac_optarg ;;
   1002 
   1003   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1004   | --localstate | --localstat | --localsta | --localst | --locals)
   1005     ac_prev=localstatedir ;;
   1006   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1007   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1008     localstatedir=$ac_optarg ;;
   1009 
   1010   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1011     ac_prev=mandir ;;
   1012   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1013     mandir=$ac_optarg ;;
   1014 
   1015   -nfp | --nfp | --nf)
   1016     # Obsolete; use --without-fp.
   1017     with_fp=no ;;
   1018 
   1019   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1020   | --no-cr | --no-c | -n)
   1021     no_create=yes ;;
   1022 
   1023   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1024   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1025     no_recursion=yes ;;
   1026 
   1027   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1028   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1029   | --oldin | --oldi | --old | --ol | --o)
   1030     ac_prev=oldincludedir ;;
   1031   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1032   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1033   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1034     oldincludedir=$ac_optarg ;;
   1035 
   1036   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1037     ac_prev=prefix ;;
   1038   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1039     prefix=$ac_optarg ;;
   1040 
   1041   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1042   | --program-pre | --program-pr | --program-p)
   1043     ac_prev=program_prefix ;;
   1044   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1045   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1046     program_prefix=$ac_optarg ;;
   1047 
   1048   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1049   | --program-suf | --program-su | --program-s)
   1050     ac_prev=program_suffix ;;
   1051   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1052   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1053     program_suffix=$ac_optarg ;;
   1054 
   1055   -program-transform-name | --program-transform-name \
   1056   | --program-transform-nam | --program-transform-na \
   1057   | --program-transform-n | --program-transform- \
   1058   | --program-transform | --program-transfor \
   1059   | --program-transfo | --program-transf \
   1060   | --program-trans | --program-tran \
   1061   | --progr-tra | --program-tr | --program-t)
   1062     ac_prev=program_transform_name ;;
   1063   -program-transform-name=* | --program-transform-name=* \
   1064   | --program-transform-nam=* | --program-transform-na=* \
   1065   | --program-transform-n=* | --program-transform-=* \
   1066   | --program-transform=* | --program-transfor=* \
   1067   | --program-transfo=* | --program-transf=* \
   1068   | --program-trans=* | --program-tran=* \
   1069   | --progr-tra=* | --program-tr=* | --program-t=*)
   1070     program_transform_name=$ac_optarg ;;
   1071 
   1072   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1073     ac_prev=pdfdir ;;
   1074   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1075     pdfdir=$ac_optarg ;;
   1076 
   1077   -psdir | --psdir | --psdi | --psd | --ps)
   1078     ac_prev=psdir ;;
   1079   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1080     psdir=$ac_optarg ;;
   1081 
   1082   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1083   | -silent | --silent | --silen | --sile | --sil)
   1084     silent=yes ;;
   1085 
   1086   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1087   | --runstate | --runstat | --runsta | --runst | --runs \
   1088   | --run | --ru | --r)
   1089     ac_prev=runstatedir ;;
   1090   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1091   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1092   | --run=* | --ru=* | --r=*)
   1093     runstatedir=$ac_optarg ;;
   1094 
   1095   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1096     ac_prev=sbindir ;;
   1097   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1098   | --sbi=* | --sb=*)
   1099     sbindir=$ac_optarg ;;
   1100 
   1101   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1102   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1103   | --sharedst | --shareds | --shared | --share | --shar \
   1104   | --sha | --sh)
   1105     ac_prev=sharedstatedir ;;
   1106   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1107   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1108   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1109   | --sha=* | --sh=*)
   1110     sharedstatedir=$ac_optarg ;;
   1111 
   1112   -site | --site | --sit)
   1113     ac_prev=site ;;
   1114   -site=* | --site=* | --sit=*)
   1115     site=$ac_optarg ;;
   1116 
   1117   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1118     ac_prev=srcdir ;;
   1119   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1120     srcdir=$ac_optarg ;;
   1121 
   1122   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1123   | --syscon | --sysco | --sysc | --sys | --sy)
   1124     ac_prev=sysconfdir ;;
   1125   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1126   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1127     sysconfdir=$ac_optarg ;;
   1128 
   1129   -target | --target | --targe | --targ | --tar | --ta | --t)
   1130     ac_prev=target_alias ;;
   1131   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1132     target_alias=$ac_optarg ;;
   1133 
   1134   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1135     verbose=yes ;;
   1136 
   1137   -version | --version | --versio | --versi | --vers | -V)
   1138     ac_init_version=: ;;
   1139 
   1140   -with-* | --with-*)
   1141     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1142     # Reject names that are not valid shell variable names.
   1143     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1144       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1145     ac_useropt_orig=$ac_useropt
   1146     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1147     case $ac_user_opts in
   1148       *"
   1149 "with_$ac_useropt"
   1150 "*) ;;
   1151       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1152 	 ac_unrecognized_sep=', ';;
   1153     esac
   1154     eval with_$ac_useropt=\$ac_optarg ;;
   1155 
   1156   -without-* | --without-*)
   1157     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1158     # Reject names that are not valid shell variable names.
   1159     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1160       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1161     ac_useropt_orig=$ac_useropt
   1162     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1163     case $ac_user_opts in
   1164       *"
   1165 "with_$ac_useropt"
   1166 "*) ;;
   1167       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1168 	 ac_unrecognized_sep=', ';;
   1169     esac
   1170     eval with_$ac_useropt=no ;;
   1171 
   1172   --x)
   1173     # Obsolete; use --with-x.
   1174     with_x=yes ;;
   1175 
   1176   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1177   | --x-incl | --x-inc | --x-in | --x-i)
   1178     ac_prev=x_includes ;;
   1179   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1180   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1181     x_includes=$ac_optarg ;;
   1182 
   1183   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1184   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1185     ac_prev=x_libraries ;;
   1186   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1187   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1188     x_libraries=$ac_optarg ;;
   1189 
   1190   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1191 Try \`$0 --help' for more information"
   1192     ;;
   1193 
   1194   *=*)
   1195     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1196     # Reject names that are not valid shell variable names.
   1197     case $ac_envvar in #(
   1198       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1199       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1200     esac
   1201     eval $ac_envvar=\$ac_optarg
   1202     export $ac_envvar ;;
   1203 
   1204   *)
   1205     # FIXME: should be removed in autoconf 3.0.
   1206     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1207     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1208       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1209     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1210     ;;
   1211 
   1212   esac
   1213 done
   1214 
   1215 if test -n "$ac_prev"; then
   1216   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1217   as_fn_error $? "missing argument to $ac_option"
   1218 fi
   1219 
   1220 if test -n "$ac_unrecognized_opts"; then
   1221   case $enable_option_checking in
   1222     no) ;;
   1223     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1224     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1225   esac
   1226 fi
   1227 
   1228 # Check all directory arguments for consistency.
   1229 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1230 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1231 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1232 		libdir localedir mandir runstatedir
   1233 do
   1234   eval ac_val=\$$ac_var
   1235   # Remove trailing slashes.
   1236   case $ac_val in
   1237     */ )
   1238       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1239       eval $ac_var=\$ac_val;;
   1240   esac
   1241   # Be sure to have absolute directory names.
   1242   case $ac_val in
   1243     [\\/$]* | ?:[\\/]* )  continue;;
   1244     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1245   esac
   1246   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1247 done
   1248 
   1249 # There might be people who depend on the old broken behavior: `$host'
   1250 # used to hold the argument of --host etc.
   1251 # FIXME: To remove some day.
   1252 build=$build_alias
   1253 host=$host_alias
   1254 target=$target_alias
   1255 
   1256 # FIXME: To remove some day.
   1257 if test "x$host_alias" != x; then
   1258   if test "x$build_alias" = x; then
   1259     cross_compiling=maybe
   1260   elif test "x$build_alias" != "x$host_alias"; then
   1261     cross_compiling=yes
   1262   fi
   1263 fi
   1264 
   1265 ac_tool_prefix=
   1266 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1267 
   1268 test "$silent" = yes && exec 6>/dev/null
   1269 
   1270 
   1271 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1272 ac_ls_di=`ls -di .` &&
   1273 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1274   as_fn_error $? "working directory cannot be determined"
   1275 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1276   as_fn_error $? "pwd does not report name of working directory"
   1277 
   1278 
   1279 # Find the source files, if location was not specified.
   1280 if test -z "$srcdir"; then
   1281   ac_srcdir_defaulted=yes
   1282   # Try the directory containing this script, then the parent directory.
   1283   ac_confdir=`$as_dirname -- "$as_myself" ||
   1284 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1285 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1286 	 X"$as_myself" : 'X\(//\)$' \| \
   1287 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1288 printf "%s\n" X"$as_myself" |
   1289     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1290 	    s//\1/
   1291 	    q
   1292 	  }
   1293 	  /^X\(\/\/\)[^/].*/{
   1294 	    s//\1/
   1295 	    q
   1296 	  }
   1297 	  /^X\(\/\/\)$/{
   1298 	    s//\1/
   1299 	    q
   1300 	  }
   1301 	  /^X\(\/\).*/{
   1302 	    s//\1/
   1303 	    q
   1304 	  }
   1305 	  s/.*/./; q'`
   1306   srcdir=$ac_confdir
   1307   if test ! -r "$srcdir/$ac_unique_file"; then
   1308     srcdir=..
   1309   fi
   1310 else
   1311   ac_srcdir_defaulted=no
   1312 fi
   1313 if test ! -r "$srcdir/$ac_unique_file"; then
   1314   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1315   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1316 fi
   1317 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1318 ac_abs_confdir=`(
   1319 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1320 	pwd)`
   1321 # When building in place, set srcdir=.
   1322 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1323   srcdir=.
   1324 fi
   1325 # Remove unnecessary trailing slashes from srcdir.
   1326 # Double slashes in file names in object file debugging info
   1327 # mess up M-x gdb in Emacs.
   1328 case $srcdir in
   1329 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1330 esac
   1331 for ac_var in $ac_precious_vars; do
   1332   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1333   eval ac_env_${ac_var}_value=\$${ac_var}
   1334   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1335   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1336 done
   1337 
   1338 #
   1339 # Report the --help message.
   1340 #
   1341 if test "$ac_init_help" = "long"; then
   1342   # Omit some internal or obsolete options to make the list less imposing.
   1343   # This message is too long to be a string in the A/UX 3.1 sh.
   1344   cat <<_ACEOF
   1345 \`configure' configures listres 1.0.5 to adapt to many kinds of systems.
   1346 
   1347 Usage: $0 [OPTION]... [VAR=VALUE]...
   1348 
   1349 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1350 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1351 
   1352 Defaults for the options are specified in brackets.
   1353 
   1354 Configuration:
   1355   -h, --help              display this help and exit
   1356       --help=short        display options specific to this package
   1357       --help=recursive    display the short help of all the included packages
   1358   -V, --version           display version information and exit
   1359   -q, --quiet, --silent   do not print \`checking ...' messages
   1360       --cache-file=FILE   cache test results in FILE [disabled]
   1361   -C, --config-cache      alias for \`--cache-file=config.cache'
   1362   -n, --no-create         do not create output files
   1363       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1364 
   1365 Installation directories:
   1366   --prefix=PREFIX         install architecture-independent files in PREFIX
   1367                           [$ac_default_prefix]
   1368   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1369                           [PREFIX]
   1370 
   1371 By default, \`make install' will install all the files in
   1372 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1373 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1374 for instance \`--prefix=\$HOME'.
   1375 
   1376 For better control, use the options below.
   1377 
   1378 Fine tuning of the installation directories:
   1379   --bindir=DIR            user executables [EPREFIX/bin]
   1380   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1381   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1382   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1383   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1384   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1385   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1386   --libdir=DIR            object code libraries [EPREFIX/lib]
   1387   --includedir=DIR        C header files [PREFIX/include]
   1388   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1389   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1390   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1391   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1392   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1393   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1394   --docdir=DIR            documentation root [DATAROOTDIR/doc/listres]
   1395   --htmldir=DIR           html documentation [DOCDIR]
   1396   --dvidir=DIR            dvi documentation [DOCDIR]
   1397   --pdfdir=DIR            pdf documentation [DOCDIR]
   1398   --psdir=DIR             ps documentation [DOCDIR]
   1399 _ACEOF
   1400 
   1401   cat <<\_ACEOF
   1402 
   1403 Program names:
   1404   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1405   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1406   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1407 
   1408 System types:
   1409   --build=BUILD     configure for building on BUILD [guessed]
   1410   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1411 _ACEOF
   1412 fi
   1413 
   1414 if test -n "$ac_init_help"; then
   1415   case $ac_init_help in
   1416      short | recursive ) echo "Configuration of listres 1.0.5:";;
   1417    esac
   1418   cat <<\_ACEOF
   1419 
   1420 Optional Features:
   1421   --disable-option-checking  ignore unrecognized --enable/--with options
   1422   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1423   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1424   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1425   --disable-silent-rules  verbose build output (undo: "make V=0")
   1426   --enable-dependency-tracking
   1427                           do not reject slow dependency extractors
   1428   --disable-dependency-tracking
   1429                           speeds up one-time build
   1430   --disable-selective-werror
   1431                           Turn off selective compiler errors. (default:
   1432                           enabled)
   1433   --enable-strict-compilation
   1434                           Enable all warnings from compiler and make them
   1435                           errors (default: disabled)
   1436 
   1437 Some influential environment variables:
   1438   CC          C compiler command
   1439   CFLAGS      C compiler flags
   1440   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1441               nonstandard directory <lib dir>
   1442   LIBS        libraries to pass to the linker, e.g. -l<library>
   1443   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1444               you have headers in a nonstandard directory <include dir>
   1445   PKG_CONFIG  path to pkg-config utility
   1446   PKG_CONFIG_PATH
   1447               directories to add to pkg-config's search path
   1448   PKG_CONFIG_LIBDIR
   1449               path overriding pkg-config's built-in search path
   1450   LISTRES_CFLAGS
   1451               C compiler flags for LISTRES, overriding pkg-config
   1452   LISTRES_LIBS
   1453               linker flags for LISTRES, overriding pkg-config
   1454 
   1455 Use these variables to override the choices made by `configure' or to help
   1456 it to find libraries and programs with nonstandard names/locations.
   1457 
   1458 Report bugs to <https://gitlab.freedesktop.org/xorg/app/listres/issues>.
   1459 _ACEOF
   1460 ac_status=$?
   1461 fi
   1462 
   1463 if test "$ac_init_help" = "recursive"; then
   1464   # If there are subdirs, report their specific --help.
   1465   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1466     test -d "$ac_dir" ||
   1467       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1468       continue
   1469     ac_builddir=.
   1470 
   1471 case "$ac_dir" in
   1472 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1473 *)
   1474   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1475   # A ".." for each directory in $ac_dir_suffix.
   1476   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1477   case $ac_top_builddir_sub in
   1478   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1479   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1480   esac ;;
   1481 esac
   1482 ac_abs_top_builddir=$ac_pwd
   1483 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1484 # for backward compatibility:
   1485 ac_top_builddir=$ac_top_build_prefix
   1486 
   1487 case $srcdir in
   1488   .)  # We are building in place.
   1489     ac_srcdir=.
   1490     ac_top_srcdir=$ac_top_builddir_sub
   1491     ac_abs_top_srcdir=$ac_pwd ;;
   1492   [\\/]* | ?:[\\/]* )  # Absolute name.
   1493     ac_srcdir=$srcdir$ac_dir_suffix;
   1494     ac_top_srcdir=$srcdir
   1495     ac_abs_top_srcdir=$srcdir ;;
   1496   *) # Relative name.
   1497     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1498     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1499     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1500 esac
   1501 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1502 
   1503     cd "$ac_dir" || { ac_status=$?; continue; }
   1504     # Check for configure.gnu first; this name is used for a wrapper for
   1505     # Metaconfig's "Configure" on case-insensitive file systems.
   1506     if test -f "$ac_srcdir/configure.gnu"; then
   1507       echo &&
   1508       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1509     elif test -f "$ac_srcdir/configure"; then
   1510       echo &&
   1511       $SHELL "$ac_srcdir/configure" --help=recursive
   1512     else
   1513       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1514     fi || ac_status=$?
   1515     cd "$ac_pwd" || { ac_status=$?; break; }
   1516   done
   1517 fi
   1518 
   1519 test -n "$ac_init_help" && exit $ac_status
   1520 if $ac_init_version; then
   1521   cat <<\_ACEOF
   1522 listres configure 1.0.5
   1523 generated by GNU Autoconf 2.71
   1524 
   1525 Copyright (C) 2021 Free Software Foundation, Inc.
   1526 This configure script is free software; the Free Software Foundation
   1527 gives unlimited permission to copy, distribute and modify it.
   1528 _ACEOF
   1529   exit
   1530 fi
   1531 
   1532 ## ------------------------ ##
   1533 ## Autoconf initialization. ##
   1534 ## ------------------------ ##
   1535 
   1536 # ac_fn_c_try_compile LINENO
   1537 # --------------------------
   1538 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1539 ac_fn_c_try_compile ()
   1540 {
   1541   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1542   rm -f conftest.$ac_objext conftest.beam
   1543   if { { ac_try="$ac_compile"
   1544 case "(($ac_try" in
   1545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1546   *) ac_try_echo=$ac_try;;
   1547 esac
   1548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1549 printf "%s\n" "$ac_try_echo"; } >&5
   1550   (eval "$ac_compile") 2>conftest.err
   1551   ac_status=$?
   1552   if test -s conftest.err; then
   1553     grep -v '^ *+' conftest.err >conftest.er1
   1554     cat conftest.er1 >&5
   1555     mv -f conftest.er1 conftest.err
   1556   fi
   1557   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1558   test $ac_status = 0; } && {
   1559 	 test -z "$ac_c_werror_flag" ||
   1560 	 test ! -s conftest.err
   1561        } && test -s conftest.$ac_objext
   1562 then :
   1563   ac_retval=0
   1564 else $as_nop
   1565   printf "%s\n" "$as_me: failed program was:" >&5
   1566 sed 's/^/| /' conftest.$ac_ext >&5
   1567 
   1568 	ac_retval=1
   1569 fi
   1570   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1571   as_fn_set_status $ac_retval
   1572 
   1573 } # ac_fn_c_try_compile
   1574 
   1575 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1576 # ------------------------------------------------------------------
   1577 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1578 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1579 ac_fn_check_decl ()
   1580 {
   1581   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1582   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1583   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1584 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1585 if eval test \${$3+y}
   1586 then :
   1587   printf %s "(cached) " >&6
   1588 else $as_nop
   1589   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1590   eval ac_save_FLAGS=\$$6
   1591   as_fn_append $6 " $5"
   1592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1593 /* end confdefs.h.  */
   1594 $4
   1595 int
   1596 main (void)
   1597 {
   1598 #ifndef $as_decl_name
   1599 #ifdef __cplusplus
   1600   (void) $as_decl_use;
   1601 #else
   1602   (void) $as_decl_name;
   1603 #endif
   1604 #endif
   1605 
   1606   ;
   1607   return 0;
   1608 }
   1609 _ACEOF
   1610 if ac_fn_c_try_compile "$LINENO"
   1611 then :
   1612   eval "$3=yes"
   1613 else $as_nop
   1614   eval "$3=no"
   1615 fi
   1616 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1617   eval $6=\$ac_save_FLAGS
   1618 
   1619 fi
   1620 eval ac_res=\$$3
   1621 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1622 printf "%s\n" "$ac_res" >&6; }
   1623   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1624 
   1625 } # ac_fn_check_decl
   1626 
   1627 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1628 # -------------------------------------------------------
   1629 # Tests whether HEADER exists and can be compiled using the include files in
   1630 # INCLUDES, setting the cache variable VAR accordingly.
   1631 ac_fn_c_check_header_compile ()
   1632 {
   1633   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1634   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1635 printf %s "checking for $2... " >&6; }
   1636 if eval test \${$3+y}
   1637 then :
   1638   printf %s "(cached) " >&6
   1639 else $as_nop
   1640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1641 /* end confdefs.h.  */
   1642 $4
   1643 #include <$2>
   1644 _ACEOF
   1645 if ac_fn_c_try_compile "$LINENO"
   1646 then :
   1647   eval "$3=yes"
   1648 else $as_nop
   1649   eval "$3=no"
   1650 fi
   1651 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1652 fi
   1653 eval ac_res=\$$3
   1654 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1655 printf "%s\n" "$ac_res" >&6; }
   1656   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1657 
   1658 } # ac_fn_c_check_header_compile
   1659 
   1660 # ac_fn_c_try_link LINENO
   1661 # -----------------------
   1662 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1663 ac_fn_c_try_link ()
   1664 {
   1665   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1666   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1667   if { { ac_try="$ac_link"
   1668 case "(($ac_try" in
   1669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1670   *) ac_try_echo=$ac_try;;
   1671 esac
   1672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1673 printf "%s\n" "$ac_try_echo"; } >&5
   1674   (eval "$ac_link") 2>conftest.err
   1675   ac_status=$?
   1676   if test -s conftest.err; then
   1677     grep -v '^ *+' conftest.err >conftest.er1
   1678     cat conftest.er1 >&5
   1679     mv -f conftest.er1 conftest.err
   1680   fi
   1681   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1682   test $ac_status = 0; } && {
   1683 	 test -z "$ac_c_werror_flag" ||
   1684 	 test ! -s conftest.err
   1685        } && test -s conftest$ac_exeext && {
   1686 	 test "$cross_compiling" = yes ||
   1687 	 test -x conftest$ac_exeext
   1688        }
   1689 then :
   1690   ac_retval=0
   1691 else $as_nop
   1692   printf "%s\n" "$as_me: failed program was:" >&5
   1693 sed 's/^/| /' conftest.$ac_ext >&5
   1694 
   1695 	ac_retval=1
   1696 fi
   1697   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1698   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1699   # interfere with the next link command; also delete a directory that is
   1700   # left behind by Apple's compiler.  We do this before executing the actions.
   1701   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1702   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1703   as_fn_set_status $ac_retval
   1704 
   1705 } # ac_fn_c_try_link
   1706 ac_configure_args_raw=
   1707 for ac_arg
   1708 do
   1709   case $ac_arg in
   1710   *\'*)
   1711     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1712   esac
   1713   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1714 done
   1715 
   1716 case $ac_configure_args_raw in
   1717   *$as_nl*)
   1718     ac_safe_unquote= ;;
   1719   *)
   1720     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1721     ac_unsafe_a="$ac_unsafe_z#~"
   1722     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1723     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1724 esac
   1725 
   1726 cat >config.log <<_ACEOF
   1727 This file contains any messages produced by compilers while
   1728 running configure, to aid debugging if configure makes a mistake.
   1729 
   1730 It was created by listres $as_me 1.0.5, which was
   1731 generated by GNU Autoconf 2.71.  Invocation command line was
   1732 
   1733   $ $0$ac_configure_args_raw
   1734 
   1735 _ACEOF
   1736 exec 5>>config.log
   1737 {
   1738 cat <<_ASUNAME
   1739 ## --------- ##
   1740 ## Platform. ##
   1741 ## --------- ##
   1742 
   1743 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1744 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1745 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1746 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1747 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1748 
   1749 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1750 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1751 
   1752 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1753 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1754 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1755 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1756 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1757 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1758 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1759 
   1760 _ASUNAME
   1761 
   1762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1763 for as_dir in $PATH
   1764 do
   1765   IFS=$as_save_IFS
   1766   case $as_dir in #(((
   1767     '') as_dir=./ ;;
   1768     */) ;;
   1769     *) as_dir=$as_dir/ ;;
   1770   esac
   1771     printf "%s\n" "PATH: $as_dir"
   1772   done
   1773 IFS=$as_save_IFS
   1774 
   1775 } >&5
   1776 
   1777 cat >&5 <<_ACEOF
   1778 
   1779 
   1780 ## ----------- ##
   1781 ## Core tests. ##
   1782 ## ----------- ##
   1783 
   1784 _ACEOF
   1785 
   1786 
   1787 # Keep a trace of the command line.
   1788 # Strip out --no-create and --no-recursion so they do not pile up.
   1789 # Strip out --silent because we don't want to record it for future runs.
   1790 # Also quote any args containing shell meta-characters.
   1791 # Make two passes to allow for proper duplicate-argument suppression.
   1792 ac_configure_args=
   1793 ac_configure_args0=
   1794 ac_configure_args1=
   1795 ac_must_keep_next=false
   1796 for ac_pass in 1 2
   1797 do
   1798   for ac_arg
   1799   do
   1800     case $ac_arg in
   1801     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1802     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1803     | -silent | --silent | --silen | --sile | --sil)
   1804       continue ;;
   1805     *\'*)
   1806       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1807     esac
   1808     case $ac_pass in
   1809     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1810     2)
   1811       as_fn_append ac_configure_args1 " '$ac_arg'"
   1812       if test $ac_must_keep_next = true; then
   1813 	ac_must_keep_next=false # Got value, back to normal.
   1814       else
   1815 	case $ac_arg in
   1816 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1817 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1818 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1819 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1820 	    case "$ac_configure_args0 " in
   1821 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1822 	    esac
   1823 	    ;;
   1824 	  -* ) ac_must_keep_next=true ;;
   1825 	esac
   1826       fi
   1827       as_fn_append ac_configure_args " '$ac_arg'"
   1828       ;;
   1829     esac
   1830   done
   1831 done
   1832 { ac_configure_args0=; unset ac_configure_args0;}
   1833 { ac_configure_args1=; unset ac_configure_args1;}
   1834 
   1835 # When interrupted or exit'd, cleanup temporary files, and complete
   1836 # config.log.  We remove comments because anyway the quotes in there
   1837 # would cause problems or look ugly.
   1838 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1839 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1840 trap 'exit_status=$?
   1841   # Sanitize IFS.
   1842   IFS=" ""	$as_nl"
   1843   # Save into config.log some information that might help in debugging.
   1844   {
   1845     echo
   1846 
   1847     printf "%s\n" "## ---------------- ##
   1848 ## Cache variables. ##
   1849 ## ---------------- ##"
   1850     echo
   1851     # The following way of writing the cache mishandles newlines in values,
   1852 (
   1853   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1854     eval ac_val=\$$ac_var
   1855     case $ac_val in #(
   1856     *${as_nl}*)
   1857       case $ac_var in #(
   1858       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1859 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1860       esac
   1861       case $ac_var in #(
   1862       _ | IFS | as_nl) ;; #(
   1863       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1864       *) { eval $ac_var=; unset $ac_var;} ;;
   1865       esac ;;
   1866     esac
   1867   done
   1868   (set) 2>&1 |
   1869     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1870     *${as_nl}ac_space=\ *)
   1871       sed -n \
   1872 	"s/'\''/'\''\\\\'\'''\''/g;
   1873 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1874       ;; #(
   1875     *)
   1876       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1877       ;;
   1878     esac |
   1879     sort
   1880 )
   1881     echo
   1882 
   1883     printf "%s\n" "## ----------------- ##
   1884 ## Output variables. ##
   1885 ## ----------------- ##"
   1886     echo
   1887     for ac_var in $ac_subst_vars
   1888     do
   1889       eval ac_val=\$$ac_var
   1890       case $ac_val in
   1891       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1892       esac
   1893       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1894     done | sort
   1895     echo
   1896 
   1897     if test -n "$ac_subst_files"; then
   1898       printf "%s\n" "## ------------------- ##
   1899 ## File substitutions. ##
   1900 ## ------------------- ##"
   1901       echo
   1902       for ac_var in $ac_subst_files
   1903       do
   1904 	eval ac_val=\$$ac_var
   1905 	case $ac_val in
   1906 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1907 	esac
   1908 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1909       done | sort
   1910       echo
   1911     fi
   1912 
   1913     if test -s confdefs.h; then
   1914       printf "%s\n" "## ----------- ##
   1915 ## confdefs.h. ##
   1916 ## ----------- ##"
   1917       echo
   1918       cat confdefs.h
   1919       echo
   1920     fi
   1921     test "$ac_signal" != 0 &&
   1922       printf "%s\n" "$as_me: caught signal $ac_signal"
   1923     printf "%s\n" "$as_me: exit $exit_status"
   1924   } >&5
   1925   rm -f core *.core core.conftest.* &&
   1926     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1927     exit $exit_status
   1928 ' 0
   1929 for ac_signal in 1 2 13 15; do
   1930   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1931 done
   1932 ac_signal=0
   1933 
   1934 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1935 rm -f -r conftest* confdefs.h
   1936 
   1937 printf "%s\n" "/* confdefs.h */" > confdefs.h
   1938 
   1939 # Predefined preprocessor variables.
   1940 
   1941 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   1942 
   1943 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   1944 
   1945 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   1946 
   1947 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   1948 
   1949 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   1950 
   1951 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   1952 
   1953 
   1954 # Let the site file select an alternate cache file if it wants to.
   1955 # Prefer an explicitly selected file to automatically selected ones.
   1956 if test -n "$CONFIG_SITE"; then
   1957   ac_site_files="$CONFIG_SITE"
   1958 elif test "x$prefix" != xNONE; then
   1959   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   1960 else
   1961   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1962 fi
   1963 
   1964 for ac_site_file in $ac_site_files
   1965 do
   1966   case $ac_site_file in #(
   1967   */*) :
   1968      ;; #(
   1969   *) :
   1970     ac_site_file=./$ac_site_file ;;
   1971 esac
   1972   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   1973     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1974 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   1975     sed 's/^/| /' "$ac_site_file" >&5
   1976     . "$ac_site_file" \
   1977       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   1978 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   1979 as_fn_error $? "failed to load site script $ac_site_file
   1980 See \`config.log' for more details" "$LINENO" 5; }
   1981   fi
   1982 done
   1983 
   1984 if test -r "$cache_file"; then
   1985   # Some versions of bash will fail to source /dev/null (special files
   1986   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   1987   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   1988     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   1989 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   1990     case $cache_file in
   1991       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1992       *)                      . "./$cache_file";;
   1993     esac
   1994   fi
   1995 else
   1996   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   1997 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   1998   >$cache_file
   1999 fi
   2000 
   2001 # Test code for whether the C compiler supports C89 (global declarations)
   2002 ac_c_conftest_c89_globals='
   2003 /* Does the compiler advertise C89 conformance?
   2004    Do not test the value of __STDC__, because some compilers set it to 0
   2005    while being otherwise adequately conformant. */
   2006 #if !defined __STDC__
   2007 # error "Compiler does not advertise C89 conformance"
   2008 #endif
   2009 
   2010 #include <stddef.h>
   2011 #include <stdarg.h>
   2012 struct stat;
   2013 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2014 struct buf { int x; };
   2015 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2016 static char *e (p, i)
   2017      char **p;
   2018      int i;
   2019 {
   2020   return p[i];
   2021 }
   2022 static char *f (char * (*g) (char **, int), char **p, ...)
   2023 {
   2024   char *s;
   2025   va_list v;
   2026   va_start (v,p);
   2027   s = g (p, va_arg (v,int));
   2028   va_end (v);
   2029   return s;
   2030 }
   2031 
   2032 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2033    function prototypes and stuff, but not \xHH hex character constants.
   2034    These do not provoke an error unfortunately, instead are silently treated
   2035    as an "x".  The following induces an error, until -std is added to get
   2036    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2037    array size at least.  It is necessary to write \x00 == 0 to get something
   2038    that is true only with -std.  */
   2039 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2040 
   2041 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2042    inside strings and character constants.  */
   2043 #define FOO(x) '\''x'\''
   2044 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2045 
   2046 int test (int i, double x);
   2047 struct s1 {int (*f) (int a);};
   2048 struct s2 {int (*f) (double a);};
   2049 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2050                int, int);'
   2051 
   2052 # Test code for whether the C compiler supports C89 (body of main).
   2053 ac_c_conftest_c89_main='
   2054 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2055 '
   2056 
   2057 # Test code for whether the C compiler supports C99 (global declarations)
   2058 ac_c_conftest_c99_globals='
   2059 // Does the compiler advertise C99 conformance?
   2060 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2061 # error "Compiler does not advertise C99 conformance"
   2062 #endif
   2063 
   2064 #include <stdbool.h>
   2065 extern int puts (const char *);
   2066 extern int printf (const char *, ...);
   2067 extern int dprintf (int, const char *, ...);
   2068 extern void *malloc (size_t);
   2069 
   2070 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2071 // dprintf is used instead of fprintf to avoid needing to declare
   2072 // FILE and stderr.
   2073 #define debug(...) dprintf (2, __VA_ARGS__)
   2074 #define showlist(...) puts (#__VA_ARGS__)
   2075 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2076 static void
   2077 test_varargs_macros (void)
   2078 {
   2079   int x = 1234;
   2080   int y = 5678;
   2081   debug ("Flag");
   2082   debug ("X = %d\n", x);
   2083   showlist (The first, second, and third items.);
   2084   report (x>y, "x is %d but y is %d", x, y);
   2085 }
   2086 
   2087 // Check long long types.
   2088 #define BIG64 18446744073709551615ull
   2089 #define BIG32 4294967295ul
   2090 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2091 #if !BIG_OK
   2092   #error "your preprocessor is broken"
   2093 #endif
   2094 #if BIG_OK
   2095 #else
   2096   #error "your preprocessor is broken"
   2097 #endif
   2098 static long long int bignum = -9223372036854775807LL;
   2099 static unsigned long long int ubignum = BIG64;
   2100 
   2101 struct incomplete_array
   2102 {
   2103   int datasize;
   2104   double data[];
   2105 };
   2106 
   2107 struct named_init {
   2108   int number;
   2109   const wchar_t *name;
   2110   double average;
   2111 };
   2112 
   2113 typedef const char *ccp;
   2114 
   2115 static inline int
   2116 test_restrict (ccp restrict text)
   2117 {
   2118   // See if C++-style comments work.
   2119   // Iterate through items via the restricted pointer.
   2120   // Also check for declarations in for loops.
   2121   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2122     continue;
   2123   return 0;
   2124 }
   2125 
   2126 // Check varargs and va_copy.
   2127 static bool
   2128 test_varargs (const char *format, ...)
   2129 {
   2130   va_list args;
   2131   va_start (args, format);
   2132   va_list args_copy;
   2133   va_copy (args_copy, args);
   2134 
   2135   const char *str = "";
   2136   int number = 0;
   2137   float fnumber = 0;
   2138 
   2139   while (*format)
   2140     {
   2141       switch (*format++)
   2142 	{
   2143 	case '\''s'\'': // string
   2144 	  str = va_arg (args_copy, const char *);
   2145 	  break;
   2146 	case '\''d'\'': // int
   2147 	  number = va_arg (args_copy, int);
   2148 	  break;
   2149 	case '\''f'\'': // float
   2150 	  fnumber = va_arg (args_copy, double);
   2151 	  break;
   2152 	default:
   2153 	  break;
   2154 	}
   2155     }
   2156   va_end (args_copy);
   2157   va_end (args);
   2158 
   2159   return *str && number && fnumber;
   2160 }
   2161 '
   2162 
   2163 # Test code for whether the C compiler supports C99 (body of main).
   2164 ac_c_conftest_c99_main='
   2165   // Check bool.
   2166   _Bool success = false;
   2167   success |= (argc != 0);
   2168 
   2169   // Check restrict.
   2170   if (test_restrict ("String literal") == 0)
   2171     success = true;
   2172   char *restrict newvar = "Another string";
   2173 
   2174   // Check varargs.
   2175   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2176   test_varargs_macros ();
   2177 
   2178   // Check flexible array members.
   2179   struct incomplete_array *ia =
   2180     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2181   ia->datasize = 10;
   2182   for (int i = 0; i < ia->datasize; ++i)
   2183     ia->data[i] = i * 1.234;
   2184 
   2185   // Check named initializers.
   2186   struct named_init ni = {
   2187     .number = 34,
   2188     .name = L"Test wide string",
   2189     .average = 543.34343,
   2190   };
   2191 
   2192   ni.number = 58;
   2193 
   2194   int dynamic_array[ni.number];
   2195   dynamic_array[0] = argv[0][0];
   2196   dynamic_array[ni.number - 1] = 543;
   2197 
   2198   // work around unused variable warnings
   2199   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2200 	 || dynamic_array[ni.number - 1] != 543);
   2201 '
   2202 
   2203 # Test code for whether the C compiler supports C11 (global declarations)
   2204 ac_c_conftest_c11_globals='
   2205 // Does the compiler advertise C11 conformance?
   2206 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2207 # error "Compiler does not advertise C11 conformance"
   2208 #endif
   2209 
   2210 // Check _Alignas.
   2211 char _Alignas (double) aligned_as_double;
   2212 char _Alignas (0) no_special_alignment;
   2213 extern char aligned_as_int;
   2214 char _Alignas (0) _Alignas (int) aligned_as_int;
   2215 
   2216 // Check _Alignof.
   2217 enum
   2218 {
   2219   int_alignment = _Alignof (int),
   2220   int_array_alignment = _Alignof (int[100]),
   2221   char_alignment = _Alignof (char)
   2222 };
   2223 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2224 
   2225 // Check _Noreturn.
   2226 int _Noreturn does_not_return (void) { for (;;) continue; }
   2227 
   2228 // Check _Static_assert.
   2229 struct test_static_assert
   2230 {
   2231   int x;
   2232   _Static_assert (sizeof (int) <= sizeof (long int),
   2233                   "_Static_assert does not work in struct");
   2234   long int y;
   2235 };
   2236 
   2237 // Check UTF-8 literals.
   2238 #define u8 syntax error!
   2239 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2240 
   2241 // Check duplicate typedefs.
   2242 typedef long *long_ptr;
   2243 typedef long int *long_ptr;
   2244 typedef long_ptr long_ptr;
   2245 
   2246 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2247 struct anonymous
   2248 {
   2249   union {
   2250     struct { int i; int j; };
   2251     struct { int k; long int l; } w;
   2252   };
   2253   int m;
   2254 } v1;
   2255 '
   2256 
   2257 # Test code for whether the C compiler supports C11 (body of main).
   2258 ac_c_conftest_c11_main='
   2259   _Static_assert ((offsetof (struct anonymous, i)
   2260 		   == offsetof (struct anonymous, w.k)),
   2261 		  "Anonymous union alignment botch");
   2262   v1.i = 2;
   2263   v1.w.k = 5;
   2264   ok |= v1.i != 5;
   2265 '
   2266 
   2267 # Test code for whether the C compiler supports C11 (complete).
   2268 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2269 ${ac_c_conftest_c99_globals}
   2270 ${ac_c_conftest_c11_globals}
   2271 
   2272 int
   2273 main (int argc, char **argv)
   2274 {
   2275   int ok = 0;
   2276   ${ac_c_conftest_c89_main}
   2277   ${ac_c_conftest_c99_main}
   2278   ${ac_c_conftest_c11_main}
   2279   return ok;
   2280 }
   2281 "
   2282 
   2283 # Test code for whether the C compiler supports C99 (complete).
   2284 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2285 ${ac_c_conftest_c99_globals}
   2286 
   2287 int
   2288 main (int argc, char **argv)
   2289 {
   2290   int ok = 0;
   2291   ${ac_c_conftest_c89_main}
   2292   ${ac_c_conftest_c99_main}
   2293   return ok;
   2294 }
   2295 "
   2296 
   2297 # Test code for whether the C compiler supports C89 (complete).
   2298 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2299 
   2300 int
   2301 main (int argc, char **argv)
   2302 {
   2303   int ok = 0;
   2304   ${ac_c_conftest_c89_main}
   2305   return ok;
   2306 }
   2307 "
   2308 
   2309 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2310 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2311 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2312 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2313 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2314 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2315 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2316 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2317 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2318 
   2319 # Auxiliary files required by this configure script.
   2320 ac_aux_files="config.guess config.sub compile missing install-sh"
   2321 
   2322 # Locations in which to look for auxiliary files.
   2323 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2324 
   2325 # Search for a directory containing all of the required auxiliary files,
   2326 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2327 # If we don't find one directory that contains all the files we need,
   2328 # we report the set of missing files from the *first* directory in
   2329 # $ac_aux_dir_candidates and give up.
   2330 ac_missing_aux_files=""
   2331 ac_first_candidate=:
   2332 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2334 as_found=false
   2335 for as_dir in $ac_aux_dir_candidates
   2336 do
   2337   IFS=$as_save_IFS
   2338   case $as_dir in #(((
   2339     '') as_dir=./ ;;
   2340     */) ;;
   2341     *) as_dir=$as_dir/ ;;
   2342   esac
   2343   as_found=:
   2344 
   2345   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2346   ac_aux_dir_found=yes
   2347   ac_install_sh=
   2348   for ac_aux in $ac_aux_files
   2349   do
   2350     # As a special case, if "install-sh" is required, that requirement
   2351     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2352     # and $ac_install_sh is set appropriately for whichever one is found.
   2353     if test x"$ac_aux" = x"install-sh"
   2354     then
   2355       if test -f "${as_dir}install-sh"; then
   2356         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2357         ac_install_sh="${as_dir}install-sh -c"
   2358       elif test -f "${as_dir}install.sh"; then
   2359         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2360         ac_install_sh="${as_dir}install.sh -c"
   2361       elif test -f "${as_dir}shtool"; then
   2362         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2363         ac_install_sh="${as_dir}shtool install -c"
   2364       else
   2365         ac_aux_dir_found=no
   2366         if $ac_first_candidate; then
   2367           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2368         else
   2369           break
   2370         fi
   2371       fi
   2372     else
   2373       if test -f "${as_dir}${ac_aux}"; then
   2374         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2375       else
   2376         ac_aux_dir_found=no
   2377         if $ac_first_candidate; then
   2378           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2379         else
   2380           break
   2381         fi
   2382       fi
   2383     fi
   2384   done
   2385   if test "$ac_aux_dir_found" = yes; then
   2386     ac_aux_dir="$as_dir"
   2387     break
   2388   fi
   2389   ac_first_candidate=false
   2390 
   2391   as_found=false
   2392 done
   2393 IFS=$as_save_IFS
   2394 if $as_found
   2395 then :
   2396 
   2397 else $as_nop
   2398   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2399 fi
   2400 
   2401 
   2402 # These three variables are undocumented and unsupported,
   2403 # and are intended to be withdrawn in a future Autoconf release.
   2404 # They can cause serious problems if a builder's source tree is in a directory
   2405 # whose full name contains unusual characters.
   2406 if test -f "${ac_aux_dir}config.guess"; then
   2407   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2408 fi
   2409 if test -f "${ac_aux_dir}config.sub"; then
   2410   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2411 fi
   2412 if test -f "$ac_aux_dir/configure"; then
   2413   ac_configure="$SHELL ${ac_aux_dir}configure"
   2414 fi
   2415 
   2416 # Check that the precious variables saved in the cache have kept the same
   2417 # value.
   2418 ac_cache_corrupted=false
   2419 for ac_var in $ac_precious_vars; do
   2420   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2421   eval ac_new_set=\$ac_env_${ac_var}_set
   2422   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2423   eval ac_new_val=\$ac_env_${ac_var}_value
   2424   case $ac_old_set,$ac_new_set in
   2425     set,)
   2426       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2427 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2428       ac_cache_corrupted=: ;;
   2429     ,set)
   2430       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2431 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2432       ac_cache_corrupted=: ;;
   2433     ,);;
   2434     *)
   2435       if test "x$ac_old_val" != "x$ac_new_val"; then
   2436 	# differences in whitespace do not lead to failure.
   2437 	ac_old_val_w=`echo x $ac_old_val`
   2438 	ac_new_val_w=`echo x $ac_new_val`
   2439 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2440 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2441 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2442 	  ac_cache_corrupted=:
   2443 	else
   2444 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2445 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2446 	  eval $ac_var=\$ac_old_val
   2447 	fi
   2448 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2449 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2450 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2451 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2452       fi;;
   2453   esac
   2454   # Pass precious variables to config.status.
   2455   if test "$ac_new_set" = set; then
   2456     case $ac_new_val in
   2457     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2458     *) ac_arg=$ac_var=$ac_new_val ;;
   2459     esac
   2460     case " $ac_configure_args " in
   2461       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2462       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2463     esac
   2464   fi
   2465 done
   2466 if $ac_cache_corrupted; then
   2467   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2468 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2469   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2470 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2471   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2472 	    and start over" "$LINENO" 5
   2473 fi
   2474 ## -------------------- ##
   2475 ## Main body of script. ##
   2476 ## -------------------- ##
   2477 
   2478 ac_ext=c
   2479 ac_cpp='$CPP $CPPFLAGS'
   2480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2483 
   2484 
   2485 
   2486 ac_config_headers="$ac_config_headers config.h"
   2487 
   2488 
   2489 # Initialize Automake
   2490 am__api_version='1.16'
   2491 
   2492 
   2493 
   2494   # Find a good install program.  We prefer a C program (faster),
   2495 # so one script is as good as another.  But avoid the broken or
   2496 # incompatible versions:
   2497 # SysV /etc/install, /usr/sbin/install
   2498 # SunOS /usr/etc/install
   2499 # IRIX /sbin/install
   2500 # AIX /bin/install
   2501 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2502 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2503 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2504 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2505 # OS/2's system install, which has a completely different semantic
   2506 # ./install, which can be erroneously created by make from ./install.sh.
   2507 # Reject install programs that cannot install multiple files.
   2508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2509 printf %s "checking for a BSD-compatible install... " >&6; }
   2510 if test -z "$INSTALL"; then
   2511 if test ${ac_cv_path_install+y}
   2512 then :
   2513   printf %s "(cached) " >&6
   2514 else $as_nop
   2515   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2516 for as_dir in $PATH
   2517 do
   2518   IFS=$as_save_IFS
   2519   case $as_dir in #(((
   2520     '') as_dir=./ ;;
   2521     */) ;;
   2522     *) as_dir=$as_dir/ ;;
   2523   esac
   2524     # Account for fact that we put trailing slashes in our PATH walk.
   2525 case $as_dir in #((
   2526   ./ | /[cC]/* | \
   2527   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2528   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2529   /usr/ucb/* ) ;;
   2530   *)
   2531     # OSF1 and SCO ODT 3.0 have their own names for install.
   2532     # Don't use installbsd from OSF since it installs stuff as root
   2533     # by default.
   2534     for ac_prog in ginstall scoinst install; do
   2535       for ac_exec_ext in '' $ac_executable_extensions; do
   2536 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2537 	  if test $ac_prog = install &&
   2538 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2539 	    # AIX install.  It has an incompatible calling convention.
   2540 	    :
   2541 	  elif test $ac_prog = install &&
   2542 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2543 	    # program-specific install script used by HP pwplus--don't use.
   2544 	    :
   2545 	  else
   2546 	    rm -rf conftest.one conftest.two conftest.dir
   2547 	    echo one > conftest.one
   2548 	    echo two > conftest.two
   2549 	    mkdir conftest.dir
   2550 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2551 	      test -s conftest.one && test -s conftest.two &&
   2552 	      test -s conftest.dir/conftest.one &&
   2553 	      test -s conftest.dir/conftest.two
   2554 	    then
   2555 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2556 	      break 3
   2557 	    fi
   2558 	  fi
   2559 	fi
   2560       done
   2561     done
   2562     ;;
   2563 esac
   2564 
   2565   done
   2566 IFS=$as_save_IFS
   2567 
   2568 rm -rf conftest.one conftest.two conftest.dir
   2569 
   2570 fi
   2571   if test ${ac_cv_path_install+y}; then
   2572     INSTALL=$ac_cv_path_install
   2573   else
   2574     # As a last resort, use the slow shell script.  Don't cache a
   2575     # value for INSTALL within a source directory, because that will
   2576     # break other packages using the cache if that directory is
   2577     # removed, or if the value is a relative name.
   2578     INSTALL=$ac_install_sh
   2579   fi
   2580 fi
   2581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2582 printf "%s\n" "$INSTALL" >&6; }
   2583 
   2584 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2585 # It thinks the first close brace ends the variable substitution.
   2586 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2587 
   2588 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2589 
   2590 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2591 
   2592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2593 printf %s "checking whether build environment is sane... " >&6; }
   2594 # Reject unsafe characters in $srcdir or the absolute working directory
   2595 # name.  Accept space and tab only in the latter.
   2596 am_lf='
   2597 '
   2598 case `pwd` in
   2599   *[\\\"\#\$\&\'\`$am_lf]*)
   2600     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2601 esac
   2602 case $srcdir in
   2603   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2604     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2605 esac
   2606 
   2607 # Do 'set' in a subshell so we don't clobber the current shell's
   2608 # arguments.  Must try -L first in case configure is actually a
   2609 # symlink; some systems play weird games with the mod time of symlinks
   2610 # (eg FreeBSD returns the mod time of the symlink's containing
   2611 # directory).
   2612 if (
   2613    am_has_slept=no
   2614    for am_try in 1 2; do
   2615      echo "timestamp, slept: $am_has_slept" > conftest.file
   2616      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2617      if test "$*" = "X"; then
   2618 	# -L didn't work.
   2619 	set X `ls -t "$srcdir/configure" conftest.file`
   2620      fi
   2621      if test "$*" != "X $srcdir/configure conftest.file" \
   2622 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2623 
   2624 	# If neither matched, then we have a broken ls.  This can happen
   2625 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2626 	# broken ls alias from the environment.  This has actually
   2627 	# happened.  Such a system could not be considered "sane".
   2628 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2629   alias in your environment" "$LINENO" 5
   2630      fi
   2631      if test "$2" = conftest.file || test $am_try -eq 2; then
   2632        break
   2633      fi
   2634      # Just in case.
   2635      sleep 1
   2636      am_has_slept=yes
   2637    done
   2638    test "$2" = conftest.file
   2639    )
   2640 then
   2641    # Ok.
   2642    :
   2643 else
   2644    as_fn_error $? "newly created file is older than distributed files!
   2645 Check your system clock" "$LINENO" 5
   2646 fi
   2647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2648 printf "%s\n" "yes" >&6; }
   2649 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2650 # generated files are strictly newer.
   2651 am_sleep_pid=
   2652 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2653   ( sleep 1 ) &
   2654   am_sleep_pid=$!
   2655 fi
   2656 
   2657 rm -f conftest.file
   2658 
   2659 test "$program_prefix" != NONE &&
   2660   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2661 # Use a double $ so make ignores it.
   2662 test "$program_suffix" != NONE &&
   2663   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2664 # Double any \ or $.
   2665 # By default was `s,x,x', remove it if useless.
   2666 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2667 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2668 
   2669 
   2670 # Expand $ac_aux_dir to an absolute path.
   2671 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2672 
   2673 
   2674   if test x"${MISSING+set}" != xset; then
   2675   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2676 fi
   2677 # Use eval to expand $SHELL
   2678 if eval "$MISSING --is-lightweight"; then
   2679   am_missing_run="$MISSING "
   2680 else
   2681   am_missing_run=
   2682   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2683 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2684 fi
   2685 
   2686 if test x"${install_sh+set}" != xset; then
   2687   case $am_aux_dir in
   2688   *\ * | *\	*)
   2689     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2690   *)
   2691     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2692   esac
   2693 fi
   2694 
   2695 # Installed binaries are usually stripped using 'strip' when the user
   2696 # run "make install-strip".  However 'strip' might not be the right
   2697 # tool to use in cross-compilation environments, therefore Automake
   2698 # will honor the 'STRIP' environment variable to overrule this program.
   2699 if test "$cross_compiling" != no; then
   2700   if test -n "$ac_tool_prefix"; then
   2701   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2702 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2704 printf %s "checking for $ac_word... " >&6; }
   2705 if test ${ac_cv_prog_STRIP+y}
   2706 then :
   2707   printf %s "(cached) " >&6
   2708 else $as_nop
   2709   if test -n "$STRIP"; then
   2710   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2711 else
   2712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2713 for as_dir in $PATH
   2714 do
   2715   IFS=$as_save_IFS
   2716   case $as_dir in #(((
   2717     '') as_dir=./ ;;
   2718     */) ;;
   2719     *) as_dir=$as_dir/ ;;
   2720   esac
   2721     for ac_exec_ext in '' $ac_executable_extensions; do
   2722   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2723     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2724     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2725     break 2
   2726   fi
   2727 done
   2728   done
   2729 IFS=$as_save_IFS
   2730 
   2731 fi
   2732 fi
   2733 STRIP=$ac_cv_prog_STRIP
   2734 if test -n "$STRIP"; then
   2735   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2736 printf "%s\n" "$STRIP" >&6; }
   2737 else
   2738   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2739 printf "%s\n" "no" >&6; }
   2740 fi
   2741 
   2742 
   2743 fi
   2744 if test -z "$ac_cv_prog_STRIP"; then
   2745   ac_ct_STRIP=$STRIP
   2746   # Extract the first word of "strip", so it can be a program name with args.
   2747 set dummy strip; ac_word=$2
   2748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2749 printf %s "checking for $ac_word... " >&6; }
   2750 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2751 then :
   2752   printf %s "(cached) " >&6
   2753 else $as_nop
   2754   if test -n "$ac_ct_STRIP"; then
   2755   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2756 else
   2757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2758 for as_dir in $PATH
   2759 do
   2760   IFS=$as_save_IFS
   2761   case $as_dir in #(((
   2762     '') as_dir=./ ;;
   2763     */) ;;
   2764     *) as_dir=$as_dir/ ;;
   2765   esac
   2766     for ac_exec_ext in '' $ac_executable_extensions; do
   2767   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2768     ac_cv_prog_ac_ct_STRIP="strip"
   2769     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2770     break 2
   2771   fi
   2772 done
   2773   done
   2774 IFS=$as_save_IFS
   2775 
   2776 fi
   2777 fi
   2778 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2779 if test -n "$ac_ct_STRIP"; then
   2780   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2781 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2782 else
   2783   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2784 printf "%s\n" "no" >&6; }
   2785 fi
   2786 
   2787   if test "x$ac_ct_STRIP" = x; then
   2788     STRIP=":"
   2789   else
   2790     case $cross_compiling:$ac_tool_warned in
   2791 yes:)
   2792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2793 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2794 ac_tool_warned=yes ;;
   2795 esac
   2796     STRIP=$ac_ct_STRIP
   2797   fi
   2798 else
   2799   STRIP="$ac_cv_prog_STRIP"
   2800 fi
   2801 
   2802 fi
   2803 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2804 
   2805 
   2806   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2807 printf %s "checking for a race-free mkdir -p... " >&6; }
   2808 if test -z "$MKDIR_P"; then
   2809   if test ${ac_cv_path_mkdir+y}
   2810 then :
   2811   printf %s "(cached) " >&6
   2812 else $as_nop
   2813   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2814 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2815 do
   2816   IFS=$as_save_IFS
   2817   case $as_dir in #(((
   2818     '') as_dir=./ ;;
   2819     */) ;;
   2820     *) as_dir=$as_dir/ ;;
   2821   esac
   2822     for ac_prog in mkdir gmkdir; do
   2823 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2824 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2825 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2826 	     'mkdir ('*'coreutils) '* | \
   2827 	     'BusyBox '* | \
   2828 	     'mkdir (fileutils) '4.1*)
   2829 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2830 	       break 3;;
   2831 	   esac
   2832 	 done
   2833        done
   2834   done
   2835 IFS=$as_save_IFS
   2836 
   2837 fi
   2838 
   2839   test -d ./--version && rmdir ./--version
   2840   if test ${ac_cv_path_mkdir+y}; then
   2841     MKDIR_P="$ac_cv_path_mkdir -p"
   2842   else
   2843     # As a last resort, use the slow shell script.  Don't cache a
   2844     # value for MKDIR_P within a source directory, because that will
   2845     # break other packages using the cache if that directory is
   2846     # removed, or if the value is a relative name.
   2847     MKDIR_P="$ac_install_sh -d"
   2848   fi
   2849 fi
   2850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2851 printf "%s\n" "$MKDIR_P" >&6; }
   2852 
   2853 for ac_prog in gawk mawk nawk awk
   2854 do
   2855   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2856 set dummy $ac_prog; ac_word=$2
   2857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2858 printf %s "checking for $ac_word... " >&6; }
   2859 if test ${ac_cv_prog_AWK+y}
   2860 then :
   2861   printf %s "(cached) " >&6
   2862 else $as_nop
   2863   if test -n "$AWK"; then
   2864   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2865 else
   2866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2867 for as_dir in $PATH
   2868 do
   2869   IFS=$as_save_IFS
   2870   case $as_dir in #(((
   2871     '') as_dir=./ ;;
   2872     */) ;;
   2873     *) as_dir=$as_dir/ ;;
   2874   esac
   2875     for ac_exec_ext in '' $ac_executable_extensions; do
   2876   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2877     ac_cv_prog_AWK="$ac_prog"
   2878     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2879     break 2
   2880   fi
   2881 done
   2882   done
   2883 IFS=$as_save_IFS
   2884 
   2885 fi
   2886 fi
   2887 AWK=$ac_cv_prog_AWK
   2888 if test -n "$AWK"; then
   2889   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2890 printf "%s\n" "$AWK" >&6; }
   2891 else
   2892   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2893 printf "%s\n" "no" >&6; }
   2894 fi
   2895 
   2896 
   2897   test -n "$AWK" && break
   2898 done
   2899 
   2900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2901 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2902 set x ${MAKE-make}
   2903 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2904 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   2905 then :
   2906   printf %s "(cached) " >&6
   2907 else $as_nop
   2908   cat >conftest.make <<\_ACEOF
   2909 SHELL = /bin/sh
   2910 all:
   2911 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2912 _ACEOF
   2913 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2914 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2915   *@@@%%%=?*=@@@%%%*)
   2916     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2917   *)
   2918     eval ac_cv_prog_make_${ac_make}_set=no;;
   2919 esac
   2920 rm -f conftest.make
   2921 fi
   2922 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2923   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2924 printf "%s\n" "yes" >&6; }
   2925   SET_MAKE=
   2926 else
   2927   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2928 printf "%s\n" "no" >&6; }
   2929   SET_MAKE="MAKE=${MAKE-make}"
   2930 fi
   2931 
   2932 rm -rf .tst 2>/dev/null
   2933 mkdir .tst 2>/dev/null
   2934 if test -d .tst; then
   2935   am__leading_dot=.
   2936 else
   2937   am__leading_dot=_
   2938 fi
   2939 rmdir .tst 2>/dev/null
   2940 
   2941 # Check whether --enable-silent-rules was given.
   2942 if test ${enable_silent_rules+y}
   2943 then :
   2944   enableval=$enable_silent_rules;
   2945 fi
   2946 
   2947 case $enable_silent_rules in # (((
   2948   yes) AM_DEFAULT_VERBOSITY=0;;
   2949    no) AM_DEFAULT_VERBOSITY=1;;
   2950     *) AM_DEFAULT_VERBOSITY=1;;
   2951 esac
   2952 am_make=${MAKE-make}
   2953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2954 printf %s "checking whether $am_make supports nested variables... " >&6; }
   2955 if test ${am_cv_make_support_nested_variables+y}
   2956 then :
   2957   printf %s "(cached) " >&6
   2958 else $as_nop
   2959   if printf "%s\n" 'TRUE=$(BAR$(V))
   2960 BAR0=false
   2961 BAR1=true
   2962 V=1
   2963 am__doit:
   2964 	@$(TRUE)
   2965 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2966   am_cv_make_support_nested_variables=yes
   2967 else
   2968   am_cv_make_support_nested_variables=no
   2969 fi
   2970 fi
   2971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2972 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   2973 if test $am_cv_make_support_nested_variables = yes; then
   2974     AM_V='$(V)'
   2975   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2976 else
   2977   AM_V=$AM_DEFAULT_VERBOSITY
   2978   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2979 fi
   2980 AM_BACKSLASH='\'
   2981 
   2982 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2983   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2984   # is not polluted with repeated "-I."
   2985   am__isrc=' -I$(srcdir)'
   2986   # test to see if srcdir already configured
   2987   if test -f $srcdir/config.status; then
   2988     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2989   fi
   2990 fi
   2991 
   2992 # test whether we have cygpath
   2993 if test -z "$CYGPATH_W"; then
   2994   if (cygpath --version) >/dev/null 2>/dev/null; then
   2995     CYGPATH_W='cygpath -w'
   2996   else
   2997     CYGPATH_W=echo
   2998   fi
   2999 fi
   3000 
   3001 
   3002 # Define the identity of the package.
   3003  PACKAGE='listres'
   3004  VERSION='1.0.5'
   3005 
   3006 
   3007 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3008 
   3009 
   3010 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3011 
   3012 # Some tools Automake needs.
   3013 
   3014 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3015 
   3016 
   3017 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3018 
   3019 
   3020 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3021 
   3022 
   3023 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3024 
   3025 
   3026 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3027 
   3028 # For better backward compatibility.  To be removed once Automake 1.9.x
   3029 # dies out for good.  For more background, see:
   3030 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3031 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3032 mkdir_p='$(MKDIR_P)'
   3033 
   3034 # We need awk for the "check" target (and possibly the TAP driver).  The
   3035 # system "awk" is bad on some platforms.
   3036 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3037 # in the wild :-(  We should find a proper way to deprecate it ...
   3038 AMTAR='$${TAR-tar}'
   3039 
   3040 
   3041 # We'll loop over all known methods to create a tar archive until one works.
   3042 _am_tools='gnutar  pax cpio none'
   3043 
   3044 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3045 
   3046 
   3047 
   3048 
   3049 
   3050 # Variables for tags utilities; see am/tags.am
   3051 if test -z "$CTAGS"; then
   3052   CTAGS=ctags
   3053 fi
   3054 
   3055 if test -z "$ETAGS"; then
   3056   ETAGS=etags
   3057 fi
   3058 
   3059 if test -z "$CSCOPE"; then
   3060   CSCOPE=cscope
   3061 fi
   3062 
   3063 
   3064 
   3065 # POSIX will say in a future version that running "rm -f" with no argument
   3066 # is OK; and we want to be able to make that assumption in our Makefile
   3067 # recipes.  So use an aggressive probe to check that the usage we want is
   3068 # actually supported "in the wild" to an acceptable degree.
   3069 # See automake bug#10828.
   3070 # To make any issue more visible, cause the running configure to be aborted
   3071 # by default if the 'rm' program in use doesn't match our expectations; the
   3072 # user can still override this though.
   3073 if rm -f && rm -fr && rm -rf; then : OK; else
   3074   cat >&2 <<'END'
   3075 Oops!
   3076 
   3077 Your 'rm' program seems unable to run without file operands specified
   3078 on the command line, even when the '-f' option is present.  This is contrary
   3079 to the behaviour of most rm programs out there, and not conforming with
   3080 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3081 
   3082 Please tell bug-automake@gnu.org about your system, including the value
   3083 of your $PATH and any error possibly output before this message.  This
   3084 can help us improve future automake versions.
   3085 
   3086 END
   3087   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3088     echo 'Configuration will proceed anyway, since you have set the' >&2
   3089     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3090     echo >&2
   3091   else
   3092     cat >&2 <<'END'
   3093 Aborting the configuration process, to ensure you take notice of the issue.
   3094 
   3095 You can download and install GNU coreutils to get an 'rm' implementation
   3096 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3097 
   3098 If you want to complete the configuration process using your problematic
   3099 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3100 to "yes", and re-run configure.
   3101 
   3102 END
   3103     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3104   fi
   3105 fi
   3106 
   3107 
   3108 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3109 
   3110 
   3111 
   3112 
   3113 
   3114 
   3115 
   3116 
   3117 
   3118 
   3119 
   3120 
   3121 
   3122 
   3123 
   3124 
   3125 
   3126 
   3127 
   3128 
   3129 DEPDIR="${am__leading_dot}deps"
   3130 
   3131 ac_config_commands="$ac_config_commands depfiles"
   3132 
   3133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3134 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3135 cat > confinc.mk << 'END'
   3136 am__doit:
   3137 	@echo this is the am__doit target >confinc.out
   3138 .PHONY: am__doit
   3139 END
   3140 am__include="#"
   3141 am__quote=
   3142 # BSD make does it like this.
   3143 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3144 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3145 echo 'include confinc.mk # ignored' > confmf.GNU
   3146 _am_result=no
   3147 for s in GNU BSD; do
   3148   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3149    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3150    ac_status=$?
   3151    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3152    (exit $ac_status); }
   3153   case $?:`cat confinc.out 2>/dev/null` in #(
   3154   '0:this is the am__doit target') :
   3155     case $s in #(
   3156   BSD) :
   3157     am__include='.include' am__quote='"' ;; #(
   3158   *) :
   3159     am__include='include' am__quote='' ;;
   3160 esac ;; #(
   3161   *) :
   3162      ;;
   3163 esac
   3164   if test "$am__include" != "#"; then
   3165     _am_result="yes ($s style)"
   3166     break
   3167   fi
   3168 done
   3169 rm -f confinc.* confmf.*
   3170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3171 printf "%s\n" "${_am_result}" >&6; }
   3172 
   3173 # Check whether --enable-dependency-tracking was given.
   3174 if test ${enable_dependency_tracking+y}
   3175 then :
   3176   enableval=$enable_dependency_tracking;
   3177 fi
   3178 
   3179 if test "x$enable_dependency_tracking" != xno; then
   3180   am_depcomp="$ac_aux_dir/depcomp"
   3181   AMDEPBACKSLASH='\'
   3182   am__nodep='_no'
   3183 fi
   3184  if test "x$enable_dependency_tracking" != xno; then
   3185   AMDEP_TRUE=
   3186   AMDEP_FALSE='#'
   3187 else
   3188   AMDEP_TRUE='#'
   3189   AMDEP_FALSE=
   3190 fi
   3191 
   3192 
   3193 ac_ext=c
   3194 ac_cpp='$CPP $CPPFLAGS'
   3195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3198 if test -n "$ac_tool_prefix"; then
   3199   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3200 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3202 printf %s "checking for $ac_word... " >&6; }
   3203 if test ${ac_cv_prog_CC+y}
   3204 then :
   3205   printf %s "(cached) " >&6
   3206 else $as_nop
   3207   if test -n "$CC"; then
   3208   ac_cv_prog_CC="$CC" # Let the user override the test.
   3209 else
   3210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3211 for as_dir in $PATH
   3212 do
   3213   IFS=$as_save_IFS
   3214   case $as_dir in #(((
   3215     '') as_dir=./ ;;
   3216     */) ;;
   3217     *) as_dir=$as_dir/ ;;
   3218   esac
   3219     for ac_exec_ext in '' $ac_executable_extensions; do
   3220   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3221     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3222     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3223     break 2
   3224   fi
   3225 done
   3226   done
   3227 IFS=$as_save_IFS
   3228 
   3229 fi
   3230 fi
   3231 CC=$ac_cv_prog_CC
   3232 if test -n "$CC"; then
   3233   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3234 printf "%s\n" "$CC" >&6; }
   3235 else
   3236   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3237 printf "%s\n" "no" >&6; }
   3238 fi
   3239 
   3240 
   3241 fi
   3242 if test -z "$ac_cv_prog_CC"; then
   3243   ac_ct_CC=$CC
   3244   # Extract the first word of "gcc", so it can be a program name with args.
   3245 set dummy gcc; ac_word=$2
   3246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3247 printf %s "checking for $ac_word... " >&6; }
   3248 if test ${ac_cv_prog_ac_ct_CC+y}
   3249 then :
   3250   printf %s "(cached) " >&6
   3251 else $as_nop
   3252   if test -n "$ac_ct_CC"; then
   3253   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3254 else
   3255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3256 for as_dir in $PATH
   3257 do
   3258   IFS=$as_save_IFS
   3259   case $as_dir in #(((
   3260     '') as_dir=./ ;;
   3261     */) ;;
   3262     *) as_dir=$as_dir/ ;;
   3263   esac
   3264     for ac_exec_ext in '' $ac_executable_extensions; do
   3265   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3266     ac_cv_prog_ac_ct_CC="gcc"
   3267     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3268     break 2
   3269   fi
   3270 done
   3271   done
   3272 IFS=$as_save_IFS
   3273 
   3274 fi
   3275 fi
   3276 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3277 if test -n "$ac_ct_CC"; then
   3278   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3279 printf "%s\n" "$ac_ct_CC" >&6; }
   3280 else
   3281   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3282 printf "%s\n" "no" >&6; }
   3283 fi
   3284 
   3285   if test "x$ac_ct_CC" = x; then
   3286     CC=""
   3287   else
   3288     case $cross_compiling:$ac_tool_warned in
   3289 yes:)
   3290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3291 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3292 ac_tool_warned=yes ;;
   3293 esac
   3294     CC=$ac_ct_CC
   3295   fi
   3296 else
   3297   CC="$ac_cv_prog_CC"
   3298 fi
   3299 
   3300 if test -z "$CC"; then
   3301           if test -n "$ac_tool_prefix"; then
   3302     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3303 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3305 printf %s "checking for $ac_word... " >&6; }
   3306 if test ${ac_cv_prog_CC+y}
   3307 then :
   3308   printf %s "(cached) " >&6
   3309 else $as_nop
   3310   if test -n "$CC"; then
   3311   ac_cv_prog_CC="$CC" # Let the user override the test.
   3312 else
   3313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3314 for as_dir in $PATH
   3315 do
   3316   IFS=$as_save_IFS
   3317   case $as_dir in #(((
   3318     '') as_dir=./ ;;
   3319     */) ;;
   3320     *) as_dir=$as_dir/ ;;
   3321   esac
   3322     for ac_exec_ext in '' $ac_executable_extensions; do
   3323   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3324     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3325     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3326     break 2
   3327   fi
   3328 done
   3329   done
   3330 IFS=$as_save_IFS
   3331 
   3332 fi
   3333 fi
   3334 CC=$ac_cv_prog_CC
   3335 if test -n "$CC"; then
   3336   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3337 printf "%s\n" "$CC" >&6; }
   3338 else
   3339   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3340 printf "%s\n" "no" >&6; }
   3341 fi
   3342 
   3343 
   3344   fi
   3345 fi
   3346 if test -z "$CC"; then
   3347   # Extract the first word of "cc", so it can be a program name with args.
   3348 set dummy cc; ac_word=$2
   3349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3350 printf %s "checking for $ac_word... " >&6; }
   3351 if test ${ac_cv_prog_CC+y}
   3352 then :
   3353   printf %s "(cached) " >&6
   3354 else $as_nop
   3355   if test -n "$CC"; then
   3356   ac_cv_prog_CC="$CC" # Let the user override the test.
   3357 else
   3358   ac_prog_rejected=no
   3359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3360 for as_dir in $PATH
   3361 do
   3362   IFS=$as_save_IFS
   3363   case $as_dir in #(((
   3364     '') as_dir=./ ;;
   3365     */) ;;
   3366     *) as_dir=$as_dir/ ;;
   3367   esac
   3368     for ac_exec_ext in '' $ac_executable_extensions; do
   3369   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3370     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3371        ac_prog_rejected=yes
   3372        continue
   3373      fi
   3374     ac_cv_prog_CC="cc"
   3375     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3376     break 2
   3377   fi
   3378 done
   3379   done
   3380 IFS=$as_save_IFS
   3381 
   3382 if test $ac_prog_rejected = yes; then
   3383   # We found a bogon in the path, so make sure we never use it.
   3384   set dummy $ac_cv_prog_CC
   3385   shift
   3386   if test $# != 0; then
   3387     # We chose a different compiler from the bogus one.
   3388     # However, it has the same basename, so the bogon will be chosen
   3389     # first if we set CC to just the basename; use the full file name.
   3390     shift
   3391     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3392   fi
   3393 fi
   3394 fi
   3395 fi
   3396 CC=$ac_cv_prog_CC
   3397 if test -n "$CC"; then
   3398   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3399 printf "%s\n" "$CC" >&6; }
   3400 else
   3401   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3402 printf "%s\n" "no" >&6; }
   3403 fi
   3404 
   3405 
   3406 fi
   3407 if test -z "$CC"; then
   3408   if test -n "$ac_tool_prefix"; then
   3409   for ac_prog in cl.exe
   3410   do
   3411     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3412 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3414 printf %s "checking for $ac_word... " >&6; }
   3415 if test ${ac_cv_prog_CC+y}
   3416 then :
   3417   printf %s "(cached) " >&6
   3418 else $as_nop
   3419   if test -n "$CC"; then
   3420   ac_cv_prog_CC="$CC" # Let the user override the test.
   3421 else
   3422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3423 for as_dir in $PATH
   3424 do
   3425   IFS=$as_save_IFS
   3426   case $as_dir in #(((
   3427     '') as_dir=./ ;;
   3428     */) ;;
   3429     *) as_dir=$as_dir/ ;;
   3430   esac
   3431     for ac_exec_ext in '' $ac_executable_extensions; do
   3432   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3433     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3434     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3435     break 2
   3436   fi
   3437 done
   3438   done
   3439 IFS=$as_save_IFS
   3440 
   3441 fi
   3442 fi
   3443 CC=$ac_cv_prog_CC
   3444 if test -n "$CC"; then
   3445   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3446 printf "%s\n" "$CC" >&6; }
   3447 else
   3448   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3449 printf "%s\n" "no" >&6; }
   3450 fi
   3451 
   3452 
   3453     test -n "$CC" && break
   3454   done
   3455 fi
   3456 if test -z "$CC"; then
   3457   ac_ct_CC=$CC
   3458   for ac_prog in cl.exe
   3459 do
   3460   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3461 set dummy $ac_prog; ac_word=$2
   3462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3463 printf %s "checking for $ac_word... " >&6; }
   3464 if test ${ac_cv_prog_ac_ct_CC+y}
   3465 then :
   3466   printf %s "(cached) " >&6
   3467 else $as_nop
   3468   if test -n "$ac_ct_CC"; then
   3469   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3470 else
   3471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3472 for as_dir in $PATH
   3473 do
   3474   IFS=$as_save_IFS
   3475   case $as_dir in #(((
   3476     '') as_dir=./ ;;
   3477     */) ;;
   3478     *) as_dir=$as_dir/ ;;
   3479   esac
   3480     for ac_exec_ext in '' $ac_executable_extensions; do
   3481   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3482     ac_cv_prog_ac_ct_CC="$ac_prog"
   3483     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3484     break 2
   3485   fi
   3486 done
   3487   done
   3488 IFS=$as_save_IFS
   3489 
   3490 fi
   3491 fi
   3492 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3493 if test -n "$ac_ct_CC"; then
   3494   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3495 printf "%s\n" "$ac_ct_CC" >&6; }
   3496 else
   3497   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3498 printf "%s\n" "no" >&6; }
   3499 fi
   3500 
   3501 
   3502   test -n "$ac_ct_CC" && break
   3503 done
   3504 
   3505   if test "x$ac_ct_CC" = x; then
   3506     CC=""
   3507   else
   3508     case $cross_compiling:$ac_tool_warned in
   3509 yes:)
   3510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3511 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3512 ac_tool_warned=yes ;;
   3513 esac
   3514     CC=$ac_ct_CC
   3515   fi
   3516 fi
   3517 
   3518 fi
   3519 if test -z "$CC"; then
   3520   if test -n "$ac_tool_prefix"; then
   3521   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3522 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3524 printf %s "checking for $ac_word... " >&6; }
   3525 if test ${ac_cv_prog_CC+y}
   3526 then :
   3527   printf %s "(cached) " >&6
   3528 else $as_nop
   3529   if test -n "$CC"; then
   3530   ac_cv_prog_CC="$CC" # Let the user override the test.
   3531 else
   3532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3533 for as_dir in $PATH
   3534 do
   3535   IFS=$as_save_IFS
   3536   case $as_dir in #(((
   3537     '') as_dir=./ ;;
   3538     */) ;;
   3539     *) as_dir=$as_dir/ ;;
   3540   esac
   3541     for ac_exec_ext in '' $ac_executable_extensions; do
   3542   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3543     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3544     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3545     break 2
   3546   fi
   3547 done
   3548   done
   3549 IFS=$as_save_IFS
   3550 
   3551 fi
   3552 fi
   3553 CC=$ac_cv_prog_CC
   3554 if test -n "$CC"; then
   3555   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3556 printf "%s\n" "$CC" >&6; }
   3557 else
   3558   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3559 printf "%s\n" "no" >&6; }
   3560 fi
   3561 
   3562 
   3563 fi
   3564 if test -z "$ac_cv_prog_CC"; then
   3565   ac_ct_CC=$CC
   3566   # Extract the first word of "clang", so it can be a program name with args.
   3567 set dummy clang; ac_word=$2
   3568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3569 printf %s "checking for $ac_word... " >&6; }
   3570 if test ${ac_cv_prog_ac_ct_CC+y}
   3571 then :
   3572   printf %s "(cached) " >&6
   3573 else $as_nop
   3574   if test -n "$ac_ct_CC"; then
   3575   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3576 else
   3577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3578 for as_dir in $PATH
   3579 do
   3580   IFS=$as_save_IFS
   3581   case $as_dir in #(((
   3582     '') as_dir=./ ;;
   3583     */) ;;
   3584     *) as_dir=$as_dir/ ;;
   3585   esac
   3586     for ac_exec_ext in '' $ac_executable_extensions; do
   3587   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3588     ac_cv_prog_ac_ct_CC="clang"
   3589     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3590     break 2
   3591   fi
   3592 done
   3593   done
   3594 IFS=$as_save_IFS
   3595 
   3596 fi
   3597 fi
   3598 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3599 if test -n "$ac_ct_CC"; then
   3600   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3601 printf "%s\n" "$ac_ct_CC" >&6; }
   3602 else
   3603   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3604 printf "%s\n" "no" >&6; }
   3605 fi
   3606 
   3607   if test "x$ac_ct_CC" = x; then
   3608     CC=""
   3609   else
   3610     case $cross_compiling:$ac_tool_warned in
   3611 yes:)
   3612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3613 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3614 ac_tool_warned=yes ;;
   3615 esac
   3616     CC=$ac_ct_CC
   3617   fi
   3618 else
   3619   CC="$ac_cv_prog_CC"
   3620 fi
   3621 
   3622 fi
   3623 
   3624 
   3625 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3626 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3627 as_fn_error $? "no acceptable C compiler found in \$PATH
   3628 See \`config.log' for more details" "$LINENO" 5; }
   3629 
   3630 # Provide some information about the compiler.
   3631 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3632 set X $ac_compile
   3633 ac_compiler=$2
   3634 for ac_option in --version -v -V -qversion -version; do
   3635   { { ac_try="$ac_compiler $ac_option >&5"
   3636 case "(($ac_try" in
   3637   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3638   *) ac_try_echo=$ac_try;;
   3639 esac
   3640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3641 printf "%s\n" "$ac_try_echo"; } >&5
   3642   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3643   ac_status=$?
   3644   if test -s conftest.err; then
   3645     sed '10a\
   3646 ... rest of stderr output deleted ...
   3647          10q' conftest.err >conftest.er1
   3648     cat conftest.er1 >&5
   3649   fi
   3650   rm -f conftest.er1 conftest.err
   3651   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3652   test $ac_status = 0; }
   3653 done
   3654 
   3655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3656 /* end confdefs.h.  */
   3657 
   3658 int
   3659 main (void)
   3660 {
   3661 
   3662   ;
   3663   return 0;
   3664 }
   3665 _ACEOF
   3666 ac_clean_files_save=$ac_clean_files
   3667 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3668 # Try to create an executable without -o first, disregard a.out.
   3669 # It will help us diagnose broken compilers, and finding out an intuition
   3670 # of exeext.
   3671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3672 printf %s "checking whether the C compiler works... " >&6; }
   3673 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3674 
   3675 # The possible output files:
   3676 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3677 
   3678 ac_rmfiles=
   3679 for ac_file in $ac_files
   3680 do
   3681   case $ac_file in
   3682     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3683     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3684   esac
   3685 done
   3686 rm -f $ac_rmfiles
   3687 
   3688 if { { ac_try="$ac_link_default"
   3689 case "(($ac_try" in
   3690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3691   *) ac_try_echo=$ac_try;;
   3692 esac
   3693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3694 printf "%s\n" "$ac_try_echo"; } >&5
   3695   (eval "$ac_link_default") 2>&5
   3696   ac_status=$?
   3697   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3698   test $ac_status = 0; }
   3699 then :
   3700   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3701 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3702 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3703 # so that the user can short-circuit this test for compilers unknown to
   3704 # Autoconf.
   3705 for ac_file in $ac_files ''
   3706 do
   3707   test -f "$ac_file" || continue
   3708   case $ac_file in
   3709     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3710 	;;
   3711     [ab].out )
   3712 	# We found the default executable, but exeext='' is most
   3713 	# certainly right.
   3714 	break;;
   3715     *.* )
   3716 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3717 	then :; else
   3718 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3719 	fi
   3720 	# We set ac_cv_exeext here because the later test for it is not
   3721 	# safe: cross compilers may not add the suffix if given an `-o'
   3722 	# argument, so we may need to know it at that point already.
   3723 	# Even if this section looks crufty: it has the advantage of
   3724 	# actually working.
   3725 	break;;
   3726     * )
   3727 	break;;
   3728   esac
   3729 done
   3730 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3731 
   3732 else $as_nop
   3733   ac_file=''
   3734 fi
   3735 if test -z "$ac_file"
   3736 then :
   3737   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3738 printf "%s\n" "no" >&6; }
   3739 printf "%s\n" "$as_me: failed program was:" >&5
   3740 sed 's/^/| /' conftest.$ac_ext >&5
   3741 
   3742 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3743 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3744 as_fn_error 77 "C compiler cannot create executables
   3745 See \`config.log' for more details" "$LINENO" 5; }
   3746 else $as_nop
   3747   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3748 printf "%s\n" "yes" >&6; }
   3749 fi
   3750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3751 printf %s "checking for C compiler default output file name... " >&6; }
   3752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3753 printf "%s\n" "$ac_file" >&6; }
   3754 ac_exeext=$ac_cv_exeext
   3755 
   3756 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3757 ac_clean_files=$ac_clean_files_save
   3758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3759 printf %s "checking for suffix of executables... " >&6; }
   3760 if { { ac_try="$ac_link"
   3761 case "(($ac_try" in
   3762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3763   *) ac_try_echo=$ac_try;;
   3764 esac
   3765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3766 printf "%s\n" "$ac_try_echo"; } >&5
   3767   (eval "$ac_link") 2>&5
   3768   ac_status=$?
   3769   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3770   test $ac_status = 0; }
   3771 then :
   3772   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3773 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3774 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3775 # `rm'.
   3776 for ac_file in conftest.exe conftest conftest.*; do
   3777   test -f "$ac_file" || continue
   3778   case $ac_file in
   3779     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3780     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3781 	  break;;
   3782     * ) break;;
   3783   esac
   3784 done
   3785 else $as_nop
   3786   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3787 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3788 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3789 See \`config.log' for more details" "$LINENO" 5; }
   3790 fi
   3791 rm -f conftest conftest$ac_cv_exeext
   3792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3793 printf "%s\n" "$ac_cv_exeext" >&6; }
   3794 
   3795 rm -f conftest.$ac_ext
   3796 EXEEXT=$ac_cv_exeext
   3797 ac_exeext=$EXEEXT
   3798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3799 /* end confdefs.h.  */
   3800 #include <stdio.h>
   3801 int
   3802 main (void)
   3803 {
   3804 FILE *f = fopen ("conftest.out", "w");
   3805  return ferror (f) || fclose (f) != 0;
   3806 
   3807   ;
   3808   return 0;
   3809 }
   3810 _ACEOF
   3811 ac_clean_files="$ac_clean_files conftest.out"
   3812 # Check that the compiler produces executables we can run.  If not, either
   3813 # the compiler is broken, or we cross compile.
   3814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3815 printf %s "checking whether we are cross compiling... " >&6; }
   3816 if test "$cross_compiling" != yes; then
   3817   { { ac_try="$ac_link"
   3818 case "(($ac_try" in
   3819   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3820   *) ac_try_echo=$ac_try;;
   3821 esac
   3822 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3823 printf "%s\n" "$ac_try_echo"; } >&5
   3824   (eval "$ac_link") 2>&5
   3825   ac_status=$?
   3826   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3827   test $ac_status = 0; }
   3828   if { ac_try='./conftest$ac_cv_exeext'
   3829   { { case "(($ac_try" in
   3830   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3831   *) ac_try_echo=$ac_try;;
   3832 esac
   3833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3834 printf "%s\n" "$ac_try_echo"; } >&5
   3835   (eval "$ac_try") 2>&5
   3836   ac_status=$?
   3837   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3838   test $ac_status = 0; }; }; then
   3839     cross_compiling=no
   3840   else
   3841     if test "$cross_compiling" = maybe; then
   3842 	cross_compiling=yes
   3843     else
   3844 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3845 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3846 as_fn_error 77 "cannot run C compiled programs.
   3847 If you meant to cross compile, use \`--host'.
   3848 See \`config.log' for more details" "$LINENO" 5; }
   3849     fi
   3850   fi
   3851 fi
   3852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3853 printf "%s\n" "$cross_compiling" >&6; }
   3854 
   3855 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3856 ac_clean_files=$ac_clean_files_save
   3857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3858 printf %s "checking for suffix of object files... " >&6; }
   3859 if test ${ac_cv_objext+y}
   3860 then :
   3861   printf %s "(cached) " >&6
   3862 else $as_nop
   3863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3864 /* end confdefs.h.  */
   3865 
   3866 int
   3867 main (void)
   3868 {
   3869 
   3870   ;
   3871   return 0;
   3872 }
   3873 _ACEOF
   3874 rm -f conftest.o conftest.obj
   3875 if { { ac_try="$ac_compile"
   3876 case "(($ac_try" in
   3877   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3878   *) ac_try_echo=$ac_try;;
   3879 esac
   3880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3881 printf "%s\n" "$ac_try_echo"; } >&5
   3882   (eval "$ac_compile") 2>&5
   3883   ac_status=$?
   3884   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3885   test $ac_status = 0; }
   3886 then :
   3887   for ac_file in conftest.o conftest.obj conftest.*; do
   3888   test -f "$ac_file" || continue;
   3889   case $ac_file in
   3890     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3891     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3892        break;;
   3893   esac
   3894 done
   3895 else $as_nop
   3896   printf "%s\n" "$as_me: failed program was:" >&5
   3897 sed 's/^/| /' conftest.$ac_ext >&5
   3898 
   3899 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3900 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3901 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3902 See \`config.log' for more details" "$LINENO" 5; }
   3903 fi
   3904 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3905 fi
   3906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3907 printf "%s\n" "$ac_cv_objext" >&6; }
   3908 OBJEXT=$ac_cv_objext
   3909 ac_objext=$OBJEXT
   3910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3911 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3912 if test ${ac_cv_c_compiler_gnu+y}
   3913 then :
   3914   printf %s "(cached) " >&6
   3915 else $as_nop
   3916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3917 /* end confdefs.h.  */
   3918 
   3919 int
   3920 main (void)
   3921 {
   3922 #ifndef __GNUC__
   3923        choke me
   3924 #endif
   3925 
   3926   ;
   3927   return 0;
   3928 }
   3929 _ACEOF
   3930 if ac_fn_c_try_compile "$LINENO"
   3931 then :
   3932   ac_compiler_gnu=yes
   3933 else $as_nop
   3934   ac_compiler_gnu=no
   3935 fi
   3936 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3937 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3938 
   3939 fi
   3940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3941 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3943 
   3944 if test $ac_compiler_gnu = yes; then
   3945   GCC=yes
   3946 else
   3947   GCC=
   3948 fi
   3949 ac_test_CFLAGS=${CFLAGS+y}
   3950 ac_save_CFLAGS=$CFLAGS
   3951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3952 printf %s "checking whether $CC accepts -g... " >&6; }
   3953 if test ${ac_cv_prog_cc_g+y}
   3954 then :
   3955   printf %s "(cached) " >&6
   3956 else $as_nop
   3957   ac_save_c_werror_flag=$ac_c_werror_flag
   3958    ac_c_werror_flag=yes
   3959    ac_cv_prog_cc_g=no
   3960    CFLAGS="-g"
   3961    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3962 /* end confdefs.h.  */
   3963 
   3964 int
   3965 main (void)
   3966 {
   3967 
   3968   ;
   3969   return 0;
   3970 }
   3971 _ACEOF
   3972 if ac_fn_c_try_compile "$LINENO"
   3973 then :
   3974   ac_cv_prog_cc_g=yes
   3975 else $as_nop
   3976   CFLAGS=""
   3977       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3978 /* end confdefs.h.  */
   3979 
   3980 int
   3981 main (void)
   3982 {
   3983 
   3984   ;
   3985   return 0;
   3986 }
   3987 _ACEOF
   3988 if ac_fn_c_try_compile "$LINENO"
   3989 then :
   3990 
   3991 else $as_nop
   3992   ac_c_werror_flag=$ac_save_c_werror_flag
   3993 	 CFLAGS="-g"
   3994 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3995 /* end confdefs.h.  */
   3996 
   3997 int
   3998 main (void)
   3999 {
   4000 
   4001   ;
   4002   return 0;
   4003 }
   4004 _ACEOF
   4005 if ac_fn_c_try_compile "$LINENO"
   4006 then :
   4007   ac_cv_prog_cc_g=yes
   4008 fi
   4009 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4010 fi
   4011 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4012 fi
   4013 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4014    ac_c_werror_flag=$ac_save_c_werror_flag
   4015 fi
   4016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4017 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4018 if test $ac_test_CFLAGS; then
   4019   CFLAGS=$ac_save_CFLAGS
   4020 elif test $ac_cv_prog_cc_g = yes; then
   4021   if test "$GCC" = yes; then
   4022     CFLAGS="-g -O2"
   4023   else
   4024     CFLAGS="-g"
   4025   fi
   4026 else
   4027   if test "$GCC" = yes; then
   4028     CFLAGS="-O2"
   4029   else
   4030     CFLAGS=
   4031   fi
   4032 fi
   4033 ac_prog_cc_stdc=no
   4034 if test x$ac_prog_cc_stdc = xno
   4035 then :
   4036   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4037 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4038 if test ${ac_cv_prog_cc_c11+y}
   4039 then :
   4040   printf %s "(cached) " >&6
   4041 else $as_nop
   4042   ac_cv_prog_cc_c11=no
   4043 ac_save_CC=$CC
   4044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4045 /* end confdefs.h.  */
   4046 $ac_c_conftest_c11_program
   4047 _ACEOF
   4048 for ac_arg in '' -std=gnu11
   4049 do
   4050   CC="$ac_save_CC $ac_arg"
   4051   if ac_fn_c_try_compile "$LINENO"
   4052 then :
   4053   ac_cv_prog_cc_c11=$ac_arg
   4054 fi
   4055 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4056   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4057 done
   4058 rm -f conftest.$ac_ext
   4059 CC=$ac_save_CC
   4060 fi
   4061 
   4062 if test "x$ac_cv_prog_cc_c11" = xno
   4063 then :
   4064   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4065 printf "%s\n" "unsupported" >&6; }
   4066 else $as_nop
   4067   if test "x$ac_cv_prog_cc_c11" = x
   4068 then :
   4069   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4070 printf "%s\n" "none needed" >&6; }
   4071 else $as_nop
   4072   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4073 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4074      CC="$CC $ac_cv_prog_cc_c11"
   4075 fi
   4076   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4077   ac_prog_cc_stdc=c11
   4078 fi
   4079 fi
   4080 if test x$ac_prog_cc_stdc = xno
   4081 then :
   4082   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4083 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4084 if test ${ac_cv_prog_cc_c99+y}
   4085 then :
   4086   printf %s "(cached) " >&6
   4087 else $as_nop
   4088   ac_cv_prog_cc_c99=no
   4089 ac_save_CC=$CC
   4090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4091 /* end confdefs.h.  */
   4092 $ac_c_conftest_c99_program
   4093 _ACEOF
   4094 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4095 do
   4096   CC="$ac_save_CC $ac_arg"
   4097   if ac_fn_c_try_compile "$LINENO"
   4098 then :
   4099   ac_cv_prog_cc_c99=$ac_arg
   4100 fi
   4101 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4102   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4103 done
   4104 rm -f conftest.$ac_ext
   4105 CC=$ac_save_CC
   4106 fi
   4107 
   4108 if test "x$ac_cv_prog_cc_c99" = xno
   4109 then :
   4110   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4111 printf "%s\n" "unsupported" >&6; }
   4112 else $as_nop
   4113   if test "x$ac_cv_prog_cc_c99" = x
   4114 then :
   4115   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4116 printf "%s\n" "none needed" >&6; }
   4117 else $as_nop
   4118   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4119 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4120      CC="$CC $ac_cv_prog_cc_c99"
   4121 fi
   4122   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4123   ac_prog_cc_stdc=c99
   4124 fi
   4125 fi
   4126 if test x$ac_prog_cc_stdc = xno
   4127 then :
   4128   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4129 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4130 if test ${ac_cv_prog_cc_c89+y}
   4131 then :
   4132   printf %s "(cached) " >&6
   4133 else $as_nop
   4134   ac_cv_prog_cc_c89=no
   4135 ac_save_CC=$CC
   4136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4137 /* end confdefs.h.  */
   4138 $ac_c_conftest_c89_program
   4139 _ACEOF
   4140 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4141 do
   4142   CC="$ac_save_CC $ac_arg"
   4143   if ac_fn_c_try_compile "$LINENO"
   4144 then :
   4145   ac_cv_prog_cc_c89=$ac_arg
   4146 fi
   4147 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4148   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4149 done
   4150 rm -f conftest.$ac_ext
   4151 CC=$ac_save_CC
   4152 fi
   4153 
   4154 if test "x$ac_cv_prog_cc_c89" = xno
   4155 then :
   4156   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4157 printf "%s\n" "unsupported" >&6; }
   4158 else $as_nop
   4159   if test "x$ac_cv_prog_cc_c89" = x
   4160 then :
   4161   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4162 printf "%s\n" "none needed" >&6; }
   4163 else $as_nop
   4164   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4165 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4166      CC="$CC $ac_cv_prog_cc_c89"
   4167 fi
   4168   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4169   ac_prog_cc_stdc=c89
   4170 fi
   4171 fi
   4172 
   4173 ac_ext=c
   4174 ac_cpp='$CPP $CPPFLAGS'
   4175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4178 
   4179 
   4180   ac_ext=c
   4181 ac_cpp='$CPP $CPPFLAGS'
   4182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4186 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4187 if test ${am_cv_prog_cc_c_o+y}
   4188 then :
   4189   printf %s "(cached) " >&6
   4190 else $as_nop
   4191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4192 /* end confdefs.h.  */
   4193 
   4194 int
   4195 main (void)
   4196 {
   4197 
   4198   ;
   4199   return 0;
   4200 }
   4201 _ACEOF
   4202   # Make sure it works both with $CC and with simple cc.
   4203   # Following AC_PROG_CC_C_O, we do the test twice because some
   4204   # compilers refuse to overwrite an existing .o file with -o,
   4205   # though they will create one.
   4206   am_cv_prog_cc_c_o=yes
   4207   for am_i in 1 2; do
   4208     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4209    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4210    ac_status=$?
   4211    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4212    (exit $ac_status); } \
   4213          && test -f conftest2.$ac_objext; then
   4214       : OK
   4215     else
   4216       am_cv_prog_cc_c_o=no
   4217       break
   4218     fi
   4219   done
   4220   rm -f core conftest*
   4221   unset am_i
   4222 fi
   4223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4224 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4225 if test "$am_cv_prog_cc_c_o" != yes; then
   4226    # Losing compiler, so override with the script.
   4227    # FIXME: It is wrong to rewrite CC.
   4228    # But if we don't then we get into trouble of one sort or another.
   4229    # A longer-term fix would be to have automake use am__CC in this case,
   4230    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4231    CC="$am_aux_dir/compile $CC"
   4232 fi
   4233 ac_ext=c
   4234 ac_cpp='$CPP $CPPFLAGS'
   4235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4238 
   4239 
   4240 depcc="$CC"   am_compiler_list=
   4241 
   4242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4243 printf %s "checking dependency style of $depcc... " >&6; }
   4244 if test ${am_cv_CC_dependencies_compiler_type+y}
   4245 then :
   4246   printf %s "(cached) " >&6
   4247 else $as_nop
   4248   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4249   # We make a subdir and do the tests there.  Otherwise we can end up
   4250   # making bogus files that we don't know about and never remove.  For
   4251   # instance it was reported that on HP-UX the gcc test will end up
   4252   # making a dummy file named 'D' -- because '-MD' means "put the output
   4253   # in D".
   4254   rm -rf conftest.dir
   4255   mkdir conftest.dir
   4256   # Copy depcomp to subdir because otherwise we won't find it if we're
   4257   # using a relative directory.
   4258   cp "$am_depcomp" conftest.dir
   4259   cd conftest.dir
   4260   # We will build objects and dependencies in a subdirectory because
   4261   # it helps to detect inapplicable dependency modes.  For instance
   4262   # both Tru64's cc and ICC support -MD to output dependencies as a
   4263   # side effect of compilation, but ICC will put the dependencies in
   4264   # the current directory while Tru64 will put them in the object
   4265   # directory.
   4266   mkdir sub
   4267 
   4268   am_cv_CC_dependencies_compiler_type=none
   4269   if test "$am_compiler_list" = ""; then
   4270      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4271   fi
   4272   am__universal=false
   4273   case " $depcc " in #(
   4274      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4275      esac
   4276 
   4277   for depmode in $am_compiler_list; do
   4278     # Setup a source with many dependencies, because some compilers
   4279     # like to wrap large dependency lists on column 80 (with \), and
   4280     # we should not choose a depcomp mode which is confused by this.
   4281     #
   4282     # We need to recreate these files for each test, as the compiler may
   4283     # overwrite some of them when testing with obscure command lines.
   4284     # This happens at least with the AIX C compiler.
   4285     : > sub/conftest.c
   4286     for i in 1 2 3 4 5 6; do
   4287       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4288       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4289       # Solaris 10 /bin/sh.
   4290       echo '/* dummy */' > sub/conftst$i.h
   4291     done
   4292     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4293 
   4294     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4295     # mode.  It turns out that the SunPro C++ compiler does not properly
   4296     # handle '-M -o', and we need to detect this.  Also, some Intel
   4297     # versions had trouble with output in subdirs.
   4298     am__obj=sub/conftest.${OBJEXT-o}
   4299     am__minus_obj="-o $am__obj"
   4300     case $depmode in
   4301     gcc)
   4302       # This depmode causes a compiler race in universal mode.
   4303       test "$am__universal" = false || continue
   4304       ;;
   4305     nosideeffect)
   4306       # After this tag, mechanisms are not by side-effect, so they'll
   4307       # only be used when explicitly requested.
   4308       if test "x$enable_dependency_tracking" = xyes; then
   4309 	continue
   4310       else
   4311 	break
   4312       fi
   4313       ;;
   4314     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4315       # This compiler won't grok '-c -o', but also, the minuso test has
   4316       # not run yet.  These depmodes are late enough in the game, and
   4317       # so weak that their functioning should not be impacted.
   4318       am__obj=conftest.${OBJEXT-o}
   4319       am__minus_obj=
   4320       ;;
   4321     none) break ;;
   4322     esac
   4323     if depmode=$depmode \
   4324        source=sub/conftest.c object=$am__obj \
   4325        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4326        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4327          >/dev/null 2>conftest.err &&
   4328        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4329        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4330        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4331        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4332       # icc doesn't choke on unknown options, it will just issue warnings
   4333       # or remarks (even with -Werror).  So we grep stderr for any message
   4334       # that says an option was ignored or not supported.
   4335       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4336       #   icc: Command line warning: ignoring option '-M'; no argument required
   4337       # The diagnosis changed in icc 8.0:
   4338       #   icc: Command line remark: option '-MP' not supported
   4339       if (grep 'ignoring option' conftest.err ||
   4340           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4341         am_cv_CC_dependencies_compiler_type=$depmode
   4342         break
   4343       fi
   4344     fi
   4345   done
   4346 
   4347   cd ..
   4348   rm -rf conftest.dir
   4349 else
   4350   am_cv_CC_dependencies_compiler_type=none
   4351 fi
   4352 
   4353 fi
   4354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4355 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4356 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4357 
   4358  if
   4359   test "x$enable_dependency_tracking" != xno \
   4360   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4361   am__fastdepCC_TRUE=
   4362   am__fastdepCC_FALSE='#'
   4363 else
   4364   am__fastdepCC_TRUE='#'
   4365   am__fastdepCC_FALSE=
   4366 fi
   4367 
   4368 
   4369 
   4370 
   4371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4372 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4373 if test ${ac_cv_c_undeclared_builtin_options+y}
   4374 then :
   4375   printf %s "(cached) " >&6
   4376 else $as_nop
   4377   ac_save_CFLAGS=$CFLAGS
   4378    ac_cv_c_undeclared_builtin_options='cannot detect'
   4379    for ac_arg in '' -fno-builtin; do
   4380      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4381      # This test program should *not* compile successfully.
   4382      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4383 /* end confdefs.h.  */
   4384 
   4385 int
   4386 main (void)
   4387 {
   4388 (void) strchr;
   4389   ;
   4390   return 0;
   4391 }
   4392 _ACEOF
   4393 if ac_fn_c_try_compile "$LINENO"
   4394 then :
   4395 
   4396 else $as_nop
   4397   # This test program should compile successfully.
   4398         # No library function is consistently available on
   4399         # freestanding implementations, so test against a dummy
   4400         # declaration.  Include always-available headers on the
   4401         # off chance that they somehow elicit warnings.
   4402         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4403 /* end confdefs.h.  */
   4404 #include <float.h>
   4405 #include <limits.h>
   4406 #include <stdarg.h>
   4407 #include <stddef.h>
   4408 extern void ac_decl (int, char *);
   4409 
   4410 int
   4411 main (void)
   4412 {
   4413 (void) ac_decl (0, (char *) 0);
   4414   (void) ac_decl;
   4415 
   4416   ;
   4417   return 0;
   4418 }
   4419 _ACEOF
   4420 if ac_fn_c_try_compile "$LINENO"
   4421 then :
   4422   if test x"$ac_arg" = x
   4423 then :
   4424   ac_cv_c_undeclared_builtin_options='none needed'
   4425 else $as_nop
   4426   ac_cv_c_undeclared_builtin_options=$ac_arg
   4427 fi
   4428           break
   4429 fi
   4430 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4431 fi
   4432 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4433     done
   4434     CFLAGS=$ac_save_CFLAGS
   4435 
   4436 fi
   4437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4438 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4439   case $ac_cv_c_undeclared_builtin_options in #(
   4440   'cannot detect') :
   4441     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4442 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4443 as_fn_error $? "cannot make $CC report undeclared builtins
   4444 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   4445   'none needed') :
   4446     ac_c_undeclared_builtin_options='' ;; #(
   4447   *) :
   4448     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4449 esac
   4450 
   4451 ac_header= ac_cache=
   4452 for ac_item in $ac_header_c_list
   4453 do
   4454   if test $ac_cache; then
   4455     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4456     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4457       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4458     fi
   4459     ac_header= ac_cache=
   4460   elif test $ac_header; then
   4461     ac_cache=$ac_item
   4462   else
   4463     ac_header=$ac_item
   4464   fi
   4465 done
   4466 
   4467 
   4468 
   4469 
   4470 
   4471 
   4472 
   4473 
   4474 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4475 then :
   4476 
   4477 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4478 
   4479 fi
   4480 
   4481 
   4482 
   4483 
   4484 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4485 if test "x$ac_cv_have_decl___clang__" = xyes
   4486 then :
   4487   CLANGCC="yes"
   4488 else $as_nop
   4489   CLANGCC="no"
   4490 fi
   4491 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4492 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4493 then :
   4494   INTELCC="yes"
   4495 else $as_nop
   4496   INTELCC="no"
   4497 fi
   4498 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4499 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4500 then :
   4501   SUNCC="yes"
   4502 else $as_nop
   4503   SUNCC="no"
   4504 fi
   4505 
   4506 
   4507 
   4508 
   4509 
   4510 
   4511 
   4512 
   4513 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4514 	if test -n "$ac_tool_prefix"; then
   4515   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4516 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4518 printf %s "checking for $ac_word... " >&6; }
   4519 if test ${ac_cv_path_PKG_CONFIG+y}
   4520 then :
   4521   printf %s "(cached) " >&6
   4522 else $as_nop
   4523   case $PKG_CONFIG in
   4524   [\\/]* | ?:[\\/]*)
   4525   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4526   ;;
   4527   *)
   4528   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4529 for as_dir in $PATH
   4530 do
   4531   IFS=$as_save_IFS
   4532   case $as_dir in #(((
   4533     '') as_dir=./ ;;
   4534     */) ;;
   4535     *) as_dir=$as_dir/ ;;
   4536   esac
   4537     for ac_exec_ext in '' $ac_executable_extensions; do
   4538   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4539     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4540     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4541     break 2
   4542   fi
   4543 done
   4544   done
   4545 IFS=$as_save_IFS
   4546 
   4547   ;;
   4548 esac
   4549 fi
   4550 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4551 if test -n "$PKG_CONFIG"; then
   4552   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4553 printf "%s\n" "$PKG_CONFIG" >&6; }
   4554 else
   4555   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4556 printf "%s\n" "no" >&6; }
   4557 fi
   4558 
   4559 
   4560 fi
   4561 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4562   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4563   # Extract the first word of "pkg-config", so it can be a program name with args.
   4564 set dummy pkg-config; ac_word=$2
   4565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4566 printf %s "checking for $ac_word... " >&6; }
   4567 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4568 then :
   4569   printf %s "(cached) " >&6
   4570 else $as_nop
   4571   case $ac_pt_PKG_CONFIG in
   4572   [\\/]* | ?:[\\/]*)
   4573   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4574   ;;
   4575   *)
   4576   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4577 for as_dir in $PATH
   4578 do
   4579   IFS=$as_save_IFS
   4580   case $as_dir in #(((
   4581     '') as_dir=./ ;;
   4582     */) ;;
   4583     *) as_dir=$as_dir/ ;;
   4584   esac
   4585     for ac_exec_ext in '' $ac_executable_extensions; do
   4586   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4587     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4588     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4589     break 2
   4590   fi
   4591 done
   4592   done
   4593 IFS=$as_save_IFS
   4594 
   4595   ;;
   4596 esac
   4597 fi
   4598 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4599 if test -n "$ac_pt_PKG_CONFIG"; then
   4600   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4601 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4602 else
   4603   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4604 printf "%s\n" "no" >&6; }
   4605 fi
   4606 
   4607   if test "x$ac_pt_PKG_CONFIG" = x; then
   4608     PKG_CONFIG=""
   4609   else
   4610     case $cross_compiling:$ac_tool_warned in
   4611 yes:)
   4612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4613 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4614 ac_tool_warned=yes ;;
   4615 esac
   4616     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4617   fi
   4618 else
   4619   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4620 fi
   4621 
   4622 fi
   4623 if test -n "$PKG_CONFIG"; then
   4624 	_pkg_min_version=0.9.0
   4625 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4626 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4627 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4628 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4629 printf "%s\n" "yes" >&6; }
   4630 	else
   4631 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4632 printf "%s\n" "no" >&6; }
   4633 		PKG_CONFIG=""
   4634 	fi
   4635 fi
   4636 
   4637 
   4638   # Make sure we can run config.sub.
   4639 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4640   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4641 
   4642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4643 printf %s "checking build system type... " >&6; }
   4644 if test ${ac_cv_build+y}
   4645 then :
   4646   printf %s "(cached) " >&6
   4647 else $as_nop
   4648   ac_build_alias=$build_alias
   4649 test "x$ac_build_alias" = x &&
   4650   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4651 test "x$ac_build_alias" = x &&
   4652   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4653 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4654   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4655 
   4656 fi
   4657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4658 printf "%s\n" "$ac_cv_build" >&6; }
   4659 case $ac_cv_build in
   4660 *-*-*) ;;
   4661 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4662 esac
   4663 build=$ac_cv_build
   4664 ac_save_IFS=$IFS; IFS='-'
   4665 set x $ac_cv_build
   4666 shift
   4667 build_cpu=$1
   4668 build_vendor=$2
   4669 shift; shift
   4670 # Remember, the first character of IFS is used to create $*,
   4671 # except with old shells:
   4672 build_os=$*
   4673 IFS=$ac_save_IFS
   4674 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4675 
   4676 
   4677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4678 printf %s "checking host system type... " >&6; }
   4679 if test ${ac_cv_host+y}
   4680 then :
   4681   printf %s "(cached) " >&6
   4682 else $as_nop
   4683   if test "x$host_alias" = x; then
   4684   ac_cv_host=$ac_cv_build
   4685 else
   4686   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4687     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4688 fi
   4689 
   4690 fi
   4691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4692 printf "%s\n" "$ac_cv_host" >&6; }
   4693 case $ac_cv_host in
   4694 *-*-*) ;;
   4695 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4696 esac
   4697 host=$ac_cv_host
   4698 ac_save_IFS=$IFS; IFS='-'
   4699 set x $ac_cv_host
   4700 shift
   4701 host_cpu=$1
   4702 host_vendor=$2
   4703 shift; shift
   4704 # Remember, the first character of IFS is used to create $*,
   4705 # except with old shells:
   4706 host_os=$*
   4707 IFS=$ac_save_IFS
   4708 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4709 
   4710 
   4711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4712 printf %s "checking for a sed that does not truncate output... " >&6; }
   4713 if test ${ac_cv_path_SED+y}
   4714 then :
   4715   printf %s "(cached) " >&6
   4716 else $as_nop
   4717             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4718      for ac_i in 1 2 3 4 5 6 7; do
   4719        ac_script="$ac_script$as_nl$ac_script"
   4720      done
   4721      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4722      { ac_script=; unset ac_script;}
   4723      if test -z "$SED"; then
   4724   ac_path_SED_found=false
   4725   # Loop through the user's path and test for each of PROGNAME-LIST
   4726   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4727 for as_dir in $PATH
   4728 do
   4729   IFS=$as_save_IFS
   4730   case $as_dir in #(((
   4731     '') as_dir=./ ;;
   4732     */) ;;
   4733     *) as_dir=$as_dir/ ;;
   4734   esac
   4735     for ac_prog in sed gsed
   4736    do
   4737     for ac_exec_ext in '' $ac_executable_extensions; do
   4738       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4739       as_fn_executable_p "$ac_path_SED" || continue
   4740 # Check for GNU ac_path_SED and select it if it is found.
   4741   # Check for GNU $ac_path_SED
   4742 case `"$ac_path_SED" --version 2>&1` in
   4743 *GNU*)
   4744   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4745 *)
   4746   ac_count=0
   4747   printf %s 0123456789 >"conftest.in"
   4748   while :
   4749   do
   4750     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4751     mv "conftest.tmp" "conftest.in"
   4752     cp "conftest.in" "conftest.nl"
   4753     printf "%s\n" '' >> "conftest.nl"
   4754     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4755     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4756     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4757     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4758       # Best one so far, save it but keep looking for a better one
   4759       ac_cv_path_SED="$ac_path_SED"
   4760       ac_path_SED_max=$ac_count
   4761     fi
   4762     # 10*(2^10) chars as input seems more than enough
   4763     test $ac_count -gt 10 && break
   4764   done
   4765   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4766 esac
   4767 
   4768       $ac_path_SED_found && break 3
   4769     done
   4770   done
   4771   done
   4772 IFS=$as_save_IFS
   4773   if test -z "$ac_cv_path_SED"; then
   4774     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4775   fi
   4776 else
   4777   ac_cv_path_SED=$SED
   4778 fi
   4779 
   4780 fi
   4781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4782 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4783  SED="$ac_cv_path_SED"
   4784   rm -f conftest.sed
   4785 
   4786 
   4787 
   4788 
   4789 
   4790 
   4791 # Check whether --enable-selective-werror was given.
   4792 if test ${enable_selective_werror+y}
   4793 then :
   4794   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4795 else $as_nop
   4796   SELECTIVE_WERROR=yes
   4797 fi
   4798 
   4799 
   4800 
   4801 
   4802 
   4803 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4804 if test "x$SUNCC" = "xyes"; then
   4805     BASE_CFLAGS="-v"
   4806 else
   4807     BASE_CFLAGS=""
   4808 fi
   4809 
   4810 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4811 
   4812 
   4813 
   4814 
   4815 
   4816 
   4817 
   4818 
   4819 
   4820 
   4821 
   4822 
   4823 
   4824 xorg_testset_save_CFLAGS="$CFLAGS"
   4825 
   4826 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4827 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4828 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4829 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4830 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4831 then :
   4832   printf %s "(cached) " >&6
   4833 else $as_nop
   4834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4835 /* end confdefs.h.  */
   4836 int i;
   4837 _ACEOF
   4838 if ac_fn_c_try_compile "$LINENO"
   4839 then :
   4840   xorg_cv_cc_flag_unknown_warning_option=yes
   4841 else $as_nop
   4842   xorg_cv_cc_flag_unknown_warning_option=no
   4843 fi
   4844 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4845 fi
   4846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4847 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4848 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4849 	CFLAGS="$xorg_testset_save_CFLAGS"
   4850 fi
   4851 
   4852 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4853 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4854 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4855 	fi
   4856 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4857 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4858 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4859 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   4860 then :
   4861   printf %s "(cached) " >&6
   4862 else $as_nop
   4863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4864 /* end confdefs.h.  */
   4865 int i;
   4866 _ACEOF
   4867 if ac_fn_c_try_compile "$LINENO"
   4868 then :
   4869   xorg_cv_cc_flag_unused_command_line_argument=yes
   4870 else $as_nop
   4871   xorg_cv_cc_flag_unused_command_line_argument=no
   4872 fi
   4873 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4874 fi
   4875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4876 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4877 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4878 	CFLAGS="$xorg_testset_save_CFLAGS"
   4879 fi
   4880 
   4881 found="no"
   4882 
   4883 	if test $found = "no" ; then
   4884 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4885 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4886 		fi
   4887 
   4888 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4889 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4890 		fi
   4891 
   4892 		CFLAGS="$CFLAGS -Wall"
   4893 
   4894 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4895 printf %s "checking if $CC supports -Wall... " >&6; }
   4896 		cacheid=xorg_cv_cc_flag__Wall
   4897 		if eval test \${$cacheid+y}
   4898 then :
   4899   printf %s "(cached) " >&6
   4900 else $as_nop
   4901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4902 /* end confdefs.h.  */
   4903 int i;
   4904 int
   4905 main (void)
   4906 {
   4907 
   4908   ;
   4909   return 0;
   4910 }
   4911 _ACEOF
   4912 if ac_fn_c_try_link "$LINENO"
   4913 then :
   4914   eval $cacheid=yes
   4915 else $as_nop
   4916   eval $cacheid=no
   4917 fi
   4918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   4919     conftest$ac_exeext conftest.$ac_ext
   4920 fi
   4921 
   4922 
   4923 		CFLAGS="$xorg_testset_save_CFLAGS"
   4924 
   4925 		eval supported=\$$cacheid
   4926 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4927 printf "%s\n" "$supported" >&6; }
   4928 		if test "$supported" = "yes" ; then
   4929 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4930 			found="yes"
   4931 		fi
   4932 	fi
   4933 
   4934 
   4935 
   4936 
   4937 
   4938 
   4939 
   4940 
   4941 
   4942 
   4943 
   4944 
   4945 
   4946 
   4947 
   4948 xorg_testset_save_CFLAGS="$CFLAGS"
   4949 
   4950 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4951 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4952 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4953 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4954 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4955 then :
   4956   printf %s "(cached) " >&6
   4957 else $as_nop
   4958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4959 /* end confdefs.h.  */
   4960 int i;
   4961 _ACEOF
   4962 if ac_fn_c_try_compile "$LINENO"
   4963 then :
   4964   xorg_cv_cc_flag_unknown_warning_option=yes
   4965 else $as_nop
   4966   xorg_cv_cc_flag_unknown_warning_option=no
   4967 fi
   4968 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4969 fi
   4970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4971 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4972 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4973 	CFLAGS="$xorg_testset_save_CFLAGS"
   4974 fi
   4975 
   4976 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4977 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4978 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4979 	fi
   4980 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4981 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4982 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4983 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   4984 then :
   4985   printf %s "(cached) " >&6
   4986 else $as_nop
   4987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4988 /* end confdefs.h.  */
   4989 int i;
   4990 _ACEOF
   4991 if ac_fn_c_try_compile "$LINENO"
   4992 then :
   4993   xorg_cv_cc_flag_unused_command_line_argument=yes
   4994 else $as_nop
   4995   xorg_cv_cc_flag_unused_command_line_argument=no
   4996 fi
   4997 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4998 fi
   4999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5000 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5001 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5002 	CFLAGS="$xorg_testset_save_CFLAGS"
   5003 fi
   5004 
   5005 found="no"
   5006 
   5007 	if test $found = "no" ; then
   5008 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5009 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5010 		fi
   5011 
   5012 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5013 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5014 		fi
   5015 
   5016 		CFLAGS="$CFLAGS -Wpointer-arith"
   5017 
   5018 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5019 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5020 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5021 		if eval test \${$cacheid+y}
   5022 then :
   5023   printf %s "(cached) " >&6
   5024 else $as_nop
   5025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5026 /* end confdefs.h.  */
   5027 int i;
   5028 int
   5029 main (void)
   5030 {
   5031 
   5032   ;
   5033   return 0;
   5034 }
   5035 _ACEOF
   5036 if ac_fn_c_try_link "$LINENO"
   5037 then :
   5038   eval $cacheid=yes
   5039 else $as_nop
   5040   eval $cacheid=no
   5041 fi
   5042 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5043     conftest$ac_exeext conftest.$ac_ext
   5044 fi
   5045 
   5046 
   5047 		CFLAGS="$xorg_testset_save_CFLAGS"
   5048 
   5049 		eval supported=\$$cacheid
   5050 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5051 printf "%s\n" "$supported" >&6; }
   5052 		if test "$supported" = "yes" ; then
   5053 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5054 			found="yes"
   5055 		fi
   5056 	fi
   5057 
   5058 
   5059 
   5060 
   5061 
   5062 
   5063 
   5064 
   5065 
   5066 
   5067 
   5068 
   5069 
   5070 
   5071 
   5072 xorg_testset_save_CFLAGS="$CFLAGS"
   5073 
   5074 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5075 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5076 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5077 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5078 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5079 then :
   5080   printf %s "(cached) " >&6
   5081 else $as_nop
   5082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5083 /* end confdefs.h.  */
   5084 int i;
   5085 _ACEOF
   5086 if ac_fn_c_try_compile "$LINENO"
   5087 then :
   5088   xorg_cv_cc_flag_unknown_warning_option=yes
   5089 else $as_nop
   5090   xorg_cv_cc_flag_unknown_warning_option=no
   5091 fi
   5092 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5093 fi
   5094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5095 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5096 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5097 	CFLAGS="$xorg_testset_save_CFLAGS"
   5098 fi
   5099 
   5100 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5101 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5102 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5103 	fi
   5104 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5105 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5106 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5107 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5108 then :
   5109   printf %s "(cached) " >&6
   5110 else $as_nop
   5111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5112 /* end confdefs.h.  */
   5113 int i;
   5114 _ACEOF
   5115 if ac_fn_c_try_compile "$LINENO"
   5116 then :
   5117   xorg_cv_cc_flag_unused_command_line_argument=yes
   5118 else $as_nop
   5119   xorg_cv_cc_flag_unused_command_line_argument=no
   5120 fi
   5121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5122 fi
   5123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5124 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5125 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5126 	CFLAGS="$xorg_testset_save_CFLAGS"
   5127 fi
   5128 
   5129 found="no"
   5130 
   5131 	if test $found = "no" ; then
   5132 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5133 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5134 		fi
   5135 
   5136 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5137 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5138 		fi
   5139 
   5140 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5141 
   5142 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5143 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5144 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5145 		if eval test \${$cacheid+y}
   5146 then :
   5147   printf %s "(cached) " >&6
   5148 else $as_nop
   5149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5150 /* end confdefs.h.  */
   5151 int i;
   5152 int
   5153 main (void)
   5154 {
   5155 
   5156   ;
   5157   return 0;
   5158 }
   5159 _ACEOF
   5160 if ac_fn_c_try_link "$LINENO"
   5161 then :
   5162   eval $cacheid=yes
   5163 else $as_nop
   5164   eval $cacheid=no
   5165 fi
   5166 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5167     conftest$ac_exeext conftest.$ac_ext
   5168 fi
   5169 
   5170 
   5171 		CFLAGS="$xorg_testset_save_CFLAGS"
   5172 
   5173 		eval supported=\$$cacheid
   5174 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5175 printf "%s\n" "$supported" >&6; }
   5176 		if test "$supported" = "yes" ; then
   5177 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5178 			found="yes"
   5179 		fi
   5180 	fi
   5181 
   5182 
   5183 
   5184 
   5185 
   5186 
   5187 
   5188 
   5189 
   5190 
   5191 
   5192 
   5193 
   5194 
   5195 
   5196 xorg_testset_save_CFLAGS="$CFLAGS"
   5197 
   5198 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5199 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5200 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5201 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5202 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5203 then :
   5204   printf %s "(cached) " >&6
   5205 else $as_nop
   5206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5207 /* end confdefs.h.  */
   5208 int i;
   5209 _ACEOF
   5210 if ac_fn_c_try_compile "$LINENO"
   5211 then :
   5212   xorg_cv_cc_flag_unknown_warning_option=yes
   5213 else $as_nop
   5214   xorg_cv_cc_flag_unknown_warning_option=no
   5215 fi
   5216 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5217 fi
   5218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5219 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5220 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5221 	CFLAGS="$xorg_testset_save_CFLAGS"
   5222 fi
   5223 
   5224 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5225 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5226 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5227 	fi
   5228 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5229 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5230 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5231 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5232 then :
   5233   printf %s "(cached) " >&6
   5234 else $as_nop
   5235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5236 /* end confdefs.h.  */
   5237 int i;
   5238 _ACEOF
   5239 if ac_fn_c_try_compile "$LINENO"
   5240 then :
   5241   xorg_cv_cc_flag_unused_command_line_argument=yes
   5242 else $as_nop
   5243   xorg_cv_cc_flag_unused_command_line_argument=no
   5244 fi
   5245 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5246 fi
   5247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5248 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5249 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5250 	CFLAGS="$xorg_testset_save_CFLAGS"
   5251 fi
   5252 
   5253 found="no"
   5254 
   5255 	if test $found = "no" ; then
   5256 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5257 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5258 		fi
   5259 
   5260 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5261 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5262 		fi
   5263 
   5264 		CFLAGS="$CFLAGS -Wformat=2"
   5265 
   5266 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5267 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5268 		cacheid=xorg_cv_cc_flag__Wformat_2
   5269 		if eval test \${$cacheid+y}
   5270 then :
   5271   printf %s "(cached) " >&6
   5272 else $as_nop
   5273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5274 /* end confdefs.h.  */
   5275 int i;
   5276 int
   5277 main (void)
   5278 {
   5279 
   5280   ;
   5281   return 0;
   5282 }
   5283 _ACEOF
   5284 if ac_fn_c_try_link "$LINENO"
   5285 then :
   5286   eval $cacheid=yes
   5287 else $as_nop
   5288   eval $cacheid=no
   5289 fi
   5290 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5291     conftest$ac_exeext conftest.$ac_ext
   5292 fi
   5293 
   5294 
   5295 		CFLAGS="$xorg_testset_save_CFLAGS"
   5296 
   5297 		eval supported=\$$cacheid
   5298 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5299 printf "%s\n" "$supported" >&6; }
   5300 		if test "$supported" = "yes" ; then
   5301 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5302 			found="yes"
   5303 		fi
   5304 	fi
   5305 
   5306 	if test $found = "no" ; then
   5307 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5308 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5309 		fi
   5310 
   5311 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5312 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5313 		fi
   5314 
   5315 		CFLAGS="$CFLAGS -Wformat"
   5316 
   5317 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5318 printf %s "checking if $CC supports -Wformat... " >&6; }
   5319 		cacheid=xorg_cv_cc_flag__Wformat
   5320 		if eval test \${$cacheid+y}
   5321 then :
   5322   printf %s "(cached) " >&6
   5323 else $as_nop
   5324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5325 /* end confdefs.h.  */
   5326 int i;
   5327 int
   5328 main (void)
   5329 {
   5330 
   5331   ;
   5332   return 0;
   5333 }
   5334 _ACEOF
   5335 if ac_fn_c_try_link "$LINENO"
   5336 then :
   5337   eval $cacheid=yes
   5338 else $as_nop
   5339   eval $cacheid=no
   5340 fi
   5341 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5342     conftest$ac_exeext conftest.$ac_ext
   5343 fi
   5344 
   5345 
   5346 		CFLAGS="$xorg_testset_save_CFLAGS"
   5347 
   5348 		eval supported=\$$cacheid
   5349 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5350 printf "%s\n" "$supported" >&6; }
   5351 		if test "$supported" = "yes" ; then
   5352 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5353 			found="yes"
   5354 		fi
   5355 	fi
   5356 
   5357 
   5358 
   5359 
   5360 
   5361 
   5362 
   5363 
   5364 
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 xorg_testset_save_CFLAGS="$CFLAGS"
   5374 
   5375 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5376 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5377 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5378 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5379 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5380 then :
   5381   printf %s "(cached) " >&6
   5382 else $as_nop
   5383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5384 /* end confdefs.h.  */
   5385 int i;
   5386 _ACEOF
   5387 if ac_fn_c_try_compile "$LINENO"
   5388 then :
   5389   xorg_cv_cc_flag_unknown_warning_option=yes
   5390 else $as_nop
   5391   xorg_cv_cc_flag_unknown_warning_option=no
   5392 fi
   5393 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5394 fi
   5395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5396 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5397 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5398 	CFLAGS="$xorg_testset_save_CFLAGS"
   5399 fi
   5400 
   5401 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5402 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5403 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5404 	fi
   5405 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5406 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5407 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5408 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5409 then :
   5410   printf %s "(cached) " >&6
   5411 else $as_nop
   5412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5413 /* end confdefs.h.  */
   5414 int i;
   5415 _ACEOF
   5416 if ac_fn_c_try_compile "$LINENO"
   5417 then :
   5418   xorg_cv_cc_flag_unused_command_line_argument=yes
   5419 else $as_nop
   5420   xorg_cv_cc_flag_unused_command_line_argument=no
   5421 fi
   5422 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5423 fi
   5424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5425 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5426 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5427 	CFLAGS="$xorg_testset_save_CFLAGS"
   5428 fi
   5429 
   5430 found="no"
   5431 
   5432 	if test $found = "no" ; then
   5433 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5434 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5435 		fi
   5436 
   5437 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5438 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5439 		fi
   5440 
   5441 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5442 
   5443 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5444 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5445 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5446 		if eval test \${$cacheid+y}
   5447 then :
   5448   printf %s "(cached) " >&6
   5449 else $as_nop
   5450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5451 /* end confdefs.h.  */
   5452 int i;
   5453 int
   5454 main (void)
   5455 {
   5456 
   5457   ;
   5458   return 0;
   5459 }
   5460 _ACEOF
   5461 if ac_fn_c_try_link "$LINENO"
   5462 then :
   5463   eval $cacheid=yes
   5464 else $as_nop
   5465   eval $cacheid=no
   5466 fi
   5467 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5468     conftest$ac_exeext conftest.$ac_ext
   5469 fi
   5470 
   5471 
   5472 		CFLAGS="$xorg_testset_save_CFLAGS"
   5473 
   5474 		eval supported=\$$cacheid
   5475 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5476 printf "%s\n" "$supported" >&6; }
   5477 		if test "$supported" = "yes" ; then
   5478 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5479 			found="yes"
   5480 		fi
   5481 	fi
   5482 
   5483 
   5484 
   5485 
   5486 
   5487 
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 xorg_testset_save_CFLAGS="$CFLAGS"
   5498 
   5499 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5500 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5501 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5502 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5503 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5504 then :
   5505   printf %s "(cached) " >&6
   5506 else $as_nop
   5507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5508 /* end confdefs.h.  */
   5509 int i;
   5510 _ACEOF
   5511 if ac_fn_c_try_compile "$LINENO"
   5512 then :
   5513   xorg_cv_cc_flag_unknown_warning_option=yes
   5514 else $as_nop
   5515   xorg_cv_cc_flag_unknown_warning_option=no
   5516 fi
   5517 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5518 fi
   5519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5520 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5521 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5522 	CFLAGS="$xorg_testset_save_CFLAGS"
   5523 fi
   5524 
   5525 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5526 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5527 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5528 	fi
   5529 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5530 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5531 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5532 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5533 then :
   5534   printf %s "(cached) " >&6
   5535 else $as_nop
   5536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5537 /* end confdefs.h.  */
   5538 int i;
   5539 _ACEOF
   5540 if ac_fn_c_try_compile "$LINENO"
   5541 then :
   5542   xorg_cv_cc_flag_unused_command_line_argument=yes
   5543 else $as_nop
   5544   xorg_cv_cc_flag_unused_command_line_argument=no
   5545 fi
   5546 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5547 fi
   5548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5549 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5550 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5551 	CFLAGS="$xorg_testset_save_CFLAGS"
   5552 fi
   5553 
   5554 found="no"
   5555 
   5556 	if test $found = "no" ; then
   5557 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5558 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5559 		fi
   5560 
   5561 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5562 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5563 		fi
   5564 
   5565 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5566 
   5567 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5568 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5569 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5570 		if eval test \${$cacheid+y}
   5571 then :
   5572   printf %s "(cached) " >&6
   5573 else $as_nop
   5574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5575 /* end confdefs.h.  */
   5576 int i;
   5577 int
   5578 main (void)
   5579 {
   5580 
   5581   ;
   5582   return 0;
   5583 }
   5584 _ACEOF
   5585 if ac_fn_c_try_link "$LINENO"
   5586 then :
   5587   eval $cacheid=yes
   5588 else $as_nop
   5589   eval $cacheid=no
   5590 fi
   5591 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5592     conftest$ac_exeext conftest.$ac_ext
   5593 fi
   5594 
   5595 
   5596 		CFLAGS="$xorg_testset_save_CFLAGS"
   5597 
   5598 		eval supported=\$$cacheid
   5599 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5600 printf "%s\n" "$supported" >&6; }
   5601 		if test "$supported" = "yes" ; then
   5602 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5603 			found="yes"
   5604 		fi
   5605 	fi
   5606 
   5607 
   5608 
   5609 
   5610 
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 
   5621 xorg_testset_save_CFLAGS="$CFLAGS"
   5622 
   5623 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5624 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5625 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5626 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5627 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5628 then :
   5629   printf %s "(cached) " >&6
   5630 else $as_nop
   5631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5632 /* end confdefs.h.  */
   5633 int i;
   5634 _ACEOF
   5635 if ac_fn_c_try_compile "$LINENO"
   5636 then :
   5637   xorg_cv_cc_flag_unknown_warning_option=yes
   5638 else $as_nop
   5639   xorg_cv_cc_flag_unknown_warning_option=no
   5640 fi
   5641 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5642 fi
   5643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5644 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5645 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5646 	CFLAGS="$xorg_testset_save_CFLAGS"
   5647 fi
   5648 
   5649 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5650 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5651 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5652 	fi
   5653 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5654 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5655 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5656 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5657 then :
   5658   printf %s "(cached) " >&6
   5659 else $as_nop
   5660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5661 /* end confdefs.h.  */
   5662 int i;
   5663 _ACEOF
   5664 if ac_fn_c_try_compile "$LINENO"
   5665 then :
   5666   xorg_cv_cc_flag_unused_command_line_argument=yes
   5667 else $as_nop
   5668   xorg_cv_cc_flag_unused_command_line_argument=no
   5669 fi
   5670 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5671 fi
   5672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5673 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5674 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5675 	CFLAGS="$xorg_testset_save_CFLAGS"
   5676 fi
   5677 
   5678 found="no"
   5679 
   5680 	if test $found = "no" ; then
   5681 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5682 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5683 		fi
   5684 
   5685 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5686 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5687 		fi
   5688 
   5689 		CFLAGS="$CFLAGS -Wnested-externs"
   5690 
   5691 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5692 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5693 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5694 		if eval test \${$cacheid+y}
   5695 then :
   5696   printf %s "(cached) " >&6
   5697 else $as_nop
   5698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5699 /* end confdefs.h.  */
   5700 int i;
   5701 int
   5702 main (void)
   5703 {
   5704 
   5705   ;
   5706   return 0;
   5707 }
   5708 _ACEOF
   5709 if ac_fn_c_try_link "$LINENO"
   5710 then :
   5711   eval $cacheid=yes
   5712 else $as_nop
   5713   eval $cacheid=no
   5714 fi
   5715 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5716     conftest$ac_exeext conftest.$ac_ext
   5717 fi
   5718 
   5719 
   5720 		CFLAGS="$xorg_testset_save_CFLAGS"
   5721 
   5722 		eval supported=\$$cacheid
   5723 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5724 printf "%s\n" "$supported" >&6; }
   5725 		if test "$supported" = "yes" ; then
   5726 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5727 			found="yes"
   5728 		fi
   5729 	fi
   5730 
   5731 
   5732 
   5733 
   5734 
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 
   5745 xorg_testset_save_CFLAGS="$CFLAGS"
   5746 
   5747 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5748 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5749 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5750 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5751 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5752 then :
   5753   printf %s "(cached) " >&6
   5754 else $as_nop
   5755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5756 /* end confdefs.h.  */
   5757 int i;
   5758 _ACEOF
   5759 if ac_fn_c_try_compile "$LINENO"
   5760 then :
   5761   xorg_cv_cc_flag_unknown_warning_option=yes
   5762 else $as_nop
   5763   xorg_cv_cc_flag_unknown_warning_option=no
   5764 fi
   5765 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5766 fi
   5767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5768 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5769 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5770 	CFLAGS="$xorg_testset_save_CFLAGS"
   5771 fi
   5772 
   5773 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5774 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5775 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5776 	fi
   5777 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5778 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5779 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5780 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5781 then :
   5782   printf %s "(cached) " >&6
   5783 else $as_nop
   5784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5785 /* end confdefs.h.  */
   5786 int i;
   5787 _ACEOF
   5788 if ac_fn_c_try_compile "$LINENO"
   5789 then :
   5790   xorg_cv_cc_flag_unused_command_line_argument=yes
   5791 else $as_nop
   5792   xorg_cv_cc_flag_unused_command_line_argument=no
   5793 fi
   5794 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5795 fi
   5796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5797 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5798 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5799 	CFLAGS="$xorg_testset_save_CFLAGS"
   5800 fi
   5801 
   5802 found="no"
   5803 
   5804 	if test $found = "no" ; then
   5805 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5806 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5807 		fi
   5808 
   5809 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5810 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5811 		fi
   5812 
   5813 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5814 
   5815 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5816 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   5817 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5818 		if eval test \${$cacheid+y}
   5819 then :
   5820   printf %s "(cached) " >&6
   5821 else $as_nop
   5822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5823 /* end confdefs.h.  */
   5824 int i;
   5825 int
   5826 main (void)
   5827 {
   5828 
   5829   ;
   5830   return 0;
   5831 }
   5832 _ACEOF
   5833 if ac_fn_c_try_link "$LINENO"
   5834 then :
   5835   eval $cacheid=yes
   5836 else $as_nop
   5837   eval $cacheid=no
   5838 fi
   5839 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5840     conftest$ac_exeext conftest.$ac_ext
   5841 fi
   5842 
   5843 
   5844 		CFLAGS="$xorg_testset_save_CFLAGS"
   5845 
   5846 		eval supported=\$$cacheid
   5847 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5848 printf "%s\n" "$supported" >&6; }
   5849 		if test "$supported" = "yes" ; then
   5850 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5851 			found="yes"
   5852 		fi
   5853 	fi
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 
   5869 xorg_testset_save_CFLAGS="$CFLAGS"
   5870 
   5871 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5872 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5873 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5874 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5875 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5876 then :
   5877   printf %s "(cached) " >&6
   5878 else $as_nop
   5879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5880 /* end confdefs.h.  */
   5881 int i;
   5882 _ACEOF
   5883 if ac_fn_c_try_compile "$LINENO"
   5884 then :
   5885   xorg_cv_cc_flag_unknown_warning_option=yes
   5886 else $as_nop
   5887   xorg_cv_cc_flag_unknown_warning_option=no
   5888 fi
   5889 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5890 fi
   5891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5892 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5893 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5894 	CFLAGS="$xorg_testset_save_CFLAGS"
   5895 fi
   5896 
   5897 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5898 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5899 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5900 	fi
   5901 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5902 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5903 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5904 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5905 then :
   5906   printf %s "(cached) " >&6
   5907 else $as_nop
   5908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5909 /* end confdefs.h.  */
   5910 int i;
   5911 _ACEOF
   5912 if ac_fn_c_try_compile "$LINENO"
   5913 then :
   5914   xorg_cv_cc_flag_unused_command_line_argument=yes
   5915 else $as_nop
   5916   xorg_cv_cc_flag_unused_command_line_argument=no
   5917 fi
   5918 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5919 fi
   5920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5921 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5922 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5923 	CFLAGS="$xorg_testset_save_CFLAGS"
   5924 fi
   5925 
   5926 found="no"
   5927 
   5928 	if test $found = "no" ; then
   5929 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5930 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5931 		fi
   5932 
   5933 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5934 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5935 		fi
   5936 
   5937 		CFLAGS="$CFLAGS -Wold-style-definition"
   5938 
   5939 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5940 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   5941 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5942 		if eval test \${$cacheid+y}
   5943 then :
   5944   printf %s "(cached) " >&6
   5945 else $as_nop
   5946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5947 /* end confdefs.h.  */
   5948 int i;
   5949 int
   5950 main (void)
   5951 {
   5952 
   5953   ;
   5954   return 0;
   5955 }
   5956 _ACEOF
   5957 if ac_fn_c_try_link "$LINENO"
   5958 then :
   5959   eval $cacheid=yes
   5960 else $as_nop
   5961   eval $cacheid=no
   5962 fi
   5963 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5964     conftest$ac_exeext conftest.$ac_ext
   5965 fi
   5966 
   5967 
   5968 		CFLAGS="$xorg_testset_save_CFLAGS"
   5969 
   5970 		eval supported=\$$cacheid
   5971 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5972 printf "%s\n" "$supported" >&6; }
   5973 		if test "$supported" = "yes" ; then
   5974 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5975 			found="yes"
   5976 		fi
   5977 	fi
   5978 
   5979 	if test $found = "no" ; then
   5980 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5981 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5982 		fi
   5983 
   5984 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5985 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5986 		fi
   5987 
   5988 		CFLAGS="$CFLAGS -fd"
   5989 
   5990 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5991 printf %s "checking if $CC supports -fd... " >&6; }
   5992 		cacheid=xorg_cv_cc_flag__fd
   5993 		if eval test \${$cacheid+y}
   5994 then :
   5995   printf %s "(cached) " >&6
   5996 else $as_nop
   5997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5998 /* end confdefs.h.  */
   5999 int i;
   6000 int
   6001 main (void)
   6002 {
   6003 
   6004   ;
   6005   return 0;
   6006 }
   6007 _ACEOF
   6008 if ac_fn_c_try_link "$LINENO"
   6009 then :
   6010   eval $cacheid=yes
   6011 else $as_nop
   6012   eval $cacheid=no
   6013 fi
   6014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6015     conftest$ac_exeext conftest.$ac_ext
   6016 fi
   6017 
   6018 
   6019 		CFLAGS="$xorg_testset_save_CFLAGS"
   6020 
   6021 		eval supported=\$$cacheid
   6022 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6023 printf "%s\n" "$supported" >&6; }
   6024 		if test "$supported" = "yes" ; then
   6025 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6026 			found="yes"
   6027 		fi
   6028 	fi
   6029 
   6030 
   6031 
   6032 
   6033 
   6034 
   6035 
   6036 
   6037 
   6038 
   6039 
   6040 
   6041 
   6042 
   6043 
   6044 xorg_testset_save_CFLAGS="$CFLAGS"
   6045 
   6046 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6047 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6048 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6049 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6050 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6051 then :
   6052   printf %s "(cached) " >&6
   6053 else $as_nop
   6054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6055 /* end confdefs.h.  */
   6056 int i;
   6057 _ACEOF
   6058 if ac_fn_c_try_compile "$LINENO"
   6059 then :
   6060   xorg_cv_cc_flag_unknown_warning_option=yes
   6061 else $as_nop
   6062   xorg_cv_cc_flag_unknown_warning_option=no
   6063 fi
   6064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6065 fi
   6066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6067 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6068 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6069 	CFLAGS="$xorg_testset_save_CFLAGS"
   6070 fi
   6071 
   6072 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6073 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6074 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6075 	fi
   6076 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6077 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6078 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6079 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6080 then :
   6081   printf %s "(cached) " >&6
   6082 else $as_nop
   6083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6084 /* end confdefs.h.  */
   6085 int i;
   6086 _ACEOF
   6087 if ac_fn_c_try_compile "$LINENO"
   6088 then :
   6089   xorg_cv_cc_flag_unused_command_line_argument=yes
   6090 else $as_nop
   6091   xorg_cv_cc_flag_unused_command_line_argument=no
   6092 fi
   6093 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6094 fi
   6095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6096 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6097 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6098 	CFLAGS="$xorg_testset_save_CFLAGS"
   6099 fi
   6100 
   6101 found="no"
   6102 
   6103 	if test $found = "no" ; then
   6104 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6105 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6106 		fi
   6107 
   6108 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6109 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6110 		fi
   6111 
   6112 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6113 
   6114 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6115 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6116 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6117 		if eval test \${$cacheid+y}
   6118 then :
   6119   printf %s "(cached) " >&6
   6120 else $as_nop
   6121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6122 /* end confdefs.h.  */
   6123 int i;
   6124 int
   6125 main (void)
   6126 {
   6127 
   6128   ;
   6129   return 0;
   6130 }
   6131 _ACEOF
   6132 if ac_fn_c_try_link "$LINENO"
   6133 then :
   6134   eval $cacheid=yes
   6135 else $as_nop
   6136   eval $cacheid=no
   6137 fi
   6138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6139     conftest$ac_exeext conftest.$ac_ext
   6140 fi
   6141 
   6142 
   6143 		CFLAGS="$xorg_testset_save_CFLAGS"
   6144 
   6145 		eval supported=\$$cacheid
   6146 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6147 printf "%s\n" "$supported" >&6; }
   6148 		if test "$supported" = "yes" ; then
   6149 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6150 			found="yes"
   6151 		fi
   6152 	fi
   6153 
   6154 
   6155 
   6156 
   6157 
   6158 # This chunk adds additional warnings that could catch undesired effects.
   6159 
   6160 
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 xorg_testset_save_CFLAGS="$CFLAGS"
   6173 
   6174 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6175 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6176 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6177 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6178 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6179 then :
   6180   printf %s "(cached) " >&6
   6181 else $as_nop
   6182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6183 /* end confdefs.h.  */
   6184 int i;
   6185 _ACEOF
   6186 if ac_fn_c_try_compile "$LINENO"
   6187 then :
   6188   xorg_cv_cc_flag_unknown_warning_option=yes
   6189 else $as_nop
   6190   xorg_cv_cc_flag_unknown_warning_option=no
   6191 fi
   6192 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6193 fi
   6194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6195 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6196 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6197 	CFLAGS="$xorg_testset_save_CFLAGS"
   6198 fi
   6199 
   6200 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6201 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6202 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6203 	fi
   6204 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6205 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6206 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6207 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6208 then :
   6209   printf %s "(cached) " >&6
   6210 else $as_nop
   6211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6212 /* end confdefs.h.  */
   6213 int i;
   6214 _ACEOF
   6215 if ac_fn_c_try_compile "$LINENO"
   6216 then :
   6217   xorg_cv_cc_flag_unused_command_line_argument=yes
   6218 else $as_nop
   6219   xorg_cv_cc_flag_unused_command_line_argument=no
   6220 fi
   6221 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6222 fi
   6223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6224 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6225 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6226 	CFLAGS="$xorg_testset_save_CFLAGS"
   6227 fi
   6228 
   6229 found="no"
   6230 
   6231 	if test $found = "no" ; then
   6232 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6233 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6234 		fi
   6235 
   6236 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6237 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6238 		fi
   6239 
   6240 		CFLAGS="$CFLAGS -Wunused"
   6241 
   6242 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6243 printf %s "checking if $CC supports -Wunused... " >&6; }
   6244 		cacheid=xorg_cv_cc_flag__Wunused
   6245 		if eval test \${$cacheid+y}
   6246 then :
   6247   printf %s "(cached) " >&6
   6248 else $as_nop
   6249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6250 /* end confdefs.h.  */
   6251 int i;
   6252 int
   6253 main (void)
   6254 {
   6255 
   6256   ;
   6257   return 0;
   6258 }
   6259 _ACEOF
   6260 if ac_fn_c_try_link "$LINENO"
   6261 then :
   6262   eval $cacheid=yes
   6263 else $as_nop
   6264   eval $cacheid=no
   6265 fi
   6266 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6267     conftest$ac_exeext conftest.$ac_ext
   6268 fi
   6269 
   6270 
   6271 		CFLAGS="$xorg_testset_save_CFLAGS"
   6272 
   6273 		eval supported=\$$cacheid
   6274 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6275 printf "%s\n" "$supported" >&6; }
   6276 		if test "$supported" = "yes" ; then
   6277 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6278 			found="yes"
   6279 		fi
   6280 	fi
   6281 
   6282 
   6283 
   6284 
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 
   6296 xorg_testset_save_CFLAGS="$CFLAGS"
   6297 
   6298 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6299 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6300 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6301 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6302 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6303 then :
   6304   printf %s "(cached) " >&6
   6305 else $as_nop
   6306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6307 /* end confdefs.h.  */
   6308 int i;
   6309 _ACEOF
   6310 if ac_fn_c_try_compile "$LINENO"
   6311 then :
   6312   xorg_cv_cc_flag_unknown_warning_option=yes
   6313 else $as_nop
   6314   xorg_cv_cc_flag_unknown_warning_option=no
   6315 fi
   6316 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6317 fi
   6318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6319 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6320 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6321 	CFLAGS="$xorg_testset_save_CFLAGS"
   6322 fi
   6323 
   6324 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6325 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6326 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6327 	fi
   6328 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6329 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6330 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6331 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6332 then :
   6333   printf %s "(cached) " >&6
   6334 else $as_nop
   6335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6336 /* end confdefs.h.  */
   6337 int i;
   6338 _ACEOF
   6339 if ac_fn_c_try_compile "$LINENO"
   6340 then :
   6341   xorg_cv_cc_flag_unused_command_line_argument=yes
   6342 else $as_nop
   6343   xorg_cv_cc_flag_unused_command_line_argument=no
   6344 fi
   6345 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6346 fi
   6347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6348 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6349 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6350 	CFLAGS="$xorg_testset_save_CFLAGS"
   6351 fi
   6352 
   6353 found="no"
   6354 
   6355 	if test $found = "no" ; then
   6356 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6357 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6358 		fi
   6359 
   6360 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6361 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6362 		fi
   6363 
   6364 		CFLAGS="$CFLAGS -Wuninitialized"
   6365 
   6366 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6367 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6368 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6369 		if eval test \${$cacheid+y}
   6370 then :
   6371   printf %s "(cached) " >&6
   6372 else $as_nop
   6373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6374 /* end confdefs.h.  */
   6375 int i;
   6376 int
   6377 main (void)
   6378 {
   6379 
   6380   ;
   6381   return 0;
   6382 }
   6383 _ACEOF
   6384 if ac_fn_c_try_link "$LINENO"
   6385 then :
   6386   eval $cacheid=yes
   6387 else $as_nop
   6388   eval $cacheid=no
   6389 fi
   6390 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6391     conftest$ac_exeext conftest.$ac_ext
   6392 fi
   6393 
   6394 
   6395 		CFLAGS="$xorg_testset_save_CFLAGS"
   6396 
   6397 		eval supported=\$$cacheid
   6398 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6399 printf "%s\n" "$supported" >&6; }
   6400 		if test "$supported" = "yes" ; then
   6401 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6402 			found="yes"
   6403 		fi
   6404 	fi
   6405 
   6406 
   6407 
   6408 
   6409 
   6410 
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 
   6418 
   6419 
   6420 xorg_testset_save_CFLAGS="$CFLAGS"
   6421 
   6422 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6423 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6424 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6425 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6426 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6427 then :
   6428   printf %s "(cached) " >&6
   6429 else $as_nop
   6430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6431 /* end confdefs.h.  */
   6432 int i;
   6433 _ACEOF
   6434 if ac_fn_c_try_compile "$LINENO"
   6435 then :
   6436   xorg_cv_cc_flag_unknown_warning_option=yes
   6437 else $as_nop
   6438   xorg_cv_cc_flag_unknown_warning_option=no
   6439 fi
   6440 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6441 fi
   6442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6443 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6444 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6445 	CFLAGS="$xorg_testset_save_CFLAGS"
   6446 fi
   6447 
   6448 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6449 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6450 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6451 	fi
   6452 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6453 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6454 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6455 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6456 then :
   6457   printf %s "(cached) " >&6
   6458 else $as_nop
   6459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6460 /* end confdefs.h.  */
   6461 int i;
   6462 _ACEOF
   6463 if ac_fn_c_try_compile "$LINENO"
   6464 then :
   6465   xorg_cv_cc_flag_unused_command_line_argument=yes
   6466 else $as_nop
   6467   xorg_cv_cc_flag_unused_command_line_argument=no
   6468 fi
   6469 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6470 fi
   6471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6472 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6473 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6474 	CFLAGS="$xorg_testset_save_CFLAGS"
   6475 fi
   6476 
   6477 found="no"
   6478 
   6479 	if test $found = "no" ; then
   6480 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6481 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6482 		fi
   6483 
   6484 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6485 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6486 		fi
   6487 
   6488 		CFLAGS="$CFLAGS -Wshadow"
   6489 
   6490 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6491 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6492 		cacheid=xorg_cv_cc_flag__Wshadow
   6493 		if eval test \${$cacheid+y}
   6494 then :
   6495   printf %s "(cached) " >&6
   6496 else $as_nop
   6497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6498 /* end confdefs.h.  */
   6499 int i;
   6500 int
   6501 main (void)
   6502 {
   6503 
   6504   ;
   6505   return 0;
   6506 }
   6507 _ACEOF
   6508 if ac_fn_c_try_link "$LINENO"
   6509 then :
   6510   eval $cacheid=yes
   6511 else $as_nop
   6512   eval $cacheid=no
   6513 fi
   6514 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6515     conftest$ac_exeext conftest.$ac_ext
   6516 fi
   6517 
   6518 
   6519 		CFLAGS="$xorg_testset_save_CFLAGS"
   6520 
   6521 		eval supported=\$$cacheid
   6522 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6523 printf "%s\n" "$supported" >&6; }
   6524 		if test "$supported" = "yes" ; then
   6525 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6526 			found="yes"
   6527 		fi
   6528 	fi
   6529 
   6530 
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 
   6543 
   6544 xorg_testset_save_CFLAGS="$CFLAGS"
   6545 
   6546 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6547 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6548 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6549 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6550 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6551 then :
   6552   printf %s "(cached) " >&6
   6553 else $as_nop
   6554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6555 /* end confdefs.h.  */
   6556 int i;
   6557 _ACEOF
   6558 if ac_fn_c_try_compile "$LINENO"
   6559 then :
   6560   xorg_cv_cc_flag_unknown_warning_option=yes
   6561 else $as_nop
   6562   xorg_cv_cc_flag_unknown_warning_option=no
   6563 fi
   6564 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6565 fi
   6566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6567 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6568 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6569 	CFLAGS="$xorg_testset_save_CFLAGS"
   6570 fi
   6571 
   6572 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6573 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6574 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6575 	fi
   6576 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6577 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6578 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6579 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6580 then :
   6581   printf %s "(cached) " >&6
   6582 else $as_nop
   6583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6584 /* end confdefs.h.  */
   6585 int i;
   6586 _ACEOF
   6587 if ac_fn_c_try_compile "$LINENO"
   6588 then :
   6589   xorg_cv_cc_flag_unused_command_line_argument=yes
   6590 else $as_nop
   6591   xorg_cv_cc_flag_unused_command_line_argument=no
   6592 fi
   6593 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6594 fi
   6595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6596 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6597 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6598 	CFLAGS="$xorg_testset_save_CFLAGS"
   6599 fi
   6600 
   6601 found="no"
   6602 
   6603 	if test $found = "no" ; then
   6604 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6605 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6606 		fi
   6607 
   6608 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6609 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6610 		fi
   6611 
   6612 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6613 
   6614 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6615 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6616 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6617 		if eval test \${$cacheid+y}
   6618 then :
   6619   printf %s "(cached) " >&6
   6620 else $as_nop
   6621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6622 /* end confdefs.h.  */
   6623 int i;
   6624 int
   6625 main (void)
   6626 {
   6627 
   6628   ;
   6629   return 0;
   6630 }
   6631 _ACEOF
   6632 if ac_fn_c_try_link "$LINENO"
   6633 then :
   6634   eval $cacheid=yes
   6635 else $as_nop
   6636   eval $cacheid=no
   6637 fi
   6638 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6639     conftest$ac_exeext conftest.$ac_ext
   6640 fi
   6641 
   6642 
   6643 		CFLAGS="$xorg_testset_save_CFLAGS"
   6644 
   6645 		eval supported=\$$cacheid
   6646 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6647 printf "%s\n" "$supported" >&6; }
   6648 		if test "$supported" = "yes" ; then
   6649 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6650 			found="yes"
   6651 		fi
   6652 	fi
   6653 
   6654 
   6655 
   6656 
   6657 
   6658 
   6659 
   6660 
   6661 
   6662 
   6663 
   6664 
   6665 
   6666 
   6667 
   6668 xorg_testset_save_CFLAGS="$CFLAGS"
   6669 
   6670 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6671 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6672 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6673 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6674 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6675 then :
   6676   printf %s "(cached) " >&6
   6677 else $as_nop
   6678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6679 /* end confdefs.h.  */
   6680 int i;
   6681 _ACEOF
   6682 if ac_fn_c_try_compile "$LINENO"
   6683 then :
   6684   xorg_cv_cc_flag_unknown_warning_option=yes
   6685 else $as_nop
   6686   xorg_cv_cc_flag_unknown_warning_option=no
   6687 fi
   6688 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6689 fi
   6690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6691 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6692 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6693 	CFLAGS="$xorg_testset_save_CFLAGS"
   6694 fi
   6695 
   6696 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6697 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6698 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6699 	fi
   6700 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6701 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6702 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6703 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6704 then :
   6705   printf %s "(cached) " >&6
   6706 else $as_nop
   6707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6708 /* end confdefs.h.  */
   6709 int i;
   6710 _ACEOF
   6711 if ac_fn_c_try_compile "$LINENO"
   6712 then :
   6713   xorg_cv_cc_flag_unused_command_line_argument=yes
   6714 else $as_nop
   6715   xorg_cv_cc_flag_unused_command_line_argument=no
   6716 fi
   6717 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6718 fi
   6719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6720 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6721 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6722 	CFLAGS="$xorg_testset_save_CFLAGS"
   6723 fi
   6724 
   6725 found="no"
   6726 
   6727 	if test $found = "no" ; then
   6728 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6729 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6730 		fi
   6731 
   6732 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6733 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6734 		fi
   6735 
   6736 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6737 
   6738 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6739 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6740 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6741 		if eval test \${$cacheid+y}
   6742 then :
   6743   printf %s "(cached) " >&6
   6744 else $as_nop
   6745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6746 /* end confdefs.h.  */
   6747 int i;
   6748 int
   6749 main (void)
   6750 {
   6751 
   6752   ;
   6753   return 0;
   6754 }
   6755 _ACEOF
   6756 if ac_fn_c_try_link "$LINENO"
   6757 then :
   6758   eval $cacheid=yes
   6759 else $as_nop
   6760   eval $cacheid=no
   6761 fi
   6762 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6763     conftest$ac_exeext conftest.$ac_ext
   6764 fi
   6765 
   6766 
   6767 		CFLAGS="$xorg_testset_save_CFLAGS"
   6768 
   6769 		eval supported=\$$cacheid
   6770 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6771 printf "%s\n" "$supported" >&6; }
   6772 		if test "$supported" = "yes" ; then
   6773 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6774 			found="yes"
   6775 		fi
   6776 	fi
   6777 
   6778 
   6779 
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 
   6792 xorg_testset_save_CFLAGS="$CFLAGS"
   6793 
   6794 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6795 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6796 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6797 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6798 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6799 then :
   6800   printf %s "(cached) " >&6
   6801 else $as_nop
   6802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6803 /* end confdefs.h.  */
   6804 int i;
   6805 _ACEOF
   6806 if ac_fn_c_try_compile "$LINENO"
   6807 then :
   6808   xorg_cv_cc_flag_unknown_warning_option=yes
   6809 else $as_nop
   6810   xorg_cv_cc_flag_unknown_warning_option=no
   6811 fi
   6812 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6813 fi
   6814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6815 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6816 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6817 	CFLAGS="$xorg_testset_save_CFLAGS"
   6818 fi
   6819 
   6820 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6821 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6822 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6823 	fi
   6824 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6825 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6826 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6827 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6828 then :
   6829   printf %s "(cached) " >&6
   6830 else $as_nop
   6831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6832 /* end confdefs.h.  */
   6833 int i;
   6834 _ACEOF
   6835 if ac_fn_c_try_compile "$LINENO"
   6836 then :
   6837   xorg_cv_cc_flag_unused_command_line_argument=yes
   6838 else $as_nop
   6839   xorg_cv_cc_flag_unused_command_line_argument=no
   6840 fi
   6841 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6842 fi
   6843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6844 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6845 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6846 	CFLAGS="$xorg_testset_save_CFLAGS"
   6847 fi
   6848 
   6849 found="no"
   6850 
   6851 	if test $found = "no" ; then
   6852 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6853 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6854 		fi
   6855 
   6856 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6857 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6858 		fi
   6859 
   6860 		CFLAGS="$CFLAGS -Wredundant-decls"
   6861 
   6862 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6863 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   6864 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6865 		if eval test \${$cacheid+y}
   6866 then :
   6867   printf %s "(cached) " >&6
   6868 else $as_nop
   6869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6870 /* end confdefs.h.  */
   6871 int i;
   6872 int
   6873 main (void)
   6874 {
   6875 
   6876   ;
   6877   return 0;
   6878 }
   6879 _ACEOF
   6880 if ac_fn_c_try_link "$LINENO"
   6881 then :
   6882   eval $cacheid=yes
   6883 else $as_nop
   6884   eval $cacheid=no
   6885 fi
   6886 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6887     conftest$ac_exeext conftest.$ac_ext
   6888 fi
   6889 
   6890 
   6891 		CFLAGS="$xorg_testset_save_CFLAGS"
   6892 
   6893 		eval supported=\$$cacheid
   6894 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6895 printf "%s\n" "$supported" >&6; }
   6896 		if test "$supported" = "yes" ; then
   6897 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6898 			found="yes"
   6899 		fi
   6900 	fi
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 
   6914 
   6915 
   6916 xorg_testset_save_CFLAGS="$CFLAGS"
   6917 
   6918 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6919 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6920 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6921 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6922 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6923 then :
   6924   printf %s "(cached) " >&6
   6925 else $as_nop
   6926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6927 /* end confdefs.h.  */
   6928 int i;
   6929 _ACEOF
   6930 if ac_fn_c_try_compile "$LINENO"
   6931 then :
   6932   xorg_cv_cc_flag_unknown_warning_option=yes
   6933 else $as_nop
   6934   xorg_cv_cc_flag_unknown_warning_option=no
   6935 fi
   6936 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6937 fi
   6938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6939 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6940 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6941 	CFLAGS="$xorg_testset_save_CFLAGS"
   6942 fi
   6943 
   6944 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6945 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6946 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6947 	fi
   6948 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6949 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6950 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6951 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6952 then :
   6953   printf %s "(cached) " >&6
   6954 else $as_nop
   6955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6956 /* end confdefs.h.  */
   6957 int i;
   6958 _ACEOF
   6959 if ac_fn_c_try_compile "$LINENO"
   6960 then :
   6961   xorg_cv_cc_flag_unused_command_line_argument=yes
   6962 else $as_nop
   6963   xorg_cv_cc_flag_unused_command_line_argument=no
   6964 fi
   6965 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6966 fi
   6967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6968 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6969 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6970 	CFLAGS="$xorg_testset_save_CFLAGS"
   6971 fi
   6972 
   6973 found="no"
   6974 
   6975 	if test $found = "no" ; then
   6976 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6977 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6978 		fi
   6979 
   6980 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6981 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6982 		fi
   6983 
   6984 		CFLAGS="$CFLAGS -Wlogical-op"
   6985 
   6986 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6987 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   6988 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6989 		if eval test \${$cacheid+y}
   6990 then :
   6991   printf %s "(cached) " >&6
   6992 else $as_nop
   6993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6994 /* end confdefs.h.  */
   6995 int i;
   6996 int
   6997 main (void)
   6998 {
   6999 
   7000   ;
   7001   return 0;
   7002 }
   7003 _ACEOF
   7004 if ac_fn_c_try_link "$LINENO"
   7005 then :
   7006   eval $cacheid=yes
   7007 else $as_nop
   7008   eval $cacheid=no
   7009 fi
   7010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7011     conftest$ac_exeext conftest.$ac_ext
   7012 fi
   7013 
   7014 
   7015 		CFLAGS="$xorg_testset_save_CFLAGS"
   7016 
   7017 		eval supported=\$$cacheid
   7018 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7019 printf "%s\n" "$supported" >&6; }
   7020 		if test "$supported" = "yes" ; then
   7021 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7022 			found="yes"
   7023 		fi
   7024 	fi
   7025 
   7026 
   7027 
   7028 # These are currently disabled because they are noisy.  They will be enabled
   7029 # in the future once the codebase is sufficiently modernized to silence
   7030 # them.  For now, I don't want them to drown out the other warnings.
   7031 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7032 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7033 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7034 
   7035 # Turn some warnings into errors, so we don't accidently get successful builds
   7036 # when there are problems that should be fixed.
   7037 
   7038 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7039 
   7040 
   7041 
   7042 
   7043 
   7044 
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 
   7052 xorg_testset_save_CFLAGS="$CFLAGS"
   7053 
   7054 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7055 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7056 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7057 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7058 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7059 then :
   7060   printf %s "(cached) " >&6
   7061 else $as_nop
   7062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7063 /* end confdefs.h.  */
   7064 int i;
   7065 _ACEOF
   7066 if ac_fn_c_try_compile "$LINENO"
   7067 then :
   7068   xorg_cv_cc_flag_unknown_warning_option=yes
   7069 else $as_nop
   7070   xorg_cv_cc_flag_unknown_warning_option=no
   7071 fi
   7072 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7073 fi
   7074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7075 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7076 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7077 	CFLAGS="$xorg_testset_save_CFLAGS"
   7078 fi
   7079 
   7080 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7081 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7082 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7083 	fi
   7084 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7085 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7086 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7087 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7088 then :
   7089   printf %s "(cached) " >&6
   7090 else $as_nop
   7091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7092 /* end confdefs.h.  */
   7093 int i;
   7094 _ACEOF
   7095 if ac_fn_c_try_compile "$LINENO"
   7096 then :
   7097   xorg_cv_cc_flag_unused_command_line_argument=yes
   7098 else $as_nop
   7099   xorg_cv_cc_flag_unused_command_line_argument=no
   7100 fi
   7101 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7102 fi
   7103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7104 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7105 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7106 	CFLAGS="$xorg_testset_save_CFLAGS"
   7107 fi
   7108 
   7109 found="no"
   7110 
   7111 	if test $found = "no" ; then
   7112 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7113 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7114 		fi
   7115 
   7116 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7117 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7118 		fi
   7119 
   7120 		CFLAGS="$CFLAGS -Werror=implicit"
   7121 
   7122 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7123 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7124 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7125 		if eval test \${$cacheid+y}
   7126 then :
   7127   printf %s "(cached) " >&6
   7128 else $as_nop
   7129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7130 /* end confdefs.h.  */
   7131 int i;
   7132 int
   7133 main (void)
   7134 {
   7135 
   7136   ;
   7137   return 0;
   7138 }
   7139 _ACEOF
   7140 if ac_fn_c_try_link "$LINENO"
   7141 then :
   7142   eval $cacheid=yes
   7143 else $as_nop
   7144   eval $cacheid=no
   7145 fi
   7146 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7147     conftest$ac_exeext conftest.$ac_ext
   7148 fi
   7149 
   7150 
   7151 		CFLAGS="$xorg_testset_save_CFLAGS"
   7152 
   7153 		eval supported=\$$cacheid
   7154 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7155 printf "%s\n" "$supported" >&6; }
   7156 		if test "$supported" = "yes" ; then
   7157 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7158 			found="yes"
   7159 		fi
   7160 	fi
   7161 
   7162 	if test $found = "no" ; then
   7163 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7164 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7165 		fi
   7166 
   7167 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7168 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7169 		fi
   7170 
   7171 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7172 
   7173 		{ 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
   7174 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7175 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7176 		if eval test \${$cacheid+y}
   7177 then :
   7178   printf %s "(cached) " >&6
   7179 else $as_nop
   7180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7181 /* end confdefs.h.  */
   7182 int i;
   7183 int
   7184 main (void)
   7185 {
   7186 
   7187   ;
   7188   return 0;
   7189 }
   7190 _ACEOF
   7191 if ac_fn_c_try_link "$LINENO"
   7192 then :
   7193   eval $cacheid=yes
   7194 else $as_nop
   7195   eval $cacheid=no
   7196 fi
   7197 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7198     conftest$ac_exeext conftest.$ac_ext
   7199 fi
   7200 
   7201 
   7202 		CFLAGS="$xorg_testset_save_CFLAGS"
   7203 
   7204 		eval supported=\$$cacheid
   7205 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7206 printf "%s\n" "$supported" >&6; }
   7207 		if test "$supported" = "yes" ; then
   7208 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7209 			found="yes"
   7210 		fi
   7211 	fi
   7212 
   7213 
   7214 
   7215 
   7216 
   7217 
   7218 
   7219 
   7220 
   7221 
   7222 
   7223 
   7224 
   7225 
   7226 
   7227 xorg_testset_save_CFLAGS="$CFLAGS"
   7228 
   7229 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7230 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7231 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7232 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7233 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7234 then :
   7235   printf %s "(cached) " >&6
   7236 else $as_nop
   7237   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7238 /* end confdefs.h.  */
   7239 int i;
   7240 _ACEOF
   7241 if ac_fn_c_try_compile "$LINENO"
   7242 then :
   7243   xorg_cv_cc_flag_unknown_warning_option=yes
   7244 else $as_nop
   7245   xorg_cv_cc_flag_unknown_warning_option=no
   7246 fi
   7247 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7248 fi
   7249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7250 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7251 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7252 	CFLAGS="$xorg_testset_save_CFLAGS"
   7253 fi
   7254 
   7255 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7256 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7257 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7258 	fi
   7259 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7260 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7261 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7262 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7263 then :
   7264   printf %s "(cached) " >&6
   7265 else $as_nop
   7266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7267 /* end confdefs.h.  */
   7268 int i;
   7269 _ACEOF
   7270 if ac_fn_c_try_compile "$LINENO"
   7271 then :
   7272   xorg_cv_cc_flag_unused_command_line_argument=yes
   7273 else $as_nop
   7274   xorg_cv_cc_flag_unused_command_line_argument=no
   7275 fi
   7276 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7277 fi
   7278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7279 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7280 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7281 	CFLAGS="$xorg_testset_save_CFLAGS"
   7282 fi
   7283 
   7284 found="no"
   7285 
   7286 	if test $found = "no" ; then
   7287 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7288 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7289 		fi
   7290 
   7291 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7292 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7293 		fi
   7294 
   7295 		CFLAGS="$CFLAGS -Werror=nonnull"
   7296 
   7297 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7298 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7299 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7300 		if eval test \${$cacheid+y}
   7301 then :
   7302   printf %s "(cached) " >&6
   7303 else $as_nop
   7304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7305 /* end confdefs.h.  */
   7306 int i;
   7307 int
   7308 main (void)
   7309 {
   7310 
   7311   ;
   7312   return 0;
   7313 }
   7314 _ACEOF
   7315 if ac_fn_c_try_link "$LINENO"
   7316 then :
   7317   eval $cacheid=yes
   7318 else $as_nop
   7319   eval $cacheid=no
   7320 fi
   7321 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7322     conftest$ac_exeext conftest.$ac_ext
   7323 fi
   7324 
   7325 
   7326 		CFLAGS="$xorg_testset_save_CFLAGS"
   7327 
   7328 		eval supported=\$$cacheid
   7329 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7330 printf "%s\n" "$supported" >&6; }
   7331 		if test "$supported" = "yes" ; then
   7332 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7333 			found="yes"
   7334 		fi
   7335 	fi
   7336 
   7337 
   7338 
   7339 
   7340 
   7341 
   7342 
   7343 
   7344 
   7345 
   7346 
   7347 
   7348 
   7349 
   7350 
   7351 xorg_testset_save_CFLAGS="$CFLAGS"
   7352 
   7353 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7354 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7355 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7356 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7357 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7358 then :
   7359   printf %s "(cached) " >&6
   7360 else $as_nop
   7361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7362 /* end confdefs.h.  */
   7363 int i;
   7364 _ACEOF
   7365 if ac_fn_c_try_compile "$LINENO"
   7366 then :
   7367   xorg_cv_cc_flag_unknown_warning_option=yes
   7368 else $as_nop
   7369   xorg_cv_cc_flag_unknown_warning_option=no
   7370 fi
   7371 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7372 fi
   7373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7374 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7375 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7376 	CFLAGS="$xorg_testset_save_CFLAGS"
   7377 fi
   7378 
   7379 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7380 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7381 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7382 	fi
   7383 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7384 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7385 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7386 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7387 then :
   7388   printf %s "(cached) " >&6
   7389 else $as_nop
   7390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7391 /* end confdefs.h.  */
   7392 int i;
   7393 _ACEOF
   7394 if ac_fn_c_try_compile "$LINENO"
   7395 then :
   7396   xorg_cv_cc_flag_unused_command_line_argument=yes
   7397 else $as_nop
   7398   xorg_cv_cc_flag_unused_command_line_argument=no
   7399 fi
   7400 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7401 fi
   7402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7403 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7404 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7405 	CFLAGS="$xorg_testset_save_CFLAGS"
   7406 fi
   7407 
   7408 found="no"
   7409 
   7410 	if test $found = "no" ; then
   7411 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7412 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7413 		fi
   7414 
   7415 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7416 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7417 		fi
   7418 
   7419 		CFLAGS="$CFLAGS -Werror=init-self"
   7420 
   7421 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7422 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7423 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7424 		if eval test \${$cacheid+y}
   7425 then :
   7426   printf %s "(cached) " >&6
   7427 else $as_nop
   7428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7429 /* end confdefs.h.  */
   7430 int i;
   7431 int
   7432 main (void)
   7433 {
   7434 
   7435   ;
   7436   return 0;
   7437 }
   7438 _ACEOF
   7439 if ac_fn_c_try_link "$LINENO"
   7440 then :
   7441   eval $cacheid=yes
   7442 else $as_nop
   7443   eval $cacheid=no
   7444 fi
   7445 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7446     conftest$ac_exeext conftest.$ac_ext
   7447 fi
   7448 
   7449 
   7450 		CFLAGS="$xorg_testset_save_CFLAGS"
   7451 
   7452 		eval supported=\$$cacheid
   7453 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7454 printf "%s\n" "$supported" >&6; }
   7455 		if test "$supported" = "yes" ; then
   7456 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7457 			found="yes"
   7458 		fi
   7459 	fi
   7460 
   7461 
   7462 
   7463 
   7464 
   7465 
   7466 
   7467 
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 xorg_testset_save_CFLAGS="$CFLAGS"
   7476 
   7477 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7478 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7479 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7480 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7481 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7482 then :
   7483   printf %s "(cached) " >&6
   7484 else $as_nop
   7485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7486 /* end confdefs.h.  */
   7487 int i;
   7488 _ACEOF
   7489 if ac_fn_c_try_compile "$LINENO"
   7490 then :
   7491   xorg_cv_cc_flag_unknown_warning_option=yes
   7492 else $as_nop
   7493   xorg_cv_cc_flag_unknown_warning_option=no
   7494 fi
   7495 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7496 fi
   7497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7498 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7499 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7500 	CFLAGS="$xorg_testset_save_CFLAGS"
   7501 fi
   7502 
   7503 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7504 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7505 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7506 	fi
   7507 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7508 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7509 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7510 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7511 then :
   7512   printf %s "(cached) " >&6
   7513 else $as_nop
   7514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7515 /* end confdefs.h.  */
   7516 int i;
   7517 _ACEOF
   7518 if ac_fn_c_try_compile "$LINENO"
   7519 then :
   7520   xorg_cv_cc_flag_unused_command_line_argument=yes
   7521 else $as_nop
   7522   xorg_cv_cc_flag_unused_command_line_argument=no
   7523 fi
   7524 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7525 fi
   7526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7527 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7528 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7529 	CFLAGS="$xorg_testset_save_CFLAGS"
   7530 fi
   7531 
   7532 found="no"
   7533 
   7534 	if test $found = "no" ; then
   7535 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7536 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7537 		fi
   7538 
   7539 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7540 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7541 		fi
   7542 
   7543 		CFLAGS="$CFLAGS -Werror=main"
   7544 
   7545 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7546 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7547 		cacheid=xorg_cv_cc_flag__Werror_main
   7548 		if eval test \${$cacheid+y}
   7549 then :
   7550   printf %s "(cached) " >&6
   7551 else $as_nop
   7552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7553 /* end confdefs.h.  */
   7554 int i;
   7555 int
   7556 main (void)
   7557 {
   7558 
   7559   ;
   7560   return 0;
   7561 }
   7562 _ACEOF
   7563 if ac_fn_c_try_link "$LINENO"
   7564 then :
   7565   eval $cacheid=yes
   7566 else $as_nop
   7567   eval $cacheid=no
   7568 fi
   7569 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7570     conftest$ac_exeext conftest.$ac_ext
   7571 fi
   7572 
   7573 
   7574 		CFLAGS="$xorg_testset_save_CFLAGS"
   7575 
   7576 		eval supported=\$$cacheid
   7577 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7578 printf "%s\n" "$supported" >&6; }
   7579 		if test "$supported" = "yes" ; then
   7580 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7581 			found="yes"
   7582 		fi
   7583 	fi
   7584 
   7585 
   7586 
   7587 
   7588 
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 
   7598 
   7599 xorg_testset_save_CFLAGS="$CFLAGS"
   7600 
   7601 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7602 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7603 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7604 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7605 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7606 then :
   7607   printf %s "(cached) " >&6
   7608 else $as_nop
   7609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7610 /* end confdefs.h.  */
   7611 int i;
   7612 _ACEOF
   7613 if ac_fn_c_try_compile "$LINENO"
   7614 then :
   7615   xorg_cv_cc_flag_unknown_warning_option=yes
   7616 else $as_nop
   7617   xorg_cv_cc_flag_unknown_warning_option=no
   7618 fi
   7619 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7620 fi
   7621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7622 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7623 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7624 	CFLAGS="$xorg_testset_save_CFLAGS"
   7625 fi
   7626 
   7627 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7628 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7629 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7630 	fi
   7631 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7632 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7633 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7634 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7635 then :
   7636   printf %s "(cached) " >&6
   7637 else $as_nop
   7638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7639 /* end confdefs.h.  */
   7640 int i;
   7641 _ACEOF
   7642 if ac_fn_c_try_compile "$LINENO"
   7643 then :
   7644   xorg_cv_cc_flag_unused_command_line_argument=yes
   7645 else $as_nop
   7646   xorg_cv_cc_flag_unused_command_line_argument=no
   7647 fi
   7648 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7649 fi
   7650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7651 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7652 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7653 	CFLAGS="$xorg_testset_save_CFLAGS"
   7654 fi
   7655 
   7656 found="no"
   7657 
   7658 	if test $found = "no" ; then
   7659 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7660 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7661 		fi
   7662 
   7663 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7664 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7665 		fi
   7666 
   7667 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7668 
   7669 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7670 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7671 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7672 		if eval test \${$cacheid+y}
   7673 then :
   7674   printf %s "(cached) " >&6
   7675 else $as_nop
   7676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7677 /* end confdefs.h.  */
   7678 int i;
   7679 int
   7680 main (void)
   7681 {
   7682 
   7683   ;
   7684   return 0;
   7685 }
   7686 _ACEOF
   7687 if ac_fn_c_try_link "$LINENO"
   7688 then :
   7689   eval $cacheid=yes
   7690 else $as_nop
   7691   eval $cacheid=no
   7692 fi
   7693 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7694     conftest$ac_exeext conftest.$ac_ext
   7695 fi
   7696 
   7697 
   7698 		CFLAGS="$xorg_testset_save_CFLAGS"
   7699 
   7700 		eval supported=\$$cacheid
   7701 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7702 printf "%s\n" "$supported" >&6; }
   7703 		if test "$supported" = "yes" ; then
   7704 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7705 			found="yes"
   7706 		fi
   7707 	fi
   7708 
   7709 
   7710 
   7711 
   7712 
   7713 
   7714 
   7715 
   7716 
   7717 
   7718 
   7719 
   7720 
   7721 
   7722 
   7723 xorg_testset_save_CFLAGS="$CFLAGS"
   7724 
   7725 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7726 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7727 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7728 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7729 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7730 then :
   7731   printf %s "(cached) " >&6
   7732 else $as_nop
   7733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7734 /* end confdefs.h.  */
   7735 int i;
   7736 _ACEOF
   7737 if ac_fn_c_try_compile "$LINENO"
   7738 then :
   7739   xorg_cv_cc_flag_unknown_warning_option=yes
   7740 else $as_nop
   7741   xorg_cv_cc_flag_unknown_warning_option=no
   7742 fi
   7743 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7744 fi
   7745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7746 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7747 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7748 	CFLAGS="$xorg_testset_save_CFLAGS"
   7749 fi
   7750 
   7751 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7752 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7753 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7754 	fi
   7755 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7756 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7757 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7758 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7759 then :
   7760   printf %s "(cached) " >&6
   7761 else $as_nop
   7762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7763 /* end confdefs.h.  */
   7764 int i;
   7765 _ACEOF
   7766 if ac_fn_c_try_compile "$LINENO"
   7767 then :
   7768   xorg_cv_cc_flag_unused_command_line_argument=yes
   7769 else $as_nop
   7770   xorg_cv_cc_flag_unused_command_line_argument=no
   7771 fi
   7772 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7773 fi
   7774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7775 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7776 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7777 	CFLAGS="$xorg_testset_save_CFLAGS"
   7778 fi
   7779 
   7780 found="no"
   7781 
   7782 	if test $found = "no" ; then
   7783 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7784 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7785 		fi
   7786 
   7787 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7788 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7789 		fi
   7790 
   7791 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7792 
   7793 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7794 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   7795 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7796 		if eval test \${$cacheid+y}
   7797 then :
   7798   printf %s "(cached) " >&6
   7799 else $as_nop
   7800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7801 /* end confdefs.h.  */
   7802 int i;
   7803 int
   7804 main (void)
   7805 {
   7806 
   7807   ;
   7808   return 0;
   7809 }
   7810 _ACEOF
   7811 if ac_fn_c_try_link "$LINENO"
   7812 then :
   7813   eval $cacheid=yes
   7814 else $as_nop
   7815   eval $cacheid=no
   7816 fi
   7817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7818     conftest$ac_exeext conftest.$ac_ext
   7819 fi
   7820 
   7821 
   7822 		CFLAGS="$xorg_testset_save_CFLAGS"
   7823 
   7824 		eval supported=\$$cacheid
   7825 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7826 printf "%s\n" "$supported" >&6; }
   7827 		if test "$supported" = "yes" ; then
   7828 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7829 			found="yes"
   7830 		fi
   7831 	fi
   7832 
   7833 
   7834 
   7835 
   7836 
   7837 
   7838 
   7839 
   7840 
   7841 
   7842 
   7843 
   7844 
   7845 
   7846 
   7847 xorg_testset_save_CFLAGS="$CFLAGS"
   7848 
   7849 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7850 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7851 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7852 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7853 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7854 then :
   7855   printf %s "(cached) " >&6
   7856 else $as_nop
   7857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7858 /* end confdefs.h.  */
   7859 int i;
   7860 _ACEOF
   7861 if ac_fn_c_try_compile "$LINENO"
   7862 then :
   7863   xorg_cv_cc_flag_unknown_warning_option=yes
   7864 else $as_nop
   7865   xorg_cv_cc_flag_unknown_warning_option=no
   7866 fi
   7867 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7868 fi
   7869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7870 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7871 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7872 	CFLAGS="$xorg_testset_save_CFLAGS"
   7873 fi
   7874 
   7875 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7876 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7877 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7878 	fi
   7879 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7880 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7881 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7882 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7883 then :
   7884   printf %s "(cached) " >&6
   7885 else $as_nop
   7886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7887 /* end confdefs.h.  */
   7888 int i;
   7889 _ACEOF
   7890 if ac_fn_c_try_compile "$LINENO"
   7891 then :
   7892   xorg_cv_cc_flag_unused_command_line_argument=yes
   7893 else $as_nop
   7894   xorg_cv_cc_flag_unused_command_line_argument=no
   7895 fi
   7896 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7897 fi
   7898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7899 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7900 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7901 	CFLAGS="$xorg_testset_save_CFLAGS"
   7902 fi
   7903 
   7904 found="no"
   7905 
   7906 	if test $found = "no" ; then
   7907 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7908 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7909 		fi
   7910 
   7911 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7912 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7913 		fi
   7914 
   7915 		CFLAGS="$CFLAGS -Werror=return-type"
   7916 
   7917 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7918 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   7919 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7920 		if eval test \${$cacheid+y}
   7921 then :
   7922   printf %s "(cached) " >&6
   7923 else $as_nop
   7924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7925 /* end confdefs.h.  */
   7926 int i;
   7927 int
   7928 main (void)
   7929 {
   7930 
   7931   ;
   7932   return 0;
   7933 }
   7934 _ACEOF
   7935 if ac_fn_c_try_link "$LINENO"
   7936 then :
   7937   eval $cacheid=yes
   7938 else $as_nop
   7939   eval $cacheid=no
   7940 fi
   7941 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7942     conftest$ac_exeext conftest.$ac_ext
   7943 fi
   7944 
   7945 
   7946 		CFLAGS="$xorg_testset_save_CFLAGS"
   7947 
   7948 		eval supported=\$$cacheid
   7949 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7950 printf "%s\n" "$supported" >&6; }
   7951 		if test "$supported" = "yes" ; then
   7952 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7953 			found="yes"
   7954 		fi
   7955 	fi
   7956 
   7957 	if test $found = "no" ; then
   7958 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7959 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7960 		fi
   7961 
   7962 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7963 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7964 		fi
   7965 
   7966 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7967 
   7968 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7969 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7970 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7971 		if eval test \${$cacheid+y}
   7972 then :
   7973   printf %s "(cached) " >&6
   7974 else $as_nop
   7975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7976 /* end confdefs.h.  */
   7977 int i;
   7978 int
   7979 main (void)
   7980 {
   7981 
   7982   ;
   7983   return 0;
   7984 }
   7985 _ACEOF
   7986 if ac_fn_c_try_link "$LINENO"
   7987 then :
   7988   eval $cacheid=yes
   7989 else $as_nop
   7990   eval $cacheid=no
   7991 fi
   7992 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7993     conftest$ac_exeext conftest.$ac_ext
   7994 fi
   7995 
   7996 
   7997 		CFLAGS="$xorg_testset_save_CFLAGS"
   7998 
   7999 		eval supported=\$$cacheid
   8000 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8001 printf "%s\n" "$supported" >&6; }
   8002 		if test "$supported" = "yes" ; then
   8003 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8004 			found="yes"
   8005 		fi
   8006 	fi
   8007 
   8008 
   8009 
   8010 
   8011 
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 xorg_testset_save_CFLAGS="$CFLAGS"
   8023 
   8024 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8025 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8026 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8027 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8028 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8029 then :
   8030   printf %s "(cached) " >&6
   8031 else $as_nop
   8032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8033 /* end confdefs.h.  */
   8034 int i;
   8035 _ACEOF
   8036 if ac_fn_c_try_compile "$LINENO"
   8037 then :
   8038   xorg_cv_cc_flag_unknown_warning_option=yes
   8039 else $as_nop
   8040   xorg_cv_cc_flag_unknown_warning_option=no
   8041 fi
   8042 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8043 fi
   8044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8045 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8046 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8047 	CFLAGS="$xorg_testset_save_CFLAGS"
   8048 fi
   8049 
   8050 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8051 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8052 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8053 	fi
   8054 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8055 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8056 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8057 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8058 then :
   8059   printf %s "(cached) " >&6
   8060 else $as_nop
   8061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8062 /* end confdefs.h.  */
   8063 int i;
   8064 _ACEOF
   8065 if ac_fn_c_try_compile "$LINENO"
   8066 then :
   8067   xorg_cv_cc_flag_unused_command_line_argument=yes
   8068 else $as_nop
   8069   xorg_cv_cc_flag_unused_command_line_argument=no
   8070 fi
   8071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8072 fi
   8073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8074 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8075 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8076 	CFLAGS="$xorg_testset_save_CFLAGS"
   8077 fi
   8078 
   8079 found="no"
   8080 
   8081 	if test $found = "no" ; then
   8082 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8083 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8084 		fi
   8085 
   8086 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8087 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8088 		fi
   8089 
   8090 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8091 
   8092 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8093 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8094 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8095 		if eval test \${$cacheid+y}
   8096 then :
   8097   printf %s "(cached) " >&6
   8098 else $as_nop
   8099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8100 /* end confdefs.h.  */
   8101 int i;
   8102 int
   8103 main (void)
   8104 {
   8105 
   8106   ;
   8107   return 0;
   8108 }
   8109 _ACEOF
   8110 if ac_fn_c_try_link "$LINENO"
   8111 then :
   8112   eval $cacheid=yes
   8113 else $as_nop
   8114   eval $cacheid=no
   8115 fi
   8116 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8117     conftest$ac_exeext conftest.$ac_ext
   8118 fi
   8119 
   8120 
   8121 		CFLAGS="$xorg_testset_save_CFLAGS"
   8122 
   8123 		eval supported=\$$cacheid
   8124 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8125 printf "%s\n" "$supported" >&6; }
   8126 		if test "$supported" = "yes" ; then
   8127 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8128 			found="yes"
   8129 		fi
   8130 	fi
   8131 
   8132 
   8133 
   8134 
   8135 
   8136 
   8137 
   8138 
   8139 
   8140 
   8141 
   8142 
   8143 
   8144 
   8145 
   8146 xorg_testset_save_CFLAGS="$CFLAGS"
   8147 
   8148 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8149 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8150 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8151 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8152 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8153 then :
   8154   printf %s "(cached) " >&6
   8155 else $as_nop
   8156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8157 /* end confdefs.h.  */
   8158 int i;
   8159 _ACEOF
   8160 if ac_fn_c_try_compile "$LINENO"
   8161 then :
   8162   xorg_cv_cc_flag_unknown_warning_option=yes
   8163 else $as_nop
   8164   xorg_cv_cc_flag_unknown_warning_option=no
   8165 fi
   8166 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8167 fi
   8168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8169 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8170 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8171 	CFLAGS="$xorg_testset_save_CFLAGS"
   8172 fi
   8173 
   8174 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8175 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8176 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8177 	fi
   8178 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8179 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8180 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8181 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8182 then :
   8183   printf %s "(cached) " >&6
   8184 else $as_nop
   8185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8186 /* end confdefs.h.  */
   8187 int i;
   8188 _ACEOF
   8189 if ac_fn_c_try_compile "$LINENO"
   8190 then :
   8191   xorg_cv_cc_flag_unused_command_line_argument=yes
   8192 else $as_nop
   8193   xorg_cv_cc_flag_unused_command_line_argument=no
   8194 fi
   8195 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8196 fi
   8197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8198 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8199 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8200 	CFLAGS="$xorg_testset_save_CFLAGS"
   8201 fi
   8202 
   8203 found="no"
   8204 
   8205 	if test $found = "no" ; then
   8206 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8207 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8208 		fi
   8209 
   8210 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8211 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8212 		fi
   8213 
   8214 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8215 
   8216 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8217 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8218 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8219 		if eval test \${$cacheid+y}
   8220 then :
   8221   printf %s "(cached) " >&6
   8222 else $as_nop
   8223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8224 /* end confdefs.h.  */
   8225 int i;
   8226 int
   8227 main (void)
   8228 {
   8229 
   8230   ;
   8231   return 0;
   8232 }
   8233 _ACEOF
   8234 if ac_fn_c_try_link "$LINENO"
   8235 then :
   8236   eval $cacheid=yes
   8237 else $as_nop
   8238   eval $cacheid=no
   8239 fi
   8240 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8241     conftest$ac_exeext conftest.$ac_ext
   8242 fi
   8243 
   8244 
   8245 		CFLAGS="$xorg_testset_save_CFLAGS"
   8246 
   8247 		eval supported=\$$cacheid
   8248 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8249 printf "%s\n" "$supported" >&6; }
   8250 		if test "$supported" = "yes" ; then
   8251 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8252 			found="yes"
   8253 		fi
   8254 	fi
   8255 
   8256 
   8257 
   8258 
   8259 
   8260 
   8261 
   8262 
   8263 
   8264 
   8265 
   8266 
   8267 
   8268 
   8269 
   8270 xorg_testset_save_CFLAGS="$CFLAGS"
   8271 
   8272 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8273 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8274 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8275 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8276 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8277 then :
   8278   printf %s "(cached) " >&6
   8279 else $as_nop
   8280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8281 /* end confdefs.h.  */
   8282 int i;
   8283 _ACEOF
   8284 if ac_fn_c_try_compile "$LINENO"
   8285 then :
   8286   xorg_cv_cc_flag_unknown_warning_option=yes
   8287 else $as_nop
   8288   xorg_cv_cc_flag_unknown_warning_option=no
   8289 fi
   8290 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8291 fi
   8292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8293 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8294 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8295 	CFLAGS="$xorg_testset_save_CFLAGS"
   8296 fi
   8297 
   8298 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8299 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8300 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8301 	fi
   8302 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8303 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8304 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8305 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8306 then :
   8307   printf %s "(cached) " >&6
   8308 else $as_nop
   8309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8310 /* end confdefs.h.  */
   8311 int i;
   8312 _ACEOF
   8313 if ac_fn_c_try_compile "$LINENO"
   8314 then :
   8315   xorg_cv_cc_flag_unused_command_line_argument=yes
   8316 else $as_nop
   8317   xorg_cv_cc_flag_unused_command_line_argument=no
   8318 fi
   8319 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8320 fi
   8321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8322 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8323 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8324 	CFLAGS="$xorg_testset_save_CFLAGS"
   8325 fi
   8326 
   8327 found="no"
   8328 
   8329 	if test $found = "no" ; then
   8330 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8331 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8332 		fi
   8333 
   8334 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8335 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8336 		fi
   8337 
   8338 		CFLAGS="$CFLAGS -Werror=write-strings"
   8339 
   8340 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8341 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8342 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8343 		if eval test \${$cacheid+y}
   8344 then :
   8345   printf %s "(cached) " >&6
   8346 else $as_nop
   8347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8348 /* end confdefs.h.  */
   8349 int i;
   8350 int
   8351 main (void)
   8352 {
   8353 
   8354   ;
   8355   return 0;
   8356 }
   8357 _ACEOF
   8358 if ac_fn_c_try_link "$LINENO"
   8359 then :
   8360   eval $cacheid=yes
   8361 else $as_nop
   8362   eval $cacheid=no
   8363 fi
   8364 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8365     conftest$ac_exeext conftest.$ac_ext
   8366 fi
   8367 
   8368 
   8369 		CFLAGS="$xorg_testset_save_CFLAGS"
   8370 
   8371 		eval supported=\$$cacheid
   8372 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8373 printf "%s\n" "$supported" >&6; }
   8374 		if test "$supported" = "yes" ; then
   8375 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8376 			found="yes"
   8377 		fi
   8378 	fi
   8379 
   8380 
   8381 
   8382 
   8383 
   8384 
   8385 
   8386 
   8387 
   8388 
   8389 
   8390 
   8391 
   8392 
   8393 
   8394 xorg_testset_save_CFLAGS="$CFLAGS"
   8395 
   8396 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8397 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8398 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8399 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8400 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8401 then :
   8402   printf %s "(cached) " >&6
   8403 else $as_nop
   8404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8405 /* end confdefs.h.  */
   8406 int i;
   8407 _ACEOF
   8408 if ac_fn_c_try_compile "$LINENO"
   8409 then :
   8410   xorg_cv_cc_flag_unknown_warning_option=yes
   8411 else $as_nop
   8412   xorg_cv_cc_flag_unknown_warning_option=no
   8413 fi
   8414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8415 fi
   8416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8417 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8418 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8419 	CFLAGS="$xorg_testset_save_CFLAGS"
   8420 fi
   8421 
   8422 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8423 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8424 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8425 	fi
   8426 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8427 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8428 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8429 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8430 then :
   8431   printf %s "(cached) " >&6
   8432 else $as_nop
   8433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8434 /* end confdefs.h.  */
   8435 int i;
   8436 _ACEOF
   8437 if ac_fn_c_try_compile "$LINENO"
   8438 then :
   8439   xorg_cv_cc_flag_unused_command_line_argument=yes
   8440 else $as_nop
   8441   xorg_cv_cc_flag_unused_command_line_argument=no
   8442 fi
   8443 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8444 fi
   8445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8446 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8447 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8448 	CFLAGS="$xorg_testset_save_CFLAGS"
   8449 fi
   8450 
   8451 found="no"
   8452 
   8453 	if test $found = "no" ; then
   8454 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8455 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8456 		fi
   8457 
   8458 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8459 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8460 		fi
   8461 
   8462 		CFLAGS="$CFLAGS -Werror=address"
   8463 
   8464 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8465 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8466 		cacheid=xorg_cv_cc_flag__Werror_address
   8467 		if eval test \${$cacheid+y}
   8468 then :
   8469   printf %s "(cached) " >&6
   8470 else $as_nop
   8471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8472 /* end confdefs.h.  */
   8473 int i;
   8474 int
   8475 main (void)
   8476 {
   8477 
   8478   ;
   8479   return 0;
   8480 }
   8481 _ACEOF
   8482 if ac_fn_c_try_link "$LINENO"
   8483 then :
   8484   eval $cacheid=yes
   8485 else $as_nop
   8486   eval $cacheid=no
   8487 fi
   8488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8489     conftest$ac_exeext conftest.$ac_ext
   8490 fi
   8491 
   8492 
   8493 		CFLAGS="$xorg_testset_save_CFLAGS"
   8494 
   8495 		eval supported=\$$cacheid
   8496 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8497 printf "%s\n" "$supported" >&6; }
   8498 		if test "$supported" = "yes" ; then
   8499 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8500 			found="yes"
   8501 		fi
   8502 	fi
   8503 
   8504 
   8505 
   8506 
   8507 
   8508 
   8509 
   8510 
   8511 
   8512 
   8513 
   8514 
   8515 
   8516 
   8517 
   8518 xorg_testset_save_CFLAGS="$CFLAGS"
   8519 
   8520 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8521 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8522 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8523 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8524 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8525 then :
   8526   printf %s "(cached) " >&6
   8527 else $as_nop
   8528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8529 /* end confdefs.h.  */
   8530 int i;
   8531 _ACEOF
   8532 if ac_fn_c_try_compile "$LINENO"
   8533 then :
   8534   xorg_cv_cc_flag_unknown_warning_option=yes
   8535 else $as_nop
   8536   xorg_cv_cc_flag_unknown_warning_option=no
   8537 fi
   8538 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8539 fi
   8540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8541 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8542 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8543 	CFLAGS="$xorg_testset_save_CFLAGS"
   8544 fi
   8545 
   8546 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8547 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8548 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8549 	fi
   8550 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8551 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8552 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8553 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8554 then :
   8555   printf %s "(cached) " >&6
   8556 else $as_nop
   8557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8558 /* end confdefs.h.  */
   8559 int i;
   8560 _ACEOF
   8561 if ac_fn_c_try_compile "$LINENO"
   8562 then :
   8563   xorg_cv_cc_flag_unused_command_line_argument=yes
   8564 else $as_nop
   8565   xorg_cv_cc_flag_unused_command_line_argument=no
   8566 fi
   8567 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8568 fi
   8569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8570 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8571 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8572 	CFLAGS="$xorg_testset_save_CFLAGS"
   8573 fi
   8574 
   8575 found="no"
   8576 
   8577 	if test $found = "no" ; then
   8578 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8579 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8580 		fi
   8581 
   8582 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8583 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8584 		fi
   8585 
   8586 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8587 
   8588 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8589 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8590 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8591 		if eval test \${$cacheid+y}
   8592 then :
   8593   printf %s "(cached) " >&6
   8594 else $as_nop
   8595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8596 /* end confdefs.h.  */
   8597 int i;
   8598 int
   8599 main (void)
   8600 {
   8601 
   8602   ;
   8603   return 0;
   8604 }
   8605 _ACEOF
   8606 if ac_fn_c_try_link "$LINENO"
   8607 then :
   8608   eval $cacheid=yes
   8609 else $as_nop
   8610   eval $cacheid=no
   8611 fi
   8612 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8613     conftest$ac_exeext conftest.$ac_ext
   8614 fi
   8615 
   8616 
   8617 		CFLAGS="$xorg_testset_save_CFLAGS"
   8618 
   8619 		eval supported=\$$cacheid
   8620 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8621 printf "%s\n" "$supported" >&6; }
   8622 		if test "$supported" = "yes" ; then
   8623 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8624 			found="yes"
   8625 		fi
   8626 	fi
   8627 
   8628 	if test $found = "no" ; then
   8629 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8630 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8631 		fi
   8632 
   8633 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8634 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8635 		fi
   8636 
   8637 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8638 
   8639 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8640 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8641 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8642 		if eval test \${$cacheid+y}
   8643 then :
   8644   printf %s "(cached) " >&6
   8645 else $as_nop
   8646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8647 /* end confdefs.h.  */
   8648 int i;
   8649 int
   8650 main (void)
   8651 {
   8652 
   8653   ;
   8654   return 0;
   8655 }
   8656 _ACEOF
   8657 if ac_fn_c_try_link "$LINENO"
   8658 then :
   8659   eval $cacheid=yes
   8660 else $as_nop
   8661   eval $cacheid=no
   8662 fi
   8663 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8664     conftest$ac_exeext conftest.$ac_ext
   8665 fi
   8666 
   8667 
   8668 		CFLAGS="$xorg_testset_save_CFLAGS"
   8669 
   8670 		eval supported=\$$cacheid
   8671 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8672 printf "%s\n" "$supported" >&6; }
   8673 		if test "$supported" = "yes" ; then
   8674 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8675 			found="yes"
   8676 		fi
   8677 	fi
   8678 
   8679 
   8680 
   8681 
   8682 
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 
   8689 
   8690 
   8691 
   8692 
   8693 xorg_testset_save_CFLAGS="$CFLAGS"
   8694 
   8695 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8696 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8697 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8698 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8699 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8700 then :
   8701   printf %s "(cached) " >&6
   8702 else $as_nop
   8703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8704 /* end confdefs.h.  */
   8705 int i;
   8706 _ACEOF
   8707 if ac_fn_c_try_compile "$LINENO"
   8708 then :
   8709   xorg_cv_cc_flag_unknown_warning_option=yes
   8710 else $as_nop
   8711   xorg_cv_cc_flag_unknown_warning_option=no
   8712 fi
   8713 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8714 fi
   8715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8716 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8717 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8718 	CFLAGS="$xorg_testset_save_CFLAGS"
   8719 fi
   8720 
   8721 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8722 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8723 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8724 	fi
   8725 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8726 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8727 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8728 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8729 then :
   8730   printf %s "(cached) " >&6
   8731 else $as_nop
   8732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8733 /* end confdefs.h.  */
   8734 int i;
   8735 _ACEOF
   8736 if ac_fn_c_try_compile "$LINENO"
   8737 then :
   8738   xorg_cv_cc_flag_unused_command_line_argument=yes
   8739 else $as_nop
   8740   xorg_cv_cc_flag_unused_command_line_argument=no
   8741 fi
   8742 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8743 fi
   8744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8745 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8746 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8747 	CFLAGS="$xorg_testset_save_CFLAGS"
   8748 fi
   8749 
   8750 found="no"
   8751 
   8752 	if test $found = "no" ; then
   8753 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8754 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8755 		fi
   8756 
   8757 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8758 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8759 		fi
   8760 
   8761 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8762 
   8763 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8764 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8765 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8766 		if eval test \${$cacheid+y}
   8767 then :
   8768   printf %s "(cached) " >&6
   8769 else $as_nop
   8770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8771 /* end confdefs.h.  */
   8772 int i;
   8773 int
   8774 main (void)
   8775 {
   8776 
   8777   ;
   8778   return 0;
   8779 }
   8780 _ACEOF
   8781 if ac_fn_c_try_link "$LINENO"
   8782 then :
   8783   eval $cacheid=yes
   8784 else $as_nop
   8785   eval $cacheid=no
   8786 fi
   8787 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8788     conftest$ac_exeext conftest.$ac_ext
   8789 fi
   8790 
   8791 
   8792 		CFLAGS="$xorg_testset_save_CFLAGS"
   8793 
   8794 		eval supported=\$$cacheid
   8795 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8796 printf "%s\n" "$supported" >&6; }
   8797 		if test "$supported" = "yes" ; then
   8798 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8799 			found="yes"
   8800 		fi
   8801 	fi
   8802 
   8803  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8804 else
   8805 { 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
   8806 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;}
   8807 
   8808 
   8809 
   8810 
   8811 
   8812 
   8813 
   8814 
   8815 
   8816 
   8817 
   8818 
   8819 
   8820 xorg_testset_save_CFLAGS="$CFLAGS"
   8821 
   8822 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8823 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8824 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8825 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8826 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8827 then :
   8828   printf %s "(cached) " >&6
   8829 else $as_nop
   8830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8831 /* end confdefs.h.  */
   8832 int i;
   8833 _ACEOF
   8834 if ac_fn_c_try_compile "$LINENO"
   8835 then :
   8836   xorg_cv_cc_flag_unknown_warning_option=yes
   8837 else $as_nop
   8838   xorg_cv_cc_flag_unknown_warning_option=no
   8839 fi
   8840 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8841 fi
   8842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8843 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8844 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8845 	CFLAGS="$xorg_testset_save_CFLAGS"
   8846 fi
   8847 
   8848 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8849 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8850 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8851 	fi
   8852 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8853 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8854 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8855 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8856 then :
   8857   printf %s "(cached) " >&6
   8858 else $as_nop
   8859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8860 /* end confdefs.h.  */
   8861 int i;
   8862 _ACEOF
   8863 if ac_fn_c_try_compile "$LINENO"
   8864 then :
   8865   xorg_cv_cc_flag_unused_command_line_argument=yes
   8866 else $as_nop
   8867   xorg_cv_cc_flag_unused_command_line_argument=no
   8868 fi
   8869 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8870 fi
   8871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8872 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8873 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8874 	CFLAGS="$xorg_testset_save_CFLAGS"
   8875 fi
   8876 
   8877 found="no"
   8878 
   8879 	if test $found = "no" ; then
   8880 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8881 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8882 		fi
   8883 
   8884 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8885 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8886 		fi
   8887 
   8888 		CFLAGS="$CFLAGS -Wimplicit"
   8889 
   8890 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8891 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   8892 		cacheid=xorg_cv_cc_flag__Wimplicit
   8893 		if eval test \${$cacheid+y}
   8894 then :
   8895   printf %s "(cached) " >&6
   8896 else $as_nop
   8897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8898 /* end confdefs.h.  */
   8899 int i;
   8900 int
   8901 main (void)
   8902 {
   8903 
   8904   ;
   8905   return 0;
   8906 }
   8907 _ACEOF
   8908 if ac_fn_c_try_link "$LINENO"
   8909 then :
   8910   eval $cacheid=yes
   8911 else $as_nop
   8912   eval $cacheid=no
   8913 fi
   8914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8915     conftest$ac_exeext conftest.$ac_ext
   8916 fi
   8917 
   8918 
   8919 		CFLAGS="$xorg_testset_save_CFLAGS"
   8920 
   8921 		eval supported=\$$cacheid
   8922 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8923 printf "%s\n" "$supported" >&6; }
   8924 		if test "$supported" = "yes" ; then
   8925 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8926 			found="yes"
   8927 		fi
   8928 	fi
   8929 
   8930 
   8931 
   8932 
   8933 
   8934 
   8935 
   8936 
   8937 
   8938 
   8939 
   8940 
   8941 
   8942 
   8943 
   8944 xorg_testset_save_CFLAGS="$CFLAGS"
   8945 
   8946 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8947 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8948 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8949 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8950 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8951 then :
   8952   printf %s "(cached) " >&6
   8953 else $as_nop
   8954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8955 /* end confdefs.h.  */
   8956 int i;
   8957 _ACEOF
   8958 if ac_fn_c_try_compile "$LINENO"
   8959 then :
   8960   xorg_cv_cc_flag_unknown_warning_option=yes
   8961 else $as_nop
   8962   xorg_cv_cc_flag_unknown_warning_option=no
   8963 fi
   8964 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8965 fi
   8966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8967 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8968 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8969 	CFLAGS="$xorg_testset_save_CFLAGS"
   8970 fi
   8971 
   8972 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8973 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8974 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8975 	fi
   8976 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8977 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8978 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8979 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8980 then :
   8981   printf %s "(cached) " >&6
   8982 else $as_nop
   8983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8984 /* end confdefs.h.  */
   8985 int i;
   8986 _ACEOF
   8987 if ac_fn_c_try_compile "$LINENO"
   8988 then :
   8989   xorg_cv_cc_flag_unused_command_line_argument=yes
   8990 else $as_nop
   8991   xorg_cv_cc_flag_unused_command_line_argument=no
   8992 fi
   8993 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8994 fi
   8995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8996 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8997 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8998 	CFLAGS="$xorg_testset_save_CFLAGS"
   8999 fi
   9000 
   9001 found="no"
   9002 
   9003 	if test $found = "no" ; then
   9004 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9005 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9006 		fi
   9007 
   9008 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9009 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9010 		fi
   9011 
   9012 		CFLAGS="$CFLAGS -Wnonnull"
   9013 
   9014 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9015 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9016 		cacheid=xorg_cv_cc_flag__Wnonnull
   9017 		if eval test \${$cacheid+y}
   9018 then :
   9019   printf %s "(cached) " >&6
   9020 else $as_nop
   9021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9022 /* end confdefs.h.  */
   9023 int i;
   9024 int
   9025 main (void)
   9026 {
   9027 
   9028   ;
   9029   return 0;
   9030 }
   9031 _ACEOF
   9032 if ac_fn_c_try_link "$LINENO"
   9033 then :
   9034   eval $cacheid=yes
   9035 else $as_nop
   9036   eval $cacheid=no
   9037 fi
   9038 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9039     conftest$ac_exeext conftest.$ac_ext
   9040 fi
   9041 
   9042 
   9043 		CFLAGS="$xorg_testset_save_CFLAGS"
   9044 
   9045 		eval supported=\$$cacheid
   9046 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9047 printf "%s\n" "$supported" >&6; }
   9048 		if test "$supported" = "yes" ; then
   9049 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9050 			found="yes"
   9051 		fi
   9052 	fi
   9053 
   9054 
   9055 
   9056 
   9057 
   9058 
   9059 
   9060 
   9061 
   9062 
   9063 
   9064 
   9065 
   9066 
   9067 
   9068 xorg_testset_save_CFLAGS="$CFLAGS"
   9069 
   9070 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9071 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9072 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9073 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9074 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9075 then :
   9076   printf %s "(cached) " >&6
   9077 else $as_nop
   9078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9079 /* end confdefs.h.  */
   9080 int i;
   9081 _ACEOF
   9082 if ac_fn_c_try_compile "$LINENO"
   9083 then :
   9084   xorg_cv_cc_flag_unknown_warning_option=yes
   9085 else $as_nop
   9086   xorg_cv_cc_flag_unknown_warning_option=no
   9087 fi
   9088 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9089 fi
   9090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9091 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9092 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9093 	CFLAGS="$xorg_testset_save_CFLAGS"
   9094 fi
   9095 
   9096 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9097 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9098 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9099 	fi
   9100 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9101 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9102 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9103 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9104 then :
   9105   printf %s "(cached) " >&6
   9106 else $as_nop
   9107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9108 /* end confdefs.h.  */
   9109 int i;
   9110 _ACEOF
   9111 if ac_fn_c_try_compile "$LINENO"
   9112 then :
   9113   xorg_cv_cc_flag_unused_command_line_argument=yes
   9114 else $as_nop
   9115   xorg_cv_cc_flag_unused_command_line_argument=no
   9116 fi
   9117 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9118 fi
   9119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9120 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9121 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9122 	CFLAGS="$xorg_testset_save_CFLAGS"
   9123 fi
   9124 
   9125 found="no"
   9126 
   9127 	if test $found = "no" ; then
   9128 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9129 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9130 		fi
   9131 
   9132 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9133 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9134 		fi
   9135 
   9136 		CFLAGS="$CFLAGS -Winit-self"
   9137 
   9138 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9139 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9140 		cacheid=xorg_cv_cc_flag__Winit_self
   9141 		if eval test \${$cacheid+y}
   9142 then :
   9143   printf %s "(cached) " >&6
   9144 else $as_nop
   9145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9146 /* end confdefs.h.  */
   9147 int i;
   9148 int
   9149 main (void)
   9150 {
   9151 
   9152   ;
   9153   return 0;
   9154 }
   9155 _ACEOF
   9156 if ac_fn_c_try_link "$LINENO"
   9157 then :
   9158   eval $cacheid=yes
   9159 else $as_nop
   9160   eval $cacheid=no
   9161 fi
   9162 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9163     conftest$ac_exeext conftest.$ac_ext
   9164 fi
   9165 
   9166 
   9167 		CFLAGS="$xorg_testset_save_CFLAGS"
   9168 
   9169 		eval supported=\$$cacheid
   9170 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9171 printf "%s\n" "$supported" >&6; }
   9172 		if test "$supported" = "yes" ; then
   9173 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9174 			found="yes"
   9175 		fi
   9176 	fi
   9177 
   9178 
   9179 
   9180 
   9181 
   9182 
   9183 
   9184 
   9185 
   9186 
   9187 
   9188 
   9189 
   9190 
   9191 
   9192 xorg_testset_save_CFLAGS="$CFLAGS"
   9193 
   9194 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9195 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9196 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9197 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9198 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9199 then :
   9200   printf %s "(cached) " >&6
   9201 else $as_nop
   9202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9203 /* end confdefs.h.  */
   9204 int i;
   9205 _ACEOF
   9206 if ac_fn_c_try_compile "$LINENO"
   9207 then :
   9208   xorg_cv_cc_flag_unknown_warning_option=yes
   9209 else $as_nop
   9210   xorg_cv_cc_flag_unknown_warning_option=no
   9211 fi
   9212 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9213 fi
   9214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9215 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9216 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9217 	CFLAGS="$xorg_testset_save_CFLAGS"
   9218 fi
   9219 
   9220 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9221 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9222 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9223 	fi
   9224 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9225 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9226 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9227 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9228 then :
   9229   printf %s "(cached) " >&6
   9230 else $as_nop
   9231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9232 /* end confdefs.h.  */
   9233 int i;
   9234 _ACEOF
   9235 if ac_fn_c_try_compile "$LINENO"
   9236 then :
   9237   xorg_cv_cc_flag_unused_command_line_argument=yes
   9238 else $as_nop
   9239   xorg_cv_cc_flag_unused_command_line_argument=no
   9240 fi
   9241 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9242 fi
   9243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9244 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9245 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9246 	CFLAGS="$xorg_testset_save_CFLAGS"
   9247 fi
   9248 
   9249 found="no"
   9250 
   9251 	if test $found = "no" ; then
   9252 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9253 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9254 		fi
   9255 
   9256 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9257 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9258 		fi
   9259 
   9260 		CFLAGS="$CFLAGS -Wmain"
   9261 
   9262 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9263 printf %s "checking if $CC supports -Wmain... " >&6; }
   9264 		cacheid=xorg_cv_cc_flag__Wmain
   9265 		if eval test \${$cacheid+y}
   9266 then :
   9267   printf %s "(cached) " >&6
   9268 else $as_nop
   9269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9270 /* end confdefs.h.  */
   9271 int i;
   9272 int
   9273 main (void)
   9274 {
   9275 
   9276   ;
   9277   return 0;
   9278 }
   9279 _ACEOF
   9280 if ac_fn_c_try_link "$LINENO"
   9281 then :
   9282   eval $cacheid=yes
   9283 else $as_nop
   9284   eval $cacheid=no
   9285 fi
   9286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9287     conftest$ac_exeext conftest.$ac_ext
   9288 fi
   9289 
   9290 
   9291 		CFLAGS="$xorg_testset_save_CFLAGS"
   9292 
   9293 		eval supported=\$$cacheid
   9294 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9295 printf "%s\n" "$supported" >&6; }
   9296 		if test "$supported" = "yes" ; then
   9297 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9298 			found="yes"
   9299 		fi
   9300 	fi
   9301 
   9302 
   9303 
   9304 
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 xorg_testset_save_CFLAGS="$CFLAGS"
   9317 
   9318 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9319 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9320 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9321 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9322 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9323 then :
   9324   printf %s "(cached) " >&6
   9325 else $as_nop
   9326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9327 /* end confdefs.h.  */
   9328 int i;
   9329 _ACEOF
   9330 if ac_fn_c_try_compile "$LINENO"
   9331 then :
   9332   xorg_cv_cc_flag_unknown_warning_option=yes
   9333 else $as_nop
   9334   xorg_cv_cc_flag_unknown_warning_option=no
   9335 fi
   9336 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9337 fi
   9338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9339 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9340 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9341 	CFLAGS="$xorg_testset_save_CFLAGS"
   9342 fi
   9343 
   9344 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9345 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9346 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9347 	fi
   9348 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9349 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9350 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9351 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9352 then :
   9353   printf %s "(cached) " >&6
   9354 else $as_nop
   9355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9356 /* end confdefs.h.  */
   9357 int i;
   9358 _ACEOF
   9359 if ac_fn_c_try_compile "$LINENO"
   9360 then :
   9361   xorg_cv_cc_flag_unused_command_line_argument=yes
   9362 else $as_nop
   9363   xorg_cv_cc_flag_unused_command_line_argument=no
   9364 fi
   9365 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9366 fi
   9367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9368 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9369 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9370 	CFLAGS="$xorg_testset_save_CFLAGS"
   9371 fi
   9372 
   9373 found="no"
   9374 
   9375 	if test $found = "no" ; then
   9376 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9377 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9378 		fi
   9379 
   9380 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9381 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9382 		fi
   9383 
   9384 		CFLAGS="$CFLAGS -Wmissing-braces"
   9385 
   9386 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9387 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9388 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9389 		if eval test \${$cacheid+y}
   9390 then :
   9391   printf %s "(cached) " >&6
   9392 else $as_nop
   9393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9394 /* end confdefs.h.  */
   9395 int i;
   9396 int
   9397 main (void)
   9398 {
   9399 
   9400   ;
   9401   return 0;
   9402 }
   9403 _ACEOF
   9404 if ac_fn_c_try_link "$LINENO"
   9405 then :
   9406   eval $cacheid=yes
   9407 else $as_nop
   9408   eval $cacheid=no
   9409 fi
   9410 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9411     conftest$ac_exeext conftest.$ac_ext
   9412 fi
   9413 
   9414 
   9415 		CFLAGS="$xorg_testset_save_CFLAGS"
   9416 
   9417 		eval supported=\$$cacheid
   9418 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9419 printf "%s\n" "$supported" >&6; }
   9420 		if test "$supported" = "yes" ; then
   9421 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9422 			found="yes"
   9423 		fi
   9424 	fi
   9425 
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 
   9436 
   9437 
   9438 
   9439 
   9440 xorg_testset_save_CFLAGS="$CFLAGS"
   9441 
   9442 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9443 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9444 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9445 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9446 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9447 then :
   9448   printf %s "(cached) " >&6
   9449 else $as_nop
   9450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9451 /* end confdefs.h.  */
   9452 int i;
   9453 _ACEOF
   9454 if ac_fn_c_try_compile "$LINENO"
   9455 then :
   9456   xorg_cv_cc_flag_unknown_warning_option=yes
   9457 else $as_nop
   9458   xorg_cv_cc_flag_unknown_warning_option=no
   9459 fi
   9460 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9461 fi
   9462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9463 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9464 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9465 	CFLAGS="$xorg_testset_save_CFLAGS"
   9466 fi
   9467 
   9468 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9469 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9470 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9471 	fi
   9472 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9473 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9474 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9475 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9476 then :
   9477   printf %s "(cached) " >&6
   9478 else $as_nop
   9479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9480 /* end confdefs.h.  */
   9481 int i;
   9482 _ACEOF
   9483 if ac_fn_c_try_compile "$LINENO"
   9484 then :
   9485   xorg_cv_cc_flag_unused_command_line_argument=yes
   9486 else $as_nop
   9487   xorg_cv_cc_flag_unused_command_line_argument=no
   9488 fi
   9489 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9490 fi
   9491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9492 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9493 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9494 	CFLAGS="$xorg_testset_save_CFLAGS"
   9495 fi
   9496 
   9497 found="no"
   9498 
   9499 	if test $found = "no" ; then
   9500 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9501 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9502 		fi
   9503 
   9504 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9505 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9506 		fi
   9507 
   9508 		CFLAGS="$CFLAGS -Wsequence-point"
   9509 
   9510 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9511 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9512 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9513 		if eval test \${$cacheid+y}
   9514 then :
   9515   printf %s "(cached) " >&6
   9516 else $as_nop
   9517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9518 /* end confdefs.h.  */
   9519 int i;
   9520 int
   9521 main (void)
   9522 {
   9523 
   9524   ;
   9525   return 0;
   9526 }
   9527 _ACEOF
   9528 if ac_fn_c_try_link "$LINENO"
   9529 then :
   9530   eval $cacheid=yes
   9531 else $as_nop
   9532   eval $cacheid=no
   9533 fi
   9534 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9535     conftest$ac_exeext conftest.$ac_ext
   9536 fi
   9537 
   9538 
   9539 		CFLAGS="$xorg_testset_save_CFLAGS"
   9540 
   9541 		eval supported=\$$cacheid
   9542 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9543 printf "%s\n" "$supported" >&6; }
   9544 		if test "$supported" = "yes" ; then
   9545 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9546 			found="yes"
   9547 		fi
   9548 	fi
   9549 
   9550 
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 
   9561 
   9562 
   9563 
   9564 xorg_testset_save_CFLAGS="$CFLAGS"
   9565 
   9566 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9567 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9568 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9569 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9570 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9571 then :
   9572   printf %s "(cached) " >&6
   9573 else $as_nop
   9574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9575 /* end confdefs.h.  */
   9576 int i;
   9577 _ACEOF
   9578 if ac_fn_c_try_compile "$LINENO"
   9579 then :
   9580   xorg_cv_cc_flag_unknown_warning_option=yes
   9581 else $as_nop
   9582   xorg_cv_cc_flag_unknown_warning_option=no
   9583 fi
   9584 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9585 fi
   9586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9587 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9588 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9589 	CFLAGS="$xorg_testset_save_CFLAGS"
   9590 fi
   9591 
   9592 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9593 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9594 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9595 	fi
   9596 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9597 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9598 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9599 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9600 then :
   9601   printf %s "(cached) " >&6
   9602 else $as_nop
   9603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9604 /* end confdefs.h.  */
   9605 int i;
   9606 _ACEOF
   9607 if ac_fn_c_try_compile "$LINENO"
   9608 then :
   9609   xorg_cv_cc_flag_unused_command_line_argument=yes
   9610 else $as_nop
   9611   xorg_cv_cc_flag_unused_command_line_argument=no
   9612 fi
   9613 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9614 fi
   9615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9616 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9617 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9618 	CFLAGS="$xorg_testset_save_CFLAGS"
   9619 fi
   9620 
   9621 found="no"
   9622 
   9623 	if test $found = "no" ; then
   9624 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9625 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9626 		fi
   9627 
   9628 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9629 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9630 		fi
   9631 
   9632 		CFLAGS="$CFLAGS -Wreturn-type"
   9633 
   9634 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9635 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9636 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9637 		if eval test \${$cacheid+y}
   9638 then :
   9639   printf %s "(cached) " >&6
   9640 else $as_nop
   9641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9642 /* end confdefs.h.  */
   9643 int i;
   9644 int
   9645 main (void)
   9646 {
   9647 
   9648   ;
   9649   return 0;
   9650 }
   9651 _ACEOF
   9652 if ac_fn_c_try_link "$LINENO"
   9653 then :
   9654   eval $cacheid=yes
   9655 else $as_nop
   9656   eval $cacheid=no
   9657 fi
   9658 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9659     conftest$ac_exeext conftest.$ac_ext
   9660 fi
   9661 
   9662 
   9663 		CFLAGS="$xorg_testset_save_CFLAGS"
   9664 
   9665 		eval supported=\$$cacheid
   9666 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9667 printf "%s\n" "$supported" >&6; }
   9668 		if test "$supported" = "yes" ; then
   9669 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9670 			found="yes"
   9671 		fi
   9672 	fi
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 xorg_testset_save_CFLAGS="$CFLAGS"
   9689 
   9690 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9691 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9692 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9693 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9694 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9695 then :
   9696   printf %s "(cached) " >&6
   9697 else $as_nop
   9698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9699 /* end confdefs.h.  */
   9700 int i;
   9701 _ACEOF
   9702 if ac_fn_c_try_compile "$LINENO"
   9703 then :
   9704   xorg_cv_cc_flag_unknown_warning_option=yes
   9705 else $as_nop
   9706   xorg_cv_cc_flag_unknown_warning_option=no
   9707 fi
   9708 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9709 fi
   9710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9711 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9712 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9713 	CFLAGS="$xorg_testset_save_CFLAGS"
   9714 fi
   9715 
   9716 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9717 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9718 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9719 	fi
   9720 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9721 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9722 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9723 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9724 then :
   9725   printf %s "(cached) " >&6
   9726 else $as_nop
   9727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9728 /* end confdefs.h.  */
   9729 int i;
   9730 _ACEOF
   9731 if ac_fn_c_try_compile "$LINENO"
   9732 then :
   9733   xorg_cv_cc_flag_unused_command_line_argument=yes
   9734 else $as_nop
   9735   xorg_cv_cc_flag_unused_command_line_argument=no
   9736 fi
   9737 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9738 fi
   9739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9740 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9741 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9742 	CFLAGS="$xorg_testset_save_CFLAGS"
   9743 fi
   9744 
   9745 found="no"
   9746 
   9747 	if test $found = "no" ; then
   9748 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9749 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9750 		fi
   9751 
   9752 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9753 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9754 		fi
   9755 
   9756 		CFLAGS="$CFLAGS -Wtrigraphs"
   9757 
   9758 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9759 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   9760 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9761 		if eval test \${$cacheid+y}
   9762 then :
   9763   printf %s "(cached) " >&6
   9764 else $as_nop
   9765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9766 /* end confdefs.h.  */
   9767 int i;
   9768 int
   9769 main (void)
   9770 {
   9771 
   9772   ;
   9773   return 0;
   9774 }
   9775 _ACEOF
   9776 if ac_fn_c_try_link "$LINENO"
   9777 then :
   9778   eval $cacheid=yes
   9779 else $as_nop
   9780   eval $cacheid=no
   9781 fi
   9782 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9783     conftest$ac_exeext conftest.$ac_ext
   9784 fi
   9785 
   9786 
   9787 		CFLAGS="$xorg_testset_save_CFLAGS"
   9788 
   9789 		eval supported=\$$cacheid
   9790 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9791 printf "%s\n" "$supported" >&6; }
   9792 		if test "$supported" = "yes" ; then
   9793 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9794 			found="yes"
   9795 		fi
   9796 	fi
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 xorg_testset_save_CFLAGS="$CFLAGS"
   9813 
   9814 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9815 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9816 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9817 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9818 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9819 then :
   9820   printf %s "(cached) " >&6
   9821 else $as_nop
   9822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9823 /* end confdefs.h.  */
   9824 int i;
   9825 _ACEOF
   9826 if ac_fn_c_try_compile "$LINENO"
   9827 then :
   9828   xorg_cv_cc_flag_unknown_warning_option=yes
   9829 else $as_nop
   9830   xorg_cv_cc_flag_unknown_warning_option=no
   9831 fi
   9832 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9833 fi
   9834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9835 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9836 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9837 	CFLAGS="$xorg_testset_save_CFLAGS"
   9838 fi
   9839 
   9840 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9841 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9842 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9843 	fi
   9844 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9845 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9846 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9847 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9848 then :
   9849   printf %s "(cached) " >&6
   9850 else $as_nop
   9851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9852 /* end confdefs.h.  */
   9853 int i;
   9854 _ACEOF
   9855 if ac_fn_c_try_compile "$LINENO"
   9856 then :
   9857   xorg_cv_cc_flag_unused_command_line_argument=yes
   9858 else $as_nop
   9859   xorg_cv_cc_flag_unused_command_line_argument=no
   9860 fi
   9861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9862 fi
   9863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9864 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9865 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9866 	CFLAGS="$xorg_testset_save_CFLAGS"
   9867 fi
   9868 
   9869 found="no"
   9870 
   9871 	if test $found = "no" ; then
   9872 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9873 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9874 		fi
   9875 
   9876 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9877 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9878 		fi
   9879 
   9880 		CFLAGS="$CFLAGS -Warray-bounds"
   9881 
   9882 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9883 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   9884 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9885 		if eval test \${$cacheid+y}
   9886 then :
   9887   printf %s "(cached) " >&6
   9888 else $as_nop
   9889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9890 /* end confdefs.h.  */
   9891 int i;
   9892 int
   9893 main (void)
   9894 {
   9895 
   9896   ;
   9897   return 0;
   9898 }
   9899 _ACEOF
   9900 if ac_fn_c_try_link "$LINENO"
   9901 then :
   9902   eval $cacheid=yes
   9903 else $as_nop
   9904   eval $cacheid=no
   9905 fi
   9906 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9907     conftest$ac_exeext conftest.$ac_ext
   9908 fi
   9909 
   9910 
   9911 		CFLAGS="$xorg_testset_save_CFLAGS"
   9912 
   9913 		eval supported=\$$cacheid
   9914 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9915 printf "%s\n" "$supported" >&6; }
   9916 		if test "$supported" = "yes" ; then
   9917 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9918 			found="yes"
   9919 		fi
   9920 	fi
   9921 
   9922 
   9923 
   9924 
   9925 
   9926 
   9927 
   9928 
   9929 
   9930 
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 xorg_testset_save_CFLAGS="$CFLAGS"
   9937 
   9938 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9939 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9940 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9941 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9942 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9943 then :
   9944   printf %s "(cached) " >&6
   9945 else $as_nop
   9946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9947 /* end confdefs.h.  */
   9948 int i;
   9949 _ACEOF
   9950 if ac_fn_c_try_compile "$LINENO"
   9951 then :
   9952   xorg_cv_cc_flag_unknown_warning_option=yes
   9953 else $as_nop
   9954   xorg_cv_cc_flag_unknown_warning_option=no
   9955 fi
   9956 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9957 fi
   9958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9959 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9960 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9961 	CFLAGS="$xorg_testset_save_CFLAGS"
   9962 fi
   9963 
   9964 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9965 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9966 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9967 	fi
   9968 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9969 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9970 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9971 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9972 then :
   9973   printf %s "(cached) " >&6
   9974 else $as_nop
   9975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9976 /* end confdefs.h.  */
   9977 int i;
   9978 _ACEOF
   9979 if ac_fn_c_try_compile "$LINENO"
   9980 then :
   9981   xorg_cv_cc_flag_unused_command_line_argument=yes
   9982 else $as_nop
   9983   xorg_cv_cc_flag_unused_command_line_argument=no
   9984 fi
   9985 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9986 fi
   9987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9988 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9989 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9990 	CFLAGS="$xorg_testset_save_CFLAGS"
   9991 fi
   9992 
   9993 found="no"
   9994 
   9995 	if test $found = "no" ; then
   9996 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9997 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9998 		fi
   9999 
   10000 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10001 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10002 		fi
   10003 
   10004 		CFLAGS="$CFLAGS -Wwrite-strings"
   10005 
   10006 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10007 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10008 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10009 		if eval test \${$cacheid+y}
   10010 then :
   10011   printf %s "(cached) " >&6
   10012 else $as_nop
   10013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10014 /* end confdefs.h.  */
   10015 int i;
   10016 int
   10017 main (void)
   10018 {
   10019 
   10020   ;
   10021   return 0;
   10022 }
   10023 _ACEOF
   10024 if ac_fn_c_try_link "$LINENO"
   10025 then :
   10026   eval $cacheid=yes
   10027 else $as_nop
   10028   eval $cacheid=no
   10029 fi
   10030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10031     conftest$ac_exeext conftest.$ac_ext
   10032 fi
   10033 
   10034 
   10035 		CFLAGS="$xorg_testset_save_CFLAGS"
   10036 
   10037 		eval supported=\$$cacheid
   10038 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10039 printf "%s\n" "$supported" >&6; }
   10040 		if test "$supported" = "yes" ; then
   10041 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10042 			found="yes"
   10043 		fi
   10044 	fi
   10045 
   10046 
   10047 
   10048 
   10049 
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 xorg_testset_save_CFLAGS="$CFLAGS"
   10061 
   10062 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10063 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10064 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10065 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10066 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10067 then :
   10068   printf %s "(cached) " >&6
   10069 else $as_nop
   10070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10071 /* end confdefs.h.  */
   10072 int i;
   10073 _ACEOF
   10074 if ac_fn_c_try_compile "$LINENO"
   10075 then :
   10076   xorg_cv_cc_flag_unknown_warning_option=yes
   10077 else $as_nop
   10078   xorg_cv_cc_flag_unknown_warning_option=no
   10079 fi
   10080 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10081 fi
   10082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10083 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10084 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10085 	CFLAGS="$xorg_testset_save_CFLAGS"
   10086 fi
   10087 
   10088 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10089 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10090 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10091 	fi
   10092 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10093 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10094 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10095 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10096 then :
   10097   printf %s "(cached) " >&6
   10098 else $as_nop
   10099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10100 /* end confdefs.h.  */
   10101 int i;
   10102 _ACEOF
   10103 if ac_fn_c_try_compile "$LINENO"
   10104 then :
   10105   xorg_cv_cc_flag_unused_command_line_argument=yes
   10106 else $as_nop
   10107   xorg_cv_cc_flag_unused_command_line_argument=no
   10108 fi
   10109 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10110 fi
   10111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10112 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10113 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10114 	CFLAGS="$xorg_testset_save_CFLAGS"
   10115 fi
   10116 
   10117 found="no"
   10118 
   10119 	if test $found = "no" ; then
   10120 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10121 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10122 		fi
   10123 
   10124 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10125 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10126 		fi
   10127 
   10128 		CFLAGS="$CFLAGS -Waddress"
   10129 
   10130 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10131 printf %s "checking if $CC supports -Waddress... " >&6; }
   10132 		cacheid=xorg_cv_cc_flag__Waddress
   10133 		if eval test \${$cacheid+y}
   10134 then :
   10135   printf %s "(cached) " >&6
   10136 else $as_nop
   10137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10138 /* end confdefs.h.  */
   10139 int i;
   10140 int
   10141 main (void)
   10142 {
   10143 
   10144   ;
   10145   return 0;
   10146 }
   10147 _ACEOF
   10148 if ac_fn_c_try_link "$LINENO"
   10149 then :
   10150   eval $cacheid=yes
   10151 else $as_nop
   10152   eval $cacheid=no
   10153 fi
   10154 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10155     conftest$ac_exeext conftest.$ac_ext
   10156 fi
   10157 
   10158 
   10159 		CFLAGS="$xorg_testset_save_CFLAGS"
   10160 
   10161 		eval supported=\$$cacheid
   10162 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10163 printf "%s\n" "$supported" >&6; }
   10164 		if test "$supported" = "yes" ; then
   10165 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10166 			found="yes"
   10167 		fi
   10168 	fi
   10169 
   10170 
   10171 
   10172 
   10173 
   10174 
   10175 
   10176 
   10177 
   10178 
   10179 
   10180 
   10181 
   10182 
   10183 
   10184 xorg_testset_save_CFLAGS="$CFLAGS"
   10185 
   10186 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10187 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10188 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10189 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10190 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10191 then :
   10192   printf %s "(cached) " >&6
   10193 else $as_nop
   10194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10195 /* end confdefs.h.  */
   10196 int i;
   10197 _ACEOF
   10198 if ac_fn_c_try_compile "$LINENO"
   10199 then :
   10200   xorg_cv_cc_flag_unknown_warning_option=yes
   10201 else $as_nop
   10202   xorg_cv_cc_flag_unknown_warning_option=no
   10203 fi
   10204 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10205 fi
   10206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10207 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10208 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10209 	CFLAGS="$xorg_testset_save_CFLAGS"
   10210 fi
   10211 
   10212 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10213 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10214 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10215 	fi
   10216 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10217 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10218 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10219 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10220 then :
   10221   printf %s "(cached) " >&6
   10222 else $as_nop
   10223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10224 /* end confdefs.h.  */
   10225 int i;
   10226 _ACEOF
   10227 if ac_fn_c_try_compile "$LINENO"
   10228 then :
   10229   xorg_cv_cc_flag_unused_command_line_argument=yes
   10230 else $as_nop
   10231   xorg_cv_cc_flag_unused_command_line_argument=no
   10232 fi
   10233 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10234 fi
   10235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10236 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10237 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10238 	CFLAGS="$xorg_testset_save_CFLAGS"
   10239 fi
   10240 
   10241 found="no"
   10242 
   10243 	if test $found = "no" ; then
   10244 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10245 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10246 		fi
   10247 
   10248 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10249 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10250 		fi
   10251 
   10252 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10253 
   10254 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10255 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10256 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10257 		if eval test \${$cacheid+y}
   10258 then :
   10259   printf %s "(cached) " >&6
   10260 else $as_nop
   10261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10262 /* end confdefs.h.  */
   10263 int i;
   10264 int
   10265 main (void)
   10266 {
   10267 
   10268   ;
   10269   return 0;
   10270 }
   10271 _ACEOF
   10272 if ac_fn_c_try_link "$LINENO"
   10273 then :
   10274   eval $cacheid=yes
   10275 else $as_nop
   10276   eval $cacheid=no
   10277 fi
   10278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10279     conftest$ac_exeext conftest.$ac_ext
   10280 fi
   10281 
   10282 
   10283 		CFLAGS="$xorg_testset_save_CFLAGS"
   10284 
   10285 		eval supported=\$$cacheid
   10286 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10287 printf "%s\n" "$supported" >&6; }
   10288 		if test "$supported" = "yes" ; then
   10289 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10290 			found="yes"
   10291 		fi
   10292 	fi
   10293 
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 xorg_testset_save_CFLAGS="$CFLAGS"
   10309 
   10310 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10311 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10312 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10313 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10314 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10315 then :
   10316   printf %s "(cached) " >&6
   10317 else $as_nop
   10318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10319 /* end confdefs.h.  */
   10320 int i;
   10321 _ACEOF
   10322 if ac_fn_c_try_compile "$LINENO"
   10323 then :
   10324   xorg_cv_cc_flag_unknown_warning_option=yes
   10325 else $as_nop
   10326   xorg_cv_cc_flag_unknown_warning_option=no
   10327 fi
   10328 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10329 fi
   10330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10331 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10332 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10333 	CFLAGS="$xorg_testset_save_CFLAGS"
   10334 fi
   10335 
   10336 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10337 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10338 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10339 	fi
   10340 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10341 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10342 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10343 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10344 then :
   10345   printf %s "(cached) " >&6
   10346 else $as_nop
   10347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10348 /* end confdefs.h.  */
   10349 int i;
   10350 _ACEOF
   10351 if ac_fn_c_try_compile "$LINENO"
   10352 then :
   10353   xorg_cv_cc_flag_unused_command_line_argument=yes
   10354 else $as_nop
   10355   xorg_cv_cc_flag_unused_command_line_argument=no
   10356 fi
   10357 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10358 fi
   10359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10360 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10361 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10362 	CFLAGS="$xorg_testset_save_CFLAGS"
   10363 fi
   10364 
   10365 found="no"
   10366 
   10367 	if test $found = "no" ; then
   10368 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10369 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10370 		fi
   10371 
   10372 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10373 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10374 		fi
   10375 
   10376 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10377 
   10378 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10379 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10380 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10381 		if eval test \${$cacheid+y}
   10382 then :
   10383   printf %s "(cached) " >&6
   10384 else $as_nop
   10385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10386 /* end confdefs.h.  */
   10387 int i;
   10388 int
   10389 main (void)
   10390 {
   10391 
   10392   ;
   10393   return 0;
   10394 }
   10395 _ACEOF
   10396 if ac_fn_c_try_link "$LINENO"
   10397 then :
   10398   eval $cacheid=yes
   10399 else $as_nop
   10400   eval $cacheid=no
   10401 fi
   10402 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10403     conftest$ac_exeext conftest.$ac_ext
   10404 fi
   10405 
   10406 
   10407 		CFLAGS="$xorg_testset_save_CFLAGS"
   10408 
   10409 		eval supported=\$$cacheid
   10410 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10411 printf "%s\n" "$supported" >&6; }
   10412 		if test "$supported" = "yes" ; then
   10413 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10414 			found="yes"
   10415 		fi
   10416 	fi
   10417 
   10418 
   10419 fi
   10420 
   10421 
   10422 
   10423 
   10424 
   10425 
   10426 
   10427 		CWARNFLAGS="$BASE_CFLAGS"
   10428 		if  test "x$GCC" = xyes ; then
   10429 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10430 		fi
   10431 
   10432 
   10433 
   10434 
   10435 
   10436 
   10437 
   10438 
   10439 # Check whether --enable-strict-compilation was given.
   10440 if test ${enable_strict_compilation+y}
   10441 then :
   10442   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10443 else $as_nop
   10444   STRICT_COMPILE=no
   10445 fi
   10446 
   10447 
   10448 
   10449 
   10450 
   10451 
   10452 STRICT_CFLAGS=""
   10453 
   10454 
   10455 
   10456 
   10457 
   10458 
   10459 
   10460 
   10461 
   10462 
   10463 
   10464 
   10465 
   10466 xorg_testset_save_CFLAGS="$CFLAGS"
   10467 
   10468 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10469 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10470 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10471 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10472 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10473 then :
   10474   printf %s "(cached) " >&6
   10475 else $as_nop
   10476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10477 /* end confdefs.h.  */
   10478 int i;
   10479 _ACEOF
   10480 if ac_fn_c_try_compile "$LINENO"
   10481 then :
   10482   xorg_cv_cc_flag_unknown_warning_option=yes
   10483 else $as_nop
   10484   xorg_cv_cc_flag_unknown_warning_option=no
   10485 fi
   10486 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10487 fi
   10488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10489 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10490 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10491 	CFLAGS="$xorg_testset_save_CFLAGS"
   10492 fi
   10493 
   10494 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10495 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10496 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10497 	fi
   10498 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10499 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10500 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10501 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10502 then :
   10503   printf %s "(cached) " >&6
   10504 else $as_nop
   10505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10506 /* end confdefs.h.  */
   10507 int i;
   10508 _ACEOF
   10509 if ac_fn_c_try_compile "$LINENO"
   10510 then :
   10511   xorg_cv_cc_flag_unused_command_line_argument=yes
   10512 else $as_nop
   10513   xorg_cv_cc_flag_unused_command_line_argument=no
   10514 fi
   10515 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10516 fi
   10517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10518 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10519 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10520 	CFLAGS="$xorg_testset_save_CFLAGS"
   10521 fi
   10522 
   10523 found="no"
   10524 
   10525 	if test $found = "no" ; then
   10526 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10527 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10528 		fi
   10529 
   10530 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10531 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10532 		fi
   10533 
   10534 		CFLAGS="$CFLAGS -pedantic"
   10535 
   10536 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10537 printf %s "checking if $CC supports -pedantic... " >&6; }
   10538 		cacheid=xorg_cv_cc_flag__pedantic
   10539 		if eval test \${$cacheid+y}
   10540 then :
   10541   printf %s "(cached) " >&6
   10542 else $as_nop
   10543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10544 /* end confdefs.h.  */
   10545 int i;
   10546 int
   10547 main (void)
   10548 {
   10549 
   10550   ;
   10551   return 0;
   10552 }
   10553 _ACEOF
   10554 if ac_fn_c_try_link "$LINENO"
   10555 then :
   10556   eval $cacheid=yes
   10557 else $as_nop
   10558   eval $cacheid=no
   10559 fi
   10560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10561     conftest$ac_exeext conftest.$ac_ext
   10562 fi
   10563 
   10564 
   10565 		CFLAGS="$xorg_testset_save_CFLAGS"
   10566 
   10567 		eval supported=\$$cacheid
   10568 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10569 printf "%s\n" "$supported" >&6; }
   10570 		if test "$supported" = "yes" ; then
   10571 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10572 			found="yes"
   10573 		fi
   10574 	fi
   10575 
   10576 
   10577 
   10578 
   10579 
   10580 
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 xorg_testset_save_CFLAGS="$CFLAGS"
   10591 
   10592 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10593 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10594 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10595 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10596 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10597 then :
   10598   printf %s "(cached) " >&6
   10599 else $as_nop
   10600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10601 /* end confdefs.h.  */
   10602 int i;
   10603 _ACEOF
   10604 if ac_fn_c_try_compile "$LINENO"
   10605 then :
   10606   xorg_cv_cc_flag_unknown_warning_option=yes
   10607 else $as_nop
   10608   xorg_cv_cc_flag_unknown_warning_option=no
   10609 fi
   10610 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10611 fi
   10612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10613 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10614 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10615 	CFLAGS="$xorg_testset_save_CFLAGS"
   10616 fi
   10617 
   10618 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10619 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10620 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10621 	fi
   10622 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10623 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10624 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10625 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10626 then :
   10627   printf %s "(cached) " >&6
   10628 else $as_nop
   10629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10630 /* end confdefs.h.  */
   10631 int i;
   10632 _ACEOF
   10633 if ac_fn_c_try_compile "$LINENO"
   10634 then :
   10635   xorg_cv_cc_flag_unused_command_line_argument=yes
   10636 else $as_nop
   10637   xorg_cv_cc_flag_unused_command_line_argument=no
   10638 fi
   10639 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10640 fi
   10641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10642 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10643 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10644 	CFLAGS="$xorg_testset_save_CFLAGS"
   10645 fi
   10646 
   10647 found="no"
   10648 
   10649 	if test $found = "no" ; then
   10650 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10651 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10652 		fi
   10653 
   10654 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10655 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10656 		fi
   10657 
   10658 		CFLAGS="$CFLAGS -Werror"
   10659 
   10660 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10661 printf %s "checking if $CC supports -Werror... " >&6; }
   10662 		cacheid=xorg_cv_cc_flag__Werror
   10663 		if eval test \${$cacheid+y}
   10664 then :
   10665   printf %s "(cached) " >&6
   10666 else $as_nop
   10667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10668 /* end confdefs.h.  */
   10669 int i;
   10670 int
   10671 main (void)
   10672 {
   10673 
   10674   ;
   10675   return 0;
   10676 }
   10677 _ACEOF
   10678 if ac_fn_c_try_link "$LINENO"
   10679 then :
   10680   eval $cacheid=yes
   10681 else $as_nop
   10682   eval $cacheid=no
   10683 fi
   10684 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10685     conftest$ac_exeext conftest.$ac_ext
   10686 fi
   10687 
   10688 
   10689 		CFLAGS="$xorg_testset_save_CFLAGS"
   10690 
   10691 		eval supported=\$$cacheid
   10692 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10693 printf "%s\n" "$supported" >&6; }
   10694 		if test "$supported" = "yes" ; then
   10695 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10696 			found="yes"
   10697 		fi
   10698 	fi
   10699 
   10700 	if test $found = "no" ; then
   10701 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10702 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10703 		fi
   10704 
   10705 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10706 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10707 		fi
   10708 
   10709 		CFLAGS="$CFLAGS -errwarn"
   10710 
   10711 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10712 printf %s "checking if $CC supports -errwarn... " >&6; }
   10713 		cacheid=xorg_cv_cc_flag__errwarn
   10714 		if eval test \${$cacheid+y}
   10715 then :
   10716   printf %s "(cached) " >&6
   10717 else $as_nop
   10718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10719 /* end confdefs.h.  */
   10720 int i;
   10721 int
   10722 main (void)
   10723 {
   10724 
   10725   ;
   10726   return 0;
   10727 }
   10728 _ACEOF
   10729 if ac_fn_c_try_link "$LINENO"
   10730 then :
   10731   eval $cacheid=yes
   10732 else $as_nop
   10733   eval $cacheid=no
   10734 fi
   10735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10736     conftest$ac_exeext conftest.$ac_ext
   10737 fi
   10738 
   10739 
   10740 		CFLAGS="$xorg_testset_save_CFLAGS"
   10741 
   10742 		eval supported=\$$cacheid
   10743 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10744 printf "%s\n" "$supported" >&6; }
   10745 		if test "$supported" = "yes" ; then
   10746 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10747 			found="yes"
   10748 		fi
   10749 	fi
   10750 
   10751 
   10752 
   10753 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10754 # activate it with -Werror, so we add it here explicitly.
   10755 
   10756 
   10757 
   10758 
   10759 
   10760 
   10761 
   10762 
   10763 
   10764 
   10765 
   10766 
   10767 
   10768 xorg_testset_save_CFLAGS="$CFLAGS"
   10769 
   10770 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10771 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10772 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10773 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10774 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10775 then :
   10776   printf %s "(cached) " >&6
   10777 else $as_nop
   10778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10779 /* end confdefs.h.  */
   10780 int i;
   10781 _ACEOF
   10782 if ac_fn_c_try_compile "$LINENO"
   10783 then :
   10784   xorg_cv_cc_flag_unknown_warning_option=yes
   10785 else $as_nop
   10786   xorg_cv_cc_flag_unknown_warning_option=no
   10787 fi
   10788 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10789 fi
   10790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10791 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10792 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10793 	CFLAGS="$xorg_testset_save_CFLAGS"
   10794 fi
   10795 
   10796 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10797 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10798 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10799 	fi
   10800 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10801 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10802 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10803 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10804 then :
   10805   printf %s "(cached) " >&6
   10806 else $as_nop
   10807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10808 /* end confdefs.h.  */
   10809 int i;
   10810 _ACEOF
   10811 if ac_fn_c_try_compile "$LINENO"
   10812 then :
   10813   xorg_cv_cc_flag_unused_command_line_argument=yes
   10814 else $as_nop
   10815   xorg_cv_cc_flag_unused_command_line_argument=no
   10816 fi
   10817 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10818 fi
   10819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10820 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10821 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10822 	CFLAGS="$xorg_testset_save_CFLAGS"
   10823 fi
   10824 
   10825 found="no"
   10826 
   10827 	if test $found = "no" ; then
   10828 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10829 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10830 		fi
   10831 
   10832 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10833 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10834 		fi
   10835 
   10836 		CFLAGS="$CFLAGS -Werror=attributes"
   10837 
   10838 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10839 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   10840 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10841 		if eval test \${$cacheid+y}
   10842 then :
   10843   printf %s "(cached) " >&6
   10844 else $as_nop
   10845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10846 /* end confdefs.h.  */
   10847 int i;
   10848 int
   10849 main (void)
   10850 {
   10851 
   10852   ;
   10853   return 0;
   10854 }
   10855 _ACEOF
   10856 if ac_fn_c_try_link "$LINENO"
   10857 then :
   10858   eval $cacheid=yes
   10859 else $as_nop
   10860   eval $cacheid=no
   10861 fi
   10862 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10863     conftest$ac_exeext conftest.$ac_ext
   10864 fi
   10865 
   10866 
   10867 		CFLAGS="$xorg_testset_save_CFLAGS"
   10868 
   10869 		eval supported=\$$cacheid
   10870 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10871 printf "%s\n" "$supported" >&6; }
   10872 		if test "$supported" = "yes" ; then
   10873 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10874 			found="yes"
   10875 		fi
   10876 	fi
   10877 
   10878 
   10879 
   10880 if test "x$STRICT_COMPILE" = "xyes"; then
   10881     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10882     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10883 fi
   10884 
   10885 
   10886 
   10887 
   10888 
   10889 
   10890 cat >>confdefs.h <<_ACEOF
   10891 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10892 _ACEOF
   10893 
   10894 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10895 	if test "x$PVM" = "x"; then
   10896 		PVM="0"
   10897 	fi
   10898 
   10899 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   10900 
   10901 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10902 	if test "x$PVP" = "x"; then
   10903 		PVP="0"
   10904 	fi
   10905 
   10906 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   10907 
   10908 
   10909 
   10910 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   10911 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10912 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   10913 touch \$(top_srcdir)/ChangeLog; \
   10914 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   10915 
   10916 
   10917 
   10918 
   10919 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10920 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10921 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10922 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   10923 touch \$(top_srcdir)/INSTALL; \
   10924 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 case $host_os in
   10932     solaris*)
   10933         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   10934         # check for a man page file found in later versions that use
   10935         # traditional section numbers instead
   10936         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   10937 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   10938 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   10939 then :
   10940   printf %s "(cached) " >&6
   10941 else $as_nop
   10942   test "$cross_compiling" = yes &&
   10943   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   10944 if test -r "/usr/share/man/man7/attributes.7"; then
   10945   ac_cv_file__usr_share_man_man7_attributes_7=yes
   10946 else
   10947   ac_cv_file__usr_share_man_man7_attributes_7=no
   10948 fi
   10949 fi
   10950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   10951 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   10952 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   10953 then :
   10954   SYSV_MAN_SECTIONS=false
   10955 else $as_nop
   10956   SYSV_MAN_SECTIONS=true
   10957 fi
   10958 
   10959         ;;
   10960     *) SYSV_MAN_SECTIONS=false ;;
   10961 esac
   10962 
   10963 if test x$APP_MAN_SUFFIX = x    ; then
   10964     APP_MAN_SUFFIX=1
   10965 fi
   10966 if test x$APP_MAN_DIR = x    ; then
   10967     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10968 fi
   10969 
   10970 if test x$LIB_MAN_SUFFIX = x    ; then
   10971     LIB_MAN_SUFFIX=3
   10972 fi
   10973 if test x$LIB_MAN_DIR = x    ; then
   10974     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10975 fi
   10976 
   10977 if test x$FILE_MAN_SUFFIX = x    ; then
   10978     case $SYSV_MAN_SECTIONS in
   10979 	true)				FILE_MAN_SUFFIX=4  ;;
   10980 	*)				FILE_MAN_SUFFIX=5  ;;
   10981     esac
   10982 fi
   10983 if test x$FILE_MAN_DIR = x    ; then
   10984     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10985 fi
   10986 
   10987 if test x$MISC_MAN_SUFFIX = x    ; then
   10988     case $SYSV_MAN_SECTIONS in
   10989 	true)				MISC_MAN_SUFFIX=5  ;;
   10990 	*)				MISC_MAN_SUFFIX=7  ;;
   10991     esac
   10992 fi
   10993 if test x$MISC_MAN_DIR = x    ; then
   10994     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10995 fi
   10996 
   10997 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10998     case $SYSV_MAN_SECTIONS in
   10999 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11000 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11001     esac
   11002 fi
   11003 if test x$DRIVER_MAN_DIR = x    ; then
   11004     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11005 fi
   11006 
   11007 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11008     case $SYSV_MAN_SECTIONS in
   11009 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11010 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11011     esac
   11012 fi
   11013 if test x$ADMIN_MAN_DIR = x    ; then
   11014     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11015 fi
   11016 
   11017 
   11018 
   11019 
   11020 
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 XORG_MAN_PAGE="X Version 11"
   11032 
   11033 MAN_SUBSTS="\
   11034 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11035 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11036 	-e 's|__xservername__|Xorg|g' \
   11037 	-e 's|__xconfigfile__|xorg.conf|g' \
   11038 	-e 's|__projectroot__|\$(prefix)|g' \
   11039 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11040 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11041 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11042 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11043 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11044 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11045 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11046 
   11047 
   11048 
   11049 # Check whether --enable-silent-rules was given.
   11050 if test ${enable_silent_rules+y}
   11051 then :
   11052   enableval=$enable_silent_rules;
   11053 fi
   11054 
   11055 case $enable_silent_rules in # (((
   11056   yes) AM_DEFAULT_VERBOSITY=0;;
   11057    no) AM_DEFAULT_VERBOSITY=1;;
   11058     *) AM_DEFAULT_VERBOSITY=0;;
   11059 esac
   11060 am_make=${MAKE-make}
   11061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11062 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11063 if test ${am_cv_make_support_nested_variables+y}
   11064 then :
   11065   printf %s "(cached) " >&6
   11066 else $as_nop
   11067   if printf "%s\n" 'TRUE=$(BAR$(V))
   11068 BAR0=false
   11069 BAR1=true
   11070 V=1
   11071 am__doit:
   11072 	@$(TRUE)
   11073 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11074   am_cv_make_support_nested_variables=yes
   11075 else
   11076   am_cv_make_support_nested_variables=no
   11077 fi
   11078 fi
   11079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11080 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11081 if test $am_cv_make_support_nested_variables = yes; then
   11082     AM_V='$(V)'
   11083   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11084 else
   11085   AM_V=$AM_DEFAULT_VERBOSITY
   11086   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11087 fi
   11088 AM_BACKSLASH='\'
   11089 
   11090 
   11091 
   11092 # Checks for pkg-config packages
   11093 
   11094 pkg_failed=no
   11095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LISTRES" >&5
   11096 printf %s "checking for LISTRES... " >&6; }
   11097 
   11098 if test -n "$LISTRES_CFLAGS"; then
   11099     pkg_cv_LISTRES_CFLAGS="$LISTRES_CFLAGS"
   11100  elif test -n "$PKG_CONFIG"; then
   11101     if test -n "$PKG_CONFIG" && \
   11102     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xproto xt xmu\""; } >&5
   11103   ($PKG_CONFIG --exists --print-errors "xaw7 xproto xt xmu") 2>&5
   11104   ac_status=$?
   11105   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11106   test $ac_status = 0; }; then
   11107   pkg_cv_LISTRES_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xproto xt xmu" 2>/dev/null`
   11108 		      test "x$?" != "x0" && pkg_failed=yes
   11109 else
   11110   pkg_failed=yes
   11111 fi
   11112  else
   11113     pkg_failed=untried
   11114 fi
   11115 if test -n "$LISTRES_LIBS"; then
   11116     pkg_cv_LISTRES_LIBS="$LISTRES_LIBS"
   11117  elif test -n "$PKG_CONFIG"; then
   11118     if test -n "$PKG_CONFIG" && \
   11119     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xproto xt xmu\""; } >&5
   11120   ($PKG_CONFIG --exists --print-errors "xaw7 xproto xt xmu") 2>&5
   11121   ac_status=$?
   11122   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11123   test $ac_status = 0; }; then
   11124   pkg_cv_LISTRES_LIBS=`$PKG_CONFIG --libs "xaw7 xproto xt xmu" 2>/dev/null`
   11125 		      test "x$?" != "x0" && pkg_failed=yes
   11126 else
   11127   pkg_failed=yes
   11128 fi
   11129  else
   11130     pkg_failed=untried
   11131 fi
   11132 
   11133 
   11134 
   11135 if test $pkg_failed = yes; then
   11136    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11137 printf "%s\n" "no" >&6; }
   11138 
   11139 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11140         _pkg_short_errors_supported=yes
   11141 else
   11142         _pkg_short_errors_supported=no
   11143 fi
   11144         if test $_pkg_short_errors_supported = yes; then
   11145 	        LISTRES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7 xproto xt xmu" 2>&1`
   11146         else
   11147 	        LISTRES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7 xproto xt xmu" 2>&1`
   11148         fi
   11149 	# Put the nasty error message in config.log where it belongs
   11150 	echo "$LISTRES_PKG_ERRORS" >&5
   11151 
   11152 	as_fn_error $? "Package requirements (xaw7 xproto xt xmu) were not met:
   11153 
   11154 $LISTRES_PKG_ERRORS
   11155 
   11156 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11157 installed software in a non-standard prefix.
   11158 
   11159 Alternatively, you may set the environment variables LISTRES_CFLAGS
   11160 and LISTRES_LIBS to avoid the need to call pkg-config.
   11161 See the pkg-config man page for more details." "$LINENO" 5
   11162 elif test $pkg_failed = untried; then
   11163      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11164 printf "%s\n" "no" >&6; }
   11165 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11166 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   11167 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11168 is in your PATH or set the PKG_CONFIG environment variable to the full
   11169 path to pkg-config.
   11170 
   11171 Alternatively, you may set the environment variables LISTRES_CFLAGS
   11172 and LISTRES_LIBS to avoid the need to call pkg-config.
   11173 See the pkg-config man page for more details.
   11174 
   11175 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11176 See \`config.log' for more details" "$LINENO" 5; }
   11177 else
   11178 	LISTRES_CFLAGS=$pkg_cv_LISTRES_CFLAGS
   11179 	LISTRES_LIBS=$pkg_cv_LISTRES_LIBS
   11180         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11181 printf "%s\n" "yes" >&6; }
   11182 
   11183 fi
   11184 
   11185 ac_config_files="$ac_config_files Makefile man/Makefile"
   11186 
   11187 cat >confcache <<\_ACEOF
   11188 # This file is a shell script that caches the results of configure
   11189 # tests run on this system so they can be shared between configure
   11190 # scripts and configure runs, see configure's option --config-cache.
   11191 # It is not useful on other systems.  If it contains results you don't
   11192 # want to keep, you may remove or edit it.
   11193 #
   11194 # config.status only pays attention to the cache file if you give it
   11195 # the --recheck option to rerun configure.
   11196 #
   11197 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11198 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11199 # following values.
   11200 
   11201 _ACEOF
   11202 
   11203 # The following way of writing the cache mishandles newlines in values,
   11204 # but we know of no workaround that is simple, portable, and efficient.
   11205 # So, we kill variables containing newlines.
   11206 # Ultrix sh set writes to stderr and can't be redirected directly,
   11207 # and sets the high bit in the cache file unless we assign to the vars.
   11208 (
   11209   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11210     eval ac_val=\$$ac_var
   11211     case $ac_val in #(
   11212     *${as_nl}*)
   11213       case $ac_var in #(
   11214       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11215 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11216       esac
   11217       case $ac_var in #(
   11218       _ | IFS | as_nl) ;; #(
   11219       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11220       *) { eval $ac_var=; unset $ac_var;} ;;
   11221       esac ;;
   11222     esac
   11223   done
   11224 
   11225   (set) 2>&1 |
   11226     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11227     *${as_nl}ac_space=\ *)
   11228       # `set' does not quote correctly, so add quotes: double-quote
   11229       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11230       sed -n \
   11231 	"s/'/'\\\\''/g;
   11232 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11233       ;; #(
   11234     *)
   11235       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11236       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11237       ;;
   11238     esac |
   11239     sort
   11240 ) |
   11241   sed '
   11242      /^ac_cv_env_/b end
   11243      t clear
   11244      :clear
   11245      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11246      t end
   11247      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11248      :end' >>confcache
   11249 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11250   if test -w "$cache_file"; then
   11251     if test "x$cache_file" != "x/dev/null"; then
   11252       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11253 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11254       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11255 	cat confcache >"$cache_file"
   11256       else
   11257         case $cache_file in #(
   11258         */* | ?:*)
   11259 	  mv -f confcache "$cache_file"$$ &&
   11260 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11261         *)
   11262 	  mv -f confcache "$cache_file" ;;
   11263 	esac
   11264       fi
   11265     fi
   11266   else
   11267     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11268 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11269   fi
   11270 fi
   11271 rm -f confcache
   11272 
   11273 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11274 # Let make expand exec_prefix.
   11275 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11276 
   11277 DEFS=-DHAVE_CONFIG_H
   11278 
   11279 ac_libobjs=
   11280 ac_ltlibobjs=
   11281 U=
   11282 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11283   # 1. Remove the extension, and $U if already installed.
   11284   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11285   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   11286   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11287   #    will be set to the directory where LIBOBJS objects are built.
   11288   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11289   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11290 done
   11291 LIBOBJS=$ac_libobjs
   11292 
   11293 LTLIBOBJS=$ac_ltlibobjs
   11294 
   11295 
   11296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11297 printf %s "checking that generated files are newer than configure... " >&6; }
   11298    if test -n "$am_sleep_pid"; then
   11299      # Hide warnings about reused PIDs.
   11300      wait $am_sleep_pid 2>/dev/null
   11301    fi
   11302    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11303 printf "%s\n" "done" >&6; }
   11304  if test -n "$EXEEXT"; then
   11305   am__EXEEXT_TRUE=
   11306   am__EXEEXT_FALSE='#'
   11307 else
   11308   am__EXEEXT_TRUE='#'
   11309   am__EXEEXT_FALSE=
   11310 fi
   11311 
   11312 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11313   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11314 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11315 fi
   11316 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11317   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11318 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11319 fi
   11320 
   11321 : "${CONFIG_STATUS=./config.status}"
   11322 ac_write_fail=0
   11323 ac_clean_files_save=$ac_clean_files
   11324 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11326 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   11327 as_write_fail=0
   11328 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11329 #! $SHELL
   11330 # Generated by $as_me.
   11331 # Run this file to recreate the current configuration.
   11332 # Compiler output produced by configure, useful for debugging
   11333 # configure, is in config.log if it exists.
   11334 
   11335 debug=false
   11336 ac_cs_recheck=false
   11337 ac_cs_silent=false
   11338 
   11339 SHELL=\${CONFIG_SHELL-$SHELL}
   11340 export SHELL
   11341 _ASEOF
   11342 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11343 ## -------------------- ##
   11344 ## M4sh Initialization. ##
   11345 ## -------------------- ##
   11346 
   11347 # Be more Bourne compatible
   11348 DUALCASE=1; export DUALCASE # for MKS sh
   11349 as_nop=:
   11350 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   11351 then :
   11352   emulate sh
   11353   NULLCMD=:
   11354   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11355   # is contrary to our usage.  Disable this feature.
   11356   alias -g '${1+"$@"}'='"$@"'
   11357   setopt NO_GLOB_SUBST
   11358 else $as_nop
   11359   case `(set -o) 2>/dev/null` in #(
   11360   *posix*) :
   11361     set -o posix ;; #(
   11362   *) :
   11363      ;;
   11364 esac
   11365 fi
   11366 
   11367 
   11368 
   11369 # Reset variables that may have inherited troublesome values from
   11370 # the environment.
   11371 
   11372 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   11373 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   11374 # side effect of setting IFS to empty, thus disabling word splitting.)
   11375 # Quoting is to prevent editors from complaining about space-tab.
   11376 as_nl='
   11377 '
   11378 export as_nl
   11379 IFS=" ""	$as_nl"
   11380 
   11381 PS1='$ '
   11382 PS2='> '
   11383 PS4='+ '
   11384 
   11385 # Ensure predictable behavior from utilities with locale-dependent output.
   11386 LC_ALL=C
   11387 export LC_ALL
   11388 LANGUAGE=C
   11389 export LANGUAGE
   11390 
   11391 # We cannot yet rely on "unset" to work, but we need these variables
   11392 # to be unset--not just set to an empty or harmless value--now, to
   11393 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   11394 # also avoids known problems related to "unset" and subshell syntax
   11395 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   11396 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   11397 do eval test \${$as_var+y} \
   11398   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11399 done
   11400 
   11401 # Ensure that fds 0, 1, and 2 are open.
   11402 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   11403 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   11404 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   11405 
   11406 # The user is always right.
   11407 if ${PATH_SEPARATOR+false} :; then
   11408   PATH_SEPARATOR=:
   11409   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11410     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11411       PATH_SEPARATOR=';'
   11412   }
   11413 fi
   11414 
   11415 
   11416 # Find who we are.  Look in the path if we contain no directory separator.
   11417 as_myself=
   11418 case $0 in #((
   11419   *[\\/]* ) as_myself=$0 ;;
   11420   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11421 for as_dir in $PATH
   11422 do
   11423   IFS=$as_save_IFS
   11424   case $as_dir in #(((
   11425     '') as_dir=./ ;;
   11426     */) ;;
   11427     *) as_dir=$as_dir/ ;;
   11428   esac
   11429     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   11430   done
   11431 IFS=$as_save_IFS
   11432 
   11433      ;;
   11434 esac
   11435 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11436 # in which case we are not to be found in the path.
   11437 if test "x$as_myself" = x; then
   11438   as_myself=$0
   11439 fi
   11440 if test ! -f "$as_myself"; then
   11441   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11442   exit 1
   11443 fi
   11444 
   11445 
   11446 
   11447 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11448 # ----------------------------------------
   11449 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11450 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11451 # script with STATUS, using 1 if that was 0.
   11452 as_fn_error ()
   11453 {
   11454   as_status=$1; test $as_status -eq 0 && as_status=1
   11455   if test "$4"; then
   11456     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11457     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11458   fi
   11459   printf "%s\n" "$as_me: error: $2" >&2
   11460   as_fn_exit $as_status
   11461 } # as_fn_error
   11462 
   11463 
   11464 
   11465 # as_fn_set_status STATUS
   11466 # -----------------------
   11467 # Set $? to STATUS, without forking.
   11468 as_fn_set_status ()
   11469 {
   11470   return $1
   11471 } # as_fn_set_status
   11472 
   11473 # as_fn_exit STATUS
   11474 # -----------------
   11475 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11476 as_fn_exit ()
   11477 {
   11478   set +e
   11479   as_fn_set_status $1
   11480   exit $1
   11481 } # as_fn_exit
   11482 
   11483 # as_fn_unset VAR
   11484 # ---------------
   11485 # Portably unset VAR.
   11486 as_fn_unset ()
   11487 {
   11488   { eval $1=; unset $1;}
   11489 }
   11490 as_unset=as_fn_unset
   11491 
   11492 # as_fn_append VAR VALUE
   11493 # ----------------------
   11494 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11495 # advantage of any shell optimizations that allow amortized linear growth over
   11496 # repeated appends, instead of the typical quadratic growth present in naive
   11497 # implementations.
   11498 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   11499 then :
   11500   eval 'as_fn_append ()
   11501   {
   11502     eval $1+=\$2
   11503   }'
   11504 else $as_nop
   11505   as_fn_append ()
   11506   {
   11507     eval $1=\$$1\$2
   11508   }
   11509 fi # as_fn_append
   11510 
   11511 # as_fn_arith ARG...
   11512 # ------------------
   11513 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11514 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11515 # must be portable across $(()) and expr.
   11516 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   11517 then :
   11518   eval 'as_fn_arith ()
   11519   {
   11520     as_val=$(( $* ))
   11521   }'
   11522 else $as_nop
   11523   as_fn_arith ()
   11524   {
   11525     as_val=`expr "$@" || test $? -eq 1`
   11526   }
   11527 fi # as_fn_arith
   11528 
   11529 
   11530 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11531    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11532   as_expr=expr
   11533 else
   11534   as_expr=false
   11535 fi
   11536 
   11537 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11538   as_basename=basename
   11539 else
   11540   as_basename=false
   11541 fi
   11542 
   11543 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11544   as_dirname=dirname
   11545 else
   11546   as_dirname=false
   11547 fi
   11548 
   11549 as_me=`$as_basename -- "$0" ||
   11550 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11551 	 X"$0" : 'X\(//\)$' \| \
   11552 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11553 printf "%s\n" X/"$0" |
   11554     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11555 	    s//\1/
   11556 	    q
   11557 	  }
   11558 	  /^X\/\(\/\/\)$/{
   11559 	    s//\1/
   11560 	    q
   11561 	  }
   11562 	  /^X\/\(\/\).*/{
   11563 	    s//\1/
   11564 	    q
   11565 	  }
   11566 	  s/.*/./; q'`
   11567 
   11568 # Avoid depending upon Character Ranges.
   11569 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11570 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11571 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11572 as_cr_digits='0123456789'
   11573 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11574 
   11575 
   11576 # Determine whether it's possible to make 'echo' print without a newline.
   11577 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   11578 # for compatibility with existing Makefiles.
   11579 ECHO_C= ECHO_N= ECHO_T=
   11580 case `echo -n x` in #(((((
   11581 -n*)
   11582   case `echo 'xy\c'` in
   11583   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11584   xy)  ECHO_C='\c';;
   11585   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11586        ECHO_T='	';;
   11587   esac;;
   11588 *)
   11589   ECHO_N='-n';;
   11590 esac
   11591 
   11592 # For backward compatibility with old third-party macros, we provide
   11593 # the shell variables $as_echo and $as_echo_n.  New code should use
   11594 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   11595 as_echo='printf %s\n'
   11596 as_echo_n='printf %s'
   11597 
   11598 rm -f conf$$ conf$$.exe conf$$.file
   11599 if test -d conf$$.dir; then
   11600   rm -f conf$$.dir/conf$$.file
   11601 else
   11602   rm -f conf$$.dir
   11603   mkdir conf$$.dir 2>/dev/null
   11604 fi
   11605 if (echo >conf$$.file) 2>/dev/null; then
   11606   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11607     as_ln_s='ln -s'
   11608     # ... but there are two gotchas:
   11609     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11610     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11611     # In both cases, we have to default to `cp -pR'.
   11612     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11613       as_ln_s='cp -pR'
   11614   elif ln conf$$.file conf$$ 2>/dev/null; then
   11615     as_ln_s=ln
   11616   else
   11617     as_ln_s='cp -pR'
   11618   fi
   11619 else
   11620   as_ln_s='cp -pR'
   11621 fi
   11622 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11623 rmdir conf$$.dir 2>/dev/null
   11624 
   11625 
   11626 # as_fn_mkdir_p
   11627 # -------------
   11628 # Create "$as_dir" as a directory, including parents if necessary.
   11629 as_fn_mkdir_p ()
   11630 {
   11631 
   11632   case $as_dir in #(
   11633   -*) as_dir=./$as_dir;;
   11634   esac
   11635   test -d "$as_dir" || eval $as_mkdir_p || {
   11636     as_dirs=
   11637     while :; do
   11638       case $as_dir in #(
   11639       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11640       *) as_qdir=$as_dir;;
   11641       esac
   11642       as_dirs="'$as_qdir' $as_dirs"
   11643       as_dir=`$as_dirname -- "$as_dir" ||
   11644 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11645 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11646 	 X"$as_dir" : 'X\(//\)$' \| \
   11647 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11648 printf "%s\n" X"$as_dir" |
   11649     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11650 	    s//\1/
   11651 	    q
   11652 	  }
   11653 	  /^X\(\/\/\)[^/].*/{
   11654 	    s//\1/
   11655 	    q
   11656 	  }
   11657 	  /^X\(\/\/\)$/{
   11658 	    s//\1/
   11659 	    q
   11660 	  }
   11661 	  /^X\(\/\).*/{
   11662 	    s//\1/
   11663 	    q
   11664 	  }
   11665 	  s/.*/./; q'`
   11666       test -d "$as_dir" && break
   11667     done
   11668     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11669   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11670 
   11671 
   11672 } # as_fn_mkdir_p
   11673 if mkdir -p . 2>/dev/null; then
   11674   as_mkdir_p='mkdir -p "$as_dir"'
   11675 else
   11676   test -d ./-p && rmdir ./-p
   11677   as_mkdir_p=false
   11678 fi
   11679 
   11680 
   11681 # as_fn_executable_p FILE
   11682 # -----------------------
   11683 # Test if FILE is an executable regular file.
   11684 as_fn_executable_p ()
   11685 {
   11686   test -f "$1" && test -x "$1"
   11687 } # as_fn_executable_p
   11688 as_test_x='test -x'
   11689 as_executable_p=as_fn_executable_p
   11690 
   11691 # Sed expression to map a string onto a valid CPP name.
   11692 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11693 
   11694 # Sed expression to map a string onto a valid variable name.
   11695 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11696 
   11697 
   11698 exec 6>&1
   11699 ## ----------------------------------- ##
   11700 ## Main body of $CONFIG_STATUS script. ##
   11701 ## ----------------------------------- ##
   11702 _ASEOF
   11703 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11704 
   11705 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11706 # Save the log message, to keep $0 and so on meaningful, and to
   11707 # report actual input values of CONFIG_FILES etc. instead of their
   11708 # values after options handling.
   11709 ac_log="
   11710 This file was extended by listres $as_me 1.0.5, which was
   11711 generated by GNU Autoconf 2.71.  Invocation command line was
   11712 
   11713   CONFIG_FILES    = $CONFIG_FILES
   11714   CONFIG_HEADERS  = $CONFIG_HEADERS
   11715   CONFIG_LINKS    = $CONFIG_LINKS
   11716   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11717   $ $0 $@
   11718 
   11719 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11720 "
   11721 
   11722 _ACEOF
   11723 
   11724 case $ac_config_files in *"
   11725 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11726 esac
   11727 
   11728 case $ac_config_headers in *"
   11729 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11730 esac
   11731 
   11732 
   11733 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11734 # Files that config.status was made for.
   11735 config_files="$ac_config_files"
   11736 config_headers="$ac_config_headers"
   11737 config_commands="$ac_config_commands"
   11738 
   11739 _ACEOF
   11740 
   11741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11742 ac_cs_usage="\
   11743 \`$as_me' instantiates files and other configuration actions
   11744 from templates according to the current configuration.  Unless the files
   11745 and actions are specified as TAGs, all are instantiated by default.
   11746 
   11747 Usage: $0 [OPTION]... [TAG]...
   11748 
   11749   -h, --help       print this help, then exit
   11750   -V, --version    print version number and configuration settings, then exit
   11751       --config     print configuration, then exit
   11752   -q, --quiet, --silent
   11753                    do not print progress messages
   11754   -d, --debug      don't remove temporary files
   11755       --recheck    update $as_me by reconfiguring in the same conditions
   11756       --file=FILE[:TEMPLATE]
   11757                    instantiate the configuration file FILE
   11758       --header=FILE[:TEMPLATE]
   11759                    instantiate the configuration header FILE
   11760 
   11761 Configuration files:
   11762 $config_files
   11763 
   11764 Configuration headers:
   11765 $config_headers
   11766 
   11767 Configuration commands:
   11768 $config_commands
   11769 
   11770 Report bugs to <https://gitlab.freedesktop.org/xorg/app/listres/issues>."
   11771 
   11772 _ACEOF
   11773 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   11774 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   11775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11776 ac_cs_config='$ac_cs_config_escaped'
   11777 ac_cs_version="\\
   11778 listres config.status 1.0.5
   11779 configured by $0, generated by GNU Autoconf 2.71,
   11780   with options \\"\$ac_cs_config\\"
   11781 
   11782 Copyright (C) 2021 Free Software Foundation, Inc.
   11783 This config.status script is free software; the Free Software Foundation
   11784 gives unlimited permission to copy, distribute and modify it."
   11785 
   11786 ac_pwd='$ac_pwd'
   11787 srcdir='$srcdir'
   11788 INSTALL='$INSTALL'
   11789 MKDIR_P='$MKDIR_P'
   11790 AWK='$AWK'
   11791 test -n "\$AWK" || AWK=awk
   11792 _ACEOF
   11793 
   11794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11795 # The default lists apply if the user does not specify any file.
   11796 ac_need_defaults=:
   11797 while test $# != 0
   11798 do
   11799   case $1 in
   11800   --*=?*)
   11801     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11802     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11803     ac_shift=:
   11804     ;;
   11805   --*=)
   11806     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11807     ac_optarg=
   11808     ac_shift=:
   11809     ;;
   11810   *)
   11811     ac_option=$1
   11812     ac_optarg=$2
   11813     ac_shift=shift
   11814     ;;
   11815   esac
   11816 
   11817   case $ac_option in
   11818   # Handling of the options.
   11819   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11820     ac_cs_recheck=: ;;
   11821   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11822     printf "%s\n" "$ac_cs_version"; exit ;;
   11823   --config | --confi | --conf | --con | --co | --c )
   11824     printf "%s\n" "$ac_cs_config"; exit ;;
   11825   --debug | --debu | --deb | --de | --d | -d )
   11826     debug=: ;;
   11827   --file | --fil | --fi | --f )
   11828     $ac_shift
   11829     case $ac_optarg in
   11830     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11831     '') as_fn_error $? "missing file argument" ;;
   11832     esac
   11833     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11834     ac_need_defaults=false;;
   11835   --header | --heade | --head | --hea )
   11836     $ac_shift
   11837     case $ac_optarg in
   11838     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11839     esac
   11840     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11841     ac_need_defaults=false;;
   11842   --he | --h)
   11843     # Conflict between --help and --header
   11844     as_fn_error $? "ambiguous option: \`$1'
   11845 Try \`$0 --help' for more information.";;
   11846   --help | --hel | -h )
   11847     printf "%s\n" "$ac_cs_usage"; exit ;;
   11848   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11849   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11850     ac_cs_silent=: ;;
   11851 
   11852   # This is an error.
   11853   -*) as_fn_error $? "unrecognized option: \`$1'
   11854 Try \`$0 --help' for more information." ;;
   11855 
   11856   *) as_fn_append ac_config_targets " $1"
   11857      ac_need_defaults=false ;;
   11858 
   11859   esac
   11860   shift
   11861 done
   11862 
   11863 ac_configure_extra_args=
   11864 
   11865 if $ac_cs_silent; then
   11866   exec 6>/dev/null
   11867   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11868 fi
   11869 
   11870 _ACEOF
   11871 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11872 if \$ac_cs_recheck; then
   11873   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11874   shift
   11875   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   11876   CONFIG_SHELL='$SHELL'
   11877   export CONFIG_SHELL
   11878   exec "\$@"
   11879 fi
   11880 
   11881 _ACEOF
   11882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11883 exec 5>>config.log
   11884 {
   11885   echo
   11886   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11887 ## Running $as_me. ##
   11888 _ASBOX
   11889   printf "%s\n" "$ac_log"
   11890 } >&5
   11891 
   11892 _ACEOF
   11893 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11894 #
   11895 # INIT-COMMANDS
   11896 #
   11897 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   11898 
   11899 _ACEOF
   11900 
   11901 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11902 
   11903 # Handling of arguments.
   11904 for ac_config_target in $ac_config_targets
   11905 do
   11906   case $ac_config_target in
   11907     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11908     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11909     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11910     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11911 
   11912   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11913   esac
   11914 done
   11915 
   11916 
   11917 # If the user did not use the arguments to specify the items to instantiate,
   11918 # then the envvar interface is used.  Set only those that are not.
   11919 # We use the long form for the default assignment because of an extremely
   11920 # bizarre bug on SunOS 4.1.3.
   11921 if $ac_need_defaults; then
   11922   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   11923   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   11924   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   11925 fi
   11926 
   11927 # Have a temporary directory for convenience.  Make it in the build tree
   11928 # simply because there is no reason against having it here, and in addition,
   11929 # creating and moving files from /tmp can sometimes cause problems.
   11930 # Hook for its removal unless debugging.
   11931 # Note that there is a small window in which the directory will not be cleaned:
   11932 # after its creation but before its name has been assigned to `$tmp'.
   11933 $debug ||
   11934 {
   11935   tmp= ac_tmp=
   11936   trap 'exit_status=$?
   11937   : "${ac_tmp:=$tmp}"
   11938   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11939 ' 0
   11940   trap 'as_fn_exit 1' 1 2 13 15
   11941 }
   11942 # Create a (secure) tmp directory for tmp files.
   11943 
   11944 {
   11945   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11946   test -d "$tmp"
   11947 }  ||
   11948 {
   11949   tmp=./conf$$-$RANDOM
   11950   (umask 077 && mkdir "$tmp")
   11951 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11952 ac_tmp=$tmp
   11953 
   11954 # Set up the scripts for CONFIG_FILES section.
   11955 # No need to generate them if there are no CONFIG_FILES.
   11956 # This happens for instance with `./config.status config.h'.
   11957 if test -n "$CONFIG_FILES"; then
   11958 
   11959 
   11960 ac_cr=`echo X | tr X '\015'`
   11961 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11962 # But we know of no other shell where ac_cr would be empty at this
   11963 # point, so we can use a bashism as a fallback.
   11964 if test "x$ac_cr" = x; then
   11965   eval ac_cr=\$\'\\r\'
   11966 fi
   11967 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11968 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11969   ac_cs_awk_cr='\\r'
   11970 else
   11971   ac_cs_awk_cr=$ac_cr
   11972 fi
   11973 
   11974 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11975 _ACEOF
   11976 
   11977 
   11978 {
   11979   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11980   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11981   echo "_ACEOF"
   11982 } >conf$$subs.sh ||
   11983   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11984 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11985 ac_delim='%!_!# '
   11986 for ac_last_try in false false false false false :; do
   11987   . ./conf$$subs.sh ||
   11988     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11989 
   11990   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11991   if test $ac_delim_n = $ac_delim_num; then
   11992     break
   11993   elif $ac_last_try; then
   11994     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11995   else
   11996     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11997   fi
   11998 done
   11999 rm -f conf$$subs.sh
   12000 
   12001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12002 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12003 _ACEOF
   12004 sed -n '
   12005 h
   12006 s/^/S["/; s/!.*/"]=/
   12007 p
   12008 g
   12009 s/^[^!]*!//
   12010 :repl
   12011 t repl
   12012 s/'"$ac_delim"'$//
   12013 t delim
   12014 :nl
   12015 h
   12016 s/\(.\{148\}\)..*/\1/
   12017 t more1
   12018 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12019 p
   12020 n
   12021 b repl
   12022 :more1
   12023 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12024 p
   12025 g
   12026 s/.\{148\}//
   12027 t nl
   12028 :delim
   12029 h
   12030 s/\(.\{148\}\)..*/\1/
   12031 t more2
   12032 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12033 p
   12034 b
   12035 :more2
   12036 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12037 p
   12038 g
   12039 s/.\{148\}//
   12040 t delim
   12041 ' <conf$$subs.awk | sed '
   12042 /^[^""]/{
   12043   N
   12044   s/\n//
   12045 }
   12046 ' >>$CONFIG_STATUS || ac_write_fail=1
   12047 rm -f conf$$subs.awk
   12048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12049 _ACAWK
   12050 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12051   for (key in S) S_is_set[key] = 1
   12052   FS = ""
   12053 
   12054 }
   12055 {
   12056   line = $ 0
   12057   nfields = split(line, field, "@")
   12058   substed = 0
   12059   len = length(field[1])
   12060   for (i = 2; i < nfields; i++) {
   12061     key = field[i]
   12062     keylen = length(key)
   12063     if (S_is_set[key]) {
   12064       value = S[key]
   12065       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12066       len += length(value) + length(field[++i])
   12067       substed = 1
   12068     } else
   12069       len += 1 + keylen
   12070   }
   12071 
   12072   print line
   12073 }
   12074 
   12075 _ACAWK
   12076 _ACEOF
   12077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12078 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12079   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12080 else
   12081   cat
   12082 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12083   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12084 _ACEOF
   12085 
   12086 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12087 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12088 # trailing colons and then remove the whole line if VPATH becomes empty
   12089 # (actually we leave an empty line to preserve line numbers).
   12090 if test "x$srcdir" = x.; then
   12091   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12092 h
   12093 s///
   12094 s/^/:/
   12095 s/[	 ]*$/:/
   12096 s/:\$(srcdir):/:/g
   12097 s/:\${srcdir}:/:/g
   12098 s/:@srcdir@:/:/g
   12099 s/^:*//
   12100 s/:*$//
   12101 x
   12102 s/\(=[	 ]*\).*/\1/
   12103 G
   12104 s/\n//
   12105 s/^[^=]*=[	 ]*$//
   12106 }'
   12107 fi
   12108 
   12109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12110 fi # test -n "$CONFIG_FILES"
   12111 
   12112 # Set up the scripts for CONFIG_HEADERS section.
   12113 # No need to generate them if there are no CONFIG_HEADERS.
   12114 # This happens for instance with `./config.status Makefile'.
   12115 if test -n "$CONFIG_HEADERS"; then
   12116 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12117 BEGIN {
   12118 _ACEOF
   12119 
   12120 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12121 # here-document in config.status, that substitutes the proper values into
   12122 # config.h.in to produce config.h.
   12123 
   12124 # Create a delimiter string that does not exist in confdefs.h, to ease
   12125 # handling of long lines.
   12126 ac_delim='%!_!# '
   12127 for ac_last_try in false false :; do
   12128   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12129   if test -z "$ac_tt"; then
   12130     break
   12131   elif $ac_last_try; then
   12132     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12133   else
   12134     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12135   fi
   12136 done
   12137 
   12138 # For the awk script, D is an array of macro values keyed by name,
   12139 # likewise P contains macro parameters if any.  Preserve backslash
   12140 # newline sequences.
   12141 
   12142 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12143 sed -n '
   12144 s/.\{148\}/&'"$ac_delim"'/g
   12145 t rset
   12146 :rset
   12147 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12148 t def
   12149 d
   12150 :def
   12151 s/\\$//
   12152 t bsnl
   12153 s/["\\]/\\&/g
   12154 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12155 D["\1"]=" \3"/p
   12156 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12157 d
   12158 :bsnl
   12159 s/["\\]/\\&/g
   12160 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12161 D["\1"]=" \3\\\\\\n"\\/p
   12162 t cont
   12163 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12164 t cont
   12165 d
   12166 :cont
   12167 n
   12168 s/.\{148\}/&'"$ac_delim"'/g
   12169 t clear
   12170 :clear
   12171 s/\\$//
   12172 t bsnlc
   12173 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12174 d
   12175 :bsnlc
   12176 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12177 b cont
   12178 ' <confdefs.h | sed '
   12179 s/'"$ac_delim"'/"\\\
   12180 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12181 
   12182 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12183   for (key in D) D_is_set[key] = 1
   12184   FS = ""
   12185 }
   12186 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12187   line = \$ 0
   12188   split(line, arg, " ")
   12189   if (arg[1] == "#") {
   12190     defundef = arg[2]
   12191     mac1 = arg[3]
   12192   } else {
   12193     defundef = substr(arg[1], 2)
   12194     mac1 = arg[2]
   12195   }
   12196   split(mac1, mac2, "(") #)
   12197   macro = mac2[1]
   12198   prefix = substr(line, 1, index(line, defundef) - 1)
   12199   if (D_is_set[macro]) {
   12200     # Preserve the white space surrounding the "#".
   12201     print prefix "define", macro P[macro] D[macro]
   12202     next
   12203   } else {
   12204     # Replace #undef with comments.  This is necessary, for example,
   12205     # in the case of _POSIX_SOURCE, which is predefined and required
   12206     # on some systems where configure will not decide to define it.
   12207     if (defundef == "undef") {
   12208       print "/*", prefix defundef, macro, "*/"
   12209       next
   12210     }
   12211   }
   12212 }
   12213 { print }
   12214 _ACAWK
   12215 _ACEOF
   12216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12217   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12218 fi # test -n "$CONFIG_HEADERS"
   12219 
   12220 
   12221 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12222 shift
   12223 for ac_tag
   12224 do
   12225   case $ac_tag in
   12226   :[FHLC]) ac_mode=$ac_tag; continue;;
   12227   esac
   12228   case $ac_mode$ac_tag in
   12229   :[FHL]*:*);;
   12230   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12231   :[FH]-) ac_tag=-:-;;
   12232   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12233   esac
   12234   ac_save_IFS=$IFS
   12235   IFS=:
   12236   set x $ac_tag
   12237   IFS=$ac_save_IFS
   12238   shift
   12239   ac_file=$1
   12240   shift
   12241 
   12242   case $ac_mode in
   12243   :L) ac_source=$1;;
   12244   :[FH])
   12245     ac_file_inputs=
   12246     for ac_f
   12247     do
   12248       case $ac_f in
   12249       -) ac_f="$ac_tmp/stdin";;
   12250       *) # Look for the file first in the build tree, then in the source tree
   12251 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12252 	 # because $ac_f cannot contain `:'.
   12253 	 test -f "$ac_f" ||
   12254 	   case $ac_f in
   12255 	   [\\/$]*) false;;
   12256 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12257 	   esac ||
   12258 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12259       esac
   12260       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12261       as_fn_append ac_file_inputs " '$ac_f'"
   12262     done
   12263 
   12264     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12265     # use $as_me), people would be surprised to read:
   12266     #    /* config.h.  Generated by config.status.  */
   12267     configure_input='Generated from '`
   12268 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12269 	`' by configure.'
   12270     if test x"$ac_file" != x-; then
   12271       configure_input="$ac_file.  $configure_input"
   12272       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12273 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   12274     fi
   12275     # Neutralize special characters interpreted by sed in replacement strings.
   12276     case $configure_input in #(
   12277     *\&* | *\|* | *\\* )
   12278        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   12279        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12280     *) ac_sed_conf_input=$configure_input;;
   12281     esac
   12282 
   12283     case $ac_tag in
   12284     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12285       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12286     esac
   12287     ;;
   12288   esac
   12289 
   12290   ac_dir=`$as_dirname -- "$ac_file" ||
   12291 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12292 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12293 	 X"$ac_file" : 'X\(//\)$' \| \
   12294 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12295 printf "%s\n" X"$ac_file" |
   12296     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12297 	    s//\1/
   12298 	    q
   12299 	  }
   12300 	  /^X\(\/\/\)[^/].*/{
   12301 	    s//\1/
   12302 	    q
   12303 	  }
   12304 	  /^X\(\/\/\)$/{
   12305 	    s//\1/
   12306 	    q
   12307 	  }
   12308 	  /^X\(\/\).*/{
   12309 	    s//\1/
   12310 	    q
   12311 	  }
   12312 	  s/.*/./; q'`
   12313   as_dir="$ac_dir"; as_fn_mkdir_p
   12314   ac_builddir=.
   12315 
   12316 case "$ac_dir" in
   12317 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12318 *)
   12319   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   12320   # A ".." for each directory in $ac_dir_suffix.
   12321   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12322   case $ac_top_builddir_sub in
   12323   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12324   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12325   esac ;;
   12326 esac
   12327 ac_abs_top_builddir=$ac_pwd
   12328 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12329 # for backward compatibility:
   12330 ac_top_builddir=$ac_top_build_prefix
   12331 
   12332 case $srcdir in
   12333   .)  # We are building in place.
   12334     ac_srcdir=.
   12335     ac_top_srcdir=$ac_top_builddir_sub
   12336     ac_abs_top_srcdir=$ac_pwd ;;
   12337   [\\/]* | ?:[\\/]* )  # Absolute name.
   12338     ac_srcdir=$srcdir$ac_dir_suffix;
   12339     ac_top_srcdir=$srcdir
   12340     ac_abs_top_srcdir=$srcdir ;;
   12341   *) # Relative name.
   12342     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12343     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12344     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12345 esac
   12346 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12347 
   12348 
   12349   case $ac_mode in
   12350   :F)
   12351   #
   12352   # CONFIG_FILE
   12353   #
   12354 
   12355   case $INSTALL in
   12356   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12357   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12358   esac
   12359   ac_MKDIR_P=$MKDIR_P
   12360   case $MKDIR_P in
   12361   [\\/$]* | ?:[\\/]* ) ;;
   12362   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12363   esac
   12364 _ACEOF
   12365 
   12366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12367 # If the template does not know about datarootdir, expand it.
   12368 # FIXME: This hack should be removed a few years after 2.60.
   12369 ac_datarootdir_hack=; ac_datarootdir_seen=
   12370 ac_sed_dataroot='
   12371 /datarootdir/ {
   12372   p
   12373   q
   12374 }
   12375 /@datadir@/p
   12376 /@docdir@/p
   12377 /@infodir@/p
   12378 /@localedir@/p
   12379 /@mandir@/p'
   12380 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12381 *datarootdir*) ac_datarootdir_seen=yes;;
   12382 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12383   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12384 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12385 _ACEOF
   12386 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12387   ac_datarootdir_hack='
   12388   s&@datadir@&$datadir&g
   12389   s&@docdir@&$docdir&g
   12390   s&@infodir@&$infodir&g
   12391   s&@localedir@&$localedir&g
   12392   s&@mandir@&$mandir&g
   12393   s&\\\${datarootdir}&$datarootdir&g' ;;
   12394 esac
   12395 _ACEOF
   12396 
   12397 # Neutralize VPATH when `$srcdir' = `.'.
   12398 # Shell code in configure.ac might set extrasub.
   12399 # FIXME: do we really want to maintain this feature?
   12400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12401 ac_sed_extra="$ac_vpsub
   12402 $extrasub
   12403 _ACEOF
   12404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12405 :t
   12406 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12407 s|@configure_input@|$ac_sed_conf_input|;t t
   12408 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12409 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12410 s&@srcdir@&$ac_srcdir&;t t
   12411 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12412 s&@top_srcdir@&$ac_top_srcdir&;t t
   12413 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12414 s&@builddir@&$ac_builddir&;t t
   12415 s&@abs_builddir@&$ac_abs_builddir&;t t
   12416 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12417 s&@INSTALL@&$ac_INSTALL&;t t
   12418 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12419 $ac_datarootdir_hack
   12420 "
   12421 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12422   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12423 
   12424 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12425   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12426   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12427       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12428   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12429 which seems to be undefined.  Please make sure it is defined" >&5
   12430 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12431 which seems to be undefined.  Please make sure it is defined" >&2;}
   12432 
   12433   rm -f "$ac_tmp/stdin"
   12434   case $ac_file in
   12435   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12436   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12437   esac \
   12438   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12439  ;;
   12440   :H)
   12441   #
   12442   # CONFIG_HEADER
   12443   #
   12444   if test x"$ac_file" != x-; then
   12445     {
   12446       printf "%s\n" "/* $configure_input  */" >&1 \
   12447       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12448     } >"$ac_tmp/config.h" \
   12449       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12450     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12451       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12452 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   12453     else
   12454       rm -f "$ac_file"
   12455       mv "$ac_tmp/config.h" "$ac_file" \
   12456 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12457     fi
   12458   else
   12459     printf "%s\n" "/* $configure_input  */" >&1 \
   12460       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12461       || as_fn_error $? "could not create -" "$LINENO" 5
   12462   fi
   12463 # Compute "$ac_file"'s index in $config_headers.
   12464 _am_arg="$ac_file"
   12465 _am_stamp_count=1
   12466 for _am_header in $config_headers :; do
   12467   case $_am_header in
   12468     $_am_arg | $_am_arg:* )
   12469       break ;;
   12470     * )
   12471       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12472   esac
   12473 done
   12474 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12475 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12476 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12477 	 X"$_am_arg" : 'X\(//\)$' \| \
   12478 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12479 printf "%s\n" X"$_am_arg" |
   12480     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12481 	    s//\1/
   12482 	    q
   12483 	  }
   12484 	  /^X\(\/\/\)[^/].*/{
   12485 	    s//\1/
   12486 	    q
   12487 	  }
   12488 	  /^X\(\/\/\)$/{
   12489 	    s//\1/
   12490 	    q
   12491 	  }
   12492 	  /^X\(\/\).*/{
   12493 	    s//\1/
   12494 	    q
   12495 	  }
   12496 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12497  ;;
   12498 
   12499   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12500 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   12501  ;;
   12502   esac
   12503 
   12504 
   12505   case $ac_file$ac_mode in
   12506     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12507   # Older Autoconf quotes --file arguments for eval, but not when files
   12508   # are listed without --file.  Let's play safe and only enable the eval
   12509   # if we detect the quoting.
   12510   # TODO: see whether this extra hack can be removed once we start
   12511   # requiring Autoconf 2.70 or later.
   12512   case $CONFIG_FILES in #(
   12513   *\'*) :
   12514     eval set x "$CONFIG_FILES" ;; #(
   12515   *) :
   12516     set x $CONFIG_FILES ;; #(
   12517   *) :
   12518      ;;
   12519 esac
   12520   shift
   12521   # Used to flag and report bootstrapping failures.
   12522   am_rc=0
   12523   for am_mf
   12524   do
   12525     # Strip MF so we end up with the name of the file.
   12526     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   12527     # Check whether this is an Automake generated Makefile which includes
   12528     # dependency-tracking related rules and includes.
   12529     # Grep'ing the whole file directly is not great: AIX grep has a line
   12530     # limit of 2048, but all sed's we know have understand at least 4000.
   12531     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   12532       || continue
   12533     am_dirpart=`$as_dirname -- "$am_mf" ||
   12534 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12535 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   12536 	 X"$am_mf" : 'X\(//\)$' \| \
   12537 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12538 printf "%s\n" X"$am_mf" |
   12539     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12540 	    s//\1/
   12541 	    q
   12542 	  }
   12543 	  /^X\(\/\/\)[^/].*/{
   12544 	    s//\1/
   12545 	    q
   12546 	  }
   12547 	  /^X\(\/\/\)$/{
   12548 	    s//\1/
   12549 	    q
   12550 	  }
   12551 	  /^X\(\/\).*/{
   12552 	    s//\1/
   12553 	    q
   12554 	  }
   12555 	  s/.*/./; q'`
   12556     am_filepart=`$as_basename -- "$am_mf" ||
   12557 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   12558 	 X"$am_mf" : 'X\(//\)$' \| \
   12559 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12560 printf "%s\n" X/"$am_mf" |
   12561     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12562 	    s//\1/
   12563 	    q
   12564 	  }
   12565 	  /^X\/\(\/\/\)$/{
   12566 	    s//\1/
   12567 	    q
   12568 	  }
   12569 	  /^X\/\(\/\).*/{
   12570 	    s//\1/
   12571 	    q
   12572 	  }
   12573 	  s/.*/./; q'`
   12574     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   12575       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12576         | $MAKE -f - am--depfiles" >&5
   12577    (cd "$am_dirpart" \
   12578       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12579         | $MAKE -f - am--depfiles) >&5 2>&5
   12580    ac_status=$?
   12581    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12582    (exit $ac_status); } || am_rc=$?
   12583   done
   12584   if test $am_rc -ne 0; then
   12585     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12586 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12587 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   12588     for automatic dependency tracking.  If GNU make was not used, consider
   12589     re-running the configure script with MAKE=\"gmake\" (or whatever is
   12590     necessary).  You can also try re-running configure with the
   12591     '--disable-dependency-tracking' option to at least be able to build
   12592     the package (albeit without support for automatic dependency tracking).
   12593 See \`config.log' for more details" "$LINENO" 5; }
   12594   fi
   12595   { am_dirpart=; unset am_dirpart;}
   12596   { am_filepart=; unset am_filepart;}
   12597   { am_mf=; unset am_mf;}
   12598   { am_rc=; unset am_rc;}
   12599   rm -f conftest-deps.mk
   12600 }
   12601  ;;
   12602 
   12603   esac
   12604 done # for ac_tag
   12605 
   12606 
   12607 as_fn_exit 0
   12608 _ACEOF
   12609 ac_clean_files=$ac_clean_files_save
   12610 
   12611 test $ac_write_fail = 0 ||
   12612   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12613 
   12614 
   12615 # configure is writing to config.log, and then calls config.status.
   12616 # config.status does its own redirection, appending to config.log.
   12617 # Unfortunately, on DOS this fails, as config.log is still kept open
   12618 # by configure, so config.status won't be able to write to it; its
   12619 # output is simply discarded.  So we exec the FD to /dev/null,
   12620 # effectively closing config.log, so it can be properly (re)opened and
   12621 # appended to by config.status.  When coming back to configure, we
   12622 # need to make the FD available again.
   12623 if test "$no_create" != yes; then
   12624   ac_cs_success=:
   12625   ac_config_status_args=
   12626   test "$silent" = yes &&
   12627     ac_config_status_args="$ac_config_status_args --quiet"
   12628   exec 5>/dev/null
   12629   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12630   exec 5>>config.log
   12631   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12632   # would make configure fail if this is the last instruction.
   12633   $ac_cs_success || as_fn_exit 1
   12634 fi
   12635 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12636   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12637 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12638 fi
   12639 
   12640 
   12641