Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for xwud 1.0.7.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xwud/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     21 then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else case e in #(
     29   e) case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as 'sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed 'exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    144 then :
    145   emulate sh
    146   NULLCMD=:
    147   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    148   # is contrary to our usage.  Disable this feature.
    149   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    150   setopt NO_GLOB_SUBST
    151 else case e in #(
    152   e) case \`(set -o) 2>/dev/null\` in #(
    153   *posix*) :
    154     set -o posix ;; #(
    155   *) :
    156      ;;
    157 esac ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else case e in #(
    176   e) exitcode=1; echo positional parameters were not saved. ;;
    177 esac
    178 fi
    179 test x\$exitcode = x0 || exit 1
    180 blah=\$(echo \$(echo blah))
    181 test x\"\$blah\" = xblah || exit 1
    182 test -x / || exit 1"
    183   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    184   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    185   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    186   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    187 test \$(( 1 + 1 )) = 2 || exit 1"
    188   if (eval "$as_required") 2>/dev/null
    189 then :
    190   as_have_required=yes
    191 else case e in #(
    192   e) as_have_required=no ;;
    193 esac
    194 fi
    195   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    196 then :
    197 
    198 else case e in #(
    199   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    200 as_found=false
    201 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    202 do
    203   IFS=$as_save_IFS
    204   case $as_dir in #(((
    205     '') as_dir=./ ;;
    206     */) ;;
    207     *) as_dir=$as_dir/ ;;
    208   esac
    209   as_found=:
    210   case $as_dir in #(
    211 	 /*)
    212 	   for as_base in sh bash ksh sh5; do
    213 	     # Try only shells that exist, to save several forks.
    214 	     as_shell=$as_dir$as_base
    215 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    216 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    217 then :
    218   CONFIG_SHELL=$as_shell as_have_required=yes
    219 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    220 then :
    221   break 2
    222 fi
    223 fi
    224 	   done;;
    225        esac
    226   as_found=false
    227 done
    228 IFS=$as_save_IFS
    229 if $as_found
    230 then :
    231 
    232 else case e in #(
    233   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    235 then :
    236   CONFIG_SHELL=$SHELL as_have_required=yes
    237 fi ;;
    238 esac
    239 fi
    240 
    241 
    242       if test "x$CONFIG_SHELL" != x
    243 then :
    244   export CONFIG_SHELL
    245              # We cannot yet assume a decent shell, so we have to provide a
    246 # neutralization value for shells without unset; and this also
    247 # works around shells that cannot unset nonexistent variables.
    248 # Preserve -v and -x to the replacement shell.
    249 BASH_ENV=/dev/null
    250 ENV=/dev/null
    251 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    252 case $- in # ((((
    253   *v*x* | *x*v* ) as_opts=-vx ;;
    254   *v* ) as_opts=-v ;;
    255   *x* ) as_opts=-x ;;
    256   * ) as_opts= ;;
    257 esac
    258 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    259 # Admittedly, this is quite paranoid, since all the known shells bail
    260 # out after a failed 'exec'.
    261 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    262 exit 255
    263 fi
    264 
    265     if test x$as_have_required = xno
    266 then :
    267   printf "%s\n" "$0: This script requires a shell more modern than all"
    268   printf "%s\n" "$0: the shells that I found on your system."
    269   if test ${ZSH_VERSION+y} ; then
    270     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    271     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    272   else
    273     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    274 $0: https://gitlab.freedesktop.org/xorg/app/xwud/-/issues
    275 $0: about your system, including any error possibly output
    276 $0: before this message. Then install a modern shell, or
    277 $0: manually run the script under such a shell if you do
    278 $0: have one."
    279   fi
    280   exit 1
    281 fi ;;
    282 esac
    283 fi
    284 fi
    285 SHELL=${CONFIG_SHELL-/bin/sh}
    286 export SHELL
    287 # Unset more variables known to interfere with behavior of common tools.
    288 CLICOLOR_FORCE= GREP_OPTIONS=
    289 unset CLICOLOR_FORCE GREP_OPTIONS
    290 
    291 ## --------------------- ##
    292 ## M4sh Shell Functions. ##
    293 ## --------------------- ##
    294 # as_fn_unset VAR
    295 # ---------------
    296 # Portably unset VAR.
    297 as_fn_unset ()
    298 {
    299   { eval $1=; unset $1;}
    300 }
    301 as_unset=as_fn_unset
    302 
    303 
    304 # as_fn_set_status STATUS
    305 # -----------------------
    306 # Set $? to STATUS, without forking.
    307 as_fn_set_status ()
    308 {
    309   return $1
    310 } # as_fn_set_status
    311 
    312 # as_fn_exit STATUS
    313 # -----------------
    314 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    315 as_fn_exit ()
    316 {
    317   set +e
    318   as_fn_set_status $1
    319   exit $1
    320 } # as_fn_exit
    321 
    322 # as_fn_mkdir_p
    323 # -------------
    324 # Create "$as_dir" as a directory, including parents if necessary.
    325 as_fn_mkdir_p ()
    326 {
    327 
    328   case $as_dir in #(
    329   -*) as_dir=./$as_dir;;
    330   esac
    331   test -d "$as_dir" || eval $as_mkdir_p || {
    332     as_dirs=
    333     while :; do
    334       case $as_dir in #(
    335       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    336       *) as_qdir=$as_dir;;
    337       esac
    338       as_dirs="'$as_qdir' $as_dirs"
    339       as_dir=`$as_dirname -- "$as_dir" ||
    340 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    341 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    342 	 X"$as_dir" : 'X\(//\)$' \| \
    343 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    344 printf "%s\n" X"$as_dir" |
    345     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    346 	    s//\1/
    347 	    q
    348 	  }
    349 	  /^X\(\/\/\)[^/].*/{
    350 	    s//\1/
    351 	    q
    352 	  }
    353 	  /^X\(\/\/\)$/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\).*/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  s/.*/./; q'`
    362       test -d "$as_dir" && break
    363     done
    364     test -z "$as_dirs" || eval "mkdir $as_dirs"
    365   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    366 
    367 
    368 } # as_fn_mkdir_p
    369 
    370 # as_fn_executable_p FILE
    371 # -----------------------
    372 # Test if FILE is an executable regular file.
    373 as_fn_executable_p ()
    374 {
    375   test -f "$1" && test -x "$1"
    376 } # as_fn_executable_p
    377 # as_fn_append VAR VALUE
    378 # ----------------------
    379 # Append the text in VALUE to the end of the definition contained in VAR. Take
    380 # advantage of any shell optimizations that allow amortized linear growth over
    381 # repeated appends, instead of the typical quadratic growth present in naive
    382 # implementations.
    383 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    384 then :
    385   eval 'as_fn_append ()
    386   {
    387     eval $1+=\$2
    388   }'
    389 else case e in #(
    390   e) as_fn_append ()
    391   {
    392     eval $1=\$$1\$2
    393   } ;;
    394 esac
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    403 then :
    404   eval 'as_fn_arith ()
    405   {
    406     as_val=$(( $* ))
    407   }'
    408 else case e in #(
    409   e) as_fn_arith ()
    410   {
    411     as_val=`expr "$@" || test $? -eq 1`
    412   } ;;
    413 esac
    414 fi # as_fn_arith
    415 
    416 
    417 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    418 # ----------------------------------------
    419 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    420 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    421 # script with STATUS, using 1 if that was 0.
    422 as_fn_error ()
    423 {
    424   as_status=$1; test $as_status -eq 0 && as_status=1
    425   if test "$4"; then
    426     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    427     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    428   fi
    429   printf "%s\n" "$as_me: error: $2" >&2
    430   as_fn_exit $as_status
    431 } # as_fn_error
    432 
    433 if expr a : '\(a\)' >/dev/null 2>&1 &&
    434    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    435   as_expr=expr
    436 else
    437   as_expr=false
    438 fi
    439 
    440 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    441   as_basename=basename
    442 else
    443   as_basename=false
    444 fi
    445 
    446 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    447   as_dirname=dirname
    448 else
    449   as_dirname=false
    450 fi
    451 
    452 as_me=`$as_basename -- "$0" ||
    453 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    454 	 X"$0" : 'X\(//\)$' \| \
    455 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    456 printf "%s\n" X/"$0" |
    457     sed '/^.*\/\([^/][^/]*\)\/*$/{
    458 	    s//\1/
    459 	    q
    460 	  }
    461 	  /^X\/\(\/\/\)$/{
    462 	    s//\1/
    463 	    q
    464 	  }
    465 	  /^X\/\(\/\).*/{
    466 	    s//\1/
    467 	    q
    468 	  }
    469 	  s/.*/./; q'`
    470 
    471 # Avoid depending upon Character Ranges.
    472 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    473 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    474 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    475 as_cr_digits='0123456789'
    476 as_cr_alnum=$as_cr_Letters$as_cr_digits
    477 
    478 
    479   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    480   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    481   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    482   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    483   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    484   sed -n '
    485     p
    486     /[$]LINENO/=
    487   ' <$as_myself |
    488     sed '
    489       t clear
    490       :clear
    491       s/[$]LINENO.*/&-/
    492       t lineno
    493       b
    494       :lineno
    495       N
    496       :loop
    497       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    498       t loop
    499       s/-\n.*//
    500     ' >$as_me.lineno &&
    501   chmod +x "$as_me.lineno" ||
    502     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    503 
    504   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    505   # already done that, so ensure we don't try to do so again and fall
    506   # in an infinite loop.  This has already happened in practice.
    507   _as_can_reexec=no; export _as_can_reexec
    508   # Don't try to exec as it changes $[0], causing all sort of problems
    509   # (the dirname of $[0] is not the place where we might find the
    510   # original and so on.  Autoconf is especially sensitive to this).
    511   . "./$as_me.lineno"
    512   # Exit status is that of the last command.
    513   exit
    514 }
    515 
    516 
    517 # Determine whether it's possible to make 'echo' print without a newline.
    518 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    519 # for compatibility with existing Makefiles.
    520 ECHO_C= ECHO_N= ECHO_T=
    521 case `echo -n x` in #(((((
    522 -n*)
    523   case `echo 'xy\c'` in
    524   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    525   xy)  ECHO_C='\c';;
    526   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    527        ECHO_T='	';;
    528   esac;;
    529 *)
    530   ECHO_N='-n';;
    531 esac
    532 
    533 # For backward compatibility with old third-party macros, we provide
    534 # the shell variables $as_echo and $as_echo_n.  New code should use
    535 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    536 as_echo='printf %s\n'
    537 as_echo_n='printf %s'
    538 
    539 rm -f conf$$ conf$$.exe conf$$.file
    540 if test -d conf$$.dir; then
    541   rm -f conf$$.dir/conf$$.file
    542 else
    543   rm -f conf$$.dir
    544   mkdir conf$$.dir 2>/dev/null
    545 fi
    546 if (echo >conf$$.file) 2>/dev/null; then
    547   if ln -s conf$$.file conf$$ 2>/dev/null; then
    548     as_ln_s='ln -s'
    549     # ... but there are two gotchas:
    550     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    551     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    552     # In both cases, we have to default to 'cp -pR'.
    553     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    554       as_ln_s='cp -pR'
    555   elif ln conf$$.file conf$$ 2>/dev/null; then
    556     as_ln_s=ln
    557   else
    558     as_ln_s='cp -pR'
    559   fi
    560 else
    561   as_ln_s='cp -pR'
    562 fi
    563 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    564 rmdir conf$$.dir 2>/dev/null
    565 
    566 if mkdir -p . 2>/dev/null; then
    567   as_mkdir_p='mkdir -p "$as_dir"'
    568 else
    569   test -d ./-p && rmdir ./-p
    570   as_mkdir_p=false
    571 fi
    572 
    573 as_test_x='test -x'
    574 as_executable_p=as_fn_executable_p
    575 
    576 # Sed expression to map a string onto a valid CPP name.
    577 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    578 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    579 
    580 # Sed expression to map a string onto a valid variable name.
    581 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    582 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    583 
    584 
    585 test -n "$DJDIR" || exec 7<&0 </dev/null
    586 exec 6>&1
    587 
    588 # Name of the host.
    589 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    590 # so uname gets run too.
    591 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    592 
    593 #
    594 # Initializations.
    595 #
    596 ac_default_prefix=/usr/local
    597 ac_clean_files=
    598 ac_config_libobj_dir=.
    599 LIBOBJS=
    600 cross_compiling=no
    601 subdirs=
    602 MFLAGS=
    603 MAKEFLAGS=
    604 
    605 # Identity of this package.
    606 PACKAGE_NAME='xwud'
    607 PACKAGE_TARNAME='xwud'
    608 PACKAGE_VERSION='1.0.7'
    609 PACKAGE_STRING='xwud 1.0.7'
    610 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xwud/-/issues'
    611 PACKAGE_URL=''
    612 
    613 ac_unique_file="Makefile.am"
    614 # Factoring default headers for most tests.
    615 ac_includes_default="\
    616 #include <stddef.h>
    617 #ifdef HAVE_STDIO_H
    618 # include <stdio.h>
    619 #endif
    620 #ifdef HAVE_STDLIB_H
    621 # include <stdlib.h>
    622 #endif
    623 #ifdef HAVE_STRING_H
    624 # include <string.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_STRINGS_H
    633 # include <strings.h>
    634 #endif
    635 #ifdef HAVE_SYS_TYPES_H
    636 # include <sys/types.h>
    637 #endif
    638 #ifdef HAVE_SYS_STAT_H
    639 # include <sys/stat.h>
    640 #endif
    641 #ifdef HAVE_UNISTD_H
    642 # include <unistd.h>
    643 #endif"
    644 
    645 ac_header_c_list=
    646 ac_subst_vars='am__EXEEXT_FALSE
    647 am__EXEEXT_TRUE
    648 LTLIBOBJS
    649 LIBOBJS
    650 XWUD_LIBS
    651 XWUD_CFLAGS
    652 MAN_SUBSTS
    653 XORG_MAN_PAGE
    654 ADMIN_MAN_DIR
    655 DRIVER_MAN_DIR
    656 MISC_MAN_DIR
    657 FILE_MAN_DIR
    658 LIB_MAN_DIR
    659 APP_MAN_DIR
    660 ADMIN_MAN_SUFFIX
    661 DRIVER_MAN_SUFFIX
    662 MISC_MAN_SUFFIX
    663 FILE_MAN_SUFFIX
    664 LIB_MAN_SUFFIX
    665 APP_MAN_SUFFIX
    666 SED
    667 host_os
    668 host_vendor
    669 host_cpu
    670 host
    671 build_os
    672 build_vendor
    673 build_cpu
    674 build
    675 INSTALL_CMD
    676 PKG_CONFIG_LIBDIR
    677 PKG_CONFIG_PATH
    678 PKG_CONFIG
    679 CHANGELOG_CMD
    680 STRICT_CFLAGS
    681 CWARNFLAGS
    682 BASE_CFLAGS
    683 am__fastdepCC_FALSE
    684 am__fastdepCC_TRUE
    685 CCDEPMODE
    686 am__nodep
    687 AMDEPBACKSLASH
    688 AMDEP_FALSE
    689 AMDEP_TRUE
    690 am__include
    691 DEPDIR
    692 OBJEXT
    693 EXEEXT
    694 ac_ct_CC
    695 CPPFLAGS
    696 LDFLAGS
    697 CFLAGS
    698 CC
    699 am__xargs_n
    700 am__rm_f_notfound
    701 AM_BACKSLASH
    702 AM_DEFAULT_VERBOSITY
    703 AM_DEFAULT_V
    704 AM_V
    705 CSCOPE
    706 ETAGS
    707 CTAGS
    708 am__untar
    709 am__tar
    710 AMTAR
    711 am__leading_dot
    712 SET_MAKE
    713 AWK
    714 mkdir_p
    715 MKDIR_P
    716 INSTALL_STRIP_PROGRAM
    717 STRIP
    718 install_sh
    719 MAKEINFO
    720 AUTOHEADER
    721 AUTOMAKE
    722 AUTOCONF
    723 ACLOCAL
    724 VERSION
    725 PACKAGE
    726 CYGPATH_W
    727 am__isrc
    728 INSTALL_DATA
    729 INSTALL_SCRIPT
    730 INSTALL_PROGRAM
    731 target_alias
    732 host_alias
    733 build_alias
    734 LIBS
    735 ECHO_T
    736 ECHO_N
    737 ECHO_C
    738 DEFS
    739 mandir
    740 localedir
    741 libdir
    742 psdir
    743 pdfdir
    744 dvidir
    745 htmldir
    746 infodir
    747 docdir
    748 oldincludedir
    749 includedir
    750 runstatedir
    751 localstatedir
    752 sharedstatedir
    753 sysconfdir
    754 datadir
    755 datarootdir
    756 libexecdir
    757 sbindir
    758 bindir
    759 program_transform_name
    760 prefix
    761 exec_prefix
    762 PACKAGE_URL
    763 PACKAGE_BUGREPORT
    764 PACKAGE_STRING
    765 PACKAGE_VERSION
    766 PACKAGE_TARNAME
    767 PACKAGE_NAME
    768 PATH_SEPARATOR
    769 SHELL
    770 am__quote'
    771 ac_subst_files=''
    772 ac_user_opts='
    773 enable_option_checking
    774 enable_silent_rules
    775 enable_dependency_tracking
    776 enable_selective_werror
    777 enable_strict_compilation
    778 '
    779       ac_precious_vars='build_alias
    780 host_alias
    781 target_alias
    782 CC
    783 CFLAGS
    784 LDFLAGS
    785 LIBS
    786 CPPFLAGS
    787 PKG_CONFIG
    788 PKG_CONFIG_PATH
    789 PKG_CONFIG_LIBDIR
    790 XWUD_CFLAGS
    791 XWUD_LIBS'
    792 
    793 
    794 # Initialize some variables set by options.
    795 ac_init_help=
    796 ac_init_version=false
    797 ac_unrecognized_opts=
    798 ac_unrecognized_sep=
    799 # The variables have the same names as the options, with
    800 # dashes changed to underlines.
    801 cache_file=/dev/null
    802 exec_prefix=NONE
    803 no_create=
    804 no_recursion=
    805 prefix=NONE
    806 program_prefix=NONE
    807 program_suffix=NONE
    808 program_transform_name=s,x,x,
    809 silent=
    810 site=
    811 srcdir=
    812 verbose=
    813 x_includes=NONE
    814 x_libraries=NONE
    815 
    816 # Installation directory options.
    817 # These are left unexpanded so users can "make install exec_prefix=/foo"
    818 # and all the variables that are supposed to be based on exec_prefix
    819 # by default will actually change.
    820 # Use braces instead of parens because sh, perl, etc. also accept them.
    821 # (The list follows the same order as the GNU Coding Standards.)
    822 bindir='${exec_prefix}/bin'
    823 sbindir='${exec_prefix}/sbin'
    824 libexecdir='${exec_prefix}/libexec'
    825 datarootdir='${prefix}/share'
    826 datadir='${datarootdir}'
    827 sysconfdir='${prefix}/etc'
    828 sharedstatedir='${prefix}/com'
    829 localstatedir='${prefix}/var'
    830 runstatedir='${localstatedir}/run'
    831 includedir='${prefix}/include'
    832 oldincludedir='/usr/include'
    833 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    834 infodir='${datarootdir}/info'
    835 htmldir='${docdir}'
    836 dvidir='${docdir}'
    837 pdfdir='${docdir}'
    838 psdir='${docdir}'
    839 libdir='${exec_prefix}/lib'
    840 localedir='${datarootdir}/locale'
    841 mandir='${datarootdir}/man'
    842 
    843 ac_prev=
    844 ac_dashdash=
    845 for ac_option
    846 do
    847   # If the previous option needs an argument, assign it.
    848   if test -n "$ac_prev"; then
    849     eval $ac_prev=\$ac_option
    850     ac_prev=
    851     continue
    852   fi
    853 
    854   case $ac_option in
    855   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    856   *=)   ac_optarg= ;;
    857   *)    ac_optarg=yes ;;
    858   esac
    859 
    860   case $ac_dashdash$ac_option in
    861   --)
    862     ac_dashdash=yes ;;
    863 
    864   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    865     ac_prev=bindir ;;
    866   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    867     bindir=$ac_optarg ;;
    868 
    869   -build | --build | --buil | --bui | --bu)
    870     ac_prev=build_alias ;;
    871   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    872     build_alias=$ac_optarg ;;
    873 
    874   -cache-file | --cache-file | --cache-fil | --cache-fi \
    875   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    876     ac_prev=cache_file ;;
    877   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    878   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    879     cache_file=$ac_optarg ;;
    880 
    881   --config-cache | -C)
    882     cache_file=config.cache ;;
    883 
    884   -datadir | --datadir | --datadi | --datad)
    885     ac_prev=datadir ;;
    886   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    887     datadir=$ac_optarg ;;
    888 
    889   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    890   | --dataroo | --dataro | --datar)
    891     ac_prev=datarootdir ;;
    892   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    893   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    894     datarootdir=$ac_optarg ;;
    895 
    896   -disable-* | --disable-*)
    897     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    898     # Reject names that are not valid shell variable names.
    899     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    900       as_fn_error $? "invalid feature name: '$ac_useropt'"
    901     ac_useropt_orig=$ac_useropt
    902     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    903     case $ac_user_opts in
    904       *"
    905 "enable_$ac_useropt"
    906 "*) ;;
    907       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    908 	 ac_unrecognized_sep=', ';;
    909     esac
    910     eval enable_$ac_useropt=no ;;
    911 
    912   -docdir | --docdir | --docdi | --doc | --do)
    913     ac_prev=docdir ;;
    914   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    915     docdir=$ac_optarg ;;
    916 
    917   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    918     ac_prev=dvidir ;;
    919   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    920     dvidir=$ac_optarg ;;
    921 
    922   -enable-* | --enable-*)
    923     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    924     # Reject names that are not valid shell variable names.
    925     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    926       as_fn_error $? "invalid feature name: '$ac_useropt'"
    927     ac_useropt_orig=$ac_useropt
    928     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    929     case $ac_user_opts in
    930       *"
    931 "enable_$ac_useropt"
    932 "*) ;;
    933       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    934 	 ac_unrecognized_sep=', ';;
    935     esac
    936     eval enable_$ac_useropt=\$ac_optarg ;;
    937 
    938   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    939   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    940   | --exec | --exe | --ex)
    941     ac_prev=exec_prefix ;;
    942   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    943   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    944   | --exec=* | --exe=* | --ex=*)
    945     exec_prefix=$ac_optarg ;;
    946 
    947   -gas | --gas | --ga | --g)
    948     # Obsolete; use --with-gas.
    949     with_gas=yes ;;
    950 
    951   -help | --help | --hel | --he | -h)
    952     ac_init_help=long ;;
    953   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    954     ac_init_help=recursive ;;
    955   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    956     ac_init_help=short ;;
    957 
    958   -host | --host | --hos | --ho)
    959     ac_prev=host_alias ;;
    960   -host=* | --host=* | --hos=* | --ho=*)
    961     host_alias=$ac_optarg ;;
    962 
    963   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    964     ac_prev=htmldir ;;
    965   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    966   | --ht=*)
    967     htmldir=$ac_optarg ;;
    968 
    969   -includedir | --includedir | --includedi | --included | --include \
    970   | --includ | --inclu | --incl | --inc)
    971     ac_prev=includedir ;;
    972   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    973   | --includ=* | --inclu=* | --incl=* | --inc=*)
    974     includedir=$ac_optarg ;;
    975 
    976   -infodir | --infodir | --infodi | --infod | --info | --inf)
    977     ac_prev=infodir ;;
    978   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    979     infodir=$ac_optarg ;;
    980 
    981   -libdir | --libdir | --libdi | --libd)
    982     ac_prev=libdir ;;
    983   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    984     libdir=$ac_optarg ;;
    985 
    986   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    987   | --libexe | --libex | --libe)
    988     ac_prev=libexecdir ;;
    989   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    990   | --libexe=* | --libex=* | --libe=*)
    991     libexecdir=$ac_optarg ;;
    992 
    993   -localedir | --localedir | --localedi | --localed | --locale)
    994     ac_prev=localedir ;;
    995   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    996     localedir=$ac_optarg ;;
    997 
    998   -localstatedir | --localstatedir | --localstatedi | --localstated \
    999   | --localstate | --localstat | --localsta | --localst | --locals)
   1000     ac_prev=localstatedir ;;
   1001   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1002   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1003     localstatedir=$ac_optarg ;;
   1004 
   1005   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1006     ac_prev=mandir ;;
   1007   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1008     mandir=$ac_optarg ;;
   1009 
   1010   -nfp | --nfp | --nf)
   1011     # Obsolete; use --without-fp.
   1012     with_fp=no ;;
   1013 
   1014   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1015   | --no-cr | --no-c | -n)
   1016     no_create=yes ;;
   1017 
   1018   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1019   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1020     no_recursion=yes ;;
   1021 
   1022   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1023   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1024   | --oldin | --oldi | --old | --ol | --o)
   1025     ac_prev=oldincludedir ;;
   1026   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1027   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1028   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1029     oldincludedir=$ac_optarg ;;
   1030 
   1031   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1032     ac_prev=prefix ;;
   1033   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1034     prefix=$ac_optarg ;;
   1035 
   1036   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1037   | --program-pre | --program-pr | --program-p)
   1038     ac_prev=program_prefix ;;
   1039   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1040   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1041     program_prefix=$ac_optarg ;;
   1042 
   1043   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1044   | --program-suf | --program-su | --program-s)
   1045     ac_prev=program_suffix ;;
   1046   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1047   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1048     program_suffix=$ac_optarg ;;
   1049 
   1050   -program-transform-name | --program-transform-name \
   1051   | --program-transform-nam | --program-transform-na \
   1052   | --program-transform-n | --program-transform- \
   1053   | --program-transform | --program-transfor \
   1054   | --program-transfo | --program-transf \
   1055   | --program-trans | --program-tran \
   1056   | --progr-tra | --program-tr | --program-t)
   1057     ac_prev=program_transform_name ;;
   1058   -program-transform-name=* | --program-transform-name=* \
   1059   | --program-transform-nam=* | --program-transform-na=* \
   1060   | --program-transform-n=* | --program-transform-=* \
   1061   | --program-transform=* | --program-transfor=* \
   1062   | --program-transfo=* | --program-transf=* \
   1063   | --program-trans=* | --program-tran=* \
   1064   | --progr-tra=* | --program-tr=* | --program-t=*)
   1065     program_transform_name=$ac_optarg ;;
   1066 
   1067   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1068     ac_prev=pdfdir ;;
   1069   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1070     pdfdir=$ac_optarg ;;
   1071 
   1072   -psdir | --psdir | --psdi | --psd | --ps)
   1073     ac_prev=psdir ;;
   1074   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1075     psdir=$ac_optarg ;;
   1076 
   1077   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1078   | -silent | --silent | --silen | --sile | --sil)
   1079     silent=yes ;;
   1080 
   1081   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1082   | --runstate | --runstat | --runsta | --runst | --runs \
   1083   | --run | --ru | --r)
   1084     ac_prev=runstatedir ;;
   1085   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1086   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1087   | --run=* | --ru=* | --r=*)
   1088     runstatedir=$ac_optarg ;;
   1089 
   1090   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1091     ac_prev=sbindir ;;
   1092   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1093   | --sbi=* | --sb=*)
   1094     sbindir=$ac_optarg ;;
   1095 
   1096   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1097   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1098   | --sharedst | --shareds | --shared | --share | --shar \
   1099   | --sha | --sh)
   1100     ac_prev=sharedstatedir ;;
   1101   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1102   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1103   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1104   | --sha=* | --sh=*)
   1105     sharedstatedir=$ac_optarg ;;
   1106 
   1107   -site | --site | --sit)
   1108     ac_prev=site ;;
   1109   -site=* | --site=* | --sit=*)
   1110     site=$ac_optarg ;;
   1111 
   1112   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1113     ac_prev=srcdir ;;
   1114   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1115     srcdir=$ac_optarg ;;
   1116 
   1117   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1118   | --syscon | --sysco | --sysc | --sys | --sy)
   1119     ac_prev=sysconfdir ;;
   1120   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1121   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1122     sysconfdir=$ac_optarg ;;
   1123 
   1124   -target | --target | --targe | --targ | --tar | --ta | --t)
   1125     ac_prev=target_alias ;;
   1126   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1127     target_alias=$ac_optarg ;;
   1128 
   1129   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1130     verbose=yes ;;
   1131 
   1132   -version | --version | --versio | --versi | --vers | -V)
   1133     ac_init_version=: ;;
   1134 
   1135   -with-* | --with-*)
   1136     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1137     # Reject names that are not valid shell variable names.
   1138     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1139       as_fn_error $? "invalid package name: '$ac_useropt'"
   1140     ac_useropt_orig=$ac_useropt
   1141     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1142     case $ac_user_opts in
   1143       *"
   1144 "with_$ac_useropt"
   1145 "*) ;;
   1146       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1147 	 ac_unrecognized_sep=', ';;
   1148     esac
   1149     eval with_$ac_useropt=\$ac_optarg ;;
   1150 
   1151   -without-* | --without-*)
   1152     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1153     # Reject names that are not valid shell variable names.
   1154     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1155       as_fn_error $? "invalid package name: '$ac_useropt'"
   1156     ac_useropt_orig=$ac_useropt
   1157     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1158     case $ac_user_opts in
   1159       *"
   1160 "with_$ac_useropt"
   1161 "*) ;;
   1162       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1163 	 ac_unrecognized_sep=', ';;
   1164     esac
   1165     eval with_$ac_useropt=no ;;
   1166 
   1167   --x)
   1168     # Obsolete; use --with-x.
   1169     with_x=yes ;;
   1170 
   1171   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1172   | --x-incl | --x-inc | --x-in | --x-i)
   1173     ac_prev=x_includes ;;
   1174   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1175   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1176     x_includes=$ac_optarg ;;
   1177 
   1178   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1179   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1180     ac_prev=x_libraries ;;
   1181   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1182   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1183     x_libraries=$ac_optarg ;;
   1184 
   1185   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1186 Try '$0 --help' for more information"
   1187     ;;
   1188 
   1189   *=*)
   1190     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1191     # Reject names that are not valid shell variable names.
   1192     case $ac_envvar in #(
   1193       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1194       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1195     esac
   1196     eval $ac_envvar=\$ac_optarg
   1197     export $ac_envvar ;;
   1198 
   1199   *)
   1200     # FIXME: should be removed in autoconf 3.0.
   1201     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1202     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1203       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1204     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1205     ;;
   1206 
   1207   esac
   1208 done
   1209 
   1210 if test -n "$ac_prev"; then
   1211   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1212   as_fn_error $? "missing argument to $ac_option"
   1213 fi
   1214 
   1215 if test -n "$ac_unrecognized_opts"; then
   1216   case $enable_option_checking in
   1217     no) ;;
   1218     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1219     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1220   esac
   1221 fi
   1222 
   1223 # Check all directory arguments for consistency.
   1224 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1225 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1226 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1227 		libdir localedir mandir runstatedir
   1228 do
   1229   eval ac_val=\$$ac_var
   1230   # Remove trailing slashes.
   1231   case $ac_val in
   1232     */ )
   1233       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1234       eval $ac_var=\$ac_val;;
   1235   esac
   1236   # Be sure to have absolute directory names.
   1237   case $ac_val in
   1238     [\\/$]* | ?:[\\/]* )  continue;;
   1239     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1240   esac
   1241   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1242 done
   1243 
   1244 # There might be people who depend on the old broken behavior: '$host'
   1245 # used to hold the argument of --host etc.
   1246 # FIXME: To remove some day.
   1247 build=$build_alias
   1248 host=$host_alias
   1249 target=$target_alias
   1250 
   1251 # FIXME: To remove some day.
   1252 if test "x$host_alias" != x; then
   1253   if test "x$build_alias" = x; then
   1254     cross_compiling=maybe
   1255   elif test "x$build_alias" != "x$host_alias"; then
   1256     cross_compiling=yes
   1257   fi
   1258 fi
   1259 
   1260 ac_tool_prefix=
   1261 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1262 
   1263 test "$silent" = yes && exec 6>/dev/null
   1264 
   1265 
   1266 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1267 ac_ls_di=`ls -di .` &&
   1268 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1269   as_fn_error $? "working directory cannot be determined"
   1270 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1271   as_fn_error $? "pwd does not report name of working directory"
   1272 
   1273 
   1274 # Find the source files, if location was not specified.
   1275 if test -z "$srcdir"; then
   1276   ac_srcdir_defaulted=yes
   1277   # Try the directory containing this script, then the parent directory.
   1278   ac_confdir=`$as_dirname -- "$as_myself" ||
   1279 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1280 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1281 	 X"$as_myself" : 'X\(//\)$' \| \
   1282 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1283 printf "%s\n" X"$as_myself" |
   1284     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1285 	    s//\1/
   1286 	    q
   1287 	  }
   1288 	  /^X\(\/\/\)[^/].*/{
   1289 	    s//\1/
   1290 	    q
   1291 	  }
   1292 	  /^X\(\/\/\)$/{
   1293 	    s//\1/
   1294 	    q
   1295 	  }
   1296 	  /^X\(\/\).*/{
   1297 	    s//\1/
   1298 	    q
   1299 	  }
   1300 	  s/.*/./; q'`
   1301   srcdir=$ac_confdir
   1302   if test ! -r "$srcdir/$ac_unique_file"; then
   1303     srcdir=..
   1304   fi
   1305 else
   1306   ac_srcdir_defaulted=no
   1307 fi
   1308 if test ! -r "$srcdir/$ac_unique_file"; then
   1309   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1310   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1311 fi
   1312 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1313 ac_abs_confdir=`(
   1314 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1315 	pwd)`
   1316 # When building in place, set srcdir=.
   1317 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1318   srcdir=.
   1319 fi
   1320 # Remove unnecessary trailing slashes from srcdir.
   1321 # Double slashes in file names in object file debugging info
   1322 # mess up M-x gdb in Emacs.
   1323 case $srcdir in
   1324 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1325 esac
   1326 for ac_var in $ac_precious_vars; do
   1327   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1328   eval ac_env_${ac_var}_value=\$${ac_var}
   1329   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1330   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1331 done
   1332 
   1333 #
   1334 # Report the --help message.
   1335 #
   1336 if test "$ac_init_help" = "long"; then
   1337   # Omit some internal or obsolete options to make the list less imposing.
   1338   # This message is too long to be a string in the A/UX 3.1 sh.
   1339   cat <<_ACEOF
   1340 'configure' configures xwud 1.0.7 to adapt to many kinds of systems.
   1341 
   1342 Usage: $0 [OPTION]... [VAR=VALUE]...
   1343 
   1344 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1345 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1346 
   1347 Defaults for the options are specified in brackets.
   1348 
   1349 Configuration:
   1350   -h, --help              display this help and exit
   1351       --help=short        display options specific to this package
   1352       --help=recursive    display the short help of all the included packages
   1353   -V, --version           display version information and exit
   1354   -q, --quiet, --silent   do not print 'checking ...' messages
   1355       --cache-file=FILE   cache test results in FILE [disabled]
   1356   -C, --config-cache      alias for '--cache-file=config.cache'
   1357   -n, --no-create         do not create output files
   1358       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1359 
   1360 Installation directories:
   1361   --prefix=PREFIX         install architecture-independent files in PREFIX
   1362                           [$ac_default_prefix]
   1363   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1364                           [PREFIX]
   1365 
   1366 By default, 'make install' will install all the files in
   1367 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1368 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1369 for instance '--prefix=\$HOME'.
   1370 
   1371 For better control, use the options below.
   1372 
   1373 Fine tuning of the installation directories:
   1374   --bindir=DIR            user executables [EPREFIX/bin]
   1375   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1376   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1377   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1378   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1379   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1380   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1381   --libdir=DIR            object code libraries [EPREFIX/lib]
   1382   --includedir=DIR        C header files [PREFIX/include]
   1383   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1384   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1385   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1386   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1387   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1388   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1389   --docdir=DIR            documentation root [DATAROOTDIR/doc/xwud]
   1390   --htmldir=DIR           html documentation [DOCDIR]
   1391   --dvidir=DIR            dvi documentation [DOCDIR]
   1392   --pdfdir=DIR            pdf documentation [DOCDIR]
   1393   --psdir=DIR             ps documentation [DOCDIR]
   1394 _ACEOF
   1395 
   1396   cat <<\_ACEOF
   1397 
   1398 Program names:
   1399   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1400   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1401   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1402 
   1403 System types:
   1404   --build=BUILD     configure for building on BUILD [guessed]
   1405   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1406 _ACEOF
   1407 fi
   1408 
   1409 if test -n "$ac_init_help"; then
   1410   case $ac_init_help in
   1411      short | recursive ) echo "Configuration of xwud 1.0.7:";;
   1412    esac
   1413   cat <<\_ACEOF
   1414 
   1415 Optional Features:
   1416   --disable-option-checking  ignore unrecognized --enable/--with options
   1417   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1418   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1419   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1420   --disable-silent-rules  verbose build output (undo: "make V=0")
   1421   --enable-dependency-tracking
   1422                           do not reject slow dependency extractors
   1423   --disable-dependency-tracking
   1424                           speeds up one-time build
   1425   --disable-selective-werror
   1426                           Turn off selective compiler errors. (default:
   1427                           enabled)
   1428   --enable-strict-compilation
   1429                           Enable all warnings from compiler and make them
   1430                           errors (default: disabled)
   1431 
   1432 Some influential environment variables:
   1433   CC          C compiler command
   1434   CFLAGS      C compiler flags
   1435   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1436               nonstandard directory <lib dir>
   1437   LIBS        libraries to pass to the linker, e.g. -l<library>
   1438   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1439               you have headers in a nonstandard directory <include dir>
   1440   PKG_CONFIG  path to pkg-config utility
   1441   PKG_CONFIG_PATH
   1442               directories to add to pkg-config's search path
   1443   PKG_CONFIG_LIBDIR
   1444               path overriding pkg-config's built-in search path
   1445   XWUD_CFLAGS C compiler flags for XWUD, overriding pkg-config
   1446   XWUD_LIBS   linker flags for XWUD, overriding pkg-config
   1447 
   1448 Use these variables to override the choices made by 'configure' or to help
   1449 it to find libraries and programs with nonstandard names/locations.
   1450 
   1451 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xwud/-/issues>.
   1452 _ACEOF
   1453 ac_status=$?
   1454 fi
   1455 
   1456 if test "$ac_init_help" = "recursive"; then
   1457   # If there are subdirs, report their specific --help.
   1458   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1459     test -d "$ac_dir" ||
   1460       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1461       continue
   1462     ac_builddir=.
   1463 
   1464 case "$ac_dir" in
   1465 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1466 *)
   1467   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1468   # A ".." for each directory in $ac_dir_suffix.
   1469   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1470   case $ac_top_builddir_sub in
   1471   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1472   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1473   esac ;;
   1474 esac
   1475 ac_abs_top_builddir=$ac_pwd
   1476 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1477 # for backward compatibility:
   1478 ac_top_builddir=$ac_top_build_prefix
   1479 
   1480 case $srcdir in
   1481   .)  # We are building in place.
   1482     ac_srcdir=.
   1483     ac_top_srcdir=$ac_top_builddir_sub
   1484     ac_abs_top_srcdir=$ac_pwd ;;
   1485   [\\/]* | ?:[\\/]* )  # Absolute name.
   1486     ac_srcdir=$srcdir$ac_dir_suffix;
   1487     ac_top_srcdir=$srcdir
   1488     ac_abs_top_srcdir=$srcdir ;;
   1489   *) # Relative name.
   1490     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1491     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1492     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1493 esac
   1494 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1495 
   1496     cd "$ac_dir" || { ac_status=$?; continue; }
   1497     # Check for configure.gnu first; this name is used for a wrapper for
   1498     # Metaconfig's "Configure" on case-insensitive file systems.
   1499     if test -f "$ac_srcdir/configure.gnu"; then
   1500       echo &&
   1501       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1502     elif test -f "$ac_srcdir/configure"; then
   1503       echo &&
   1504       $SHELL "$ac_srcdir/configure" --help=recursive
   1505     else
   1506       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1507     fi || ac_status=$?
   1508     cd "$ac_pwd" || { ac_status=$?; break; }
   1509   done
   1510 fi
   1511 
   1512 test -n "$ac_init_help" && exit $ac_status
   1513 if $ac_init_version; then
   1514   cat <<\_ACEOF
   1515 xwud configure 1.0.7
   1516 generated by GNU Autoconf 2.72
   1517 
   1518 Copyright (C) 2023 Free Software Foundation, Inc.
   1519 This configure script is free software; the Free Software Foundation
   1520 gives unlimited permission to copy, distribute and modify it.
   1521 _ACEOF
   1522   exit
   1523 fi
   1524 
   1525 ## ------------------------ ##
   1526 ## Autoconf initialization. ##
   1527 ## ------------------------ ##
   1528 
   1529 # ac_fn_c_try_compile LINENO
   1530 # --------------------------
   1531 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1532 ac_fn_c_try_compile ()
   1533 {
   1534   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1535   rm -f conftest.$ac_objext conftest.beam
   1536   if { { ac_try="$ac_compile"
   1537 case "(($ac_try" in
   1538   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1539   *) ac_try_echo=$ac_try;;
   1540 esac
   1541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1542 printf "%s\n" "$ac_try_echo"; } >&5
   1543   (eval "$ac_compile") 2>conftest.err
   1544   ac_status=$?
   1545   if test -s conftest.err; then
   1546     grep -v '^ *+' conftest.err >conftest.er1
   1547     cat conftest.er1 >&5
   1548     mv -f conftest.er1 conftest.err
   1549   fi
   1550   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1551   test $ac_status = 0; } && {
   1552 	 test -z "$ac_c_werror_flag" ||
   1553 	 test ! -s conftest.err
   1554        } && test -s conftest.$ac_objext
   1555 then :
   1556   ac_retval=0
   1557 else case e in #(
   1558   e) printf "%s\n" "$as_me: failed program was:" >&5
   1559 sed 's/^/| /' conftest.$ac_ext >&5
   1560 
   1561 	ac_retval=1 ;;
   1562 esac
   1563 fi
   1564   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1565   as_fn_set_status $ac_retval
   1566 
   1567 } # ac_fn_c_try_compile
   1568 
   1569 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1570 # ------------------------------------------------------------------
   1571 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1572 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1573 ac_fn_check_decl ()
   1574 {
   1575   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1576   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1577   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1578 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1579 if eval test \${$3+y}
   1580 then :
   1581   printf %s "(cached) " >&6
   1582 else case e in #(
   1583   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1584   eval ac_save_FLAGS=\$$6
   1585   as_fn_append $6 " $5"
   1586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1587 /* end confdefs.h.  */
   1588 $4
   1589 int
   1590 main (void)
   1591 {
   1592 #ifndef $as_decl_name
   1593 #ifdef __cplusplus
   1594   (void) $as_decl_use;
   1595 #else
   1596   (void) $as_decl_name;
   1597 #endif
   1598 #endif
   1599 
   1600   ;
   1601   return 0;
   1602 }
   1603 _ACEOF
   1604 if ac_fn_c_try_compile "$LINENO"
   1605 then :
   1606   eval "$3=yes"
   1607 else case e in #(
   1608   e) eval "$3=no" ;;
   1609 esac
   1610 fi
   1611 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1612   eval $6=\$ac_save_FLAGS
   1613  ;;
   1614 esac
   1615 fi
   1616 eval ac_res=\$$3
   1617 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1618 printf "%s\n" "$ac_res" >&6; }
   1619   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1620 
   1621 } # ac_fn_check_decl
   1622 
   1623 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1624 # -------------------------------------------------------
   1625 # Tests whether HEADER exists and can be compiled using the include files in
   1626 # INCLUDES, setting the cache variable VAR accordingly.
   1627 ac_fn_c_check_header_compile ()
   1628 {
   1629   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1630   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1631 printf %s "checking for $2... " >&6; }
   1632 if eval test \${$3+y}
   1633 then :
   1634   printf %s "(cached) " >&6
   1635 else case e in #(
   1636   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1637 /* end confdefs.h.  */
   1638 $4
   1639 #include <$2>
   1640 _ACEOF
   1641 if ac_fn_c_try_compile "$LINENO"
   1642 then :
   1643   eval "$3=yes"
   1644 else case e in #(
   1645   e) eval "$3=no" ;;
   1646 esac
   1647 fi
   1648 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1649 esac
   1650 fi
   1651 eval ac_res=\$$3
   1652 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1653 printf "%s\n" "$ac_res" >&6; }
   1654   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1655 
   1656 } # ac_fn_c_check_header_compile
   1657 
   1658 # ac_fn_c_try_link LINENO
   1659 # -----------------------
   1660 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1661 ac_fn_c_try_link ()
   1662 {
   1663   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1664   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1665   if { { ac_try="$ac_link"
   1666 case "(($ac_try" in
   1667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1668   *) ac_try_echo=$ac_try;;
   1669 esac
   1670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1671 printf "%s\n" "$ac_try_echo"; } >&5
   1672   (eval "$ac_link") 2>conftest.err
   1673   ac_status=$?
   1674   if test -s conftest.err; then
   1675     grep -v '^ *+' conftest.err >conftest.er1
   1676     cat conftest.er1 >&5
   1677     mv -f conftest.er1 conftest.err
   1678   fi
   1679   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1680   test $ac_status = 0; } && {
   1681 	 test -z "$ac_c_werror_flag" ||
   1682 	 test ! -s conftest.err
   1683        } && test -s conftest$ac_exeext && {
   1684 	 test "$cross_compiling" = yes ||
   1685 	 test -x conftest$ac_exeext
   1686        }
   1687 then :
   1688   ac_retval=0
   1689 else case e in #(
   1690   e) printf "%s\n" "$as_me: failed program was:" >&5
   1691 sed 's/^/| /' conftest.$ac_ext >&5
   1692 
   1693 	ac_retval=1 ;;
   1694 esac
   1695 fi
   1696   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1697   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1698   # interfere with the next link command; also delete a directory that is
   1699   # left behind by Apple's compiler.  We do this before executing the actions.
   1700   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1701   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1702   as_fn_set_status $ac_retval
   1703 
   1704 } # ac_fn_c_try_link
   1705 ac_configure_args_raw=
   1706 for ac_arg
   1707 do
   1708   case $ac_arg in
   1709   *\'*)
   1710     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1711   esac
   1712   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1713 done
   1714 
   1715 case $ac_configure_args_raw in
   1716   *$as_nl*)
   1717     ac_safe_unquote= ;;
   1718   *)
   1719     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1720     ac_unsafe_a="$ac_unsafe_z#~"
   1721     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1722     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1723 esac
   1724 
   1725 cat >config.log <<_ACEOF
   1726 This file contains any messages produced by compilers while
   1727 running configure, to aid debugging if configure makes a mistake.
   1728 
   1729 It was created by xwud $as_me 1.0.7, which was
   1730 generated by GNU Autoconf 2.72.  Invocation command line was
   1731 
   1732   $ $0$ac_configure_args_raw
   1733 
   1734 _ACEOF
   1735 exec 5>>config.log
   1736 {
   1737 cat <<_ASUNAME
   1738 ## --------- ##
   1739 ## Platform. ##
   1740 ## --------- ##
   1741 
   1742 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1743 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1744 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1745 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1746 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1747 
   1748 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1749 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1750 
   1751 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1752 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1753 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1754 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1755 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1756 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1757 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1758 
   1759 _ASUNAME
   1760 
   1761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1762 for as_dir in $PATH
   1763 do
   1764   IFS=$as_save_IFS
   1765   case $as_dir in #(((
   1766     '') as_dir=./ ;;
   1767     */) ;;
   1768     *) as_dir=$as_dir/ ;;
   1769   esac
   1770     printf "%s\n" "PATH: $as_dir"
   1771   done
   1772 IFS=$as_save_IFS
   1773 
   1774 } >&5
   1775 
   1776 cat >&5 <<_ACEOF
   1777 
   1778 
   1779 ## ----------- ##
   1780 ## Core tests. ##
   1781 ## ----------- ##
   1782 
   1783 _ACEOF
   1784 
   1785 
   1786 # Keep a trace of the command line.
   1787 # Strip out --no-create and --no-recursion so they do not pile up.
   1788 # Strip out --silent because we don't want to record it for future runs.
   1789 # Also quote any args containing shell meta-characters.
   1790 # Make two passes to allow for proper duplicate-argument suppression.
   1791 ac_configure_args=
   1792 ac_configure_args0=
   1793 ac_configure_args1=
   1794 ac_must_keep_next=false
   1795 for ac_pass in 1 2
   1796 do
   1797   for ac_arg
   1798   do
   1799     case $ac_arg in
   1800     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1801     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1802     | -silent | --silent | --silen | --sile | --sil)
   1803       continue ;;
   1804     *\'*)
   1805       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1806     esac
   1807     case $ac_pass in
   1808     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1809     2)
   1810       as_fn_append ac_configure_args1 " '$ac_arg'"
   1811       if test $ac_must_keep_next = true; then
   1812 	ac_must_keep_next=false # Got value, back to normal.
   1813       else
   1814 	case $ac_arg in
   1815 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1816 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1817 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1818 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1819 	    case "$ac_configure_args0 " in
   1820 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1821 	    esac
   1822 	    ;;
   1823 	  -* ) ac_must_keep_next=true ;;
   1824 	esac
   1825       fi
   1826       as_fn_append ac_configure_args " '$ac_arg'"
   1827       ;;
   1828     esac
   1829   done
   1830 done
   1831 { ac_configure_args0=; unset ac_configure_args0;}
   1832 { ac_configure_args1=; unset ac_configure_args1;}
   1833 
   1834 # When interrupted or exit'd, cleanup temporary files, and complete
   1835 # config.log.  We remove comments because anyway the quotes in there
   1836 # would cause problems or look ugly.
   1837 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1838 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1839 trap 'exit_status=$?
   1840   # Sanitize IFS.
   1841   IFS=" ""	$as_nl"
   1842   # Save into config.log some information that might help in debugging.
   1843   {
   1844     echo
   1845 
   1846     printf "%s\n" "## ---------------- ##
   1847 ## Cache variables. ##
   1848 ## ---------------- ##"
   1849     echo
   1850     # The following way of writing the cache mishandles newlines in values,
   1851 (
   1852   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1853     eval ac_val=\$$ac_var
   1854     case $ac_val in #(
   1855     *${as_nl}*)
   1856       case $ac_var in #(
   1857       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1858 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1859       esac
   1860       case $ac_var in #(
   1861       _ | IFS | as_nl) ;; #(
   1862       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1863       *) { eval $ac_var=; unset $ac_var;} ;;
   1864       esac ;;
   1865     esac
   1866   done
   1867   (set) 2>&1 |
   1868     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1869     *${as_nl}ac_space=\ *)
   1870       sed -n \
   1871 	"s/'\''/'\''\\\\'\'''\''/g;
   1872 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1873       ;; #(
   1874     *)
   1875       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1876       ;;
   1877     esac |
   1878     sort
   1879 )
   1880     echo
   1881 
   1882     printf "%s\n" "## ----------------- ##
   1883 ## Output variables. ##
   1884 ## ----------------- ##"
   1885     echo
   1886     for ac_var in $ac_subst_vars
   1887     do
   1888       eval ac_val=\$$ac_var
   1889       case $ac_val in
   1890       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1891       esac
   1892       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1893     done | sort
   1894     echo
   1895 
   1896     if test -n "$ac_subst_files"; then
   1897       printf "%s\n" "## ------------------- ##
   1898 ## File substitutions. ##
   1899 ## ------------------- ##"
   1900       echo
   1901       for ac_var in $ac_subst_files
   1902       do
   1903 	eval ac_val=\$$ac_var
   1904 	case $ac_val in
   1905 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1906 	esac
   1907 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1908       done | sort
   1909       echo
   1910     fi
   1911 
   1912     if test -s confdefs.h; then
   1913       printf "%s\n" "## ----------- ##
   1914 ## confdefs.h. ##
   1915 ## ----------- ##"
   1916       echo
   1917       cat confdefs.h
   1918       echo
   1919     fi
   1920     test "$ac_signal" != 0 &&
   1921       printf "%s\n" "$as_me: caught signal $ac_signal"
   1922     printf "%s\n" "$as_me: exit $exit_status"
   1923   } >&5
   1924   rm -f core *.core core.conftest.* &&
   1925     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1926     exit $exit_status
   1927 ' 0
   1928 for ac_signal in 1 2 13 15; do
   1929   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1930 done
   1931 ac_signal=0
   1932 
   1933 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1934 rm -f -r conftest* confdefs.h
   1935 
   1936 printf "%s\n" "/* confdefs.h */" > confdefs.h
   1937 
   1938 # Predefined preprocessor variables.
   1939 
   1940 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   1941 
   1942 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   1943 
   1944 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   1945 
   1946 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   1947 
   1948 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   1949 
   1950 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   1951 
   1952 
   1953 # Let the site file select an alternate cache file if it wants to.
   1954 # Prefer an explicitly selected file to automatically selected ones.
   1955 if test -n "$CONFIG_SITE"; then
   1956   ac_site_files="$CONFIG_SITE"
   1957 elif test "x$prefix" != xNONE; then
   1958   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   1959 else
   1960   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1961 fi
   1962 
   1963 for ac_site_file in $ac_site_files
   1964 do
   1965   case $ac_site_file in #(
   1966   */*) :
   1967      ;; #(
   1968   *) :
   1969     ac_site_file=./$ac_site_file ;;
   1970 esac
   1971   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   1972     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1973 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   1974     sed 's/^/| /' "$ac_site_file" >&5
   1975     . "$ac_site_file" \
   1976       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   1977 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   1978 as_fn_error $? "failed to load site script $ac_site_file
   1979 See 'config.log' for more details" "$LINENO" 5; }
   1980   fi
   1981 done
   1982 
   1983 if test -r "$cache_file"; then
   1984   # Some versions of bash will fail to source /dev/null (special files
   1985   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   1986   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   1987     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   1988 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   1989     case $cache_file in
   1990       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1991       *)                      . "./$cache_file";;
   1992     esac
   1993   fi
   1994 else
   1995   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   1996 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   1997   >$cache_file
   1998 fi
   1999 
   2000 # Test code for whether the C compiler supports C89 (global declarations)
   2001 ac_c_conftest_c89_globals='
   2002 /* Does the compiler advertise C89 conformance?
   2003    Do not test the value of __STDC__, because some compilers set it to 0
   2004    while being otherwise adequately conformant. */
   2005 #if !defined __STDC__
   2006 # error "Compiler does not advertise C89 conformance"
   2007 #endif
   2008 
   2009 #include <stddef.h>
   2010 #include <stdarg.h>
   2011 struct stat;
   2012 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2013 struct buf { int x; };
   2014 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2015 static char *e (char **p, int i)
   2016 {
   2017   return p[i];
   2018 }
   2019 static char *f (char * (*g) (char **, int), char **p, ...)
   2020 {
   2021   char *s;
   2022   va_list v;
   2023   va_start (v,p);
   2024   s = g (p, va_arg (v,int));
   2025   va_end (v);
   2026   return s;
   2027 }
   2028 
   2029 /* C89 style stringification. */
   2030 #define noexpand_stringify(a) #a
   2031 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2032 
   2033 /* C89 style token pasting.  Exercises some of the corner cases that
   2034    e.g. old MSVC gets wrong, but not very hard. */
   2035 #define noexpand_concat(a,b) a##b
   2036 #define expand_concat(a,b) noexpand_concat(a,b)
   2037 extern int vA;
   2038 extern int vbee;
   2039 #define aye A
   2040 #define bee B
   2041 int *pvA = &expand_concat(v,aye);
   2042 int *pvbee = &noexpand_concat(v,bee);
   2043 
   2044 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2045    function prototypes and stuff, but not \xHH hex character constants.
   2046    These do not provoke an error unfortunately, instead are silently treated
   2047    as an "x".  The following induces an error, until -std is added to get
   2048    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2049    array size at least.  It is necessary to write \x00 == 0 to get something
   2050    that is true only with -std.  */
   2051 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2052 
   2053 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2054    inside strings and character constants.  */
   2055 #define FOO(x) '\''x'\''
   2056 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2057 
   2058 int test (int i, double x);
   2059 struct s1 {int (*f) (int a);};
   2060 struct s2 {int (*f) (double a);};
   2061 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2062                int, int);'
   2063 
   2064 # Test code for whether the C compiler supports C89 (body of main).
   2065 ac_c_conftest_c89_main='
   2066 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2067 '
   2068 
   2069 # Test code for whether the C compiler supports C99 (global declarations)
   2070 ac_c_conftest_c99_globals='
   2071 /* Does the compiler advertise C99 conformance? */
   2072 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2073 # error "Compiler does not advertise C99 conformance"
   2074 #endif
   2075 
   2076 // See if C++-style comments work.
   2077 
   2078 #include <stdbool.h>
   2079 extern int puts (const char *);
   2080 extern int printf (const char *, ...);
   2081 extern int dprintf (int, const char *, ...);
   2082 extern void *malloc (size_t);
   2083 extern void free (void *);
   2084 
   2085 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2086 // dprintf is used instead of fprintf to avoid needing to declare
   2087 // FILE and stderr.
   2088 #define debug(...) dprintf (2, __VA_ARGS__)
   2089 #define showlist(...) puts (#__VA_ARGS__)
   2090 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2091 static void
   2092 test_varargs_macros (void)
   2093 {
   2094   int x = 1234;
   2095   int y = 5678;
   2096   debug ("Flag");
   2097   debug ("X = %d\n", x);
   2098   showlist (The first, second, and third items.);
   2099   report (x>y, "x is %d but y is %d", x, y);
   2100 }
   2101 
   2102 // Check long long types.
   2103 #define BIG64 18446744073709551615ull
   2104 #define BIG32 4294967295ul
   2105 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2106 #if !BIG_OK
   2107   #error "your preprocessor is broken"
   2108 #endif
   2109 #if BIG_OK
   2110 #else
   2111   #error "your preprocessor is broken"
   2112 #endif
   2113 static long long int bignum = -9223372036854775807LL;
   2114 static unsigned long long int ubignum = BIG64;
   2115 
   2116 struct incomplete_array
   2117 {
   2118   int datasize;
   2119   double data[];
   2120 };
   2121 
   2122 struct named_init {
   2123   int number;
   2124   const wchar_t *name;
   2125   double average;
   2126 };
   2127 
   2128 typedef const char *ccp;
   2129 
   2130 static inline int
   2131 test_restrict (ccp restrict text)
   2132 {
   2133   // Iterate through items via the restricted pointer.
   2134   // Also check for declarations in for loops.
   2135   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2136     continue;
   2137   return 0;
   2138 }
   2139 
   2140 // Check varargs and va_copy.
   2141 static bool
   2142 test_varargs (const char *format, ...)
   2143 {
   2144   va_list args;
   2145   va_start (args, format);
   2146   va_list args_copy;
   2147   va_copy (args_copy, args);
   2148 
   2149   const char *str = "";
   2150   int number = 0;
   2151   float fnumber = 0;
   2152 
   2153   while (*format)
   2154     {
   2155       switch (*format++)
   2156 	{
   2157 	case '\''s'\'': // string
   2158 	  str = va_arg (args_copy, const char *);
   2159 	  break;
   2160 	case '\''d'\'': // int
   2161 	  number = va_arg (args_copy, int);
   2162 	  break;
   2163 	case '\''f'\'': // float
   2164 	  fnumber = va_arg (args_copy, double);
   2165 	  break;
   2166 	default:
   2167 	  break;
   2168 	}
   2169     }
   2170   va_end (args_copy);
   2171   va_end (args);
   2172 
   2173   return *str && number && fnumber;
   2174 }
   2175 '
   2176 
   2177 # Test code for whether the C compiler supports C99 (body of main).
   2178 ac_c_conftest_c99_main='
   2179   // Check bool.
   2180   _Bool success = false;
   2181   success |= (argc != 0);
   2182 
   2183   // Check restrict.
   2184   if (test_restrict ("String literal") == 0)
   2185     success = true;
   2186   char *restrict newvar = "Another string";
   2187 
   2188   // Check varargs.
   2189   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2190   test_varargs_macros ();
   2191 
   2192   // Check flexible array members.
   2193   struct incomplete_array *ia =
   2194     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2195   ia->datasize = 10;
   2196   for (int i = 0; i < ia->datasize; ++i)
   2197     ia->data[i] = i * 1.234;
   2198   // Work around memory leak warnings.
   2199   free (ia);
   2200 
   2201   // Check named initializers.
   2202   struct named_init ni = {
   2203     .number = 34,
   2204     .name = L"Test wide string",
   2205     .average = 543.34343,
   2206   };
   2207 
   2208   ni.number = 58;
   2209 
   2210   int dynamic_array[ni.number];
   2211   dynamic_array[0] = argv[0][0];
   2212   dynamic_array[ni.number - 1] = 543;
   2213 
   2214   // work around unused variable warnings
   2215   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2216 	 || dynamic_array[ni.number - 1] != 543);
   2217 '
   2218 
   2219 # Test code for whether the C compiler supports C11 (global declarations)
   2220 ac_c_conftest_c11_globals='
   2221 /* Does the compiler advertise C11 conformance? */
   2222 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2223 # error "Compiler does not advertise C11 conformance"
   2224 #endif
   2225 
   2226 // Check _Alignas.
   2227 char _Alignas (double) aligned_as_double;
   2228 char _Alignas (0) no_special_alignment;
   2229 extern char aligned_as_int;
   2230 char _Alignas (0) _Alignas (int) aligned_as_int;
   2231 
   2232 // Check _Alignof.
   2233 enum
   2234 {
   2235   int_alignment = _Alignof (int),
   2236   int_array_alignment = _Alignof (int[100]),
   2237   char_alignment = _Alignof (char)
   2238 };
   2239 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2240 
   2241 // Check _Noreturn.
   2242 int _Noreturn does_not_return (void) { for (;;) continue; }
   2243 
   2244 // Check _Static_assert.
   2245 struct test_static_assert
   2246 {
   2247   int x;
   2248   _Static_assert (sizeof (int) <= sizeof (long int),
   2249                   "_Static_assert does not work in struct");
   2250   long int y;
   2251 };
   2252 
   2253 // Check UTF-8 literals.
   2254 #define u8 syntax error!
   2255 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2256 
   2257 // Check duplicate typedefs.
   2258 typedef long *long_ptr;
   2259 typedef long int *long_ptr;
   2260 typedef long_ptr long_ptr;
   2261 
   2262 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2263 struct anonymous
   2264 {
   2265   union {
   2266     struct { int i; int j; };
   2267     struct { int k; long int l; } w;
   2268   };
   2269   int m;
   2270 } v1;
   2271 '
   2272 
   2273 # Test code for whether the C compiler supports C11 (body of main).
   2274 ac_c_conftest_c11_main='
   2275   _Static_assert ((offsetof (struct anonymous, i)
   2276 		   == offsetof (struct anonymous, w.k)),
   2277 		  "Anonymous union alignment botch");
   2278   v1.i = 2;
   2279   v1.w.k = 5;
   2280   ok |= v1.i != 5;
   2281 '
   2282 
   2283 # Test code for whether the C compiler supports C11 (complete).
   2284 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2285 ${ac_c_conftest_c99_globals}
   2286 ${ac_c_conftest_c11_globals}
   2287 
   2288 int
   2289 main (int argc, char **argv)
   2290 {
   2291   int ok = 0;
   2292   ${ac_c_conftest_c89_main}
   2293   ${ac_c_conftest_c99_main}
   2294   ${ac_c_conftest_c11_main}
   2295   return ok;
   2296 }
   2297 "
   2298 
   2299 # Test code for whether the C compiler supports C99 (complete).
   2300 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2301 ${ac_c_conftest_c99_globals}
   2302 
   2303 int
   2304 main (int argc, char **argv)
   2305 {
   2306   int ok = 0;
   2307   ${ac_c_conftest_c89_main}
   2308   ${ac_c_conftest_c99_main}
   2309   return ok;
   2310 }
   2311 "
   2312 
   2313 # Test code for whether the C compiler supports C89 (complete).
   2314 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2315 
   2316 int
   2317 main (int argc, char **argv)
   2318 {
   2319   int ok = 0;
   2320   ${ac_c_conftest_c89_main}
   2321   return ok;
   2322 }
   2323 "
   2324 
   2325 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2326 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2327 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2328 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2329 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2330 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2331 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2332 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2333 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2334 
   2335 # Auxiliary files required by this configure script.
   2336 ac_aux_files="config.guess config.sub compile missing install-sh"
   2337 
   2338 # Locations in which to look for auxiliary files.
   2339 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2340 
   2341 # Search for a directory containing all of the required auxiliary files,
   2342 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2343 # If we don't find one directory that contains all the files we need,
   2344 # we report the set of missing files from the *first* directory in
   2345 # $ac_aux_dir_candidates and give up.
   2346 ac_missing_aux_files=""
   2347 ac_first_candidate=:
   2348 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2350 as_found=false
   2351 for as_dir in $ac_aux_dir_candidates
   2352 do
   2353   IFS=$as_save_IFS
   2354   case $as_dir in #(((
   2355     '') as_dir=./ ;;
   2356     */) ;;
   2357     *) as_dir=$as_dir/ ;;
   2358   esac
   2359   as_found=:
   2360 
   2361   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2362   ac_aux_dir_found=yes
   2363   ac_install_sh=
   2364   for ac_aux in $ac_aux_files
   2365   do
   2366     # As a special case, if "install-sh" is required, that requirement
   2367     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2368     # and $ac_install_sh is set appropriately for whichever one is found.
   2369     if test x"$ac_aux" = x"install-sh"
   2370     then
   2371       if test -f "${as_dir}install-sh"; then
   2372         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2373         ac_install_sh="${as_dir}install-sh -c"
   2374       elif test -f "${as_dir}install.sh"; then
   2375         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2376         ac_install_sh="${as_dir}install.sh -c"
   2377       elif test -f "${as_dir}shtool"; then
   2378         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2379         ac_install_sh="${as_dir}shtool install -c"
   2380       else
   2381         ac_aux_dir_found=no
   2382         if $ac_first_candidate; then
   2383           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2384         else
   2385           break
   2386         fi
   2387       fi
   2388     else
   2389       if test -f "${as_dir}${ac_aux}"; then
   2390         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2391       else
   2392         ac_aux_dir_found=no
   2393         if $ac_first_candidate; then
   2394           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2395         else
   2396           break
   2397         fi
   2398       fi
   2399     fi
   2400   done
   2401   if test "$ac_aux_dir_found" = yes; then
   2402     ac_aux_dir="$as_dir"
   2403     break
   2404   fi
   2405   ac_first_candidate=false
   2406 
   2407   as_found=false
   2408 done
   2409 IFS=$as_save_IFS
   2410 if $as_found
   2411 then :
   2412 
   2413 else case e in #(
   2414   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2415 esac
   2416 fi
   2417 
   2418 
   2419 # These three variables are undocumented and unsupported,
   2420 # and are intended to be withdrawn in a future Autoconf release.
   2421 # They can cause serious problems if a builder's source tree is in a directory
   2422 # whose full name contains unusual characters.
   2423 if test -f "${ac_aux_dir}config.guess"; then
   2424   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2425 fi
   2426 if test -f "${ac_aux_dir}config.sub"; then
   2427   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2428 fi
   2429 if test -f "$ac_aux_dir/configure"; then
   2430   ac_configure="$SHELL ${ac_aux_dir}configure"
   2431 fi
   2432 
   2433 # Check that the precious variables saved in the cache have kept the same
   2434 # value.
   2435 ac_cache_corrupted=false
   2436 for ac_var in $ac_precious_vars; do
   2437   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2438   eval ac_new_set=\$ac_env_${ac_var}_set
   2439   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2440   eval ac_new_val=\$ac_env_${ac_var}_value
   2441   case $ac_old_set,$ac_new_set in
   2442     set,)
   2443       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2444 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2445       ac_cache_corrupted=: ;;
   2446     ,set)
   2447       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2448 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2449       ac_cache_corrupted=: ;;
   2450     ,);;
   2451     *)
   2452       if test "x$ac_old_val" != "x$ac_new_val"; then
   2453 	# differences in whitespace do not lead to failure.
   2454 	ac_old_val_w=`echo x $ac_old_val`
   2455 	ac_new_val_w=`echo x $ac_new_val`
   2456 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2457 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2458 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2459 	  ac_cache_corrupted=:
   2460 	else
   2461 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2462 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2463 	  eval $ac_var=\$ac_old_val
   2464 	fi
   2465 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2466 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2467 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2468 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2469       fi;;
   2470   esac
   2471   # Pass precious variables to config.status.
   2472   if test "$ac_new_set" = set; then
   2473     case $ac_new_val in
   2474     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2475     *) ac_arg=$ac_var=$ac_new_val ;;
   2476     esac
   2477     case " $ac_configure_args " in
   2478       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2479       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2480     esac
   2481   fi
   2482 done
   2483 if $ac_cache_corrupted; then
   2484   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2485 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2486   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2487 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2488   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2489 	    and start over" "$LINENO" 5
   2490 fi
   2491 ## -------------------- ##
   2492 ## Main body of script. ##
   2493 ## -------------------- ##
   2494 
   2495 ac_ext=c
   2496 ac_cpp='$CPP $CPPFLAGS'
   2497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2500 
   2501 
   2502 
   2503 ac_config_headers="$ac_config_headers config.h"
   2504 
   2505 
   2506 # Initialize Automake
   2507 am__api_version='1.17'
   2508 
   2509 
   2510 
   2511   # Find a good install program.  We prefer a C program (faster),
   2512 # so one script is as good as another.  But avoid the broken or
   2513 # incompatible versions:
   2514 # SysV /etc/install, /usr/sbin/install
   2515 # SunOS /usr/etc/install
   2516 # IRIX /sbin/install
   2517 # AIX /bin/install
   2518 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2519 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2520 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2521 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2522 # OS/2's system install, which has a completely different semantic
   2523 # ./install, which can be erroneously created by make from ./install.sh.
   2524 # Reject install programs that cannot install multiple files.
   2525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2526 printf %s "checking for a BSD-compatible install... " >&6; }
   2527 if test -z "$INSTALL"; then
   2528 if test ${ac_cv_path_install+y}
   2529 then :
   2530   printf %s "(cached) " >&6
   2531 else case e in #(
   2532   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2533 for as_dir in $PATH
   2534 do
   2535   IFS=$as_save_IFS
   2536   case $as_dir in #(((
   2537     '') as_dir=./ ;;
   2538     */) ;;
   2539     *) as_dir=$as_dir/ ;;
   2540   esac
   2541     # Account for fact that we put trailing slashes in our PATH walk.
   2542 case $as_dir in #((
   2543   ./ | /[cC]/* | \
   2544   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2545   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2546   /usr/ucb/* ) ;;
   2547   *)
   2548     # OSF1 and SCO ODT 3.0 have their own names for install.
   2549     # Don't use installbsd from OSF since it installs stuff as root
   2550     # by default.
   2551     for ac_prog in ginstall scoinst install; do
   2552       for ac_exec_ext in '' $ac_executable_extensions; do
   2553 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2554 	  if test $ac_prog = install &&
   2555 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2556 	    # AIX install.  It has an incompatible calling convention.
   2557 	    :
   2558 	  elif test $ac_prog = install &&
   2559 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2560 	    # program-specific install script used by HP pwplus--don't use.
   2561 	    :
   2562 	  else
   2563 	    rm -rf conftest.one conftest.two conftest.dir
   2564 	    echo one > conftest.one
   2565 	    echo two > conftest.two
   2566 	    mkdir conftest.dir
   2567 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2568 	      test -s conftest.one && test -s conftest.two &&
   2569 	      test -s conftest.dir/conftest.one &&
   2570 	      test -s conftest.dir/conftest.two
   2571 	    then
   2572 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2573 	      break 3
   2574 	    fi
   2575 	  fi
   2576 	fi
   2577       done
   2578     done
   2579     ;;
   2580 esac
   2581 
   2582   done
   2583 IFS=$as_save_IFS
   2584 
   2585 rm -rf conftest.one conftest.two conftest.dir
   2586  ;;
   2587 esac
   2588 fi
   2589   if test ${ac_cv_path_install+y}; then
   2590     INSTALL=$ac_cv_path_install
   2591   else
   2592     # As a last resort, use the slow shell script.  Don't cache a
   2593     # value for INSTALL within a source directory, because that will
   2594     # break other packages using the cache if that directory is
   2595     # removed, or if the value is a relative name.
   2596     INSTALL=$ac_install_sh
   2597   fi
   2598 fi
   2599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2600 printf "%s\n" "$INSTALL" >&6; }
   2601 
   2602 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2603 # It thinks the first close brace ends the variable substitution.
   2604 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2605 
   2606 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2607 
   2608 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2609 
   2610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   2611 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   2612 if test ${am_cv_sleep_fractional_seconds+y}
   2613 then :
   2614   printf %s "(cached) " >&6
   2615 else case e in #(
   2616   e) if sleep 0.001 2>/dev/null
   2617 then :
   2618   am_cv_sleep_fractional_seconds=yes
   2619 else case e in #(
   2620   e) am_cv_sleep_fractional_seconds=no ;;
   2621 esac
   2622 fi
   2623  ;;
   2624 esac
   2625 fi
   2626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   2627 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   2628 
   2629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   2630 printf %s "checking filesystem timestamp resolution... " >&6; }
   2631 if test ${am_cv_filesystem_timestamp_resolution+y}
   2632 then :
   2633   printf %s "(cached) " >&6
   2634 else case e in #(
   2635   e) # Default to the worst case.
   2636 am_cv_filesystem_timestamp_resolution=2
   2637 
   2638 # Only try to go finer than 1 sec if sleep can do it.
   2639 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   2640 # - 1 sec is not much of a win compared to 2 sec, and
   2641 # - it takes 2 seconds to perform the test whether 1 sec works.
   2642 #
   2643 # Instead, just use the default 2s on platforms that have 1s resolution,
   2644 # accept the extra 1s delay when using $sleep in the Automake tests, in
   2645 # exchange for not incurring the 2s delay for running the test for all
   2646 # packages.
   2647 #
   2648 am_try_resolutions=
   2649 if test "$am_cv_sleep_fractional_seconds" = yes; then
   2650   # Even a millisecond often causes a bunch of false positives,
   2651   # so just try a hundredth of a second. The time saved between .001 and
   2652   # .01 is not terribly consequential.
   2653   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   2654 fi
   2655 
   2656 # In order to catch current-generation FAT out, we must *modify* files
   2657 # that already exist; the *creation* timestamp is finer.  Use names
   2658 # that make ls -t sort them differently when they have equal
   2659 # timestamps than when they have distinct timestamps, keeping
   2660 # in mind that ls -t prints the *newest* file first.
   2661 rm -f conftest.ts?
   2662 : > conftest.ts1
   2663 : > conftest.ts2
   2664 : > conftest.ts3
   2665 
   2666 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   2667 # clobber the current shell's arguments. (Outer-level square brackets
   2668 # are removed by m4; they're present so that m4 does not expand
   2669 # <dollar><star>; be careful, easy to get confused.)
   2670 if (
   2671      set X `ls -t conftest.ts[12]` &&
   2672      {
   2673        test "$*" != "X conftest.ts1 conftest.ts2" ||
   2674        test "$*" != "X conftest.ts2 conftest.ts1";
   2675      }
   2676 ); then :; else
   2677   # If neither matched, then we have a broken ls.  This can happen
   2678   # if, for instance, CONFIG_SHELL is bash and it inherits a
   2679   # broken ls alias from the environment.  This has actually
   2680   # happened.  Such a system could not be considered "sane".
   2681   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   2682   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2683 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2684 as_fn_error $? "ls -t produces unexpected output.
   2685 Make sure there is not a broken ls alias in your environment.
   2686 See 'config.log' for more details" "$LINENO" 5; }
   2687 fi
   2688 
   2689 for am_try_res in $am_try_resolutions; do
   2690   # Any one fine-grained sleep might happen to cross the boundary
   2691   # between two values of a coarser actual resolution, but if we do
   2692   # two fine-grained sleeps in a row, at least one of them will fall
   2693   # entirely within a coarse interval.
   2694   echo alpha > conftest.ts1
   2695   sleep $am_try_res
   2696   echo beta > conftest.ts2
   2697   sleep $am_try_res
   2698   echo gamma > conftest.ts3
   2699 
   2700   # We assume that 'ls -t' will make use of high-resolution
   2701   # timestamps if the operating system supports them at all.
   2702   if (set X `ls -t conftest.ts?` &&
   2703       test "$2" = conftest.ts3 &&
   2704       test "$3" = conftest.ts2 &&
   2705       test "$4" = conftest.ts1); then
   2706     #
   2707     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   2708     # because we don't need to test make.
   2709     make_ok=true
   2710     if test $am_try_res != 1; then
   2711       # But if we've succeeded so far with a subsecond resolution, we
   2712       # have one more thing to check: make. It can happen that
   2713       # everything else supports the subsecond mtimes, but make doesn't;
   2714       # notably on macOS, which ships make 3.81 from 2006 (the last one
   2715       # released under GPLv2). https://bugs.gnu.org/68808
   2716       #
   2717       # We test $MAKE if it is defined in the environment, else "make".
   2718       # It might get overridden later, but our hope is that in practice
   2719       # it does not matter: it is the system "make" which is (by far)
   2720       # the most likely to be broken, whereas if the user overrides it,
   2721       # probably they did so with a better, or at least not worse, make.
   2722       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   2723       #
   2724       # Create a Makefile (real tab character here):
   2725       rm -f conftest.mk
   2726       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   2727       echo '	touch conftest.ts2' >>conftest.mk
   2728       #
   2729       # Now, running
   2730       #   touch conftest.ts1; touch conftest.ts2; make
   2731       # should touch ts1 because ts2 is newer. This could happen by luck,
   2732       # but most often, it will fail if make's support is insufficient. So
   2733       # test for several consecutive successes.
   2734       #
   2735       # (We reuse conftest.ts[12] because we still want to modify existing
   2736       # files, not create new ones, per above.)
   2737       n=0
   2738       make=${MAKE-make}
   2739       until test $n -eq 3; do
   2740         echo one > conftest.ts1
   2741         sleep $am_try_res
   2742         echo two > conftest.ts2 # ts2 should now be newer than ts1
   2743         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   2744           make_ok=false
   2745           break # out of $n loop
   2746         fi
   2747         n=`expr $n + 1`
   2748       done
   2749     fi
   2750     #
   2751     if $make_ok; then
   2752       # Everything we know to check worked out, so call this resolution good.
   2753       am_cv_filesystem_timestamp_resolution=$am_try_res
   2754       break # out of $am_try_res loop
   2755     fi
   2756     # Otherwise, we'll go on to check the next resolution.
   2757   fi
   2758 done
   2759 rm -f conftest.ts?
   2760 # (end _am_filesystem_timestamp_resolution)
   2761  ;;
   2762 esac
   2763 fi
   2764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   2765 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   2766 
   2767 # This check should not be cached, as it may vary across builds of
   2768 # different projects.
   2769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2770 printf %s "checking whether build environment is sane... " >&6; }
   2771 # Reject unsafe characters in $srcdir or the absolute working directory
   2772 # name.  Accept space and tab only in the latter.
   2773 am_lf='
   2774 '
   2775 case `pwd` in
   2776   *[\\\"\#\$\&\'\`$am_lf]*)
   2777     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2778 esac
   2779 case $srcdir in
   2780   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2781     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2782 esac
   2783 
   2784 # Do 'set' in a subshell so we don't clobber the current shell's
   2785 # arguments.  Must try -L first in case configure is actually a
   2786 # symlink; some systems play weird games with the mod time of symlinks
   2787 # (eg FreeBSD returns the mod time of the symlink's containing
   2788 # directory).
   2789 am_build_env_is_sane=no
   2790 am_has_slept=no
   2791 rm -f conftest.file
   2792 for am_try in 1 2; do
   2793   echo "timestamp, slept: $am_has_slept" > conftest.file
   2794   if (
   2795     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2796     if test "$*" = "X"; then
   2797       # -L didn't work.
   2798       set X `ls -t "$srcdir/configure" conftest.file`
   2799     fi
   2800     test "$2" = conftest.file
   2801   ); then
   2802     am_build_env_is_sane=yes
   2803     break
   2804   fi
   2805   # Just in case.
   2806   sleep "$am_cv_filesystem_timestamp_resolution"
   2807   am_has_slept=yes
   2808 done
   2809 
   2810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   2811 printf "%s\n" "$am_build_env_is_sane" >&6; }
   2812 if test "$am_build_env_is_sane" = no; then
   2813   as_fn_error $? "newly created file is older than distributed files!
   2814 Check your system clock" "$LINENO" 5
   2815 fi
   2816 
   2817 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2818 # generated files are strictly newer.
   2819 am_sleep_pid=
   2820 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   2821 then :
   2822 
   2823 else case e in #(
   2824   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   2825   am_sleep_pid=$!
   2826  ;;
   2827 esac
   2828 fi
   2829 
   2830 rm -f conftest.file
   2831 
   2832 test "$program_prefix" != NONE &&
   2833   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2834 # Use a double $ so make ignores it.
   2835 test "$program_suffix" != NONE &&
   2836   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2837 # Double any \ or $.
   2838 # By default was 's,x,x', remove it if useless.
   2839 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2840 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2841 
   2842 
   2843 # Expand $ac_aux_dir to an absolute path.
   2844 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2845 
   2846 
   2847   if test x"${MISSING+set}" != xset; then
   2848   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2849 fi
   2850 # Use eval to expand $SHELL
   2851 if eval "$MISSING --is-lightweight"; then
   2852   am_missing_run="$MISSING "
   2853 else
   2854   am_missing_run=
   2855   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2856 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2857 fi
   2858 
   2859 if test x"${install_sh+set}" != xset; then
   2860   case $am_aux_dir in
   2861   *\ * | *\	*)
   2862     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2863   *)
   2864     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2865   esac
   2866 fi
   2867 
   2868 # Installed binaries are usually stripped using 'strip' when the user
   2869 # run "make install-strip".  However 'strip' might not be the right
   2870 # tool to use in cross-compilation environments, therefore Automake
   2871 # will honor the 'STRIP' environment variable to overrule this program.
   2872 if test "$cross_compiling" != no; then
   2873   if test -n "$ac_tool_prefix"; then
   2874   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2875 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2877 printf %s "checking for $ac_word... " >&6; }
   2878 if test ${ac_cv_prog_STRIP+y}
   2879 then :
   2880   printf %s "(cached) " >&6
   2881 else case e in #(
   2882   e) if test -n "$STRIP"; then
   2883   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2884 else
   2885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2886 for as_dir in $PATH
   2887 do
   2888   IFS=$as_save_IFS
   2889   case $as_dir in #(((
   2890     '') as_dir=./ ;;
   2891     */) ;;
   2892     *) as_dir=$as_dir/ ;;
   2893   esac
   2894     for ac_exec_ext in '' $ac_executable_extensions; do
   2895   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2896     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2897     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2898     break 2
   2899   fi
   2900 done
   2901   done
   2902 IFS=$as_save_IFS
   2903 
   2904 fi ;;
   2905 esac
   2906 fi
   2907 STRIP=$ac_cv_prog_STRIP
   2908 if test -n "$STRIP"; then
   2909   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2910 printf "%s\n" "$STRIP" >&6; }
   2911 else
   2912   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2913 printf "%s\n" "no" >&6; }
   2914 fi
   2915 
   2916 
   2917 fi
   2918 if test -z "$ac_cv_prog_STRIP"; then
   2919   ac_ct_STRIP=$STRIP
   2920   # Extract the first word of "strip", so it can be a program name with args.
   2921 set dummy strip; ac_word=$2
   2922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2923 printf %s "checking for $ac_word... " >&6; }
   2924 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2925 then :
   2926   printf %s "(cached) " >&6
   2927 else case e in #(
   2928   e) if test -n "$ac_ct_STRIP"; then
   2929   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2930 else
   2931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2932 for as_dir in $PATH
   2933 do
   2934   IFS=$as_save_IFS
   2935   case $as_dir in #(((
   2936     '') as_dir=./ ;;
   2937     */) ;;
   2938     *) as_dir=$as_dir/ ;;
   2939   esac
   2940     for ac_exec_ext in '' $ac_executable_extensions; do
   2941   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2942     ac_cv_prog_ac_ct_STRIP="strip"
   2943     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2944     break 2
   2945   fi
   2946 done
   2947   done
   2948 IFS=$as_save_IFS
   2949 
   2950 fi ;;
   2951 esac
   2952 fi
   2953 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2954 if test -n "$ac_ct_STRIP"; then
   2955   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2956 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2957 else
   2958   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2959 printf "%s\n" "no" >&6; }
   2960 fi
   2961 
   2962   if test "x$ac_ct_STRIP" = x; then
   2963     STRIP=":"
   2964   else
   2965     case $cross_compiling:$ac_tool_warned in
   2966 yes:)
   2967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2968 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2969 ac_tool_warned=yes ;;
   2970 esac
   2971     STRIP=$ac_ct_STRIP
   2972   fi
   2973 else
   2974   STRIP="$ac_cv_prog_STRIP"
   2975 fi
   2976 
   2977 fi
   2978 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2979 
   2980 
   2981   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2982 printf %s "checking for a race-free mkdir -p... " >&6; }
   2983 if test -z "$MKDIR_P"; then
   2984   if test ${ac_cv_path_mkdir+y}
   2985 then :
   2986   printf %s "(cached) " >&6
   2987 else case e in #(
   2988   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2989 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2990 do
   2991   IFS=$as_save_IFS
   2992   case $as_dir in #(((
   2993     '') as_dir=./ ;;
   2994     */) ;;
   2995     *) as_dir=$as_dir/ ;;
   2996   esac
   2997     for ac_prog in mkdir gmkdir; do
   2998 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2999 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3000 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3001 	     'mkdir ('*'coreutils) '* | \
   3002 	     *'BusyBox '* | \
   3003 	     'mkdir (fileutils) '4.1*)
   3004 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3005 	       break 3;;
   3006 	   esac
   3007 	 done
   3008        done
   3009   done
   3010 IFS=$as_save_IFS
   3011  ;;
   3012 esac
   3013 fi
   3014 
   3015   test -d ./--version && rmdir ./--version
   3016   if test ${ac_cv_path_mkdir+y}; then
   3017     MKDIR_P="$ac_cv_path_mkdir -p"
   3018   else
   3019     # As a last resort, use plain mkdir -p,
   3020     # in the hope it doesn't have the bugs of ancient mkdir.
   3021     MKDIR_P='mkdir -p'
   3022   fi
   3023 fi
   3024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3025 printf "%s\n" "$MKDIR_P" >&6; }
   3026 
   3027 for ac_prog in gawk mawk nawk awk
   3028 do
   3029   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3030 set dummy $ac_prog; ac_word=$2
   3031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3032 printf %s "checking for $ac_word... " >&6; }
   3033 if test ${ac_cv_prog_AWK+y}
   3034 then :
   3035   printf %s "(cached) " >&6
   3036 else case e in #(
   3037   e) if test -n "$AWK"; then
   3038   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3039 else
   3040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3041 for as_dir in $PATH
   3042 do
   3043   IFS=$as_save_IFS
   3044   case $as_dir in #(((
   3045     '') as_dir=./ ;;
   3046     */) ;;
   3047     *) as_dir=$as_dir/ ;;
   3048   esac
   3049     for ac_exec_ext in '' $ac_executable_extensions; do
   3050   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3051     ac_cv_prog_AWK="$ac_prog"
   3052     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3053     break 2
   3054   fi
   3055 done
   3056   done
   3057 IFS=$as_save_IFS
   3058 
   3059 fi ;;
   3060 esac
   3061 fi
   3062 AWK=$ac_cv_prog_AWK
   3063 if test -n "$AWK"; then
   3064   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3065 printf "%s\n" "$AWK" >&6; }
   3066 else
   3067   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3068 printf "%s\n" "no" >&6; }
   3069 fi
   3070 
   3071 
   3072   test -n "$AWK" && break
   3073 done
   3074 
   3075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3076 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3077 set x ${MAKE-make}
   3078 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3079 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3080 then :
   3081   printf %s "(cached) " >&6
   3082 else case e in #(
   3083   e) cat >conftest.make <<\_ACEOF
   3084 SHELL = /bin/sh
   3085 all:
   3086 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3087 _ACEOF
   3088 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3089 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3090   *@@@%%%=?*=@@@%%%*)
   3091     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3092   *)
   3093     eval ac_cv_prog_make_${ac_make}_set=no;;
   3094 esac
   3095 rm -f conftest.make ;;
   3096 esac
   3097 fi
   3098 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3099   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3100 printf "%s\n" "yes" >&6; }
   3101   SET_MAKE=
   3102 else
   3103   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3104 printf "%s\n" "no" >&6; }
   3105   SET_MAKE="MAKE=${MAKE-make}"
   3106 fi
   3107 
   3108 rm -rf .tst 2>/dev/null
   3109 mkdir .tst 2>/dev/null
   3110 if test -d .tst; then
   3111   am__leading_dot=.
   3112 else
   3113   am__leading_dot=_
   3114 fi
   3115 rmdir .tst 2>/dev/null
   3116 
   3117 AM_DEFAULT_VERBOSITY=1
   3118 # Check whether --enable-silent-rules was given.
   3119 if test ${enable_silent_rules+y}
   3120 then :
   3121   enableval=$enable_silent_rules;
   3122 fi
   3123 
   3124 am_make=${MAKE-make}
   3125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3126 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3127 if test ${am_cv_make_support_nested_variables+y}
   3128 then :
   3129   printf %s "(cached) " >&6
   3130 else case e in #(
   3131   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3132 BAR0=false
   3133 BAR1=true
   3134 V=1
   3135 am__doit:
   3136 	@$(TRUE)
   3137 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3138   am_cv_make_support_nested_variables=yes
   3139 else
   3140   am_cv_make_support_nested_variables=no
   3141 fi ;;
   3142 esac
   3143 fi
   3144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3145 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3146 AM_BACKSLASH='\'
   3147 
   3148 am__rm_f_notfound=
   3149 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3150 then :
   3151 
   3152 else case e in #(
   3153   e) am__rm_f_notfound='""' ;;
   3154 esac
   3155 fi
   3156 
   3157 
   3158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3159 printf %s "checking xargs -n works... " >&6; }
   3160 if test ${am_cv_xargs_n_works+y}
   3161 then :
   3162   printf %s "(cached) " >&6
   3163 else case e in #(
   3164   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3165 3"
   3166 then :
   3167   am_cv_xargs_n_works=yes
   3168 else case e in #(
   3169   e) am_cv_xargs_n_works=no ;;
   3170 esac
   3171 fi ;;
   3172 esac
   3173 fi
   3174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3175 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   3176 if test "$am_cv_xargs_n_works" = yes
   3177 then :
   3178   am__xargs_n='xargs -n'
   3179 else case e in #(
   3180   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3181  ;;
   3182 esac
   3183 fi
   3184 
   3185 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3186   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3187   # is not polluted with repeated "-I."
   3188   am__isrc=' -I$(srcdir)'
   3189   # test to see if srcdir already configured
   3190   if test -f $srcdir/config.status; then
   3191     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3192   fi
   3193 fi
   3194 
   3195 # test whether we have cygpath
   3196 if test -z "$CYGPATH_W"; then
   3197   if (cygpath --version) >/dev/null 2>/dev/null; then
   3198     CYGPATH_W='cygpath -w'
   3199   else
   3200     CYGPATH_W=echo
   3201   fi
   3202 fi
   3203 
   3204 
   3205 # Define the identity of the package.
   3206  PACKAGE='xwud'
   3207  VERSION='1.0.7'
   3208 
   3209 
   3210 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3211 
   3212 
   3213 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3214 
   3215 # Some tools Automake needs.
   3216 
   3217 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3218 
   3219 
   3220 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3221 
   3222 
   3223 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3224 
   3225 
   3226 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3227 
   3228 
   3229 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3230 
   3231 # For better backward compatibility.  To be removed once Automake 1.9.x
   3232 # dies out for good.  For more background, see:
   3233 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3234 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3235 mkdir_p='$(MKDIR_P)'
   3236 
   3237 # We need awk for the "check" target (and possibly the TAP driver).  The
   3238 # system "awk" is bad on some platforms.
   3239 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3240 # in the wild :-(  We should find a proper way to deprecate it ...
   3241 AMTAR='$${TAR-tar}'
   3242 
   3243 
   3244 # We'll loop over all known methods to create a tar archive until one works.
   3245 _am_tools='gnutar  pax cpio none'
   3246 
   3247 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3248 
   3249 
   3250 
   3251 
   3252 
   3253 # Variables for tags utilities; see am/tags.am
   3254 if test -z "$CTAGS"; then
   3255   CTAGS=ctags
   3256 fi
   3257 
   3258 if test -z "$ETAGS"; then
   3259   ETAGS=etags
   3260 fi
   3261 
   3262 if test -z "$CSCOPE"; then
   3263   CSCOPE=cscope
   3264 fi
   3265 
   3266 
   3267 
   3268 
   3269 
   3270 
   3271 
   3272 
   3273 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3274 
   3275 
   3276 
   3277 
   3278 
   3279 
   3280 
   3281 
   3282 
   3283 
   3284 
   3285 
   3286 
   3287 
   3288 
   3289 
   3290 
   3291 
   3292 
   3293 
   3294 DEPDIR="${am__leading_dot}deps"
   3295 
   3296 ac_config_commands="$ac_config_commands depfiles"
   3297 
   3298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3299 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3300 cat > confinc.mk << 'END'
   3301 am__doit:
   3302 	@echo this is the am__doit target >confinc.out
   3303 .PHONY: am__doit
   3304 END
   3305 am__include="#"
   3306 am__quote=
   3307 # BSD make does it like this.
   3308 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3309 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3310 echo 'include confinc.mk # ignored' > confmf.GNU
   3311 _am_result=no
   3312 for s in GNU BSD; do
   3313   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3314    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3315    ac_status=$?
   3316    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3317    (exit $ac_status); }
   3318   case $?:`cat confinc.out 2>/dev/null` in #(
   3319   '0:this is the am__doit target') :
   3320     case $s in #(
   3321   BSD) :
   3322     am__include='.include' am__quote='"' ;; #(
   3323   *) :
   3324     am__include='include' am__quote='' ;;
   3325 esac ;; #(
   3326   *) :
   3327      ;;
   3328 esac
   3329   if test "$am__include" != "#"; then
   3330     _am_result="yes ($s style)"
   3331     break
   3332   fi
   3333 done
   3334 rm -f confinc.* confmf.*
   3335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3336 printf "%s\n" "${_am_result}" >&6; }
   3337 
   3338 # Check whether --enable-dependency-tracking was given.
   3339 if test ${enable_dependency_tracking+y}
   3340 then :
   3341   enableval=$enable_dependency_tracking;
   3342 fi
   3343 
   3344 if test "x$enable_dependency_tracking" != xno; then
   3345   am_depcomp="$ac_aux_dir/depcomp"
   3346   AMDEPBACKSLASH='\'
   3347   am__nodep='_no'
   3348 fi
   3349  if test "x$enable_dependency_tracking" != xno; then
   3350   AMDEP_TRUE=
   3351   AMDEP_FALSE='#'
   3352 else
   3353   AMDEP_TRUE='#'
   3354   AMDEP_FALSE=
   3355 fi
   3356 
   3357 
   3358 ac_ext=c
   3359 ac_cpp='$CPP $CPPFLAGS'
   3360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3363 if test -n "$ac_tool_prefix"; then
   3364   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3365 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3367 printf %s "checking for $ac_word... " >&6; }
   3368 if test ${ac_cv_prog_CC+y}
   3369 then :
   3370   printf %s "(cached) " >&6
   3371 else case e in #(
   3372   e) if test -n "$CC"; then
   3373   ac_cv_prog_CC="$CC" # Let the user override the test.
   3374 else
   3375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3376 for as_dir in $PATH
   3377 do
   3378   IFS=$as_save_IFS
   3379   case $as_dir in #(((
   3380     '') as_dir=./ ;;
   3381     */) ;;
   3382     *) as_dir=$as_dir/ ;;
   3383   esac
   3384     for ac_exec_ext in '' $ac_executable_extensions; do
   3385   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3386     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3387     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3388     break 2
   3389   fi
   3390 done
   3391   done
   3392 IFS=$as_save_IFS
   3393 
   3394 fi ;;
   3395 esac
   3396 fi
   3397 CC=$ac_cv_prog_CC
   3398 if test -n "$CC"; then
   3399   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3400 printf "%s\n" "$CC" >&6; }
   3401 else
   3402   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3403 printf "%s\n" "no" >&6; }
   3404 fi
   3405 
   3406 
   3407 fi
   3408 if test -z "$ac_cv_prog_CC"; then
   3409   ac_ct_CC=$CC
   3410   # Extract the first word of "gcc", so it can be a program name with args.
   3411 set dummy gcc; ac_word=$2
   3412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3413 printf %s "checking for $ac_word... " >&6; }
   3414 if test ${ac_cv_prog_ac_ct_CC+y}
   3415 then :
   3416   printf %s "(cached) " >&6
   3417 else case e in #(
   3418   e) if test -n "$ac_ct_CC"; then
   3419   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3420 else
   3421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3422 for as_dir in $PATH
   3423 do
   3424   IFS=$as_save_IFS
   3425   case $as_dir in #(((
   3426     '') as_dir=./ ;;
   3427     */) ;;
   3428     *) as_dir=$as_dir/ ;;
   3429   esac
   3430     for ac_exec_ext in '' $ac_executable_extensions; do
   3431   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3432     ac_cv_prog_ac_ct_CC="gcc"
   3433     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3434     break 2
   3435   fi
   3436 done
   3437   done
   3438 IFS=$as_save_IFS
   3439 
   3440 fi ;;
   3441 esac
   3442 fi
   3443 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3444 if test -n "$ac_ct_CC"; then
   3445   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3446 printf "%s\n" "$ac_ct_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   if test "x$ac_ct_CC" = x; then
   3453     CC=""
   3454   else
   3455     case $cross_compiling:$ac_tool_warned in
   3456 yes:)
   3457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3458 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3459 ac_tool_warned=yes ;;
   3460 esac
   3461     CC=$ac_ct_CC
   3462   fi
   3463 else
   3464   CC="$ac_cv_prog_CC"
   3465 fi
   3466 
   3467 if test -z "$CC"; then
   3468           if test -n "$ac_tool_prefix"; then
   3469     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3470 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3472 printf %s "checking for $ac_word... " >&6; }
   3473 if test ${ac_cv_prog_CC+y}
   3474 then :
   3475   printf %s "(cached) " >&6
   3476 else case e in #(
   3477   e) if test -n "$CC"; then
   3478   ac_cv_prog_CC="$CC" # Let the user override the test.
   3479 else
   3480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3481 for as_dir in $PATH
   3482 do
   3483   IFS=$as_save_IFS
   3484   case $as_dir in #(((
   3485     '') as_dir=./ ;;
   3486     */) ;;
   3487     *) as_dir=$as_dir/ ;;
   3488   esac
   3489     for ac_exec_ext in '' $ac_executable_extensions; do
   3490   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3491     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3492     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3493     break 2
   3494   fi
   3495 done
   3496   done
   3497 IFS=$as_save_IFS
   3498 
   3499 fi ;;
   3500 esac
   3501 fi
   3502 CC=$ac_cv_prog_CC
   3503 if test -n "$CC"; then
   3504   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3505 printf "%s\n" "$CC" >&6; }
   3506 else
   3507   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3508 printf "%s\n" "no" >&6; }
   3509 fi
   3510 
   3511 
   3512   fi
   3513 fi
   3514 if test -z "$CC"; then
   3515   # Extract the first word of "cc", so it can be a program name with args.
   3516 set dummy cc; ac_word=$2
   3517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3518 printf %s "checking for $ac_word... " >&6; }
   3519 if test ${ac_cv_prog_CC+y}
   3520 then :
   3521   printf %s "(cached) " >&6
   3522 else case e in #(
   3523   e) if test -n "$CC"; then
   3524   ac_cv_prog_CC="$CC" # Let the user override the test.
   3525 else
   3526   ac_prog_rejected=no
   3527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3528 for as_dir in $PATH
   3529 do
   3530   IFS=$as_save_IFS
   3531   case $as_dir in #(((
   3532     '') as_dir=./ ;;
   3533     */) ;;
   3534     *) as_dir=$as_dir/ ;;
   3535   esac
   3536     for ac_exec_ext in '' $ac_executable_extensions; do
   3537   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3538     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3539        ac_prog_rejected=yes
   3540        continue
   3541      fi
   3542     ac_cv_prog_CC="cc"
   3543     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3544     break 2
   3545   fi
   3546 done
   3547   done
   3548 IFS=$as_save_IFS
   3549 
   3550 if test $ac_prog_rejected = yes; then
   3551   # We found a bogon in the path, so make sure we never use it.
   3552   set dummy $ac_cv_prog_CC
   3553   shift
   3554   if test $# != 0; then
   3555     # We chose a different compiler from the bogus one.
   3556     # However, it has the same basename, so the bogon will be chosen
   3557     # first if we set CC to just the basename; use the full file name.
   3558     shift
   3559     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3560   fi
   3561 fi
   3562 fi ;;
   3563 esac
   3564 fi
   3565 CC=$ac_cv_prog_CC
   3566 if test -n "$CC"; then
   3567   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3568 printf "%s\n" "$CC" >&6; }
   3569 else
   3570   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3571 printf "%s\n" "no" >&6; }
   3572 fi
   3573 
   3574 
   3575 fi
   3576 if test -z "$CC"; then
   3577   if test -n "$ac_tool_prefix"; then
   3578   for ac_prog in cl.exe
   3579   do
   3580     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3581 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3583 printf %s "checking for $ac_word... " >&6; }
   3584 if test ${ac_cv_prog_CC+y}
   3585 then :
   3586   printf %s "(cached) " >&6
   3587 else case e in #(
   3588   e) if test -n "$CC"; then
   3589   ac_cv_prog_CC="$CC" # Let the user override the test.
   3590 else
   3591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3592 for as_dir in $PATH
   3593 do
   3594   IFS=$as_save_IFS
   3595   case $as_dir in #(((
   3596     '') as_dir=./ ;;
   3597     */) ;;
   3598     *) as_dir=$as_dir/ ;;
   3599   esac
   3600     for ac_exec_ext in '' $ac_executable_extensions; do
   3601   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3602     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3603     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3604     break 2
   3605   fi
   3606 done
   3607   done
   3608 IFS=$as_save_IFS
   3609 
   3610 fi ;;
   3611 esac
   3612 fi
   3613 CC=$ac_cv_prog_CC
   3614 if test -n "$CC"; then
   3615   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3616 printf "%s\n" "$CC" >&6; }
   3617 else
   3618   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3619 printf "%s\n" "no" >&6; }
   3620 fi
   3621 
   3622 
   3623     test -n "$CC" && break
   3624   done
   3625 fi
   3626 if test -z "$CC"; then
   3627   ac_ct_CC=$CC
   3628   for ac_prog in cl.exe
   3629 do
   3630   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3631 set dummy $ac_prog; ac_word=$2
   3632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3633 printf %s "checking for $ac_word... " >&6; }
   3634 if test ${ac_cv_prog_ac_ct_CC+y}
   3635 then :
   3636   printf %s "(cached) " >&6
   3637 else case e in #(
   3638   e) if test -n "$ac_ct_CC"; then
   3639   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3640 else
   3641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3642 for as_dir in $PATH
   3643 do
   3644   IFS=$as_save_IFS
   3645   case $as_dir in #(((
   3646     '') as_dir=./ ;;
   3647     */) ;;
   3648     *) as_dir=$as_dir/ ;;
   3649   esac
   3650     for ac_exec_ext in '' $ac_executable_extensions; do
   3651   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3652     ac_cv_prog_ac_ct_CC="$ac_prog"
   3653     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3654     break 2
   3655   fi
   3656 done
   3657   done
   3658 IFS=$as_save_IFS
   3659 
   3660 fi ;;
   3661 esac
   3662 fi
   3663 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3664 if test -n "$ac_ct_CC"; then
   3665   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3666 printf "%s\n" "$ac_ct_CC" >&6; }
   3667 else
   3668   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3669 printf "%s\n" "no" >&6; }
   3670 fi
   3671 
   3672 
   3673   test -n "$ac_ct_CC" && break
   3674 done
   3675 
   3676   if test "x$ac_ct_CC" = x; then
   3677     CC=""
   3678   else
   3679     case $cross_compiling:$ac_tool_warned in
   3680 yes:)
   3681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3682 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3683 ac_tool_warned=yes ;;
   3684 esac
   3685     CC=$ac_ct_CC
   3686   fi
   3687 fi
   3688 
   3689 fi
   3690 if test -z "$CC"; then
   3691   if test -n "$ac_tool_prefix"; then
   3692   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3693 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3695 printf %s "checking for $ac_word... " >&6; }
   3696 if test ${ac_cv_prog_CC+y}
   3697 then :
   3698   printf %s "(cached) " >&6
   3699 else case e in #(
   3700   e) if test -n "$CC"; then
   3701   ac_cv_prog_CC="$CC" # Let the user override the test.
   3702 else
   3703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3704 for as_dir in $PATH
   3705 do
   3706   IFS=$as_save_IFS
   3707   case $as_dir in #(((
   3708     '') as_dir=./ ;;
   3709     */) ;;
   3710     *) as_dir=$as_dir/ ;;
   3711   esac
   3712     for ac_exec_ext in '' $ac_executable_extensions; do
   3713   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3714     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3715     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3716     break 2
   3717   fi
   3718 done
   3719   done
   3720 IFS=$as_save_IFS
   3721 
   3722 fi ;;
   3723 esac
   3724 fi
   3725 CC=$ac_cv_prog_CC
   3726 if test -n "$CC"; then
   3727   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3728 printf "%s\n" "$CC" >&6; }
   3729 else
   3730   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3731 printf "%s\n" "no" >&6; }
   3732 fi
   3733 
   3734 
   3735 fi
   3736 if test -z "$ac_cv_prog_CC"; then
   3737   ac_ct_CC=$CC
   3738   # Extract the first word of "clang", so it can be a program name with args.
   3739 set dummy clang; ac_word=$2
   3740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3741 printf %s "checking for $ac_word... " >&6; }
   3742 if test ${ac_cv_prog_ac_ct_CC+y}
   3743 then :
   3744   printf %s "(cached) " >&6
   3745 else case e in #(
   3746   e) if test -n "$ac_ct_CC"; then
   3747   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3748 else
   3749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3750 for as_dir in $PATH
   3751 do
   3752   IFS=$as_save_IFS
   3753   case $as_dir in #(((
   3754     '') as_dir=./ ;;
   3755     */) ;;
   3756     *) as_dir=$as_dir/ ;;
   3757   esac
   3758     for ac_exec_ext in '' $ac_executable_extensions; do
   3759   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3760     ac_cv_prog_ac_ct_CC="clang"
   3761     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3762     break 2
   3763   fi
   3764 done
   3765   done
   3766 IFS=$as_save_IFS
   3767 
   3768 fi ;;
   3769 esac
   3770 fi
   3771 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3772 if test -n "$ac_ct_CC"; then
   3773   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3774 printf "%s\n" "$ac_ct_CC" >&6; }
   3775 else
   3776   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3777 printf "%s\n" "no" >&6; }
   3778 fi
   3779 
   3780   if test "x$ac_ct_CC" = x; then
   3781     CC=""
   3782   else
   3783     case $cross_compiling:$ac_tool_warned in
   3784 yes:)
   3785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3786 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3787 ac_tool_warned=yes ;;
   3788 esac
   3789     CC=$ac_ct_CC
   3790   fi
   3791 else
   3792   CC="$ac_cv_prog_CC"
   3793 fi
   3794 
   3795 fi
   3796 
   3797 
   3798 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3799 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3800 as_fn_error $? "no acceptable C compiler found in \$PATH
   3801 See 'config.log' for more details" "$LINENO" 5; }
   3802 
   3803 # Provide some information about the compiler.
   3804 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3805 set X $ac_compile
   3806 ac_compiler=$2
   3807 for ac_option in --version -v -V -qversion -version; do
   3808   { { ac_try="$ac_compiler $ac_option >&5"
   3809 case "(($ac_try" in
   3810   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3811   *) ac_try_echo=$ac_try;;
   3812 esac
   3813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3814 printf "%s\n" "$ac_try_echo"; } >&5
   3815   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3816   ac_status=$?
   3817   if test -s conftest.err; then
   3818     sed '10a\
   3819 ... rest of stderr output deleted ...
   3820          10q' conftest.err >conftest.er1
   3821     cat conftest.er1 >&5
   3822   fi
   3823   rm -f conftest.er1 conftest.err
   3824   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3825   test $ac_status = 0; }
   3826 done
   3827 
   3828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3829 /* end confdefs.h.  */
   3830 
   3831 int
   3832 main (void)
   3833 {
   3834 
   3835   ;
   3836   return 0;
   3837 }
   3838 _ACEOF
   3839 ac_clean_files_save=$ac_clean_files
   3840 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3841 # Try to create an executable without -o first, disregard a.out.
   3842 # It will help us diagnose broken compilers, and finding out an intuition
   3843 # of exeext.
   3844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3845 printf %s "checking whether the C compiler works... " >&6; }
   3846 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3847 
   3848 # The possible output files:
   3849 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3850 
   3851 ac_rmfiles=
   3852 for ac_file in $ac_files
   3853 do
   3854   case $ac_file in
   3855     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3856     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3857   esac
   3858 done
   3859 rm -f $ac_rmfiles
   3860 
   3861 if { { ac_try="$ac_link_default"
   3862 case "(($ac_try" in
   3863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3864   *) ac_try_echo=$ac_try;;
   3865 esac
   3866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3867 printf "%s\n" "$ac_try_echo"; } >&5
   3868   (eval "$ac_link_default") 2>&5
   3869   ac_status=$?
   3870   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3871   test $ac_status = 0; }
   3872 then :
   3873   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3874 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3875 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3876 # so that the user can short-circuit this test for compilers unknown to
   3877 # Autoconf.
   3878 for ac_file in $ac_files ''
   3879 do
   3880   test -f "$ac_file" || continue
   3881   case $ac_file in
   3882     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3883 	;;
   3884     [ab].out )
   3885 	# We found the default executable, but exeext='' is most
   3886 	# certainly right.
   3887 	break;;
   3888     *.* )
   3889 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3890 	then :; else
   3891 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3892 	fi
   3893 	# We set ac_cv_exeext here because the later test for it is not
   3894 	# safe: cross compilers may not add the suffix if given an '-o'
   3895 	# argument, so we may need to know it at that point already.
   3896 	# Even if this section looks crufty: it has the advantage of
   3897 	# actually working.
   3898 	break;;
   3899     * )
   3900 	break;;
   3901   esac
   3902 done
   3903 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3904 
   3905 else case e in #(
   3906   e) ac_file='' ;;
   3907 esac
   3908 fi
   3909 if test -z "$ac_file"
   3910 then :
   3911   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3912 printf "%s\n" "no" >&6; }
   3913 printf "%s\n" "$as_me: failed program was:" >&5
   3914 sed 's/^/| /' conftest.$ac_ext >&5
   3915 
   3916 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3917 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3918 as_fn_error 77 "C compiler cannot create executables
   3919 See 'config.log' for more details" "$LINENO" 5; }
   3920 else case e in #(
   3921   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3922 printf "%s\n" "yes" >&6; } ;;
   3923 esac
   3924 fi
   3925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3926 printf %s "checking for C compiler default output file name... " >&6; }
   3927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3928 printf "%s\n" "$ac_file" >&6; }
   3929 ac_exeext=$ac_cv_exeext
   3930 
   3931 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3932 ac_clean_files=$ac_clean_files_save
   3933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3934 printf %s "checking for suffix of executables... " >&6; }
   3935 if { { ac_try="$ac_link"
   3936 case "(($ac_try" in
   3937   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3938   *) ac_try_echo=$ac_try;;
   3939 esac
   3940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3941 printf "%s\n" "$ac_try_echo"; } >&5
   3942   (eval "$ac_link") 2>&5
   3943   ac_status=$?
   3944   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3945   test $ac_status = 0; }
   3946 then :
   3947   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3948 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3949 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3950 # 'rm'.
   3951 for ac_file in conftest.exe conftest conftest.*; do
   3952   test -f "$ac_file" || continue
   3953   case $ac_file in
   3954     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3955     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3956 	  break;;
   3957     * ) break;;
   3958   esac
   3959 done
   3960 else case e in #(
   3961   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3962 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3963 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3964 See 'config.log' for more details" "$LINENO" 5; } ;;
   3965 esac
   3966 fi
   3967 rm -f conftest conftest$ac_cv_exeext
   3968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3969 printf "%s\n" "$ac_cv_exeext" >&6; }
   3970 
   3971 rm -f conftest.$ac_ext
   3972 EXEEXT=$ac_cv_exeext
   3973 ac_exeext=$EXEEXT
   3974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3975 /* end confdefs.h.  */
   3976 #include <stdio.h>
   3977 int
   3978 main (void)
   3979 {
   3980 FILE *f = fopen ("conftest.out", "w");
   3981  if (!f)
   3982   return 1;
   3983  return ferror (f) || fclose (f) != 0;
   3984 
   3985   ;
   3986   return 0;
   3987 }
   3988 _ACEOF
   3989 ac_clean_files="$ac_clean_files conftest.out"
   3990 # Check that the compiler produces executables we can run.  If not, either
   3991 # the compiler is broken, or we cross compile.
   3992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3993 printf %s "checking whether we are cross compiling... " >&6; }
   3994 if test "$cross_compiling" != yes; then
   3995   { { ac_try="$ac_link"
   3996 case "(($ac_try" in
   3997   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3998   *) ac_try_echo=$ac_try;;
   3999 esac
   4000 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4001 printf "%s\n" "$ac_try_echo"; } >&5
   4002   (eval "$ac_link") 2>&5
   4003   ac_status=$?
   4004   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4005   test $ac_status = 0; }
   4006   if { ac_try='./conftest$ac_cv_exeext'
   4007   { { case "(($ac_try" in
   4008   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4009   *) ac_try_echo=$ac_try;;
   4010 esac
   4011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4012 printf "%s\n" "$ac_try_echo"; } >&5
   4013   (eval "$ac_try") 2>&5
   4014   ac_status=$?
   4015   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4016   test $ac_status = 0; }; }; then
   4017     cross_compiling=no
   4018   else
   4019     if test "$cross_compiling" = maybe; then
   4020 	cross_compiling=yes
   4021     else
   4022 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4023 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4024 as_fn_error 77 "cannot run C compiled programs.
   4025 If you meant to cross compile, use '--host'.
   4026 See 'config.log' for more details" "$LINENO" 5; }
   4027     fi
   4028   fi
   4029 fi
   4030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4031 printf "%s\n" "$cross_compiling" >&6; }
   4032 
   4033 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4034   conftest.o conftest.obj conftest.out
   4035 ac_clean_files=$ac_clean_files_save
   4036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4037 printf %s "checking for suffix of object files... " >&6; }
   4038 if test ${ac_cv_objext+y}
   4039 then :
   4040   printf %s "(cached) " >&6
   4041 else case e in #(
   4042   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4043 /* end confdefs.h.  */
   4044 
   4045 int
   4046 main (void)
   4047 {
   4048 
   4049   ;
   4050   return 0;
   4051 }
   4052 _ACEOF
   4053 rm -f conftest.o conftest.obj
   4054 if { { ac_try="$ac_compile"
   4055 case "(($ac_try" in
   4056   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4057   *) ac_try_echo=$ac_try;;
   4058 esac
   4059 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4060 printf "%s\n" "$ac_try_echo"; } >&5
   4061   (eval "$ac_compile") 2>&5
   4062   ac_status=$?
   4063   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4064   test $ac_status = 0; }
   4065 then :
   4066   for ac_file in conftest.o conftest.obj conftest.*; do
   4067   test -f "$ac_file" || continue;
   4068   case $ac_file in
   4069     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4070     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4071        break;;
   4072   esac
   4073 done
   4074 else case e in #(
   4075   e) printf "%s\n" "$as_me: failed program was:" >&5
   4076 sed 's/^/| /' conftest.$ac_ext >&5
   4077 
   4078 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4079 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4080 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4081 See 'config.log' for more details" "$LINENO" 5; } ;;
   4082 esac
   4083 fi
   4084 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4085 esac
   4086 fi
   4087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4088 printf "%s\n" "$ac_cv_objext" >&6; }
   4089 OBJEXT=$ac_cv_objext
   4090 ac_objext=$OBJEXT
   4091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4092 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4093 if test ${ac_cv_c_compiler_gnu+y}
   4094 then :
   4095   printf %s "(cached) " >&6
   4096 else case e in #(
   4097   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4098 /* end confdefs.h.  */
   4099 
   4100 int
   4101 main (void)
   4102 {
   4103 #ifndef __GNUC__
   4104        choke me
   4105 #endif
   4106 
   4107   ;
   4108   return 0;
   4109 }
   4110 _ACEOF
   4111 if ac_fn_c_try_compile "$LINENO"
   4112 then :
   4113   ac_compiler_gnu=yes
   4114 else case e in #(
   4115   e) ac_compiler_gnu=no ;;
   4116 esac
   4117 fi
   4118 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4119 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4120  ;;
   4121 esac
   4122 fi
   4123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4124 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4126 
   4127 if test $ac_compiler_gnu = yes; then
   4128   GCC=yes
   4129 else
   4130   GCC=
   4131 fi
   4132 ac_test_CFLAGS=${CFLAGS+y}
   4133 ac_save_CFLAGS=$CFLAGS
   4134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4135 printf %s "checking whether $CC accepts -g... " >&6; }
   4136 if test ${ac_cv_prog_cc_g+y}
   4137 then :
   4138   printf %s "(cached) " >&6
   4139 else case e in #(
   4140   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4141    ac_c_werror_flag=yes
   4142    ac_cv_prog_cc_g=no
   4143    CFLAGS="-g"
   4144    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4145 /* end confdefs.h.  */
   4146 
   4147 int
   4148 main (void)
   4149 {
   4150 
   4151   ;
   4152   return 0;
   4153 }
   4154 _ACEOF
   4155 if ac_fn_c_try_compile "$LINENO"
   4156 then :
   4157   ac_cv_prog_cc_g=yes
   4158 else case e in #(
   4159   e) CFLAGS=""
   4160       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4161 /* end confdefs.h.  */
   4162 
   4163 int
   4164 main (void)
   4165 {
   4166 
   4167   ;
   4168   return 0;
   4169 }
   4170 _ACEOF
   4171 if ac_fn_c_try_compile "$LINENO"
   4172 then :
   4173 
   4174 else case e in #(
   4175   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4176 	 CFLAGS="-g"
   4177 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4178 /* end confdefs.h.  */
   4179 
   4180 int
   4181 main (void)
   4182 {
   4183 
   4184   ;
   4185   return 0;
   4186 }
   4187 _ACEOF
   4188 if ac_fn_c_try_compile "$LINENO"
   4189 then :
   4190   ac_cv_prog_cc_g=yes
   4191 fi
   4192 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4193 esac
   4194 fi
   4195 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4196 esac
   4197 fi
   4198 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4199    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4200 esac
   4201 fi
   4202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4203 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4204 if test $ac_test_CFLAGS; then
   4205   CFLAGS=$ac_save_CFLAGS
   4206 elif test $ac_cv_prog_cc_g = yes; then
   4207   if test "$GCC" = yes; then
   4208     CFLAGS="-g -O2"
   4209   else
   4210     CFLAGS="-g"
   4211   fi
   4212 else
   4213   if test "$GCC" = yes; then
   4214     CFLAGS="-O2"
   4215   else
   4216     CFLAGS=
   4217   fi
   4218 fi
   4219 ac_prog_cc_stdc=no
   4220 if test x$ac_prog_cc_stdc = xno
   4221 then :
   4222   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4223 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4224 if test ${ac_cv_prog_cc_c11+y}
   4225 then :
   4226   printf %s "(cached) " >&6
   4227 else case e in #(
   4228   e) ac_cv_prog_cc_c11=no
   4229 ac_save_CC=$CC
   4230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4231 /* end confdefs.h.  */
   4232 $ac_c_conftest_c11_program
   4233 _ACEOF
   4234 for ac_arg in '' -std=gnu11
   4235 do
   4236   CC="$ac_save_CC $ac_arg"
   4237   if ac_fn_c_try_compile "$LINENO"
   4238 then :
   4239   ac_cv_prog_cc_c11=$ac_arg
   4240 fi
   4241 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4242   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4243 done
   4244 rm -f conftest.$ac_ext
   4245 CC=$ac_save_CC ;;
   4246 esac
   4247 fi
   4248 
   4249 if test "x$ac_cv_prog_cc_c11" = xno
   4250 then :
   4251   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4252 printf "%s\n" "unsupported" >&6; }
   4253 else case e in #(
   4254   e) if test "x$ac_cv_prog_cc_c11" = x
   4255 then :
   4256   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4257 printf "%s\n" "none needed" >&6; }
   4258 else case e in #(
   4259   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4260 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4261      CC="$CC $ac_cv_prog_cc_c11" ;;
   4262 esac
   4263 fi
   4264   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4265   ac_prog_cc_stdc=c11 ;;
   4266 esac
   4267 fi
   4268 fi
   4269 if test x$ac_prog_cc_stdc = xno
   4270 then :
   4271   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4272 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4273 if test ${ac_cv_prog_cc_c99+y}
   4274 then :
   4275   printf %s "(cached) " >&6
   4276 else case e in #(
   4277   e) ac_cv_prog_cc_c99=no
   4278 ac_save_CC=$CC
   4279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4280 /* end confdefs.h.  */
   4281 $ac_c_conftest_c99_program
   4282 _ACEOF
   4283 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4284 do
   4285   CC="$ac_save_CC $ac_arg"
   4286   if ac_fn_c_try_compile "$LINENO"
   4287 then :
   4288   ac_cv_prog_cc_c99=$ac_arg
   4289 fi
   4290 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4291   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4292 done
   4293 rm -f conftest.$ac_ext
   4294 CC=$ac_save_CC ;;
   4295 esac
   4296 fi
   4297 
   4298 if test "x$ac_cv_prog_cc_c99" = xno
   4299 then :
   4300   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4301 printf "%s\n" "unsupported" >&6; }
   4302 else case e in #(
   4303   e) if test "x$ac_cv_prog_cc_c99" = x
   4304 then :
   4305   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4306 printf "%s\n" "none needed" >&6; }
   4307 else case e in #(
   4308   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4309 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4310      CC="$CC $ac_cv_prog_cc_c99" ;;
   4311 esac
   4312 fi
   4313   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4314   ac_prog_cc_stdc=c99 ;;
   4315 esac
   4316 fi
   4317 fi
   4318 if test x$ac_prog_cc_stdc = xno
   4319 then :
   4320   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4321 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4322 if test ${ac_cv_prog_cc_c89+y}
   4323 then :
   4324   printf %s "(cached) " >&6
   4325 else case e in #(
   4326   e) ac_cv_prog_cc_c89=no
   4327 ac_save_CC=$CC
   4328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4329 /* end confdefs.h.  */
   4330 $ac_c_conftest_c89_program
   4331 _ACEOF
   4332 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4333 do
   4334   CC="$ac_save_CC $ac_arg"
   4335   if ac_fn_c_try_compile "$LINENO"
   4336 then :
   4337   ac_cv_prog_cc_c89=$ac_arg
   4338 fi
   4339 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4340   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4341 done
   4342 rm -f conftest.$ac_ext
   4343 CC=$ac_save_CC ;;
   4344 esac
   4345 fi
   4346 
   4347 if test "x$ac_cv_prog_cc_c89" = xno
   4348 then :
   4349   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4350 printf "%s\n" "unsupported" >&6; }
   4351 else case e in #(
   4352   e) if test "x$ac_cv_prog_cc_c89" = x
   4353 then :
   4354   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4355 printf "%s\n" "none needed" >&6; }
   4356 else case e in #(
   4357   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4358 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4359      CC="$CC $ac_cv_prog_cc_c89" ;;
   4360 esac
   4361 fi
   4362   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4363   ac_prog_cc_stdc=c89 ;;
   4364 esac
   4365 fi
   4366 fi
   4367 
   4368 ac_ext=c
   4369 ac_cpp='$CPP $CPPFLAGS'
   4370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4373 
   4374 
   4375   ac_ext=c
   4376 ac_cpp='$CPP $CPPFLAGS'
   4377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4381 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4382 if test ${am_cv_prog_cc_c_o+y}
   4383 then :
   4384   printf %s "(cached) " >&6
   4385 else case e in #(
   4386   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4387 /* end confdefs.h.  */
   4388 
   4389 int
   4390 main (void)
   4391 {
   4392 
   4393   ;
   4394   return 0;
   4395 }
   4396 _ACEOF
   4397   # Make sure it works both with $CC and with simple cc.
   4398   # Following AC_PROG_CC_C_O, we do the test twice because some
   4399   # compilers refuse to overwrite an existing .o file with -o,
   4400   # though they will create one.
   4401   am_cv_prog_cc_c_o=yes
   4402   for am_i in 1 2; do
   4403     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4404    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4405    ac_status=$?
   4406    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4407    (exit $ac_status); } \
   4408          && test -f conftest2.$ac_objext; then
   4409       : OK
   4410     else
   4411       am_cv_prog_cc_c_o=no
   4412       break
   4413     fi
   4414   done
   4415   rm -f core conftest*
   4416   unset am_i ;;
   4417 esac
   4418 fi
   4419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4420 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4421 if test "$am_cv_prog_cc_c_o" != yes; then
   4422    # Losing compiler, so override with the script.
   4423    # FIXME: It is wrong to rewrite CC.
   4424    # But if we don't then we get into trouble of one sort or another.
   4425    # A longer-term fix would be to have automake use am__CC in this case,
   4426    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4427    CC="$am_aux_dir/compile $CC"
   4428 fi
   4429 ac_ext=c
   4430 ac_cpp='$CPP $CPPFLAGS'
   4431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4434 
   4435 
   4436 depcc="$CC"   am_compiler_list=
   4437 
   4438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4439 printf %s "checking dependency style of $depcc... " >&6; }
   4440 if test ${am_cv_CC_dependencies_compiler_type+y}
   4441 then :
   4442   printf %s "(cached) " >&6
   4443 else case e in #(
   4444   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4445   # We make a subdir and do the tests there.  Otherwise we can end up
   4446   # making bogus files that we don't know about and never remove.  For
   4447   # instance it was reported that on HP-UX the gcc test will end up
   4448   # making a dummy file named 'D' -- because '-MD' means "put the output
   4449   # in D".
   4450   rm -rf conftest.dir
   4451   mkdir conftest.dir
   4452   # Copy depcomp to subdir because otherwise we won't find it if we're
   4453   # using a relative directory.
   4454   cp "$am_depcomp" conftest.dir
   4455   cd conftest.dir
   4456   # We will build objects and dependencies in a subdirectory because
   4457   # it helps to detect inapplicable dependency modes.  For instance
   4458   # both Tru64's cc and ICC support -MD to output dependencies as a
   4459   # side effect of compilation, but ICC will put the dependencies in
   4460   # the current directory while Tru64 will put them in the object
   4461   # directory.
   4462   mkdir sub
   4463 
   4464   am_cv_CC_dependencies_compiler_type=none
   4465   if test "$am_compiler_list" = ""; then
   4466      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4467   fi
   4468   am__universal=false
   4469   case " $depcc " in #(
   4470      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4471      esac
   4472 
   4473   for depmode in $am_compiler_list; do
   4474     # Setup a source with many dependencies, because some compilers
   4475     # like to wrap large dependency lists on column 80 (with \), and
   4476     # we should not choose a depcomp mode which is confused by this.
   4477     #
   4478     # We need to recreate these files for each test, as the compiler may
   4479     # overwrite some of them when testing with obscure command lines.
   4480     # This happens at least with the AIX C compiler.
   4481     : > sub/conftest.c
   4482     for i in 1 2 3 4 5 6; do
   4483       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4484       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4485       # Solaris 10 /bin/sh.
   4486       echo '/* dummy */' > sub/conftst$i.h
   4487     done
   4488     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4489 
   4490     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4491     # mode.  It turns out that the SunPro C++ compiler does not properly
   4492     # handle '-M -o', and we need to detect this.  Also, some Intel
   4493     # versions had trouble with output in subdirs.
   4494     am__obj=sub/conftest.${OBJEXT-o}
   4495     am__minus_obj="-o $am__obj"
   4496     case $depmode in
   4497     gcc)
   4498       # This depmode causes a compiler race in universal mode.
   4499       test "$am__universal" = false || continue
   4500       ;;
   4501     nosideeffect)
   4502       # After this tag, mechanisms are not by side-effect, so they'll
   4503       # only be used when explicitly requested.
   4504       if test "x$enable_dependency_tracking" = xyes; then
   4505 	continue
   4506       else
   4507 	break
   4508       fi
   4509       ;;
   4510     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4511       # This compiler won't grok '-c -o', but also, the minuso test has
   4512       # not run yet.  These depmodes are late enough in the game, and
   4513       # so weak that their functioning should not be impacted.
   4514       am__obj=conftest.${OBJEXT-o}
   4515       am__minus_obj=
   4516       ;;
   4517     none) break ;;
   4518     esac
   4519     if depmode=$depmode \
   4520        source=sub/conftest.c object=$am__obj \
   4521        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4522        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4523          >/dev/null 2>conftest.err &&
   4524        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4525        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4526        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4527        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4528       # icc doesn't choke on unknown options, it will just issue warnings
   4529       # or remarks (even with -Werror).  So we grep stderr for any message
   4530       # that says an option was ignored or not supported.
   4531       # When given -MP, icc 7.0 and 7.1 complain thus:
   4532       #   icc: Command line warning: ignoring option '-M'; no argument required
   4533       # The diagnosis changed in icc 8.0:
   4534       #   icc: Command line remark: option '-MP' not supported
   4535       if (grep 'ignoring option' conftest.err ||
   4536           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4537         am_cv_CC_dependencies_compiler_type=$depmode
   4538         break
   4539       fi
   4540     fi
   4541   done
   4542 
   4543   cd ..
   4544   rm -rf conftest.dir
   4545 else
   4546   am_cv_CC_dependencies_compiler_type=none
   4547 fi
   4548  ;;
   4549 esac
   4550 fi
   4551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4552 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4553 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4554 
   4555  if
   4556   test "x$enable_dependency_tracking" != xno \
   4557   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4558   am__fastdepCC_TRUE=
   4559   am__fastdepCC_FALSE='#'
   4560 else
   4561   am__fastdepCC_TRUE='#'
   4562   am__fastdepCC_FALSE=
   4563 fi
   4564 
   4565 
   4566 
   4567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4568 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4569 if test ${ac_cv_c_undeclared_builtin_options+y}
   4570 then :
   4571   printf %s "(cached) " >&6
   4572 else case e in #(
   4573   e) ac_save_CFLAGS=$CFLAGS
   4574    ac_cv_c_undeclared_builtin_options='cannot detect'
   4575    for ac_arg in '' -fno-builtin; do
   4576      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4577      # This test program should *not* compile successfully.
   4578      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4579 /* end confdefs.h.  */
   4580 
   4581 int
   4582 main (void)
   4583 {
   4584 (void) strchr;
   4585   ;
   4586   return 0;
   4587 }
   4588 _ACEOF
   4589 if ac_fn_c_try_compile "$LINENO"
   4590 then :
   4591 
   4592 else case e in #(
   4593   e) # This test program should compile successfully.
   4594         # No library function is consistently available on
   4595         # freestanding implementations, so test against a dummy
   4596         # declaration.  Include always-available headers on the
   4597         # off chance that they somehow elicit warnings.
   4598         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4599 /* end confdefs.h.  */
   4600 #include <float.h>
   4601 #include <limits.h>
   4602 #include <stdarg.h>
   4603 #include <stddef.h>
   4604 extern void ac_decl (int, char *);
   4605 
   4606 int
   4607 main (void)
   4608 {
   4609 (void) ac_decl (0, (char *) 0);
   4610   (void) ac_decl;
   4611 
   4612   ;
   4613   return 0;
   4614 }
   4615 _ACEOF
   4616 if ac_fn_c_try_compile "$LINENO"
   4617 then :
   4618   if test x"$ac_arg" = x
   4619 then :
   4620   ac_cv_c_undeclared_builtin_options='none needed'
   4621 else case e in #(
   4622   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4623 esac
   4624 fi
   4625           break
   4626 fi
   4627 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4628 esac
   4629 fi
   4630 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4631     done
   4632     CFLAGS=$ac_save_CFLAGS
   4633    ;;
   4634 esac
   4635 fi
   4636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4637 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4638   case $ac_cv_c_undeclared_builtin_options in #(
   4639   'cannot detect') :
   4640     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4641 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4642 as_fn_error $? "cannot make $CC report undeclared builtins
   4643 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4644   'none needed') :
   4645     ac_c_undeclared_builtin_options='' ;; #(
   4646   *) :
   4647     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4648 esac
   4649 
   4650 ac_header= ac_cache=
   4651 for ac_item in $ac_header_c_list
   4652 do
   4653   if test $ac_cache; then
   4654     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4655     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4656       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4657     fi
   4658     ac_header= ac_cache=
   4659   elif test $ac_header; then
   4660     ac_cache=$ac_item
   4661   else
   4662     ac_header=$ac_item
   4663   fi
   4664 done
   4665 
   4666 
   4667 
   4668 
   4669 
   4670 
   4671 
   4672 
   4673 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4674 then :
   4675 
   4676 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4677 
   4678 fi
   4679 
   4680 
   4681 
   4682 
   4683 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4684 if test "x$ac_cv_have_decl___clang__" = xyes
   4685 then :
   4686   CLANGCC="yes"
   4687 else case e in #(
   4688   e) CLANGCC="no" ;;
   4689 esac
   4690 fi
   4691 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4692 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4693 then :
   4694   INTELCC="yes"
   4695 else case e in #(
   4696   e) INTELCC="no" ;;
   4697 esac
   4698 fi
   4699 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4700 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4701 then :
   4702   SUNCC="yes"
   4703 else case e in #(
   4704   e) SUNCC="no" ;;
   4705 esac
   4706 fi
   4707 
   4708 
   4709 
   4710 
   4711 
   4712 
   4713 
   4714 
   4715 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4716 	if test -n "$ac_tool_prefix"; then
   4717   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4718 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4720 printf %s "checking for $ac_word... " >&6; }
   4721 if test ${ac_cv_path_PKG_CONFIG+y}
   4722 then :
   4723   printf %s "(cached) " >&6
   4724 else case e in #(
   4725   e) case $PKG_CONFIG in
   4726   [\\/]* | ?:[\\/]*)
   4727   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4728   ;;
   4729   *)
   4730   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4731 for as_dir in $PATH
   4732 do
   4733   IFS=$as_save_IFS
   4734   case $as_dir in #(((
   4735     '') as_dir=./ ;;
   4736     */) ;;
   4737     *) as_dir=$as_dir/ ;;
   4738   esac
   4739     for ac_exec_ext in '' $ac_executable_extensions; do
   4740   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4741     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4742     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4743     break 2
   4744   fi
   4745 done
   4746   done
   4747 IFS=$as_save_IFS
   4748 
   4749   ;;
   4750 esac ;;
   4751 esac
   4752 fi
   4753 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4754 if test -n "$PKG_CONFIG"; then
   4755   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4756 printf "%s\n" "$PKG_CONFIG" >&6; }
   4757 else
   4758   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4759 printf "%s\n" "no" >&6; }
   4760 fi
   4761 
   4762 
   4763 fi
   4764 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4765   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4766   # Extract the first word of "pkg-config", so it can be a program name with args.
   4767 set dummy pkg-config; ac_word=$2
   4768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4769 printf %s "checking for $ac_word... " >&6; }
   4770 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4771 then :
   4772   printf %s "(cached) " >&6
   4773 else case e in #(
   4774   e) case $ac_pt_PKG_CONFIG in
   4775   [\\/]* | ?:[\\/]*)
   4776   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4777   ;;
   4778   *)
   4779   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4780 for as_dir in $PATH
   4781 do
   4782   IFS=$as_save_IFS
   4783   case $as_dir in #(((
   4784     '') as_dir=./ ;;
   4785     */) ;;
   4786     *) as_dir=$as_dir/ ;;
   4787   esac
   4788     for ac_exec_ext in '' $ac_executable_extensions; do
   4789   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4790     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4791     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4792     break 2
   4793   fi
   4794 done
   4795   done
   4796 IFS=$as_save_IFS
   4797 
   4798   ;;
   4799 esac ;;
   4800 esac
   4801 fi
   4802 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4803 if test -n "$ac_pt_PKG_CONFIG"; then
   4804   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4805 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4806 else
   4807   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4808 printf "%s\n" "no" >&6; }
   4809 fi
   4810 
   4811   if test "x$ac_pt_PKG_CONFIG" = x; then
   4812     PKG_CONFIG=""
   4813   else
   4814     case $cross_compiling:$ac_tool_warned in
   4815 yes:)
   4816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4817 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4818 ac_tool_warned=yes ;;
   4819 esac
   4820     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4821   fi
   4822 else
   4823   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4824 fi
   4825 
   4826 fi
   4827 if test -n "$PKG_CONFIG"; then
   4828 	_pkg_min_version=0.9.0
   4829 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4830 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4831 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4832 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4833 printf "%s\n" "yes" >&6; }
   4834 	else
   4835 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4836 printf "%s\n" "no" >&6; }
   4837 		PKG_CONFIG=""
   4838 	fi
   4839 fi
   4840 
   4841 
   4842   # Make sure we can run config.sub.
   4843 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4844   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4845 
   4846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4847 printf %s "checking build system type... " >&6; }
   4848 if test ${ac_cv_build+y}
   4849 then :
   4850   printf %s "(cached) " >&6
   4851 else case e in #(
   4852   e) ac_build_alias=$build_alias
   4853 test "x$ac_build_alias" = x &&
   4854   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4855 test "x$ac_build_alias" = x &&
   4856   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4857 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4858   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4859  ;;
   4860 esac
   4861 fi
   4862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4863 printf "%s\n" "$ac_cv_build" >&6; }
   4864 case $ac_cv_build in
   4865 *-*-*) ;;
   4866 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4867 esac
   4868 build=$ac_cv_build
   4869 ac_save_IFS=$IFS; IFS='-'
   4870 set x $ac_cv_build
   4871 shift
   4872 build_cpu=$1
   4873 build_vendor=$2
   4874 shift; shift
   4875 # Remember, the first character of IFS is used to create $*,
   4876 # except with old shells:
   4877 build_os=$*
   4878 IFS=$ac_save_IFS
   4879 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4880 
   4881 
   4882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4883 printf %s "checking host system type... " >&6; }
   4884 if test ${ac_cv_host+y}
   4885 then :
   4886   printf %s "(cached) " >&6
   4887 else case e in #(
   4888   e) if test "x$host_alias" = x; then
   4889   ac_cv_host=$ac_cv_build
   4890 else
   4891   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4892     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4893 fi
   4894  ;;
   4895 esac
   4896 fi
   4897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4898 printf "%s\n" "$ac_cv_host" >&6; }
   4899 case $ac_cv_host in
   4900 *-*-*) ;;
   4901 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4902 esac
   4903 host=$ac_cv_host
   4904 ac_save_IFS=$IFS; IFS='-'
   4905 set x $ac_cv_host
   4906 shift
   4907 host_cpu=$1
   4908 host_vendor=$2
   4909 shift; shift
   4910 # Remember, the first character of IFS is used to create $*,
   4911 # except with old shells:
   4912 host_os=$*
   4913 IFS=$ac_save_IFS
   4914 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4915 
   4916 
   4917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4918 printf %s "checking for a sed that does not truncate output... " >&6; }
   4919 if test ${ac_cv_path_SED+y}
   4920 then :
   4921   printf %s "(cached) " >&6
   4922 else case e in #(
   4923   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4924      for ac_i in 1 2 3 4 5 6 7; do
   4925        ac_script="$ac_script$as_nl$ac_script"
   4926      done
   4927      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4928      { ac_script=; unset ac_script;}
   4929      if test -z "$SED"; then
   4930   ac_path_SED_found=false
   4931   # Loop through the user's path and test for each of PROGNAME-LIST
   4932   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4933 for as_dir in $PATH
   4934 do
   4935   IFS=$as_save_IFS
   4936   case $as_dir in #(((
   4937     '') as_dir=./ ;;
   4938     */) ;;
   4939     *) as_dir=$as_dir/ ;;
   4940   esac
   4941     for ac_prog in sed gsed
   4942    do
   4943     for ac_exec_ext in '' $ac_executable_extensions; do
   4944       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4945       as_fn_executable_p "$ac_path_SED" || continue
   4946 # Check for GNU ac_path_SED and select it if it is found.
   4947   # Check for GNU $ac_path_SED
   4948 case `"$ac_path_SED" --version 2>&1` in #(
   4949 *GNU*)
   4950   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4951 #(
   4952 *)
   4953   ac_count=0
   4954   printf %s 0123456789 >"conftest.in"
   4955   while :
   4956   do
   4957     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4958     mv "conftest.tmp" "conftest.in"
   4959     cp "conftest.in" "conftest.nl"
   4960     printf "%s\n" '' >> "conftest.nl"
   4961     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4962     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4963     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4964     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4965       # Best one so far, save it but keep looking for a better one
   4966       ac_cv_path_SED="$ac_path_SED"
   4967       ac_path_SED_max=$ac_count
   4968     fi
   4969     # 10*(2^10) chars as input seems more than enough
   4970     test $ac_count -gt 10 && break
   4971   done
   4972   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4973 esac
   4974 
   4975       $ac_path_SED_found && break 3
   4976     done
   4977   done
   4978   done
   4979 IFS=$as_save_IFS
   4980   if test -z "$ac_cv_path_SED"; then
   4981     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4982   fi
   4983 else
   4984   ac_cv_path_SED=$SED
   4985 fi
   4986  ;;
   4987 esac
   4988 fi
   4989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4990 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4991  SED="$ac_cv_path_SED"
   4992   rm -f conftest.sed
   4993 
   4994 
   4995 
   4996 
   4997 
   4998 
   4999 # Check whether --enable-selective-werror was given.
   5000 if test ${enable_selective_werror+y}
   5001 then :
   5002   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5003 else case e in #(
   5004   e) SELECTIVE_WERROR=yes ;;
   5005 esac
   5006 fi
   5007 
   5008 
   5009 
   5010 
   5011 
   5012 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5013 if test "x$SUNCC" = "xyes"; then
   5014     BASE_CFLAGS="-v"
   5015 else
   5016     BASE_CFLAGS=""
   5017 fi
   5018 
   5019 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5020 
   5021 
   5022 
   5023 
   5024 
   5025 
   5026 
   5027 
   5028 
   5029 
   5030 
   5031 
   5032 
   5033 xorg_testset_save_CFLAGS="$CFLAGS"
   5034 
   5035 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5036 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5037 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5038 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5039 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5040 then :
   5041   printf %s "(cached) " >&6
   5042 else case e in #(
   5043   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5044 /* end confdefs.h.  */
   5045 int i;
   5046 _ACEOF
   5047 if ac_fn_c_try_compile "$LINENO"
   5048 then :
   5049   xorg_cv_cc_flag_unknown_warning_option=yes
   5050 else case e in #(
   5051   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5052 esac
   5053 fi
   5054 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5055 esac
   5056 fi
   5057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5058 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5059 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5060 	CFLAGS="$xorg_testset_save_CFLAGS"
   5061 fi
   5062 
   5063 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5064 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5065 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5066 	fi
   5067 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5068 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5069 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5070 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5071 then :
   5072   printf %s "(cached) " >&6
   5073 else case e in #(
   5074   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5075 /* end confdefs.h.  */
   5076 int i;
   5077 _ACEOF
   5078 if ac_fn_c_try_compile "$LINENO"
   5079 then :
   5080   xorg_cv_cc_flag_unused_command_line_argument=yes
   5081 else case e in #(
   5082   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5083 esac
   5084 fi
   5085 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5086 esac
   5087 fi
   5088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5089 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5090 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5091 	CFLAGS="$xorg_testset_save_CFLAGS"
   5092 fi
   5093 
   5094 found="no"
   5095 
   5096 	if test $found = "no" ; then
   5097 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5098 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5099 		fi
   5100 
   5101 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5102 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5103 		fi
   5104 
   5105 		CFLAGS="$CFLAGS -Wall"
   5106 
   5107 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5108 printf %s "checking if $CC supports -Wall... " >&6; }
   5109 		cacheid=xorg_cv_cc_flag__Wall
   5110 		if eval test \${$cacheid+y}
   5111 then :
   5112   printf %s "(cached) " >&6
   5113 else case e in #(
   5114   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5115 /* end confdefs.h.  */
   5116 int i;
   5117 int
   5118 main (void)
   5119 {
   5120 
   5121   ;
   5122   return 0;
   5123 }
   5124 _ACEOF
   5125 if ac_fn_c_try_link "$LINENO"
   5126 then :
   5127   eval $cacheid=yes
   5128 else case e in #(
   5129   e) eval $cacheid=no ;;
   5130 esac
   5131 fi
   5132 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5133     conftest$ac_exeext conftest.$ac_ext ;;
   5134 esac
   5135 fi
   5136 
   5137 
   5138 		CFLAGS="$xorg_testset_save_CFLAGS"
   5139 
   5140 		eval supported=\$$cacheid
   5141 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5142 printf "%s\n" "$supported" >&6; }
   5143 		if test "$supported" = "yes" ; then
   5144 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5145 			found="yes"
   5146 		fi
   5147 	fi
   5148 
   5149 
   5150 
   5151 
   5152 
   5153 
   5154 
   5155 
   5156 
   5157 
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 xorg_testset_save_CFLAGS="$CFLAGS"
   5164 
   5165 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5166 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5167 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5168 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5169 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5170 then :
   5171   printf %s "(cached) " >&6
   5172 else case e in #(
   5173   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5174 /* end confdefs.h.  */
   5175 int i;
   5176 _ACEOF
   5177 if ac_fn_c_try_compile "$LINENO"
   5178 then :
   5179   xorg_cv_cc_flag_unknown_warning_option=yes
   5180 else case e in #(
   5181   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5182 esac
   5183 fi
   5184 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5185 esac
   5186 fi
   5187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5188 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5189 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5190 	CFLAGS="$xorg_testset_save_CFLAGS"
   5191 fi
   5192 
   5193 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5194 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5195 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5196 	fi
   5197 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5198 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5199 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5200 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5201 then :
   5202   printf %s "(cached) " >&6
   5203 else case e in #(
   5204   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5205 /* end confdefs.h.  */
   5206 int i;
   5207 _ACEOF
   5208 if ac_fn_c_try_compile "$LINENO"
   5209 then :
   5210   xorg_cv_cc_flag_unused_command_line_argument=yes
   5211 else case e in #(
   5212   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5213 esac
   5214 fi
   5215 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5216 esac
   5217 fi
   5218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5219 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5220 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5221 	CFLAGS="$xorg_testset_save_CFLAGS"
   5222 fi
   5223 
   5224 found="no"
   5225 
   5226 	if test $found = "no" ; then
   5227 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5228 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5229 		fi
   5230 
   5231 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5232 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5233 		fi
   5234 
   5235 		CFLAGS="$CFLAGS -Wpointer-arith"
   5236 
   5237 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5238 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5239 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5240 		if eval test \${$cacheid+y}
   5241 then :
   5242   printf %s "(cached) " >&6
   5243 else case e in #(
   5244   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5245 /* end confdefs.h.  */
   5246 int i;
   5247 int
   5248 main (void)
   5249 {
   5250 
   5251   ;
   5252   return 0;
   5253 }
   5254 _ACEOF
   5255 if ac_fn_c_try_link "$LINENO"
   5256 then :
   5257   eval $cacheid=yes
   5258 else case e in #(
   5259   e) eval $cacheid=no ;;
   5260 esac
   5261 fi
   5262 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5263     conftest$ac_exeext conftest.$ac_ext ;;
   5264 esac
   5265 fi
   5266 
   5267 
   5268 		CFLAGS="$xorg_testset_save_CFLAGS"
   5269 
   5270 		eval supported=\$$cacheid
   5271 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5272 printf "%s\n" "$supported" >&6; }
   5273 		if test "$supported" = "yes" ; then
   5274 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5275 			found="yes"
   5276 		fi
   5277 	fi
   5278 
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 xorg_testset_save_CFLAGS="$CFLAGS"
   5294 
   5295 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5296 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5297 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5298 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5299 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5300 then :
   5301   printf %s "(cached) " >&6
   5302 else case e in #(
   5303   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5304 /* end confdefs.h.  */
   5305 int i;
   5306 _ACEOF
   5307 if ac_fn_c_try_compile "$LINENO"
   5308 then :
   5309   xorg_cv_cc_flag_unknown_warning_option=yes
   5310 else case e in #(
   5311   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5312 esac
   5313 fi
   5314 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5315 esac
   5316 fi
   5317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5318 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5319 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5320 	CFLAGS="$xorg_testset_save_CFLAGS"
   5321 fi
   5322 
   5323 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5324 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5325 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5326 	fi
   5327 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5328 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5329 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5330 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5331 then :
   5332   printf %s "(cached) " >&6
   5333 else case e in #(
   5334   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5335 /* end confdefs.h.  */
   5336 int i;
   5337 _ACEOF
   5338 if ac_fn_c_try_compile "$LINENO"
   5339 then :
   5340   xorg_cv_cc_flag_unused_command_line_argument=yes
   5341 else case e in #(
   5342   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5343 esac
   5344 fi
   5345 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5346 esac
   5347 fi
   5348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5349 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5350 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5351 	CFLAGS="$xorg_testset_save_CFLAGS"
   5352 fi
   5353 
   5354 found="no"
   5355 
   5356 	if test $found = "no" ; then
   5357 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5358 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5359 		fi
   5360 
   5361 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5362 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5363 		fi
   5364 
   5365 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5366 
   5367 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5368 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5369 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5370 		if eval test \${$cacheid+y}
   5371 then :
   5372   printf %s "(cached) " >&6
   5373 else case e in #(
   5374   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5375 /* end confdefs.h.  */
   5376 int i;
   5377 int
   5378 main (void)
   5379 {
   5380 
   5381   ;
   5382   return 0;
   5383 }
   5384 _ACEOF
   5385 if ac_fn_c_try_link "$LINENO"
   5386 then :
   5387   eval $cacheid=yes
   5388 else case e in #(
   5389   e) eval $cacheid=no ;;
   5390 esac
   5391 fi
   5392 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5393     conftest$ac_exeext conftest.$ac_ext ;;
   5394 esac
   5395 fi
   5396 
   5397 
   5398 		CFLAGS="$xorg_testset_save_CFLAGS"
   5399 
   5400 		eval supported=\$$cacheid
   5401 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5402 printf "%s\n" "$supported" >&6; }
   5403 		if test "$supported" = "yes" ; then
   5404 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5405 			found="yes"
   5406 		fi
   5407 	fi
   5408 
   5409 
   5410 
   5411 
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 
   5420 
   5421 
   5422 
   5423 xorg_testset_save_CFLAGS="$CFLAGS"
   5424 
   5425 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5426 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5427 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5428 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5429 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5430 then :
   5431   printf %s "(cached) " >&6
   5432 else case e in #(
   5433   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5434 /* end confdefs.h.  */
   5435 int i;
   5436 _ACEOF
   5437 if ac_fn_c_try_compile "$LINENO"
   5438 then :
   5439   xorg_cv_cc_flag_unknown_warning_option=yes
   5440 else case e in #(
   5441   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5442 esac
   5443 fi
   5444 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5445 esac
   5446 fi
   5447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5448 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5449 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5450 	CFLAGS="$xorg_testset_save_CFLAGS"
   5451 fi
   5452 
   5453 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5454 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5455 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5456 	fi
   5457 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5458 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5459 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5460 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5461 then :
   5462   printf %s "(cached) " >&6
   5463 else case e in #(
   5464   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5465 /* end confdefs.h.  */
   5466 int i;
   5467 _ACEOF
   5468 if ac_fn_c_try_compile "$LINENO"
   5469 then :
   5470   xorg_cv_cc_flag_unused_command_line_argument=yes
   5471 else case e in #(
   5472   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5473 esac
   5474 fi
   5475 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5476 esac
   5477 fi
   5478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5479 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5480 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5481 	CFLAGS="$xorg_testset_save_CFLAGS"
   5482 fi
   5483 
   5484 found="no"
   5485 
   5486 	if test $found = "no" ; then
   5487 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5488 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5489 		fi
   5490 
   5491 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5492 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5493 		fi
   5494 
   5495 		CFLAGS="$CFLAGS -Wformat=2"
   5496 
   5497 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5498 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5499 		cacheid=xorg_cv_cc_flag__Wformat_2
   5500 		if eval test \${$cacheid+y}
   5501 then :
   5502   printf %s "(cached) " >&6
   5503 else case e in #(
   5504   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5505 /* end confdefs.h.  */
   5506 int i;
   5507 int
   5508 main (void)
   5509 {
   5510 
   5511   ;
   5512   return 0;
   5513 }
   5514 _ACEOF
   5515 if ac_fn_c_try_link "$LINENO"
   5516 then :
   5517   eval $cacheid=yes
   5518 else case e in #(
   5519   e) eval $cacheid=no ;;
   5520 esac
   5521 fi
   5522 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5523     conftest$ac_exeext conftest.$ac_ext ;;
   5524 esac
   5525 fi
   5526 
   5527 
   5528 		CFLAGS="$xorg_testset_save_CFLAGS"
   5529 
   5530 		eval supported=\$$cacheid
   5531 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5532 printf "%s\n" "$supported" >&6; }
   5533 		if test "$supported" = "yes" ; then
   5534 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5535 			found="yes"
   5536 		fi
   5537 	fi
   5538 
   5539 	if test $found = "no" ; then
   5540 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5541 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5542 		fi
   5543 
   5544 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5545 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5546 		fi
   5547 
   5548 		CFLAGS="$CFLAGS -Wformat"
   5549 
   5550 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5551 printf %s "checking if $CC supports -Wformat... " >&6; }
   5552 		cacheid=xorg_cv_cc_flag__Wformat
   5553 		if eval test \${$cacheid+y}
   5554 then :
   5555   printf %s "(cached) " >&6
   5556 else case e in #(
   5557   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5558 /* end confdefs.h.  */
   5559 int i;
   5560 int
   5561 main (void)
   5562 {
   5563 
   5564   ;
   5565   return 0;
   5566 }
   5567 _ACEOF
   5568 if ac_fn_c_try_link "$LINENO"
   5569 then :
   5570   eval $cacheid=yes
   5571 else case e in #(
   5572   e) eval $cacheid=no ;;
   5573 esac
   5574 fi
   5575 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5576     conftest$ac_exeext conftest.$ac_ext ;;
   5577 esac
   5578 fi
   5579 
   5580 
   5581 		CFLAGS="$xorg_testset_save_CFLAGS"
   5582 
   5583 		eval supported=\$$cacheid
   5584 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5585 printf "%s\n" "$supported" >&6; }
   5586 		if test "$supported" = "yes" ; then
   5587 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5588 			found="yes"
   5589 		fi
   5590 	fi
   5591 
   5592 
   5593 
   5594 
   5595 
   5596 
   5597 
   5598 
   5599 
   5600 
   5601 
   5602 
   5603 
   5604 
   5605 
   5606 
   5607 
   5608 xorg_testset_save_CFLAGS="$CFLAGS"
   5609 
   5610 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5611 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5612 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5613 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5614 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5615 then :
   5616   printf %s "(cached) " >&6
   5617 else case e in #(
   5618   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5619 /* end confdefs.h.  */
   5620 int i;
   5621 _ACEOF
   5622 if ac_fn_c_try_compile "$LINENO"
   5623 then :
   5624   xorg_cv_cc_flag_unknown_warning_option=yes
   5625 else case e in #(
   5626   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5627 esac
   5628 fi
   5629 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5630 esac
   5631 fi
   5632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5633 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5634 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5635 	CFLAGS="$xorg_testset_save_CFLAGS"
   5636 fi
   5637 
   5638 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5639 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5640 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5641 	fi
   5642 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5643 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5644 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5645 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5646 then :
   5647   printf %s "(cached) " >&6
   5648 else case e in #(
   5649   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5650 /* end confdefs.h.  */
   5651 int i;
   5652 _ACEOF
   5653 if ac_fn_c_try_compile "$LINENO"
   5654 then :
   5655   xorg_cv_cc_flag_unused_command_line_argument=yes
   5656 else case e in #(
   5657   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5658 esac
   5659 fi
   5660 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5661 esac
   5662 fi
   5663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5664 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5665 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5666 	CFLAGS="$xorg_testset_save_CFLAGS"
   5667 fi
   5668 
   5669 found="no"
   5670 
   5671 	if test $found = "no" ; then
   5672 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5673 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5674 		fi
   5675 
   5676 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5677 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5678 		fi
   5679 
   5680 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5681 
   5682 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5683 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5684 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5685 		if eval test \${$cacheid+y}
   5686 then :
   5687   printf %s "(cached) " >&6
   5688 else case e in #(
   5689   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5690 /* end confdefs.h.  */
   5691 int i;
   5692 int
   5693 main (void)
   5694 {
   5695 
   5696   ;
   5697   return 0;
   5698 }
   5699 _ACEOF
   5700 if ac_fn_c_try_link "$LINENO"
   5701 then :
   5702   eval $cacheid=yes
   5703 else case e in #(
   5704   e) eval $cacheid=no ;;
   5705 esac
   5706 fi
   5707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5708     conftest$ac_exeext conftest.$ac_ext ;;
   5709 esac
   5710 fi
   5711 
   5712 
   5713 		CFLAGS="$xorg_testset_save_CFLAGS"
   5714 
   5715 		eval supported=\$$cacheid
   5716 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5717 printf "%s\n" "$supported" >&6; }
   5718 		if test "$supported" = "yes" ; then
   5719 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5720 			found="yes"
   5721 		fi
   5722 	fi
   5723 
   5724 
   5725 
   5726 
   5727 
   5728 
   5729 
   5730 
   5731 
   5732 
   5733 
   5734 
   5735 
   5736 
   5737 
   5738 xorg_testset_save_CFLAGS="$CFLAGS"
   5739 
   5740 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5741 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5742 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5743 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5744 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5745 then :
   5746   printf %s "(cached) " >&6
   5747 else case e in #(
   5748   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5749 /* end confdefs.h.  */
   5750 int i;
   5751 _ACEOF
   5752 if ac_fn_c_try_compile "$LINENO"
   5753 then :
   5754   xorg_cv_cc_flag_unknown_warning_option=yes
   5755 else case e in #(
   5756   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5757 esac
   5758 fi
   5759 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5760 esac
   5761 fi
   5762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5763 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5764 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5765 	CFLAGS="$xorg_testset_save_CFLAGS"
   5766 fi
   5767 
   5768 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5769 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5770 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5771 	fi
   5772 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5773 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5774 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5775 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5776 then :
   5777   printf %s "(cached) " >&6
   5778 else case e in #(
   5779   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5780 /* end confdefs.h.  */
   5781 int i;
   5782 _ACEOF
   5783 if ac_fn_c_try_compile "$LINENO"
   5784 then :
   5785   xorg_cv_cc_flag_unused_command_line_argument=yes
   5786 else case e in #(
   5787   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5788 esac
   5789 fi
   5790 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5791 esac
   5792 fi
   5793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5794 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5795 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5796 	CFLAGS="$xorg_testset_save_CFLAGS"
   5797 fi
   5798 
   5799 found="no"
   5800 
   5801 	if test $found = "no" ; then
   5802 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5803 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5804 		fi
   5805 
   5806 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5807 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5808 		fi
   5809 
   5810 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5811 
   5812 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5813 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5814 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5815 		if eval test \${$cacheid+y}
   5816 then :
   5817   printf %s "(cached) " >&6
   5818 else case e in #(
   5819   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5820 /* end confdefs.h.  */
   5821 int i;
   5822 int
   5823 main (void)
   5824 {
   5825 
   5826   ;
   5827   return 0;
   5828 }
   5829 _ACEOF
   5830 if ac_fn_c_try_link "$LINENO"
   5831 then :
   5832   eval $cacheid=yes
   5833 else case e in #(
   5834   e) eval $cacheid=no ;;
   5835 esac
   5836 fi
   5837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5838     conftest$ac_exeext conftest.$ac_ext ;;
   5839 esac
   5840 fi
   5841 
   5842 
   5843 		CFLAGS="$xorg_testset_save_CFLAGS"
   5844 
   5845 		eval supported=\$$cacheid
   5846 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5847 printf "%s\n" "$supported" >&6; }
   5848 		if test "$supported" = "yes" ; then
   5849 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5850 			found="yes"
   5851 		fi
   5852 	fi
   5853 
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 xorg_testset_save_CFLAGS="$CFLAGS"
   5869 
   5870 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5871 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5872 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5873 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5874 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5875 then :
   5876   printf %s "(cached) " >&6
   5877 else case e in #(
   5878   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5879 /* end confdefs.h.  */
   5880 int i;
   5881 _ACEOF
   5882 if ac_fn_c_try_compile "$LINENO"
   5883 then :
   5884   xorg_cv_cc_flag_unknown_warning_option=yes
   5885 else case e in #(
   5886   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5887 esac
   5888 fi
   5889 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5890 esac
   5891 fi
   5892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5893 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5894 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5895 	CFLAGS="$xorg_testset_save_CFLAGS"
   5896 fi
   5897 
   5898 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5899 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5900 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5901 	fi
   5902 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5903 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5904 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5905 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5906 then :
   5907   printf %s "(cached) " >&6
   5908 else case e in #(
   5909   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5910 /* end confdefs.h.  */
   5911 int i;
   5912 _ACEOF
   5913 if ac_fn_c_try_compile "$LINENO"
   5914 then :
   5915   xorg_cv_cc_flag_unused_command_line_argument=yes
   5916 else case e in #(
   5917   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5918 esac
   5919 fi
   5920 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5921 esac
   5922 fi
   5923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5924 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5925 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5926 	CFLAGS="$xorg_testset_save_CFLAGS"
   5927 fi
   5928 
   5929 found="no"
   5930 
   5931 	if test $found = "no" ; then
   5932 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5933 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5934 		fi
   5935 
   5936 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5937 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5938 		fi
   5939 
   5940 		CFLAGS="$CFLAGS -Wnested-externs"
   5941 
   5942 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5943 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5944 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5945 		if eval test \${$cacheid+y}
   5946 then :
   5947   printf %s "(cached) " >&6
   5948 else case e in #(
   5949   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5950 /* end confdefs.h.  */
   5951 int i;
   5952 int
   5953 main (void)
   5954 {
   5955 
   5956   ;
   5957   return 0;
   5958 }
   5959 _ACEOF
   5960 if ac_fn_c_try_link "$LINENO"
   5961 then :
   5962   eval $cacheid=yes
   5963 else case e in #(
   5964   e) eval $cacheid=no ;;
   5965 esac
   5966 fi
   5967 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5968     conftest$ac_exeext conftest.$ac_ext ;;
   5969 esac
   5970 fi
   5971 
   5972 
   5973 		CFLAGS="$xorg_testset_save_CFLAGS"
   5974 
   5975 		eval supported=\$$cacheid
   5976 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5977 printf "%s\n" "$supported" >&6; }
   5978 		if test "$supported" = "yes" ; then
   5979 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5980 			found="yes"
   5981 		fi
   5982 	fi
   5983 
   5984 
   5985 
   5986 
   5987 
   5988 
   5989 
   5990 
   5991 
   5992 
   5993 
   5994 
   5995 
   5996 
   5997 
   5998 xorg_testset_save_CFLAGS="$CFLAGS"
   5999 
   6000 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6001 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6002 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6003 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6004 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6005 then :
   6006   printf %s "(cached) " >&6
   6007 else case e in #(
   6008   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6009 /* end confdefs.h.  */
   6010 int i;
   6011 _ACEOF
   6012 if ac_fn_c_try_compile "$LINENO"
   6013 then :
   6014   xorg_cv_cc_flag_unknown_warning_option=yes
   6015 else case e in #(
   6016   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6017 esac
   6018 fi
   6019 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6020 esac
   6021 fi
   6022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6023 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6024 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6025 	CFLAGS="$xorg_testset_save_CFLAGS"
   6026 fi
   6027 
   6028 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6029 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6030 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6031 	fi
   6032 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6033 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6034 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6035 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6036 then :
   6037   printf %s "(cached) " >&6
   6038 else case e in #(
   6039   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6040 /* end confdefs.h.  */
   6041 int i;
   6042 _ACEOF
   6043 if ac_fn_c_try_compile "$LINENO"
   6044 then :
   6045   xorg_cv_cc_flag_unused_command_line_argument=yes
   6046 else case e in #(
   6047   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6048 esac
   6049 fi
   6050 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6051 esac
   6052 fi
   6053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6054 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6055 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6056 	CFLAGS="$xorg_testset_save_CFLAGS"
   6057 fi
   6058 
   6059 found="no"
   6060 
   6061 	if test $found = "no" ; then
   6062 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6063 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6064 		fi
   6065 
   6066 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6067 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6068 		fi
   6069 
   6070 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6071 
   6072 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6073 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6074 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6075 		if eval test \${$cacheid+y}
   6076 then :
   6077   printf %s "(cached) " >&6
   6078 else case e in #(
   6079   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6080 /* end confdefs.h.  */
   6081 int i;
   6082 int
   6083 main (void)
   6084 {
   6085 
   6086   ;
   6087   return 0;
   6088 }
   6089 _ACEOF
   6090 if ac_fn_c_try_link "$LINENO"
   6091 then :
   6092   eval $cacheid=yes
   6093 else case e in #(
   6094   e) eval $cacheid=no ;;
   6095 esac
   6096 fi
   6097 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6098     conftest$ac_exeext conftest.$ac_ext ;;
   6099 esac
   6100 fi
   6101 
   6102 
   6103 		CFLAGS="$xorg_testset_save_CFLAGS"
   6104 
   6105 		eval supported=\$$cacheid
   6106 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6107 printf "%s\n" "$supported" >&6; }
   6108 		if test "$supported" = "yes" ; then
   6109 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6110 			found="yes"
   6111 		fi
   6112 	fi
   6113 
   6114 
   6115 
   6116 
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 
   6123 
   6124 
   6125 
   6126 
   6127 
   6128 xorg_testset_save_CFLAGS="$CFLAGS"
   6129 
   6130 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6131 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6132 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6133 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6134 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6135 then :
   6136   printf %s "(cached) " >&6
   6137 else case e in #(
   6138   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6139 /* end confdefs.h.  */
   6140 int i;
   6141 _ACEOF
   6142 if ac_fn_c_try_compile "$LINENO"
   6143 then :
   6144   xorg_cv_cc_flag_unknown_warning_option=yes
   6145 else case e in #(
   6146   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6147 esac
   6148 fi
   6149 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6150 esac
   6151 fi
   6152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6153 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6154 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6155 	CFLAGS="$xorg_testset_save_CFLAGS"
   6156 fi
   6157 
   6158 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6159 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6160 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6161 	fi
   6162 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6163 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6164 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6165 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6166 then :
   6167   printf %s "(cached) " >&6
   6168 else case e in #(
   6169   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6170 /* end confdefs.h.  */
   6171 int i;
   6172 _ACEOF
   6173 if ac_fn_c_try_compile "$LINENO"
   6174 then :
   6175   xorg_cv_cc_flag_unused_command_line_argument=yes
   6176 else case e in #(
   6177   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6178 esac
   6179 fi
   6180 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6181 esac
   6182 fi
   6183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6184 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6185 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6186 	CFLAGS="$xorg_testset_save_CFLAGS"
   6187 fi
   6188 
   6189 found="no"
   6190 
   6191 	if test $found = "no" ; then
   6192 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6193 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6194 		fi
   6195 
   6196 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6197 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6198 		fi
   6199 
   6200 		CFLAGS="$CFLAGS -Wold-style-definition"
   6201 
   6202 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6203 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6204 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6205 		if eval test \${$cacheid+y}
   6206 then :
   6207   printf %s "(cached) " >&6
   6208 else case e in #(
   6209   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6210 /* end confdefs.h.  */
   6211 int i;
   6212 int
   6213 main (void)
   6214 {
   6215 
   6216   ;
   6217   return 0;
   6218 }
   6219 _ACEOF
   6220 if ac_fn_c_try_link "$LINENO"
   6221 then :
   6222   eval $cacheid=yes
   6223 else case e in #(
   6224   e) eval $cacheid=no ;;
   6225 esac
   6226 fi
   6227 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6228     conftest$ac_exeext conftest.$ac_ext ;;
   6229 esac
   6230 fi
   6231 
   6232 
   6233 		CFLAGS="$xorg_testset_save_CFLAGS"
   6234 
   6235 		eval supported=\$$cacheid
   6236 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6237 printf "%s\n" "$supported" >&6; }
   6238 		if test "$supported" = "yes" ; then
   6239 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6240 			found="yes"
   6241 		fi
   6242 	fi
   6243 
   6244 	if test $found = "no" ; then
   6245 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6246 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6247 		fi
   6248 
   6249 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6250 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6251 		fi
   6252 
   6253 		CFLAGS="$CFLAGS -fd"
   6254 
   6255 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6256 printf %s "checking if $CC supports -fd... " >&6; }
   6257 		cacheid=xorg_cv_cc_flag__fd
   6258 		if eval test \${$cacheid+y}
   6259 then :
   6260   printf %s "(cached) " >&6
   6261 else case e in #(
   6262   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6263 /* end confdefs.h.  */
   6264 int i;
   6265 int
   6266 main (void)
   6267 {
   6268 
   6269   ;
   6270   return 0;
   6271 }
   6272 _ACEOF
   6273 if ac_fn_c_try_link "$LINENO"
   6274 then :
   6275   eval $cacheid=yes
   6276 else case e in #(
   6277   e) eval $cacheid=no ;;
   6278 esac
   6279 fi
   6280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6281     conftest$ac_exeext conftest.$ac_ext ;;
   6282 esac
   6283 fi
   6284 
   6285 
   6286 		CFLAGS="$xorg_testset_save_CFLAGS"
   6287 
   6288 		eval supported=\$$cacheid
   6289 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6290 printf "%s\n" "$supported" >&6; }
   6291 		if test "$supported" = "yes" ; then
   6292 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6293 			found="yes"
   6294 		fi
   6295 	fi
   6296 
   6297 
   6298 
   6299 
   6300 
   6301 # This chunk adds additional warnings that could catch undesired effects.
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 
   6311 
   6312 
   6313 
   6314 
   6315 xorg_testset_save_CFLAGS="$CFLAGS"
   6316 
   6317 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6318 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6319 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6320 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6321 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6322 then :
   6323   printf %s "(cached) " >&6
   6324 else case e in #(
   6325   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6326 /* end confdefs.h.  */
   6327 int i;
   6328 _ACEOF
   6329 if ac_fn_c_try_compile "$LINENO"
   6330 then :
   6331   xorg_cv_cc_flag_unknown_warning_option=yes
   6332 else case e in #(
   6333   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6334 esac
   6335 fi
   6336 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6337 esac
   6338 fi
   6339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6340 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6341 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6342 	CFLAGS="$xorg_testset_save_CFLAGS"
   6343 fi
   6344 
   6345 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6346 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6347 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6348 	fi
   6349 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6350 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6351 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6352 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6353 then :
   6354   printf %s "(cached) " >&6
   6355 else case e in #(
   6356   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6357 /* end confdefs.h.  */
   6358 int i;
   6359 _ACEOF
   6360 if ac_fn_c_try_compile "$LINENO"
   6361 then :
   6362   xorg_cv_cc_flag_unused_command_line_argument=yes
   6363 else case e in #(
   6364   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6365 esac
   6366 fi
   6367 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6368 esac
   6369 fi
   6370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6371 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6372 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6373 	CFLAGS="$xorg_testset_save_CFLAGS"
   6374 fi
   6375 
   6376 found="no"
   6377 
   6378 	if test $found = "no" ; then
   6379 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6380 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6381 		fi
   6382 
   6383 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6384 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6385 		fi
   6386 
   6387 		CFLAGS="$CFLAGS -Wunused"
   6388 
   6389 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6390 printf %s "checking if $CC supports -Wunused... " >&6; }
   6391 		cacheid=xorg_cv_cc_flag__Wunused
   6392 		if eval test \${$cacheid+y}
   6393 then :
   6394   printf %s "(cached) " >&6
   6395 else case e in #(
   6396   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6397 /* end confdefs.h.  */
   6398 int i;
   6399 int
   6400 main (void)
   6401 {
   6402 
   6403   ;
   6404   return 0;
   6405 }
   6406 _ACEOF
   6407 if ac_fn_c_try_link "$LINENO"
   6408 then :
   6409   eval $cacheid=yes
   6410 else case e in #(
   6411   e) eval $cacheid=no ;;
   6412 esac
   6413 fi
   6414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6415     conftest$ac_exeext conftest.$ac_ext ;;
   6416 esac
   6417 fi
   6418 
   6419 
   6420 		CFLAGS="$xorg_testset_save_CFLAGS"
   6421 
   6422 		eval supported=\$$cacheid
   6423 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6424 printf "%s\n" "$supported" >&6; }
   6425 		if test "$supported" = "yes" ; then
   6426 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6427 			found="yes"
   6428 		fi
   6429 	fi
   6430 
   6431 
   6432 
   6433 
   6434 
   6435 
   6436 
   6437 
   6438 
   6439 
   6440 
   6441 
   6442 
   6443 
   6444 
   6445 xorg_testset_save_CFLAGS="$CFLAGS"
   6446 
   6447 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6448 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6449 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6450 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6451 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6452 then :
   6453   printf %s "(cached) " >&6
   6454 else case e in #(
   6455   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6456 /* end confdefs.h.  */
   6457 int i;
   6458 _ACEOF
   6459 if ac_fn_c_try_compile "$LINENO"
   6460 then :
   6461   xorg_cv_cc_flag_unknown_warning_option=yes
   6462 else case e in #(
   6463   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6464 esac
   6465 fi
   6466 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6467 esac
   6468 fi
   6469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6470 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6471 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6472 	CFLAGS="$xorg_testset_save_CFLAGS"
   6473 fi
   6474 
   6475 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6476 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6477 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6478 	fi
   6479 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6480 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6481 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6482 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6483 then :
   6484   printf %s "(cached) " >&6
   6485 else case e in #(
   6486   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6487 /* end confdefs.h.  */
   6488 int i;
   6489 _ACEOF
   6490 if ac_fn_c_try_compile "$LINENO"
   6491 then :
   6492   xorg_cv_cc_flag_unused_command_line_argument=yes
   6493 else case e in #(
   6494   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6495 esac
   6496 fi
   6497 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6498 esac
   6499 fi
   6500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6501 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6502 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6503 	CFLAGS="$xorg_testset_save_CFLAGS"
   6504 fi
   6505 
   6506 found="no"
   6507 
   6508 	if test $found = "no" ; then
   6509 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6510 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6511 		fi
   6512 
   6513 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6514 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6515 		fi
   6516 
   6517 		CFLAGS="$CFLAGS -Wuninitialized"
   6518 
   6519 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6520 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6521 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6522 		if eval test \${$cacheid+y}
   6523 then :
   6524   printf %s "(cached) " >&6
   6525 else case e in #(
   6526   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6527 /* end confdefs.h.  */
   6528 int i;
   6529 int
   6530 main (void)
   6531 {
   6532 
   6533   ;
   6534   return 0;
   6535 }
   6536 _ACEOF
   6537 if ac_fn_c_try_link "$LINENO"
   6538 then :
   6539   eval $cacheid=yes
   6540 else case e in #(
   6541   e) eval $cacheid=no ;;
   6542 esac
   6543 fi
   6544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6545     conftest$ac_exeext conftest.$ac_ext ;;
   6546 esac
   6547 fi
   6548 
   6549 
   6550 		CFLAGS="$xorg_testset_save_CFLAGS"
   6551 
   6552 		eval supported=\$$cacheid
   6553 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6554 printf "%s\n" "$supported" >&6; }
   6555 		if test "$supported" = "yes" ; then
   6556 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6557 			found="yes"
   6558 		fi
   6559 	fi
   6560 
   6561 
   6562 
   6563 
   6564 
   6565 
   6566 
   6567 
   6568 
   6569 
   6570 
   6571 
   6572 
   6573 
   6574 
   6575 xorg_testset_save_CFLAGS="$CFLAGS"
   6576 
   6577 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6578 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6579 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6580 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6581 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6582 then :
   6583   printf %s "(cached) " >&6
   6584 else case e in #(
   6585   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6586 /* end confdefs.h.  */
   6587 int i;
   6588 _ACEOF
   6589 if ac_fn_c_try_compile "$LINENO"
   6590 then :
   6591   xorg_cv_cc_flag_unknown_warning_option=yes
   6592 else case e in #(
   6593   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6594 esac
   6595 fi
   6596 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6597 esac
   6598 fi
   6599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6600 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6601 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6602 	CFLAGS="$xorg_testset_save_CFLAGS"
   6603 fi
   6604 
   6605 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6606 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6607 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6608 	fi
   6609 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6610 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6611 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6612 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6613 then :
   6614   printf %s "(cached) " >&6
   6615 else case e in #(
   6616   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6617 /* end confdefs.h.  */
   6618 int i;
   6619 _ACEOF
   6620 if ac_fn_c_try_compile "$LINENO"
   6621 then :
   6622   xorg_cv_cc_flag_unused_command_line_argument=yes
   6623 else case e in #(
   6624   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6625 esac
   6626 fi
   6627 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6628 esac
   6629 fi
   6630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6631 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6632 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6633 	CFLAGS="$xorg_testset_save_CFLAGS"
   6634 fi
   6635 
   6636 found="no"
   6637 
   6638 	if test $found = "no" ; then
   6639 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6640 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6641 		fi
   6642 
   6643 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6644 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6645 		fi
   6646 
   6647 		CFLAGS="$CFLAGS -Wshadow"
   6648 
   6649 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6650 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6651 		cacheid=xorg_cv_cc_flag__Wshadow
   6652 		if eval test \${$cacheid+y}
   6653 then :
   6654   printf %s "(cached) " >&6
   6655 else case e in #(
   6656   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6657 /* end confdefs.h.  */
   6658 int i;
   6659 int
   6660 main (void)
   6661 {
   6662 
   6663   ;
   6664   return 0;
   6665 }
   6666 _ACEOF
   6667 if ac_fn_c_try_link "$LINENO"
   6668 then :
   6669   eval $cacheid=yes
   6670 else case e in #(
   6671   e) eval $cacheid=no ;;
   6672 esac
   6673 fi
   6674 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6675     conftest$ac_exeext conftest.$ac_ext ;;
   6676 esac
   6677 fi
   6678 
   6679 
   6680 		CFLAGS="$xorg_testset_save_CFLAGS"
   6681 
   6682 		eval supported=\$$cacheid
   6683 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6684 printf "%s\n" "$supported" >&6; }
   6685 		if test "$supported" = "yes" ; then
   6686 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6687 			found="yes"
   6688 		fi
   6689 	fi
   6690 
   6691 
   6692 
   6693 
   6694 
   6695 
   6696 
   6697 
   6698 
   6699 
   6700 
   6701 
   6702 
   6703 
   6704 
   6705 xorg_testset_save_CFLAGS="$CFLAGS"
   6706 
   6707 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6708 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6709 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6710 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6711 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6712 then :
   6713   printf %s "(cached) " >&6
   6714 else case e in #(
   6715   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6716 /* end confdefs.h.  */
   6717 int i;
   6718 _ACEOF
   6719 if ac_fn_c_try_compile "$LINENO"
   6720 then :
   6721   xorg_cv_cc_flag_unknown_warning_option=yes
   6722 else case e in #(
   6723   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6724 esac
   6725 fi
   6726 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6727 esac
   6728 fi
   6729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6730 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6731 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6732 	CFLAGS="$xorg_testset_save_CFLAGS"
   6733 fi
   6734 
   6735 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6736 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6737 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6738 	fi
   6739 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6740 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6741 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6742 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6743 then :
   6744   printf %s "(cached) " >&6
   6745 else case e in #(
   6746   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6747 /* end confdefs.h.  */
   6748 int i;
   6749 _ACEOF
   6750 if ac_fn_c_try_compile "$LINENO"
   6751 then :
   6752   xorg_cv_cc_flag_unused_command_line_argument=yes
   6753 else case e in #(
   6754   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6755 esac
   6756 fi
   6757 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6758 esac
   6759 fi
   6760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6761 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6762 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6763 	CFLAGS="$xorg_testset_save_CFLAGS"
   6764 fi
   6765 
   6766 found="no"
   6767 
   6768 	if test $found = "no" ; then
   6769 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6770 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6771 		fi
   6772 
   6773 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6774 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6775 		fi
   6776 
   6777 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6778 
   6779 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6780 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6781 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6782 		if eval test \${$cacheid+y}
   6783 then :
   6784   printf %s "(cached) " >&6
   6785 else case e in #(
   6786   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6787 /* end confdefs.h.  */
   6788 int i;
   6789 int
   6790 main (void)
   6791 {
   6792 
   6793   ;
   6794   return 0;
   6795 }
   6796 _ACEOF
   6797 if ac_fn_c_try_link "$LINENO"
   6798 then :
   6799   eval $cacheid=yes
   6800 else case e in #(
   6801   e) eval $cacheid=no ;;
   6802 esac
   6803 fi
   6804 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6805     conftest$ac_exeext conftest.$ac_ext ;;
   6806 esac
   6807 fi
   6808 
   6809 
   6810 		CFLAGS="$xorg_testset_save_CFLAGS"
   6811 
   6812 		eval supported=\$$cacheid
   6813 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6814 printf "%s\n" "$supported" >&6; }
   6815 		if test "$supported" = "yes" ; then
   6816 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6817 			found="yes"
   6818 		fi
   6819 	fi
   6820 
   6821 
   6822 
   6823 
   6824 
   6825 
   6826 
   6827 
   6828 
   6829 
   6830 
   6831 
   6832 
   6833 
   6834 
   6835 xorg_testset_save_CFLAGS="$CFLAGS"
   6836 
   6837 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6838 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6839 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6840 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6841 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6842 then :
   6843   printf %s "(cached) " >&6
   6844 else case e in #(
   6845   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6846 /* end confdefs.h.  */
   6847 int i;
   6848 _ACEOF
   6849 if ac_fn_c_try_compile "$LINENO"
   6850 then :
   6851   xorg_cv_cc_flag_unknown_warning_option=yes
   6852 else case e in #(
   6853   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6854 esac
   6855 fi
   6856 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6857 esac
   6858 fi
   6859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6860 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6861 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6862 	CFLAGS="$xorg_testset_save_CFLAGS"
   6863 fi
   6864 
   6865 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6866 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6867 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6868 	fi
   6869 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6870 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6871 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6872 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6873 then :
   6874   printf %s "(cached) " >&6
   6875 else case e in #(
   6876   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6877 /* end confdefs.h.  */
   6878 int i;
   6879 _ACEOF
   6880 if ac_fn_c_try_compile "$LINENO"
   6881 then :
   6882   xorg_cv_cc_flag_unused_command_line_argument=yes
   6883 else case e in #(
   6884   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6885 esac
   6886 fi
   6887 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6888 esac
   6889 fi
   6890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6891 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6892 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6893 	CFLAGS="$xorg_testset_save_CFLAGS"
   6894 fi
   6895 
   6896 found="no"
   6897 
   6898 	if test $found = "no" ; then
   6899 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6900 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6901 		fi
   6902 
   6903 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6904 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6905 		fi
   6906 
   6907 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6908 
   6909 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6910 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6911 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6912 		if eval test \${$cacheid+y}
   6913 then :
   6914   printf %s "(cached) " >&6
   6915 else case e in #(
   6916   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6917 /* end confdefs.h.  */
   6918 int i;
   6919 int
   6920 main (void)
   6921 {
   6922 
   6923   ;
   6924   return 0;
   6925 }
   6926 _ACEOF
   6927 if ac_fn_c_try_link "$LINENO"
   6928 then :
   6929   eval $cacheid=yes
   6930 else case e in #(
   6931   e) eval $cacheid=no ;;
   6932 esac
   6933 fi
   6934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6935     conftest$ac_exeext conftest.$ac_ext ;;
   6936 esac
   6937 fi
   6938 
   6939 
   6940 		CFLAGS="$xorg_testset_save_CFLAGS"
   6941 
   6942 		eval supported=\$$cacheid
   6943 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6944 printf "%s\n" "$supported" >&6; }
   6945 		if test "$supported" = "yes" ; then
   6946 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6947 			found="yes"
   6948 		fi
   6949 	fi
   6950 
   6951 
   6952 
   6953 
   6954 
   6955 
   6956 
   6957 
   6958 
   6959 
   6960 
   6961 
   6962 
   6963 
   6964 
   6965 xorg_testset_save_CFLAGS="$CFLAGS"
   6966 
   6967 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6968 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6969 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6970 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6971 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6972 then :
   6973   printf %s "(cached) " >&6
   6974 else case e in #(
   6975   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6976 /* end confdefs.h.  */
   6977 int i;
   6978 _ACEOF
   6979 if ac_fn_c_try_compile "$LINENO"
   6980 then :
   6981   xorg_cv_cc_flag_unknown_warning_option=yes
   6982 else case e in #(
   6983   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6984 esac
   6985 fi
   6986 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6987 esac
   6988 fi
   6989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6990 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6991 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6992 	CFLAGS="$xorg_testset_save_CFLAGS"
   6993 fi
   6994 
   6995 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6996 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6997 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6998 	fi
   6999 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7000 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7001 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7002 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7003 then :
   7004   printf %s "(cached) " >&6
   7005 else case e in #(
   7006   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7007 /* end confdefs.h.  */
   7008 int i;
   7009 _ACEOF
   7010 if ac_fn_c_try_compile "$LINENO"
   7011 then :
   7012   xorg_cv_cc_flag_unused_command_line_argument=yes
   7013 else case e in #(
   7014   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7015 esac
   7016 fi
   7017 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7018 esac
   7019 fi
   7020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7021 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7022 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7023 	CFLAGS="$xorg_testset_save_CFLAGS"
   7024 fi
   7025 
   7026 found="no"
   7027 
   7028 	if test $found = "no" ; then
   7029 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7030 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7031 		fi
   7032 
   7033 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7034 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7035 		fi
   7036 
   7037 		CFLAGS="$CFLAGS -Wredundant-decls"
   7038 
   7039 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7040 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7041 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7042 		if eval test \${$cacheid+y}
   7043 then :
   7044   printf %s "(cached) " >&6
   7045 else case e in #(
   7046   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7047 /* end confdefs.h.  */
   7048 int i;
   7049 int
   7050 main (void)
   7051 {
   7052 
   7053   ;
   7054   return 0;
   7055 }
   7056 _ACEOF
   7057 if ac_fn_c_try_link "$LINENO"
   7058 then :
   7059   eval $cacheid=yes
   7060 else case e in #(
   7061   e) eval $cacheid=no ;;
   7062 esac
   7063 fi
   7064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7065     conftest$ac_exeext conftest.$ac_ext ;;
   7066 esac
   7067 fi
   7068 
   7069 
   7070 		CFLAGS="$xorg_testset_save_CFLAGS"
   7071 
   7072 		eval supported=\$$cacheid
   7073 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7074 printf "%s\n" "$supported" >&6; }
   7075 		if test "$supported" = "yes" ; then
   7076 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7077 			found="yes"
   7078 		fi
   7079 	fi
   7080 
   7081 
   7082 
   7083 
   7084 
   7085 
   7086 
   7087 
   7088 
   7089 
   7090 
   7091 
   7092 
   7093 
   7094 
   7095 xorg_testset_save_CFLAGS="$CFLAGS"
   7096 
   7097 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7098 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7099 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7100 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7101 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7102 then :
   7103   printf %s "(cached) " >&6
   7104 else case e in #(
   7105   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7106 /* end confdefs.h.  */
   7107 int i;
   7108 _ACEOF
   7109 if ac_fn_c_try_compile "$LINENO"
   7110 then :
   7111   xorg_cv_cc_flag_unknown_warning_option=yes
   7112 else case e in #(
   7113   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7114 esac
   7115 fi
   7116 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7117 esac
   7118 fi
   7119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7120 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7121 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7122 	CFLAGS="$xorg_testset_save_CFLAGS"
   7123 fi
   7124 
   7125 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7126 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7127 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7128 	fi
   7129 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7130 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7131 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7132 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7133 then :
   7134   printf %s "(cached) " >&6
   7135 else case e in #(
   7136   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7137 /* end confdefs.h.  */
   7138 int i;
   7139 _ACEOF
   7140 if ac_fn_c_try_compile "$LINENO"
   7141 then :
   7142   xorg_cv_cc_flag_unused_command_line_argument=yes
   7143 else case e in #(
   7144   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7145 esac
   7146 fi
   7147 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7148 esac
   7149 fi
   7150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7151 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7152 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7153 	CFLAGS="$xorg_testset_save_CFLAGS"
   7154 fi
   7155 
   7156 found="no"
   7157 
   7158 	if test $found = "no" ; then
   7159 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7160 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7161 		fi
   7162 
   7163 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7164 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7165 		fi
   7166 
   7167 		CFLAGS="$CFLAGS -Wlogical-op"
   7168 
   7169 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7170 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7171 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7172 		if eval test \${$cacheid+y}
   7173 then :
   7174   printf %s "(cached) " >&6
   7175 else case e in #(
   7176   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7177 /* end confdefs.h.  */
   7178 int i;
   7179 int
   7180 main (void)
   7181 {
   7182 
   7183   ;
   7184   return 0;
   7185 }
   7186 _ACEOF
   7187 if ac_fn_c_try_link "$LINENO"
   7188 then :
   7189   eval $cacheid=yes
   7190 else case e in #(
   7191   e) eval $cacheid=no ;;
   7192 esac
   7193 fi
   7194 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7195     conftest$ac_exeext conftest.$ac_ext ;;
   7196 esac
   7197 fi
   7198 
   7199 
   7200 		CFLAGS="$xorg_testset_save_CFLAGS"
   7201 
   7202 		eval supported=\$$cacheid
   7203 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7204 printf "%s\n" "$supported" >&6; }
   7205 		if test "$supported" = "yes" ; then
   7206 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7207 			found="yes"
   7208 		fi
   7209 	fi
   7210 
   7211 
   7212 
   7213 # These are currently disabled because they are noisy.  They will be enabled
   7214 # in the future once the codebase is sufficiently modernized to silence
   7215 # them.  For now, I don't want them to drown out the other warnings.
   7216 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7217 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7218 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7219 
   7220 # Turn some warnings into errors, so we don't accidentally get successful builds
   7221 # when there are problems that should be fixed.
   7222 
   7223 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7224 
   7225 
   7226 
   7227 
   7228 
   7229 
   7230 
   7231 
   7232 
   7233 
   7234 
   7235 
   7236 
   7237 xorg_testset_save_CFLAGS="$CFLAGS"
   7238 
   7239 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7240 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7241 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7242 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7243 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7244 then :
   7245   printf %s "(cached) " >&6
   7246 else case e in #(
   7247   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7248 /* end confdefs.h.  */
   7249 int i;
   7250 _ACEOF
   7251 if ac_fn_c_try_compile "$LINENO"
   7252 then :
   7253   xorg_cv_cc_flag_unknown_warning_option=yes
   7254 else case e in #(
   7255   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7256 esac
   7257 fi
   7258 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7259 esac
   7260 fi
   7261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7262 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7263 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7264 	CFLAGS="$xorg_testset_save_CFLAGS"
   7265 fi
   7266 
   7267 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7268 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7269 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7270 	fi
   7271 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7272 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7273 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7274 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7275 then :
   7276   printf %s "(cached) " >&6
   7277 else case e in #(
   7278   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7279 /* end confdefs.h.  */
   7280 int i;
   7281 _ACEOF
   7282 if ac_fn_c_try_compile "$LINENO"
   7283 then :
   7284   xorg_cv_cc_flag_unused_command_line_argument=yes
   7285 else case e in #(
   7286   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7287 esac
   7288 fi
   7289 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7290 esac
   7291 fi
   7292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7293 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7294 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7295 	CFLAGS="$xorg_testset_save_CFLAGS"
   7296 fi
   7297 
   7298 found="no"
   7299 
   7300 	if test $found = "no" ; then
   7301 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7302 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7303 		fi
   7304 
   7305 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7306 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7307 		fi
   7308 
   7309 		CFLAGS="$CFLAGS -Werror=implicit"
   7310 
   7311 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7312 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7313 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7314 		if eval test \${$cacheid+y}
   7315 then :
   7316   printf %s "(cached) " >&6
   7317 else case e in #(
   7318   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7319 /* end confdefs.h.  */
   7320 int i;
   7321 int
   7322 main (void)
   7323 {
   7324 
   7325   ;
   7326   return 0;
   7327 }
   7328 _ACEOF
   7329 if ac_fn_c_try_link "$LINENO"
   7330 then :
   7331   eval $cacheid=yes
   7332 else case e in #(
   7333   e) eval $cacheid=no ;;
   7334 esac
   7335 fi
   7336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7337     conftest$ac_exeext conftest.$ac_ext ;;
   7338 esac
   7339 fi
   7340 
   7341 
   7342 		CFLAGS="$xorg_testset_save_CFLAGS"
   7343 
   7344 		eval supported=\$$cacheid
   7345 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7346 printf "%s\n" "$supported" >&6; }
   7347 		if test "$supported" = "yes" ; then
   7348 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7349 			found="yes"
   7350 		fi
   7351 	fi
   7352 
   7353 	if test $found = "no" ; then
   7354 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7355 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7356 		fi
   7357 
   7358 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7359 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7360 		fi
   7361 
   7362 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7363 
   7364 		{ 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
   7365 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7366 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7367 		if eval test \${$cacheid+y}
   7368 then :
   7369   printf %s "(cached) " >&6
   7370 else case e in #(
   7371   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7372 /* end confdefs.h.  */
   7373 int i;
   7374 int
   7375 main (void)
   7376 {
   7377 
   7378   ;
   7379   return 0;
   7380 }
   7381 _ACEOF
   7382 if ac_fn_c_try_link "$LINENO"
   7383 then :
   7384   eval $cacheid=yes
   7385 else case e in #(
   7386   e) eval $cacheid=no ;;
   7387 esac
   7388 fi
   7389 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7390     conftest$ac_exeext conftest.$ac_ext ;;
   7391 esac
   7392 fi
   7393 
   7394 
   7395 		CFLAGS="$xorg_testset_save_CFLAGS"
   7396 
   7397 		eval supported=\$$cacheid
   7398 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7399 printf "%s\n" "$supported" >&6; }
   7400 		if test "$supported" = "yes" ; then
   7401 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7402 			found="yes"
   7403 		fi
   7404 	fi
   7405 
   7406 
   7407 
   7408 
   7409 
   7410 
   7411 
   7412 
   7413 
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 xorg_testset_save_CFLAGS="$CFLAGS"
   7421 
   7422 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7423 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7424 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7425 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7426 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7427 then :
   7428   printf %s "(cached) " >&6
   7429 else case e in #(
   7430   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7431 /* end confdefs.h.  */
   7432 int i;
   7433 _ACEOF
   7434 if ac_fn_c_try_compile "$LINENO"
   7435 then :
   7436   xorg_cv_cc_flag_unknown_warning_option=yes
   7437 else case e in #(
   7438   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7439 esac
   7440 fi
   7441 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7442 esac
   7443 fi
   7444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7445 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7446 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7447 	CFLAGS="$xorg_testset_save_CFLAGS"
   7448 fi
   7449 
   7450 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7451 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7452 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7453 	fi
   7454 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7455 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7456 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7457 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7458 then :
   7459   printf %s "(cached) " >&6
   7460 else case e in #(
   7461   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7462 /* end confdefs.h.  */
   7463 int i;
   7464 _ACEOF
   7465 if ac_fn_c_try_compile "$LINENO"
   7466 then :
   7467   xorg_cv_cc_flag_unused_command_line_argument=yes
   7468 else case e in #(
   7469   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7470 esac
   7471 fi
   7472 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7473 esac
   7474 fi
   7475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7476 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7477 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7478 	CFLAGS="$xorg_testset_save_CFLAGS"
   7479 fi
   7480 
   7481 found="no"
   7482 
   7483 	if test $found = "no" ; then
   7484 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7485 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7486 		fi
   7487 
   7488 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7489 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7490 		fi
   7491 
   7492 		CFLAGS="$CFLAGS -Werror=nonnull"
   7493 
   7494 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7495 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7496 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7497 		if eval test \${$cacheid+y}
   7498 then :
   7499   printf %s "(cached) " >&6
   7500 else case e in #(
   7501   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7502 /* end confdefs.h.  */
   7503 int i;
   7504 int
   7505 main (void)
   7506 {
   7507 
   7508   ;
   7509   return 0;
   7510 }
   7511 _ACEOF
   7512 if ac_fn_c_try_link "$LINENO"
   7513 then :
   7514   eval $cacheid=yes
   7515 else case e in #(
   7516   e) eval $cacheid=no ;;
   7517 esac
   7518 fi
   7519 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7520     conftest$ac_exeext conftest.$ac_ext ;;
   7521 esac
   7522 fi
   7523 
   7524 
   7525 		CFLAGS="$xorg_testset_save_CFLAGS"
   7526 
   7527 		eval supported=\$$cacheid
   7528 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7529 printf "%s\n" "$supported" >&6; }
   7530 		if test "$supported" = "yes" ; then
   7531 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7532 			found="yes"
   7533 		fi
   7534 	fi
   7535 
   7536 
   7537 
   7538 
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 
   7547 
   7548 
   7549 
   7550 xorg_testset_save_CFLAGS="$CFLAGS"
   7551 
   7552 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7553 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7554 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7555 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7556 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7557 then :
   7558   printf %s "(cached) " >&6
   7559 else case e in #(
   7560   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7561 /* end confdefs.h.  */
   7562 int i;
   7563 _ACEOF
   7564 if ac_fn_c_try_compile "$LINENO"
   7565 then :
   7566   xorg_cv_cc_flag_unknown_warning_option=yes
   7567 else case e in #(
   7568   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7569 esac
   7570 fi
   7571 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7572 esac
   7573 fi
   7574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7575 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7576 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7577 	CFLAGS="$xorg_testset_save_CFLAGS"
   7578 fi
   7579 
   7580 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7581 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7582 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7583 	fi
   7584 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7585 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7586 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7587 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7588 then :
   7589   printf %s "(cached) " >&6
   7590 else case e in #(
   7591   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7592 /* end confdefs.h.  */
   7593 int i;
   7594 _ACEOF
   7595 if ac_fn_c_try_compile "$LINENO"
   7596 then :
   7597   xorg_cv_cc_flag_unused_command_line_argument=yes
   7598 else case e in #(
   7599   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7600 esac
   7601 fi
   7602 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7603 esac
   7604 fi
   7605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7606 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7607 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7608 	CFLAGS="$xorg_testset_save_CFLAGS"
   7609 fi
   7610 
   7611 found="no"
   7612 
   7613 	if test $found = "no" ; then
   7614 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7615 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7616 		fi
   7617 
   7618 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7619 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7620 		fi
   7621 
   7622 		CFLAGS="$CFLAGS -Werror=init-self"
   7623 
   7624 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7625 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7626 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7627 		if eval test \${$cacheid+y}
   7628 then :
   7629   printf %s "(cached) " >&6
   7630 else case e in #(
   7631   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7632 /* end confdefs.h.  */
   7633 int i;
   7634 int
   7635 main (void)
   7636 {
   7637 
   7638   ;
   7639   return 0;
   7640 }
   7641 _ACEOF
   7642 if ac_fn_c_try_link "$LINENO"
   7643 then :
   7644   eval $cacheid=yes
   7645 else case e in #(
   7646   e) eval $cacheid=no ;;
   7647 esac
   7648 fi
   7649 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7650     conftest$ac_exeext conftest.$ac_ext ;;
   7651 esac
   7652 fi
   7653 
   7654 
   7655 		CFLAGS="$xorg_testset_save_CFLAGS"
   7656 
   7657 		eval supported=\$$cacheid
   7658 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7659 printf "%s\n" "$supported" >&6; }
   7660 		if test "$supported" = "yes" ; then
   7661 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7662 			found="yes"
   7663 		fi
   7664 	fi
   7665 
   7666 
   7667 
   7668 
   7669 
   7670 
   7671 
   7672 
   7673 
   7674 
   7675 
   7676 
   7677 
   7678 
   7679 
   7680 xorg_testset_save_CFLAGS="$CFLAGS"
   7681 
   7682 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7683 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7684 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7685 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7686 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7687 then :
   7688   printf %s "(cached) " >&6
   7689 else case e in #(
   7690   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7691 /* end confdefs.h.  */
   7692 int i;
   7693 _ACEOF
   7694 if ac_fn_c_try_compile "$LINENO"
   7695 then :
   7696   xorg_cv_cc_flag_unknown_warning_option=yes
   7697 else case e in #(
   7698   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7699 esac
   7700 fi
   7701 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7702 esac
   7703 fi
   7704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7705 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7706 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7707 	CFLAGS="$xorg_testset_save_CFLAGS"
   7708 fi
   7709 
   7710 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7711 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7712 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7713 	fi
   7714 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7715 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7716 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7717 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7718 then :
   7719   printf %s "(cached) " >&6
   7720 else case e in #(
   7721   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7722 /* end confdefs.h.  */
   7723 int i;
   7724 _ACEOF
   7725 if ac_fn_c_try_compile "$LINENO"
   7726 then :
   7727   xorg_cv_cc_flag_unused_command_line_argument=yes
   7728 else case e in #(
   7729   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7730 esac
   7731 fi
   7732 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7733 esac
   7734 fi
   7735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7736 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7737 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7738 	CFLAGS="$xorg_testset_save_CFLAGS"
   7739 fi
   7740 
   7741 found="no"
   7742 
   7743 	if test $found = "no" ; then
   7744 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7745 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7746 		fi
   7747 
   7748 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7749 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7750 		fi
   7751 
   7752 		CFLAGS="$CFLAGS -Werror=main"
   7753 
   7754 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7755 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7756 		cacheid=xorg_cv_cc_flag__Werror_main
   7757 		if eval test \${$cacheid+y}
   7758 then :
   7759   printf %s "(cached) " >&6
   7760 else case e in #(
   7761   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7762 /* end confdefs.h.  */
   7763 int i;
   7764 int
   7765 main (void)
   7766 {
   7767 
   7768   ;
   7769   return 0;
   7770 }
   7771 _ACEOF
   7772 if ac_fn_c_try_link "$LINENO"
   7773 then :
   7774   eval $cacheid=yes
   7775 else case e in #(
   7776   e) eval $cacheid=no ;;
   7777 esac
   7778 fi
   7779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7780     conftest$ac_exeext conftest.$ac_ext ;;
   7781 esac
   7782 fi
   7783 
   7784 
   7785 		CFLAGS="$xorg_testset_save_CFLAGS"
   7786 
   7787 		eval supported=\$$cacheid
   7788 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7789 printf "%s\n" "$supported" >&6; }
   7790 		if test "$supported" = "yes" ; then
   7791 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7792 			found="yes"
   7793 		fi
   7794 	fi
   7795 
   7796 
   7797 
   7798 
   7799 
   7800 
   7801 
   7802 
   7803 
   7804 
   7805 
   7806 
   7807 
   7808 
   7809 
   7810 xorg_testset_save_CFLAGS="$CFLAGS"
   7811 
   7812 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7813 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7814 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7815 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7816 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7817 then :
   7818   printf %s "(cached) " >&6
   7819 else case e in #(
   7820   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7821 /* end confdefs.h.  */
   7822 int i;
   7823 _ACEOF
   7824 if ac_fn_c_try_compile "$LINENO"
   7825 then :
   7826   xorg_cv_cc_flag_unknown_warning_option=yes
   7827 else case e in #(
   7828   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7829 esac
   7830 fi
   7831 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7832 esac
   7833 fi
   7834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7835 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7836 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7837 	CFLAGS="$xorg_testset_save_CFLAGS"
   7838 fi
   7839 
   7840 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7841 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7842 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7843 	fi
   7844 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7845 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7846 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7847 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7848 then :
   7849   printf %s "(cached) " >&6
   7850 else case e in #(
   7851   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7852 /* end confdefs.h.  */
   7853 int i;
   7854 _ACEOF
   7855 if ac_fn_c_try_compile "$LINENO"
   7856 then :
   7857   xorg_cv_cc_flag_unused_command_line_argument=yes
   7858 else case e in #(
   7859   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7860 esac
   7861 fi
   7862 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7863 esac
   7864 fi
   7865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7866 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7867 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7868 	CFLAGS="$xorg_testset_save_CFLAGS"
   7869 fi
   7870 
   7871 found="no"
   7872 
   7873 	if test $found = "no" ; then
   7874 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7875 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7876 		fi
   7877 
   7878 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7879 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7880 		fi
   7881 
   7882 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7883 
   7884 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7885 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7886 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7887 		if eval test \${$cacheid+y}
   7888 then :
   7889   printf %s "(cached) " >&6
   7890 else case e in #(
   7891   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7892 /* end confdefs.h.  */
   7893 int i;
   7894 int
   7895 main (void)
   7896 {
   7897 
   7898   ;
   7899   return 0;
   7900 }
   7901 _ACEOF
   7902 if ac_fn_c_try_link "$LINENO"
   7903 then :
   7904   eval $cacheid=yes
   7905 else case e in #(
   7906   e) eval $cacheid=no ;;
   7907 esac
   7908 fi
   7909 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7910     conftest$ac_exeext conftest.$ac_ext ;;
   7911 esac
   7912 fi
   7913 
   7914 
   7915 		CFLAGS="$xorg_testset_save_CFLAGS"
   7916 
   7917 		eval supported=\$$cacheid
   7918 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7919 printf "%s\n" "$supported" >&6; }
   7920 		if test "$supported" = "yes" ; then
   7921 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7922 			found="yes"
   7923 		fi
   7924 	fi
   7925 
   7926 
   7927 
   7928 
   7929 
   7930 
   7931 
   7932 
   7933 
   7934 
   7935 
   7936 
   7937 
   7938 
   7939 
   7940 xorg_testset_save_CFLAGS="$CFLAGS"
   7941 
   7942 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7943 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7944 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7945 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7946 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7947 then :
   7948   printf %s "(cached) " >&6
   7949 else case e in #(
   7950   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7951 /* end confdefs.h.  */
   7952 int i;
   7953 _ACEOF
   7954 if ac_fn_c_try_compile "$LINENO"
   7955 then :
   7956   xorg_cv_cc_flag_unknown_warning_option=yes
   7957 else case e in #(
   7958   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7959 esac
   7960 fi
   7961 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7962 esac
   7963 fi
   7964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7965 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7966 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7967 	CFLAGS="$xorg_testset_save_CFLAGS"
   7968 fi
   7969 
   7970 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7971 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7972 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7973 	fi
   7974 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7975 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7976 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7977 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7978 then :
   7979   printf %s "(cached) " >&6
   7980 else case e in #(
   7981   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7982 /* end confdefs.h.  */
   7983 int i;
   7984 _ACEOF
   7985 if ac_fn_c_try_compile "$LINENO"
   7986 then :
   7987   xorg_cv_cc_flag_unused_command_line_argument=yes
   7988 else case e in #(
   7989   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7990 esac
   7991 fi
   7992 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7993 esac
   7994 fi
   7995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7996 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7997 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7998 	CFLAGS="$xorg_testset_save_CFLAGS"
   7999 fi
   8000 
   8001 found="no"
   8002 
   8003 	if test $found = "no" ; then
   8004 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8005 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8006 		fi
   8007 
   8008 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8009 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8010 		fi
   8011 
   8012 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8013 
   8014 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8015 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8016 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8017 		if eval test \${$cacheid+y}
   8018 then :
   8019   printf %s "(cached) " >&6
   8020 else case e in #(
   8021   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8022 /* end confdefs.h.  */
   8023 int i;
   8024 int
   8025 main (void)
   8026 {
   8027 
   8028   ;
   8029   return 0;
   8030 }
   8031 _ACEOF
   8032 if ac_fn_c_try_link "$LINENO"
   8033 then :
   8034   eval $cacheid=yes
   8035 else case e in #(
   8036   e) eval $cacheid=no ;;
   8037 esac
   8038 fi
   8039 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8040     conftest$ac_exeext conftest.$ac_ext ;;
   8041 esac
   8042 fi
   8043 
   8044 
   8045 		CFLAGS="$xorg_testset_save_CFLAGS"
   8046 
   8047 		eval supported=\$$cacheid
   8048 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8049 printf "%s\n" "$supported" >&6; }
   8050 		if test "$supported" = "yes" ; then
   8051 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8052 			found="yes"
   8053 		fi
   8054 	fi
   8055 
   8056 
   8057 
   8058 
   8059 
   8060 
   8061 
   8062 
   8063 
   8064 
   8065 
   8066 
   8067 
   8068 
   8069 
   8070 xorg_testset_save_CFLAGS="$CFLAGS"
   8071 
   8072 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8073 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8074 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8075 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8076 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8077 then :
   8078   printf %s "(cached) " >&6
   8079 else case e in #(
   8080   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8081 /* end confdefs.h.  */
   8082 int i;
   8083 _ACEOF
   8084 if ac_fn_c_try_compile "$LINENO"
   8085 then :
   8086   xorg_cv_cc_flag_unknown_warning_option=yes
   8087 else case e in #(
   8088   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8089 esac
   8090 fi
   8091 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8092 esac
   8093 fi
   8094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8095 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8096 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8097 	CFLAGS="$xorg_testset_save_CFLAGS"
   8098 fi
   8099 
   8100 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8101 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8102 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8103 	fi
   8104 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8105 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8106 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8107 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8108 then :
   8109   printf %s "(cached) " >&6
   8110 else case e in #(
   8111   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8112 /* end confdefs.h.  */
   8113 int i;
   8114 _ACEOF
   8115 if ac_fn_c_try_compile "$LINENO"
   8116 then :
   8117   xorg_cv_cc_flag_unused_command_line_argument=yes
   8118 else case e in #(
   8119   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8120 esac
   8121 fi
   8122 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8123 esac
   8124 fi
   8125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8126 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8127 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8128 	CFLAGS="$xorg_testset_save_CFLAGS"
   8129 fi
   8130 
   8131 found="no"
   8132 
   8133 	if test $found = "no" ; then
   8134 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8135 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8136 		fi
   8137 
   8138 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8139 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8140 		fi
   8141 
   8142 		CFLAGS="$CFLAGS -Werror=return-type"
   8143 
   8144 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8145 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8146 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8147 		if eval test \${$cacheid+y}
   8148 then :
   8149   printf %s "(cached) " >&6
   8150 else case e in #(
   8151   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8152 /* end confdefs.h.  */
   8153 int i;
   8154 int
   8155 main (void)
   8156 {
   8157 
   8158   ;
   8159   return 0;
   8160 }
   8161 _ACEOF
   8162 if ac_fn_c_try_link "$LINENO"
   8163 then :
   8164   eval $cacheid=yes
   8165 else case e in #(
   8166   e) eval $cacheid=no ;;
   8167 esac
   8168 fi
   8169 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8170     conftest$ac_exeext conftest.$ac_ext ;;
   8171 esac
   8172 fi
   8173 
   8174 
   8175 		CFLAGS="$xorg_testset_save_CFLAGS"
   8176 
   8177 		eval supported=\$$cacheid
   8178 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8179 printf "%s\n" "$supported" >&6; }
   8180 		if test "$supported" = "yes" ; then
   8181 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8182 			found="yes"
   8183 		fi
   8184 	fi
   8185 
   8186 	if test $found = "no" ; then
   8187 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8188 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8189 		fi
   8190 
   8191 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8192 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8193 		fi
   8194 
   8195 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8196 
   8197 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8198 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8199 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8200 		if eval test \${$cacheid+y}
   8201 then :
   8202   printf %s "(cached) " >&6
   8203 else case e in #(
   8204   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8205 /* end confdefs.h.  */
   8206 int i;
   8207 int
   8208 main (void)
   8209 {
   8210 
   8211   ;
   8212   return 0;
   8213 }
   8214 _ACEOF
   8215 if ac_fn_c_try_link "$LINENO"
   8216 then :
   8217   eval $cacheid=yes
   8218 else case e in #(
   8219   e) eval $cacheid=no ;;
   8220 esac
   8221 fi
   8222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8223     conftest$ac_exeext conftest.$ac_ext ;;
   8224 esac
   8225 fi
   8226 
   8227 
   8228 		CFLAGS="$xorg_testset_save_CFLAGS"
   8229 
   8230 		eval supported=\$$cacheid
   8231 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8232 printf "%s\n" "$supported" >&6; }
   8233 		if test "$supported" = "yes" ; then
   8234 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8235 			found="yes"
   8236 		fi
   8237 	fi
   8238 
   8239 
   8240 
   8241 
   8242 
   8243 
   8244 
   8245 
   8246 
   8247 
   8248 
   8249 
   8250 
   8251 
   8252 
   8253 xorg_testset_save_CFLAGS="$CFLAGS"
   8254 
   8255 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8256 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8257 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8258 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8259 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8260 then :
   8261   printf %s "(cached) " >&6
   8262 else case e in #(
   8263   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8264 /* end confdefs.h.  */
   8265 int i;
   8266 _ACEOF
   8267 if ac_fn_c_try_compile "$LINENO"
   8268 then :
   8269   xorg_cv_cc_flag_unknown_warning_option=yes
   8270 else case e in #(
   8271   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8272 esac
   8273 fi
   8274 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8275 esac
   8276 fi
   8277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8278 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8279 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8280 	CFLAGS="$xorg_testset_save_CFLAGS"
   8281 fi
   8282 
   8283 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8284 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8285 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8286 	fi
   8287 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8288 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8289 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8290 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8291 then :
   8292   printf %s "(cached) " >&6
   8293 else case e in #(
   8294   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8295 /* end confdefs.h.  */
   8296 int i;
   8297 _ACEOF
   8298 if ac_fn_c_try_compile "$LINENO"
   8299 then :
   8300   xorg_cv_cc_flag_unused_command_line_argument=yes
   8301 else case e in #(
   8302   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8303 esac
   8304 fi
   8305 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8306 esac
   8307 fi
   8308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8309 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8310 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8311 	CFLAGS="$xorg_testset_save_CFLAGS"
   8312 fi
   8313 
   8314 found="no"
   8315 
   8316 	if test $found = "no" ; then
   8317 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8318 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8319 		fi
   8320 
   8321 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8322 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8323 		fi
   8324 
   8325 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8326 
   8327 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8328 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8329 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8330 		if eval test \${$cacheid+y}
   8331 then :
   8332   printf %s "(cached) " >&6
   8333 else case e in #(
   8334   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8335 /* end confdefs.h.  */
   8336 int i;
   8337 int
   8338 main (void)
   8339 {
   8340 
   8341   ;
   8342   return 0;
   8343 }
   8344 _ACEOF
   8345 if ac_fn_c_try_link "$LINENO"
   8346 then :
   8347   eval $cacheid=yes
   8348 else case e in #(
   8349   e) eval $cacheid=no ;;
   8350 esac
   8351 fi
   8352 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8353     conftest$ac_exeext conftest.$ac_ext ;;
   8354 esac
   8355 fi
   8356 
   8357 
   8358 		CFLAGS="$xorg_testset_save_CFLAGS"
   8359 
   8360 		eval supported=\$$cacheid
   8361 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8362 printf "%s\n" "$supported" >&6; }
   8363 		if test "$supported" = "yes" ; then
   8364 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8365 			found="yes"
   8366 		fi
   8367 	fi
   8368 
   8369 
   8370 
   8371 
   8372 
   8373 
   8374 
   8375 
   8376 
   8377 
   8378 
   8379 
   8380 
   8381 
   8382 
   8383 xorg_testset_save_CFLAGS="$CFLAGS"
   8384 
   8385 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8386 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8387 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8388 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8389 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8390 then :
   8391   printf %s "(cached) " >&6
   8392 else case e in #(
   8393   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8394 /* end confdefs.h.  */
   8395 int i;
   8396 _ACEOF
   8397 if ac_fn_c_try_compile "$LINENO"
   8398 then :
   8399   xorg_cv_cc_flag_unknown_warning_option=yes
   8400 else case e in #(
   8401   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8402 esac
   8403 fi
   8404 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8405 esac
   8406 fi
   8407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8408 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8409 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8410 	CFLAGS="$xorg_testset_save_CFLAGS"
   8411 fi
   8412 
   8413 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8414 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8415 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8416 	fi
   8417 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8418 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8419 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8420 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8421 then :
   8422   printf %s "(cached) " >&6
   8423 else case e in #(
   8424   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8425 /* end confdefs.h.  */
   8426 int i;
   8427 _ACEOF
   8428 if ac_fn_c_try_compile "$LINENO"
   8429 then :
   8430   xorg_cv_cc_flag_unused_command_line_argument=yes
   8431 else case e in #(
   8432   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8433 esac
   8434 fi
   8435 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8436 esac
   8437 fi
   8438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8439 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8440 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8441 	CFLAGS="$xorg_testset_save_CFLAGS"
   8442 fi
   8443 
   8444 found="no"
   8445 
   8446 	if test $found = "no" ; then
   8447 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8448 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8449 		fi
   8450 
   8451 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8452 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8453 		fi
   8454 
   8455 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8456 
   8457 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8458 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8459 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8460 		if eval test \${$cacheid+y}
   8461 then :
   8462   printf %s "(cached) " >&6
   8463 else case e in #(
   8464   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8465 /* end confdefs.h.  */
   8466 int i;
   8467 int
   8468 main (void)
   8469 {
   8470 
   8471   ;
   8472   return 0;
   8473 }
   8474 _ACEOF
   8475 if ac_fn_c_try_link "$LINENO"
   8476 then :
   8477   eval $cacheid=yes
   8478 else case e in #(
   8479   e) eval $cacheid=no ;;
   8480 esac
   8481 fi
   8482 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8483     conftest$ac_exeext conftest.$ac_ext ;;
   8484 esac
   8485 fi
   8486 
   8487 
   8488 		CFLAGS="$xorg_testset_save_CFLAGS"
   8489 
   8490 		eval supported=\$$cacheid
   8491 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8492 printf "%s\n" "$supported" >&6; }
   8493 		if test "$supported" = "yes" ; then
   8494 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8495 			found="yes"
   8496 		fi
   8497 	fi
   8498 
   8499 
   8500 
   8501 
   8502 
   8503 
   8504 
   8505 
   8506 
   8507 
   8508 
   8509 
   8510 
   8511 
   8512 
   8513 xorg_testset_save_CFLAGS="$CFLAGS"
   8514 
   8515 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8516 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8517 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8518 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8519 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8520 then :
   8521   printf %s "(cached) " >&6
   8522 else case e in #(
   8523   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8524 /* end confdefs.h.  */
   8525 int i;
   8526 _ACEOF
   8527 if ac_fn_c_try_compile "$LINENO"
   8528 then :
   8529   xorg_cv_cc_flag_unknown_warning_option=yes
   8530 else case e in #(
   8531   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8532 esac
   8533 fi
   8534 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8535 esac
   8536 fi
   8537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8538 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8539 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8540 	CFLAGS="$xorg_testset_save_CFLAGS"
   8541 fi
   8542 
   8543 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8544 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8545 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8546 	fi
   8547 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8548 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8549 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8550 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8551 then :
   8552   printf %s "(cached) " >&6
   8553 else case e in #(
   8554   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8555 /* end confdefs.h.  */
   8556 int i;
   8557 _ACEOF
   8558 if ac_fn_c_try_compile "$LINENO"
   8559 then :
   8560   xorg_cv_cc_flag_unused_command_line_argument=yes
   8561 else case e in #(
   8562   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8563 esac
   8564 fi
   8565 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8566 esac
   8567 fi
   8568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8569 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8570 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8571 	CFLAGS="$xorg_testset_save_CFLAGS"
   8572 fi
   8573 
   8574 found="no"
   8575 
   8576 	if test $found = "no" ; then
   8577 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8578 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8579 		fi
   8580 
   8581 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8582 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8583 		fi
   8584 
   8585 		CFLAGS="$CFLAGS -Werror=write-strings"
   8586 
   8587 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8588 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8589 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8590 		if eval test \${$cacheid+y}
   8591 then :
   8592   printf %s "(cached) " >&6
   8593 else case e in #(
   8594   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8595 /* end confdefs.h.  */
   8596 int i;
   8597 int
   8598 main (void)
   8599 {
   8600 
   8601   ;
   8602   return 0;
   8603 }
   8604 _ACEOF
   8605 if ac_fn_c_try_link "$LINENO"
   8606 then :
   8607   eval $cacheid=yes
   8608 else case e in #(
   8609   e) eval $cacheid=no ;;
   8610 esac
   8611 fi
   8612 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8613     conftest$ac_exeext conftest.$ac_ext ;;
   8614 esac
   8615 fi
   8616 
   8617 
   8618 		CFLAGS="$xorg_testset_save_CFLAGS"
   8619 
   8620 		eval supported=\$$cacheid
   8621 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8622 printf "%s\n" "$supported" >&6; }
   8623 		if test "$supported" = "yes" ; then
   8624 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8625 			found="yes"
   8626 		fi
   8627 	fi
   8628 
   8629 
   8630 
   8631 
   8632 
   8633 
   8634 
   8635 
   8636 
   8637 
   8638 
   8639 
   8640 
   8641 
   8642 
   8643 xorg_testset_save_CFLAGS="$CFLAGS"
   8644 
   8645 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8646 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8647 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8648 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8649 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8650 then :
   8651   printf %s "(cached) " >&6
   8652 else case e in #(
   8653   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8654 /* end confdefs.h.  */
   8655 int i;
   8656 _ACEOF
   8657 if ac_fn_c_try_compile "$LINENO"
   8658 then :
   8659   xorg_cv_cc_flag_unknown_warning_option=yes
   8660 else case e in #(
   8661   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8662 esac
   8663 fi
   8664 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8665 esac
   8666 fi
   8667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8668 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8669 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8670 	CFLAGS="$xorg_testset_save_CFLAGS"
   8671 fi
   8672 
   8673 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8674 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8675 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8676 	fi
   8677 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8678 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8679 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8680 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8681 then :
   8682   printf %s "(cached) " >&6
   8683 else case e in #(
   8684   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8685 /* end confdefs.h.  */
   8686 int i;
   8687 _ACEOF
   8688 if ac_fn_c_try_compile "$LINENO"
   8689 then :
   8690   xorg_cv_cc_flag_unused_command_line_argument=yes
   8691 else case e in #(
   8692   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8693 esac
   8694 fi
   8695 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8696 esac
   8697 fi
   8698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8699 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8700 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8701 	CFLAGS="$xorg_testset_save_CFLAGS"
   8702 fi
   8703 
   8704 found="no"
   8705 
   8706 	if test $found = "no" ; then
   8707 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8708 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8709 		fi
   8710 
   8711 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8712 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8713 		fi
   8714 
   8715 		CFLAGS="$CFLAGS -Werror=address"
   8716 
   8717 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8718 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8719 		cacheid=xorg_cv_cc_flag__Werror_address
   8720 		if eval test \${$cacheid+y}
   8721 then :
   8722   printf %s "(cached) " >&6
   8723 else case e in #(
   8724   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8725 /* end confdefs.h.  */
   8726 int i;
   8727 int
   8728 main (void)
   8729 {
   8730 
   8731   ;
   8732   return 0;
   8733 }
   8734 _ACEOF
   8735 if ac_fn_c_try_link "$LINENO"
   8736 then :
   8737   eval $cacheid=yes
   8738 else case e in #(
   8739   e) eval $cacheid=no ;;
   8740 esac
   8741 fi
   8742 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8743     conftest$ac_exeext conftest.$ac_ext ;;
   8744 esac
   8745 fi
   8746 
   8747 
   8748 		CFLAGS="$xorg_testset_save_CFLAGS"
   8749 
   8750 		eval supported=\$$cacheid
   8751 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8752 printf "%s\n" "$supported" >&6; }
   8753 		if test "$supported" = "yes" ; then
   8754 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8755 			found="yes"
   8756 		fi
   8757 	fi
   8758 
   8759 
   8760 
   8761 
   8762 
   8763 
   8764 
   8765 
   8766 
   8767 
   8768 
   8769 
   8770 
   8771 
   8772 
   8773 xorg_testset_save_CFLAGS="$CFLAGS"
   8774 
   8775 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8776 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8777 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8778 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8779 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8780 then :
   8781   printf %s "(cached) " >&6
   8782 else case e in #(
   8783   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8784 /* end confdefs.h.  */
   8785 int i;
   8786 _ACEOF
   8787 if ac_fn_c_try_compile "$LINENO"
   8788 then :
   8789   xorg_cv_cc_flag_unknown_warning_option=yes
   8790 else case e in #(
   8791   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8792 esac
   8793 fi
   8794 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8795 esac
   8796 fi
   8797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8798 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8799 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8800 	CFLAGS="$xorg_testset_save_CFLAGS"
   8801 fi
   8802 
   8803 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8804 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8805 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8806 	fi
   8807 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8808 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8809 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8810 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8811 then :
   8812   printf %s "(cached) " >&6
   8813 else case e in #(
   8814   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8815 /* end confdefs.h.  */
   8816 int i;
   8817 _ACEOF
   8818 if ac_fn_c_try_compile "$LINENO"
   8819 then :
   8820   xorg_cv_cc_flag_unused_command_line_argument=yes
   8821 else case e in #(
   8822   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8823 esac
   8824 fi
   8825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8826 esac
   8827 fi
   8828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8829 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8830 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8831 	CFLAGS="$xorg_testset_save_CFLAGS"
   8832 fi
   8833 
   8834 found="no"
   8835 
   8836 	if test $found = "no" ; then
   8837 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8838 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8839 		fi
   8840 
   8841 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8842 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8843 		fi
   8844 
   8845 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8846 
   8847 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8848 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8849 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8850 		if eval test \${$cacheid+y}
   8851 then :
   8852   printf %s "(cached) " >&6
   8853 else case e in #(
   8854   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8855 /* end confdefs.h.  */
   8856 int i;
   8857 int
   8858 main (void)
   8859 {
   8860 
   8861   ;
   8862   return 0;
   8863 }
   8864 _ACEOF
   8865 if ac_fn_c_try_link "$LINENO"
   8866 then :
   8867   eval $cacheid=yes
   8868 else case e in #(
   8869   e) eval $cacheid=no ;;
   8870 esac
   8871 fi
   8872 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8873     conftest$ac_exeext conftest.$ac_ext ;;
   8874 esac
   8875 fi
   8876 
   8877 
   8878 		CFLAGS="$xorg_testset_save_CFLAGS"
   8879 
   8880 		eval supported=\$$cacheid
   8881 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8882 printf "%s\n" "$supported" >&6; }
   8883 		if test "$supported" = "yes" ; then
   8884 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8885 			found="yes"
   8886 		fi
   8887 	fi
   8888 
   8889 	if test $found = "no" ; then
   8890 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8891 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8892 		fi
   8893 
   8894 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8895 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8896 		fi
   8897 
   8898 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8899 
   8900 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8901 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8902 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8903 		if eval test \${$cacheid+y}
   8904 then :
   8905   printf %s "(cached) " >&6
   8906 else case e in #(
   8907   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8908 /* end confdefs.h.  */
   8909 int i;
   8910 int
   8911 main (void)
   8912 {
   8913 
   8914   ;
   8915   return 0;
   8916 }
   8917 _ACEOF
   8918 if ac_fn_c_try_link "$LINENO"
   8919 then :
   8920   eval $cacheid=yes
   8921 else case e in #(
   8922   e) eval $cacheid=no ;;
   8923 esac
   8924 fi
   8925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8926     conftest$ac_exeext conftest.$ac_ext ;;
   8927 esac
   8928 fi
   8929 
   8930 
   8931 		CFLAGS="$xorg_testset_save_CFLAGS"
   8932 
   8933 		eval supported=\$$cacheid
   8934 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8935 printf "%s\n" "$supported" >&6; }
   8936 		if test "$supported" = "yes" ; then
   8937 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8938 			found="yes"
   8939 		fi
   8940 	fi
   8941 
   8942 
   8943 
   8944 
   8945 
   8946 
   8947 
   8948 
   8949 
   8950 
   8951 
   8952 
   8953 
   8954 
   8955 
   8956 xorg_testset_save_CFLAGS="$CFLAGS"
   8957 
   8958 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8959 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8960 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8961 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8962 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8963 then :
   8964   printf %s "(cached) " >&6
   8965 else case e in #(
   8966   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8967 /* end confdefs.h.  */
   8968 int i;
   8969 _ACEOF
   8970 if ac_fn_c_try_compile "$LINENO"
   8971 then :
   8972   xorg_cv_cc_flag_unknown_warning_option=yes
   8973 else case e in #(
   8974   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8975 esac
   8976 fi
   8977 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8978 esac
   8979 fi
   8980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8981 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8982 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8983 	CFLAGS="$xorg_testset_save_CFLAGS"
   8984 fi
   8985 
   8986 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8987 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8988 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8989 	fi
   8990 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8991 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8992 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8993 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8994 then :
   8995   printf %s "(cached) " >&6
   8996 else case e in #(
   8997   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8998 /* end confdefs.h.  */
   8999 int i;
   9000 _ACEOF
   9001 if ac_fn_c_try_compile "$LINENO"
   9002 then :
   9003   xorg_cv_cc_flag_unused_command_line_argument=yes
   9004 else case e in #(
   9005   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9006 esac
   9007 fi
   9008 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9009 esac
   9010 fi
   9011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9012 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9013 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9014 	CFLAGS="$xorg_testset_save_CFLAGS"
   9015 fi
   9016 
   9017 found="no"
   9018 
   9019 	if test $found = "no" ; then
   9020 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9021 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9022 		fi
   9023 
   9024 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9025 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9026 		fi
   9027 
   9028 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9029 
   9030 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9031 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9032 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9033 		if eval test \${$cacheid+y}
   9034 then :
   9035   printf %s "(cached) " >&6
   9036 else case e in #(
   9037   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9038 /* end confdefs.h.  */
   9039 int i;
   9040 int
   9041 main (void)
   9042 {
   9043 
   9044   ;
   9045   return 0;
   9046 }
   9047 _ACEOF
   9048 if ac_fn_c_try_link "$LINENO"
   9049 then :
   9050   eval $cacheid=yes
   9051 else case e in #(
   9052   e) eval $cacheid=no ;;
   9053 esac
   9054 fi
   9055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9056     conftest$ac_exeext conftest.$ac_ext ;;
   9057 esac
   9058 fi
   9059 
   9060 
   9061 		CFLAGS="$xorg_testset_save_CFLAGS"
   9062 
   9063 		eval supported=\$$cacheid
   9064 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9065 printf "%s\n" "$supported" >&6; }
   9066 		if test "$supported" = "yes" ; then
   9067 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9068 			found="yes"
   9069 		fi
   9070 	fi
   9071 
   9072  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9073 else
   9074 { 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
   9075 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;}
   9076 
   9077 
   9078 
   9079 
   9080 
   9081 
   9082 
   9083 
   9084 
   9085 
   9086 
   9087 
   9088 
   9089 xorg_testset_save_CFLAGS="$CFLAGS"
   9090 
   9091 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9092 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9093 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9094 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9095 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9096 then :
   9097   printf %s "(cached) " >&6
   9098 else case e in #(
   9099   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9100 /* end confdefs.h.  */
   9101 int i;
   9102 _ACEOF
   9103 if ac_fn_c_try_compile "$LINENO"
   9104 then :
   9105   xorg_cv_cc_flag_unknown_warning_option=yes
   9106 else case e in #(
   9107   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9108 esac
   9109 fi
   9110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9111 esac
   9112 fi
   9113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9114 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9115 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9116 	CFLAGS="$xorg_testset_save_CFLAGS"
   9117 fi
   9118 
   9119 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9120 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9121 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9122 	fi
   9123 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9124 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9125 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9126 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9127 then :
   9128   printf %s "(cached) " >&6
   9129 else case e in #(
   9130   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9131 /* end confdefs.h.  */
   9132 int i;
   9133 _ACEOF
   9134 if ac_fn_c_try_compile "$LINENO"
   9135 then :
   9136   xorg_cv_cc_flag_unused_command_line_argument=yes
   9137 else case e in #(
   9138   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9139 esac
   9140 fi
   9141 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9142 esac
   9143 fi
   9144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9145 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9146 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9147 	CFLAGS="$xorg_testset_save_CFLAGS"
   9148 fi
   9149 
   9150 found="no"
   9151 
   9152 	if test $found = "no" ; then
   9153 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9154 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9155 		fi
   9156 
   9157 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9158 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9159 		fi
   9160 
   9161 		CFLAGS="$CFLAGS -Wimplicit"
   9162 
   9163 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9164 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9165 		cacheid=xorg_cv_cc_flag__Wimplicit
   9166 		if eval test \${$cacheid+y}
   9167 then :
   9168   printf %s "(cached) " >&6
   9169 else case e in #(
   9170   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9171 /* end confdefs.h.  */
   9172 int i;
   9173 int
   9174 main (void)
   9175 {
   9176 
   9177   ;
   9178   return 0;
   9179 }
   9180 _ACEOF
   9181 if ac_fn_c_try_link "$LINENO"
   9182 then :
   9183   eval $cacheid=yes
   9184 else case e in #(
   9185   e) eval $cacheid=no ;;
   9186 esac
   9187 fi
   9188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9189     conftest$ac_exeext conftest.$ac_ext ;;
   9190 esac
   9191 fi
   9192 
   9193 
   9194 		CFLAGS="$xorg_testset_save_CFLAGS"
   9195 
   9196 		eval supported=\$$cacheid
   9197 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9198 printf "%s\n" "$supported" >&6; }
   9199 		if test "$supported" = "yes" ; then
   9200 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9201 			found="yes"
   9202 		fi
   9203 	fi
   9204 
   9205 
   9206 
   9207 
   9208 
   9209 
   9210 
   9211 
   9212 
   9213 
   9214 
   9215 
   9216 
   9217 
   9218 
   9219 xorg_testset_save_CFLAGS="$CFLAGS"
   9220 
   9221 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9222 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9223 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9224 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9225 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9226 then :
   9227   printf %s "(cached) " >&6
   9228 else case e in #(
   9229   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9230 /* end confdefs.h.  */
   9231 int i;
   9232 _ACEOF
   9233 if ac_fn_c_try_compile "$LINENO"
   9234 then :
   9235   xorg_cv_cc_flag_unknown_warning_option=yes
   9236 else case e in #(
   9237   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9238 esac
   9239 fi
   9240 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9241 esac
   9242 fi
   9243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9244 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9245 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9246 	CFLAGS="$xorg_testset_save_CFLAGS"
   9247 fi
   9248 
   9249 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9250 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9251 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9252 	fi
   9253 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9254 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9255 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9256 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9257 then :
   9258   printf %s "(cached) " >&6
   9259 else case e in #(
   9260   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9261 /* end confdefs.h.  */
   9262 int i;
   9263 _ACEOF
   9264 if ac_fn_c_try_compile "$LINENO"
   9265 then :
   9266   xorg_cv_cc_flag_unused_command_line_argument=yes
   9267 else case e in #(
   9268   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9269 esac
   9270 fi
   9271 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9272 esac
   9273 fi
   9274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9275 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9276 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9277 	CFLAGS="$xorg_testset_save_CFLAGS"
   9278 fi
   9279 
   9280 found="no"
   9281 
   9282 	if test $found = "no" ; then
   9283 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9284 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9285 		fi
   9286 
   9287 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9288 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9289 		fi
   9290 
   9291 		CFLAGS="$CFLAGS -Wnonnull"
   9292 
   9293 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9294 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9295 		cacheid=xorg_cv_cc_flag__Wnonnull
   9296 		if eval test \${$cacheid+y}
   9297 then :
   9298   printf %s "(cached) " >&6
   9299 else case e in #(
   9300   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9301 /* end confdefs.h.  */
   9302 int i;
   9303 int
   9304 main (void)
   9305 {
   9306 
   9307   ;
   9308   return 0;
   9309 }
   9310 _ACEOF
   9311 if ac_fn_c_try_link "$LINENO"
   9312 then :
   9313   eval $cacheid=yes
   9314 else case e in #(
   9315   e) eval $cacheid=no ;;
   9316 esac
   9317 fi
   9318 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9319     conftest$ac_exeext conftest.$ac_ext ;;
   9320 esac
   9321 fi
   9322 
   9323 
   9324 		CFLAGS="$xorg_testset_save_CFLAGS"
   9325 
   9326 		eval supported=\$$cacheid
   9327 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9328 printf "%s\n" "$supported" >&6; }
   9329 		if test "$supported" = "yes" ; then
   9330 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9331 			found="yes"
   9332 		fi
   9333 	fi
   9334 
   9335 
   9336 
   9337 
   9338 
   9339 
   9340 
   9341 
   9342 
   9343 
   9344 
   9345 
   9346 
   9347 
   9348 
   9349 xorg_testset_save_CFLAGS="$CFLAGS"
   9350 
   9351 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9352 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9353 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9354 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9355 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9356 then :
   9357   printf %s "(cached) " >&6
   9358 else case e in #(
   9359   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9360 /* end confdefs.h.  */
   9361 int i;
   9362 _ACEOF
   9363 if ac_fn_c_try_compile "$LINENO"
   9364 then :
   9365   xorg_cv_cc_flag_unknown_warning_option=yes
   9366 else case e in #(
   9367   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9368 esac
   9369 fi
   9370 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9371 esac
   9372 fi
   9373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9374 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9375 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9376 	CFLAGS="$xorg_testset_save_CFLAGS"
   9377 fi
   9378 
   9379 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9380 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9381 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9382 	fi
   9383 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9384 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9385 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9386 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9387 then :
   9388   printf %s "(cached) " >&6
   9389 else case e in #(
   9390   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9391 /* end confdefs.h.  */
   9392 int i;
   9393 _ACEOF
   9394 if ac_fn_c_try_compile "$LINENO"
   9395 then :
   9396   xorg_cv_cc_flag_unused_command_line_argument=yes
   9397 else case e in #(
   9398   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9399 esac
   9400 fi
   9401 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9402 esac
   9403 fi
   9404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9405 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9406 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9407 	CFLAGS="$xorg_testset_save_CFLAGS"
   9408 fi
   9409 
   9410 found="no"
   9411 
   9412 	if test $found = "no" ; then
   9413 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9414 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9415 		fi
   9416 
   9417 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9418 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9419 		fi
   9420 
   9421 		CFLAGS="$CFLAGS -Winit-self"
   9422 
   9423 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9424 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9425 		cacheid=xorg_cv_cc_flag__Winit_self
   9426 		if eval test \${$cacheid+y}
   9427 then :
   9428   printf %s "(cached) " >&6
   9429 else case e in #(
   9430   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9431 /* end confdefs.h.  */
   9432 int i;
   9433 int
   9434 main (void)
   9435 {
   9436 
   9437   ;
   9438   return 0;
   9439 }
   9440 _ACEOF
   9441 if ac_fn_c_try_link "$LINENO"
   9442 then :
   9443   eval $cacheid=yes
   9444 else case e in #(
   9445   e) eval $cacheid=no ;;
   9446 esac
   9447 fi
   9448 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9449     conftest$ac_exeext conftest.$ac_ext ;;
   9450 esac
   9451 fi
   9452 
   9453 
   9454 		CFLAGS="$xorg_testset_save_CFLAGS"
   9455 
   9456 		eval supported=\$$cacheid
   9457 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9458 printf "%s\n" "$supported" >&6; }
   9459 		if test "$supported" = "yes" ; then
   9460 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9461 			found="yes"
   9462 		fi
   9463 	fi
   9464 
   9465 
   9466 
   9467 
   9468 
   9469 
   9470 
   9471 
   9472 
   9473 
   9474 
   9475 
   9476 
   9477 
   9478 
   9479 xorg_testset_save_CFLAGS="$CFLAGS"
   9480 
   9481 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9482 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9483 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9484 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9485 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9486 then :
   9487   printf %s "(cached) " >&6
   9488 else case e in #(
   9489   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9490 /* end confdefs.h.  */
   9491 int i;
   9492 _ACEOF
   9493 if ac_fn_c_try_compile "$LINENO"
   9494 then :
   9495   xorg_cv_cc_flag_unknown_warning_option=yes
   9496 else case e in #(
   9497   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9498 esac
   9499 fi
   9500 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9501 esac
   9502 fi
   9503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9504 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9505 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9506 	CFLAGS="$xorg_testset_save_CFLAGS"
   9507 fi
   9508 
   9509 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9510 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9511 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9512 	fi
   9513 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9514 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9515 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9516 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9517 then :
   9518   printf %s "(cached) " >&6
   9519 else case e in #(
   9520   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9521 /* end confdefs.h.  */
   9522 int i;
   9523 _ACEOF
   9524 if ac_fn_c_try_compile "$LINENO"
   9525 then :
   9526   xorg_cv_cc_flag_unused_command_line_argument=yes
   9527 else case e in #(
   9528   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9529 esac
   9530 fi
   9531 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9532 esac
   9533 fi
   9534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9535 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9536 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9537 	CFLAGS="$xorg_testset_save_CFLAGS"
   9538 fi
   9539 
   9540 found="no"
   9541 
   9542 	if test $found = "no" ; then
   9543 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9544 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9545 		fi
   9546 
   9547 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9548 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9549 		fi
   9550 
   9551 		CFLAGS="$CFLAGS -Wmain"
   9552 
   9553 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9554 printf %s "checking if $CC supports -Wmain... " >&6; }
   9555 		cacheid=xorg_cv_cc_flag__Wmain
   9556 		if eval test \${$cacheid+y}
   9557 then :
   9558   printf %s "(cached) " >&6
   9559 else case e in #(
   9560   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9561 /* end confdefs.h.  */
   9562 int i;
   9563 int
   9564 main (void)
   9565 {
   9566 
   9567   ;
   9568   return 0;
   9569 }
   9570 _ACEOF
   9571 if ac_fn_c_try_link "$LINENO"
   9572 then :
   9573   eval $cacheid=yes
   9574 else case e in #(
   9575   e) eval $cacheid=no ;;
   9576 esac
   9577 fi
   9578 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9579     conftest$ac_exeext conftest.$ac_ext ;;
   9580 esac
   9581 fi
   9582 
   9583 
   9584 		CFLAGS="$xorg_testset_save_CFLAGS"
   9585 
   9586 		eval supported=\$$cacheid
   9587 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9588 printf "%s\n" "$supported" >&6; }
   9589 		if test "$supported" = "yes" ; then
   9590 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9591 			found="yes"
   9592 		fi
   9593 	fi
   9594 
   9595 
   9596 
   9597 
   9598 
   9599 
   9600 
   9601 
   9602 
   9603 
   9604 
   9605 
   9606 
   9607 
   9608 
   9609 xorg_testset_save_CFLAGS="$CFLAGS"
   9610 
   9611 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9612 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9613 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9614 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9615 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9616 then :
   9617   printf %s "(cached) " >&6
   9618 else case e in #(
   9619   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9620 /* end confdefs.h.  */
   9621 int i;
   9622 _ACEOF
   9623 if ac_fn_c_try_compile "$LINENO"
   9624 then :
   9625   xorg_cv_cc_flag_unknown_warning_option=yes
   9626 else case e in #(
   9627   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9628 esac
   9629 fi
   9630 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9631 esac
   9632 fi
   9633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9634 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9635 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9636 	CFLAGS="$xorg_testset_save_CFLAGS"
   9637 fi
   9638 
   9639 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9640 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9641 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9642 	fi
   9643 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9644 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9645 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9646 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9647 then :
   9648   printf %s "(cached) " >&6
   9649 else case e in #(
   9650   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9651 /* end confdefs.h.  */
   9652 int i;
   9653 _ACEOF
   9654 if ac_fn_c_try_compile "$LINENO"
   9655 then :
   9656   xorg_cv_cc_flag_unused_command_line_argument=yes
   9657 else case e in #(
   9658   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9659 esac
   9660 fi
   9661 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9662 esac
   9663 fi
   9664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9665 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9666 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9667 	CFLAGS="$xorg_testset_save_CFLAGS"
   9668 fi
   9669 
   9670 found="no"
   9671 
   9672 	if test $found = "no" ; then
   9673 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9674 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9675 		fi
   9676 
   9677 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9678 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9679 		fi
   9680 
   9681 		CFLAGS="$CFLAGS -Wmissing-braces"
   9682 
   9683 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9684 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9685 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9686 		if eval test \${$cacheid+y}
   9687 then :
   9688   printf %s "(cached) " >&6
   9689 else case e in #(
   9690   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9691 /* end confdefs.h.  */
   9692 int i;
   9693 int
   9694 main (void)
   9695 {
   9696 
   9697   ;
   9698   return 0;
   9699 }
   9700 _ACEOF
   9701 if ac_fn_c_try_link "$LINENO"
   9702 then :
   9703   eval $cacheid=yes
   9704 else case e in #(
   9705   e) eval $cacheid=no ;;
   9706 esac
   9707 fi
   9708 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9709     conftest$ac_exeext conftest.$ac_ext ;;
   9710 esac
   9711 fi
   9712 
   9713 
   9714 		CFLAGS="$xorg_testset_save_CFLAGS"
   9715 
   9716 		eval supported=\$$cacheid
   9717 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9718 printf "%s\n" "$supported" >&6; }
   9719 		if test "$supported" = "yes" ; then
   9720 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9721 			found="yes"
   9722 		fi
   9723 	fi
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 xorg_testset_save_CFLAGS="$CFLAGS"
   9740 
   9741 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9742 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9743 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9744 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9745 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9746 then :
   9747   printf %s "(cached) " >&6
   9748 else case e in #(
   9749   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9750 /* end confdefs.h.  */
   9751 int i;
   9752 _ACEOF
   9753 if ac_fn_c_try_compile "$LINENO"
   9754 then :
   9755   xorg_cv_cc_flag_unknown_warning_option=yes
   9756 else case e in #(
   9757   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9758 esac
   9759 fi
   9760 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9761 esac
   9762 fi
   9763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9764 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9765 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9766 	CFLAGS="$xorg_testset_save_CFLAGS"
   9767 fi
   9768 
   9769 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9770 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9771 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9772 	fi
   9773 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9774 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9775 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9776 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9777 then :
   9778   printf %s "(cached) " >&6
   9779 else case e in #(
   9780   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9781 /* end confdefs.h.  */
   9782 int i;
   9783 _ACEOF
   9784 if ac_fn_c_try_compile "$LINENO"
   9785 then :
   9786   xorg_cv_cc_flag_unused_command_line_argument=yes
   9787 else case e in #(
   9788   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9789 esac
   9790 fi
   9791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9792 esac
   9793 fi
   9794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9795 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9796 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9797 	CFLAGS="$xorg_testset_save_CFLAGS"
   9798 fi
   9799 
   9800 found="no"
   9801 
   9802 	if test $found = "no" ; then
   9803 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9804 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9805 		fi
   9806 
   9807 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9808 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9809 		fi
   9810 
   9811 		CFLAGS="$CFLAGS -Wsequence-point"
   9812 
   9813 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9814 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9815 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9816 		if eval test \${$cacheid+y}
   9817 then :
   9818   printf %s "(cached) " >&6
   9819 else case e in #(
   9820   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9821 /* end confdefs.h.  */
   9822 int i;
   9823 int
   9824 main (void)
   9825 {
   9826 
   9827   ;
   9828   return 0;
   9829 }
   9830 _ACEOF
   9831 if ac_fn_c_try_link "$LINENO"
   9832 then :
   9833   eval $cacheid=yes
   9834 else case e in #(
   9835   e) eval $cacheid=no ;;
   9836 esac
   9837 fi
   9838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9839     conftest$ac_exeext conftest.$ac_ext ;;
   9840 esac
   9841 fi
   9842 
   9843 
   9844 		CFLAGS="$xorg_testset_save_CFLAGS"
   9845 
   9846 		eval supported=\$$cacheid
   9847 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9848 printf "%s\n" "$supported" >&6; }
   9849 		if test "$supported" = "yes" ; then
   9850 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9851 			found="yes"
   9852 		fi
   9853 	fi
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 xorg_testset_save_CFLAGS="$CFLAGS"
   9870 
   9871 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9872 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9873 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9874 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9875 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9876 then :
   9877   printf %s "(cached) " >&6
   9878 else case e in #(
   9879   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9880 /* end confdefs.h.  */
   9881 int i;
   9882 _ACEOF
   9883 if ac_fn_c_try_compile "$LINENO"
   9884 then :
   9885   xorg_cv_cc_flag_unknown_warning_option=yes
   9886 else case e in #(
   9887   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9888 esac
   9889 fi
   9890 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9891 esac
   9892 fi
   9893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9894 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9895 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9896 	CFLAGS="$xorg_testset_save_CFLAGS"
   9897 fi
   9898 
   9899 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9900 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9901 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9902 	fi
   9903 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9904 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9905 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9906 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9907 then :
   9908   printf %s "(cached) " >&6
   9909 else case e in #(
   9910   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9911 /* end confdefs.h.  */
   9912 int i;
   9913 _ACEOF
   9914 if ac_fn_c_try_compile "$LINENO"
   9915 then :
   9916   xorg_cv_cc_flag_unused_command_line_argument=yes
   9917 else case e in #(
   9918   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9919 esac
   9920 fi
   9921 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9922 esac
   9923 fi
   9924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9925 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9926 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9927 	CFLAGS="$xorg_testset_save_CFLAGS"
   9928 fi
   9929 
   9930 found="no"
   9931 
   9932 	if test $found = "no" ; then
   9933 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9934 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9935 		fi
   9936 
   9937 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9938 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9939 		fi
   9940 
   9941 		CFLAGS="$CFLAGS -Wreturn-type"
   9942 
   9943 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9944 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9945 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9946 		if eval test \${$cacheid+y}
   9947 then :
   9948   printf %s "(cached) " >&6
   9949 else case e in #(
   9950   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9951 /* end confdefs.h.  */
   9952 int i;
   9953 int
   9954 main (void)
   9955 {
   9956 
   9957   ;
   9958   return 0;
   9959 }
   9960 _ACEOF
   9961 if ac_fn_c_try_link "$LINENO"
   9962 then :
   9963   eval $cacheid=yes
   9964 else case e in #(
   9965   e) eval $cacheid=no ;;
   9966 esac
   9967 fi
   9968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9969     conftest$ac_exeext conftest.$ac_ext ;;
   9970 esac
   9971 fi
   9972 
   9973 
   9974 		CFLAGS="$xorg_testset_save_CFLAGS"
   9975 
   9976 		eval supported=\$$cacheid
   9977 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9978 printf "%s\n" "$supported" >&6; }
   9979 		if test "$supported" = "yes" ; then
   9980 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9981 			found="yes"
   9982 		fi
   9983 	fi
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 
   9999 xorg_testset_save_CFLAGS="$CFLAGS"
   10000 
   10001 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10002 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10003 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10004 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10005 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10006 then :
   10007   printf %s "(cached) " >&6
   10008 else case e in #(
   10009   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10010 /* end confdefs.h.  */
   10011 int i;
   10012 _ACEOF
   10013 if ac_fn_c_try_compile "$LINENO"
   10014 then :
   10015   xorg_cv_cc_flag_unknown_warning_option=yes
   10016 else case e in #(
   10017   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10018 esac
   10019 fi
   10020 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10021 esac
   10022 fi
   10023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10024 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10025 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10026 	CFLAGS="$xorg_testset_save_CFLAGS"
   10027 fi
   10028 
   10029 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10030 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10031 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10032 	fi
   10033 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10034 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10035 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10036 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10037 then :
   10038   printf %s "(cached) " >&6
   10039 else case e in #(
   10040   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10041 /* end confdefs.h.  */
   10042 int i;
   10043 _ACEOF
   10044 if ac_fn_c_try_compile "$LINENO"
   10045 then :
   10046   xorg_cv_cc_flag_unused_command_line_argument=yes
   10047 else case e in #(
   10048   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10049 esac
   10050 fi
   10051 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10052 esac
   10053 fi
   10054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10055 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10056 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10057 	CFLAGS="$xorg_testset_save_CFLAGS"
   10058 fi
   10059 
   10060 found="no"
   10061 
   10062 	if test $found = "no" ; then
   10063 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10064 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10065 		fi
   10066 
   10067 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10068 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10069 		fi
   10070 
   10071 		CFLAGS="$CFLAGS -Wtrigraphs"
   10072 
   10073 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10074 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10075 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10076 		if eval test \${$cacheid+y}
   10077 then :
   10078   printf %s "(cached) " >&6
   10079 else case e in #(
   10080   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10081 /* end confdefs.h.  */
   10082 int i;
   10083 int
   10084 main (void)
   10085 {
   10086 
   10087   ;
   10088   return 0;
   10089 }
   10090 _ACEOF
   10091 if ac_fn_c_try_link "$LINENO"
   10092 then :
   10093   eval $cacheid=yes
   10094 else case e in #(
   10095   e) eval $cacheid=no ;;
   10096 esac
   10097 fi
   10098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10099     conftest$ac_exeext conftest.$ac_ext ;;
   10100 esac
   10101 fi
   10102 
   10103 
   10104 		CFLAGS="$xorg_testset_save_CFLAGS"
   10105 
   10106 		eval supported=\$$cacheid
   10107 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10108 printf "%s\n" "$supported" >&6; }
   10109 		if test "$supported" = "yes" ; then
   10110 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10111 			found="yes"
   10112 		fi
   10113 	fi
   10114 
   10115 
   10116 
   10117 
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 
   10124 
   10125 
   10126 
   10127 
   10128 
   10129 xorg_testset_save_CFLAGS="$CFLAGS"
   10130 
   10131 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10132 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10133 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10134 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10135 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10136 then :
   10137   printf %s "(cached) " >&6
   10138 else case e in #(
   10139   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10140 /* end confdefs.h.  */
   10141 int i;
   10142 _ACEOF
   10143 if ac_fn_c_try_compile "$LINENO"
   10144 then :
   10145   xorg_cv_cc_flag_unknown_warning_option=yes
   10146 else case e in #(
   10147   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10148 esac
   10149 fi
   10150 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10151 esac
   10152 fi
   10153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10154 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10155 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10156 	CFLAGS="$xorg_testset_save_CFLAGS"
   10157 fi
   10158 
   10159 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10160 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10161 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10162 	fi
   10163 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10164 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10165 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10166 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10167 then :
   10168   printf %s "(cached) " >&6
   10169 else case e in #(
   10170   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10171 /* end confdefs.h.  */
   10172 int i;
   10173 _ACEOF
   10174 if ac_fn_c_try_compile "$LINENO"
   10175 then :
   10176   xorg_cv_cc_flag_unused_command_line_argument=yes
   10177 else case e in #(
   10178   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10179 esac
   10180 fi
   10181 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10182 esac
   10183 fi
   10184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10185 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10186 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10187 	CFLAGS="$xorg_testset_save_CFLAGS"
   10188 fi
   10189 
   10190 found="no"
   10191 
   10192 	if test $found = "no" ; then
   10193 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10194 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10195 		fi
   10196 
   10197 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10198 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10199 		fi
   10200 
   10201 		CFLAGS="$CFLAGS -Warray-bounds"
   10202 
   10203 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10204 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10205 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10206 		if eval test \${$cacheid+y}
   10207 then :
   10208   printf %s "(cached) " >&6
   10209 else case e in #(
   10210   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10211 /* end confdefs.h.  */
   10212 int i;
   10213 int
   10214 main (void)
   10215 {
   10216 
   10217   ;
   10218   return 0;
   10219 }
   10220 _ACEOF
   10221 if ac_fn_c_try_link "$LINENO"
   10222 then :
   10223   eval $cacheid=yes
   10224 else case e in #(
   10225   e) eval $cacheid=no ;;
   10226 esac
   10227 fi
   10228 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10229     conftest$ac_exeext conftest.$ac_ext ;;
   10230 esac
   10231 fi
   10232 
   10233 
   10234 		CFLAGS="$xorg_testset_save_CFLAGS"
   10235 
   10236 		eval supported=\$$cacheid
   10237 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10238 printf "%s\n" "$supported" >&6; }
   10239 		if test "$supported" = "yes" ; then
   10240 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10241 			found="yes"
   10242 		fi
   10243 	fi
   10244 
   10245 
   10246 
   10247 
   10248 
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 xorg_testset_save_CFLAGS="$CFLAGS"
   10260 
   10261 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10262 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10263 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10264 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10265 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10266 then :
   10267   printf %s "(cached) " >&6
   10268 else case e in #(
   10269   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10270 /* end confdefs.h.  */
   10271 int i;
   10272 _ACEOF
   10273 if ac_fn_c_try_compile "$LINENO"
   10274 then :
   10275   xorg_cv_cc_flag_unknown_warning_option=yes
   10276 else case e in #(
   10277   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10278 esac
   10279 fi
   10280 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10281 esac
   10282 fi
   10283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10284 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10285 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10286 	CFLAGS="$xorg_testset_save_CFLAGS"
   10287 fi
   10288 
   10289 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10290 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10291 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10292 	fi
   10293 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10294 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10295 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10296 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10297 then :
   10298   printf %s "(cached) " >&6
   10299 else case e in #(
   10300   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10301 /* end confdefs.h.  */
   10302 int i;
   10303 _ACEOF
   10304 if ac_fn_c_try_compile "$LINENO"
   10305 then :
   10306   xorg_cv_cc_flag_unused_command_line_argument=yes
   10307 else case e in #(
   10308   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10309 esac
   10310 fi
   10311 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10312 esac
   10313 fi
   10314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10315 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10316 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10317 	CFLAGS="$xorg_testset_save_CFLAGS"
   10318 fi
   10319 
   10320 found="no"
   10321 
   10322 	if test $found = "no" ; then
   10323 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10324 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10325 		fi
   10326 
   10327 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10328 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10329 		fi
   10330 
   10331 		CFLAGS="$CFLAGS -Wwrite-strings"
   10332 
   10333 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10334 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10335 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10336 		if eval test \${$cacheid+y}
   10337 then :
   10338   printf %s "(cached) " >&6
   10339 else case e in #(
   10340   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10341 /* end confdefs.h.  */
   10342 int i;
   10343 int
   10344 main (void)
   10345 {
   10346 
   10347   ;
   10348   return 0;
   10349 }
   10350 _ACEOF
   10351 if ac_fn_c_try_link "$LINENO"
   10352 then :
   10353   eval $cacheid=yes
   10354 else case e in #(
   10355   e) eval $cacheid=no ;;
   10356 esac
   10357 fi
   10358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10359     conftest$ac_exeext conftest.$ac_ext ;;
   10360 esac
   10361 fi
   10362 
   10363 
   10364 		CFLAGS="$xorg_testset_save_CFLAGS"
   10365 
   10366 		eval supported=\$$cacheid
   10367 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10368 printf "%s\n" "$supported" >&6; }
   10369 		if test "$supported" = "yes" ; then
   10370 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10371 			found="yes"
   10372 		fi
   10373 	fi
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 
   10387 
   10388 
   10389 xorg_testset_save_CFLAGS="$CFLAGS"
   10390 
   10391 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10392 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10393 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10394 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10395 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10396 then :
   10397   printf %s "(cached) " >&6
   10398 else case e in #(
   10399   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10400 /* end confdefs.h.  */
   10401 int i;
   10402 _ACEOF
   10403 if ac_fn_c_try_compile "$LINENO"
   10404 then :
   10405   xorg_cv_cc_flag_unknown_warning_option=yes
   10406 else case e in #(
   10407   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10408 esac
   10409 fi
   10410 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10411 esac
   10412 fi
   10413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10414 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10415 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10416 	CFLAGS="$xorg_testset_save_CFLAGS"
   10417 fi
   10418 
   10419 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10420 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10421 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10422 	fi
   10423 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10424 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10425 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10426 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10427 then :
   10428   printf %s "(cached) " >&6
   10429 else case e in #(
   10430   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10431 /* end confdefs.h.  */
   10432 int i;
   10433 _ACEOF
   10434 if ac_fn_c_try_compile "$LINENO"
   10435 then :
   10436   xorg_cv_cc_flag_unused_command_line_argument=yes
   10437 else case e in #(
   10438   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10439 esac
   10440 fi
   10441 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10442 esac
   10443 fi
   10444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10445 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10446 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10447 	CFLAGS="$xorg_testset_save_CFLAGS"
   10448 fi
   10449 
   10450 found="no"
   10451 
   10452 	if test $found = "no" ; then
   10453 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10454 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10455 		fi
   10456 
   10457 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10458 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10459 		fi
   10460 
   10461 		CFLAGS="$CFLAGS -Waddress"
   10462 
   10463 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10464 printf %s "checking if $CC supports -Waddress... " >&6; }
   10465 		cacheid=xorg_cv_cc_flag__Waddress
   10466 		if eval test \${$cacheid+y}
   10467 then :
   10468   printf %s "(cached) " >&6
   10469 else case e in #(
   10470   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10471 /* end confdefs.h.  */
   10472 int i;
   10473 int
   10474 main (void)
   10475 {
   10476 
   10477   ;
   10478   return 0;
   10479 }
   10480 _ACEOF
   10481 if ac_fn_c_try_link "$LINENO"
   10482 then :
   10483   eval $cacheid=yes
   10484 else case e in #(
   10485   e) eval $cacheid=no ;;
   10486 esac
   10487 fi
   10488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10489     conftest$ac_exeext conftest.$ac_ext ;;
   10490 esac
   10491 fi
   10492 
   10493 
   10494 		CFLAGS="$xorg_testset_save_CFLAGS"
   10495 
   10496 		eval supported=\$$cacheid
   10497 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10498 printf "%s\n" "$supported" >&6; }
   10499 		if test "$supported" = "yes" ; then
   10500 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10501 			found="yes"
   10502 		fi
   10503 	fi
   10504 
   10505 
   10506 
   10507 
   10508 
   10509 
   10510 
   10511 
   10512 
   10513 
   10514 
   10515 
   10516 
   10517 
   10518 
   10519 xorg_testset_save_CFLAGS="$CFLAGS"
   10520 
   10521 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10522 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10523 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10524 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10525 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10526 then :
   10527   printf %s "(cached) " >&6
   10528 else case e in #(
   10529   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10530 /* end confdefs.h.  */
   10531 int i;
   10532 _ACEOF
   10533 if ac_fn_c_try_compile "$LINENO"
   10534 then :
   10535   xorg_cv_cc_flag_unknown_warning_option=yes
   10536 else case e in #(
   10537   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10538 esac
   10539 fi
   10540 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10541 esac
   10542 fi
   10543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10544 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10545 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10546 	CFLAGS="$xorg_testset_save_CFLAGS"
   10547 fi
   10548 
   10549 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10550 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10551 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10552 	fi
   10553 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10554 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10555 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10556 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10557 then :
   10558   printf %s "(cached) " >&6
   10559 else case e in #(
   10560   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10561 /* end confdefs.h.  */
   10562 int i;
   10563 _ACEOF
   10564 if ac_fn_c_try_compile "$LINENO"
   10565 then :
   10566   xorg_cv_cc_flag_unused_command_line_argument=yes
   10567 else case e in #(
   10568   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10569 esac
   10570 fi
   10571 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10572 esac
   10573 fi
   10574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10575 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10576 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10577 	CFLAGS="$xorg_testset_save_CFLAGS"
   10578 fi
   10579 
   10580 found="no"
   10581 
   10582 	if test $found = "no" ; then
   10583 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10584 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10585 		fi
   10586 
   10587 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10588 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10589 		fi
   10590 
   10591 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10592 
   10593 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10594 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10595 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10596 		if eval test \${$cacheid+y}
   10597 then :
   10598   printf %s "(cached) " >&6
   10599 else case e in #(
   10600   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10601 /* end confdefs.h.  */
   10602 int i;
   10603 int
   10604 main (void)
   10605 {
   10606 
   10607   ;
   10608   return 0;
   10609 }
   10610 _ACEOF
   10611 if ac_fn_c_try_link "$LINENO"
   10612 then :
   10613   eval $cacheid=yes
   10614 else case e in #(
   10615   e) eval $cacheid=no ;;
   10616 esac
   10617 fi
   10618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10619     conftest$ac_exeext conftest.$ac_ext ;;
   10620 esac
   10621 fi
   10622 
   10623 
   10624 		CFLAGS="$xorg_testset_save_CFLAGS"
   10625 
   10626 		eval supported=\$$cacheid
   10627 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10628 printf "%s\n" "$supported" >&6; }
   10629 		if test "$supported" = "yes" ; then
   10630 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10631 			found="yes"
   10632 		fi
   10633 	fi
   10634 
   10635 
   10636 
   10637 
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 xorg_testset_save_CFLAGS="$CFLAGS"
   10650 
   10651 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10652 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10653 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10654 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10655 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10656 then :
   10657   printf %s "(cached) " >&6
   10658 else case e in #(
   10659   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10660 /* end confdefs.h.  */
   10661 int i;
   10662 _ACEOF
   10663 if ac_fn_c_try_compile "$LINENO"
   10664 then :
   10665   xorg_cv_cc_flag_unknown_warning_option=yes
   10666 else case e in #(
   10667   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10668 esac
   10669 fi
   10670 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10671 esac
   10672 fi
   10673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10674 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10675 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10676 	CFLAGS="$xorg_testset_save_CFLAGS"
   10677 fi
   10678 
   10679 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10680 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10681 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10682 	fi
   10683 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10684 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10685 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10686 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10687 then :
   10688   printf %s "(cached) " >&6
   10689 else case e in #(
   10690   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10691 /* end confdefs.h.  */
   10692 int i;
   10693 _ACEOF
   10694 if ac_fn_c_try_compile "$LINENO"
   10695 then :
   10696   xorg_cv_cc_flag_unused_command_line_argument=yes
   10697 else case e in #(
   10698   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10699 esac
   10700 fi
   10701 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10702 esac
   10703 fi
   10704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10705 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10706 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10707 	CFLAGS="$xorg_testset_save_CFLAGS"
   10708 fi
   10709 
   10710 found="no"
   10711 
   10712 	if test $found = "no" ; then
   10713 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10714 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10715 		fi
   10716 
   10717 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10718 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10719 		fi
   10720 
   10721 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10722 
   10723 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10724 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10725 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10726 		if eval test \${$cacheid+y}
   10727 then :
   10728   printf %s "(cached) " >&6
   10729 else case e in #(
   10730   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10731 /* end confdefs.h.  */
   10732 int i;
   10733 int
   10734 main (void)
   10735 {
   10736 
   10737   ;
   10738   return 0;
   10739 }
   10740 _ACEOF
   10741 if ac_fn_c_try_link "$LINENO"
   10742 then :
   10743   eval $cacheid=yes
   10744 else case e in #(
   10745   e) eval $cacheid=no ;;
   10746 esac
   10747 fi
   10748 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10749     conftest$ac_exeext conftest.$ac_ext ;;
   10750 esac
   10751 fi
   10752 
   10753 
   10754 		CFLAGS="$xorg_testset_save_CFLAGS"
   10755 
   10756 		eval supported=\$$cacheid
   10757 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10758 printf "%s\n" "$supported" >&6; }
   10759 		if test "$supported" = "yes" ; then
   10760 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10761 			found="yes"
   10762 		fi
   10763 	fi
   10764 
   10765 
   10766 fi
   10767 
   10768 
   10769 
   10770 
   10771 
   10772 
   10773 
   10774 		CWARNFLAGS="$BASE_CFLAGS"
   10775 		if  test "x$GCC" = xyes ; then
   10776 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10777 		fi
   10778 
   10779 
   10780 
   10781 
   10782 
   10783 
   10784 
   10785 
   10786 # Check whether --enable-strict-compilation was given.
   10787 if test ${enable_strict_compilation+y}
   10788 then :
   10789   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10790 else case e in #(
   10791   e) STRICT_COMPILE=no ;;
   10792 esac
   10793 fi
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 
   10800 STRICT_CFLAGS=""
   10801 
   10802 
   10803 
   10804 
   10805 
   10806 
   10807 
   10808 
   10809 
   10810 
   10811 
   10812 
   10813 
   10814 xorg_testset_save_CFLAGS="$CFLAGS"
   10815 
   10816 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10817 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10818 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10819 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10820 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10821 then :
   10822   printf %s "(cached) " >&6
   10823 else case e in #(
   10824   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10825 /* end confdefs.h.  */
   10826 int i;
   10827 _ACEOF
   10828 if ac_fn_c_try_compile "$LINENO"
   10829 then :
   10830   xorg_cv_cc_flag_unknown_warning_option=yes
   10831 else case e in #(
   10832   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10833 esac
   10834 fi
   10835 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10836 esac
   10837 fi
   10838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10839 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10840 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10841 	CFLAGS="$xorg_testset_save_CFLAGS"
   10842 fi
   10843 
   10844 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10845 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10846 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10847 	fi
   10848 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10849 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10850 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10851 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10852 then :
   10853   printf %s "(cached) " >&6
   10854 else case e in #(
   10855   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10856 /* end confdefs.h.  */
   10857 int i;
   10858 _ACEOF
   10859 if ac_fn_c_try_compile "$LINENO"
   10860 then :
   10861   xorg_cv_cc_flag_unused_command_line_argument=yes
   10862 else case e in #(
   10863   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10864 esac
   10865 fi
   10866 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10867 esac
   10868 fi
   10869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10870 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10871 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10872 	CFLAGS="$xorg_testset_save_CFLAGS"
   10873 fi
   10874 
   10875 found="no"
   10876 
   10877 	if test $found = "no" ; then
   10878 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10879 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10880 		fi
   10881 
   10882 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10883 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10884 		fi
   10885 
   10886 		CFLAGS="$CFLAGS -pedantic"
   10887 
   10888 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10889 printf %s "checking if $CC supports -pedantic... " >&6; }
   10890 		cacheid=xorg_cv_cc_flag__pedantic
   10891 		if eval test \${$cacheid+y}
   10892 then :
   10893   printf %s "(cached) " >&6
   10894 else case e in #(
   10895   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10896 /* end confdefs.h.  */
   10897 int i;
   10898 int
   10899 main (void)
   10900 {
   10901 
   10902   ;
   10903   return 0;
   10904 }
   10905 _ACEOF
   10906 if ac_fn_c_try_link "$LINENO"
   10907 then :
   10908   eval $cacheid=yes
   10909 else case e in #(
   10910   e) eval $cacheid=no ;;
   10911 esac
   10912 fi
   10913 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10914     conftest$ac_exeext conftest.$ac_ext ;;
   10915 esac
   10916 fi
   10917 
   10918 
   10919 		CFLAGS="$xorg_testset_save_CFLAGS"
   10920 
   10921 		eval supported=\$$cacheid
   10922 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10923 printf "%s\n" "$supported" >&6; }
   10924 		if test "$supported" = "yes" ; then
   10925 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10926 			found="yes"
   10927 		fi
   10928 	fi
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 
   10943 
   10944 xorg_testset_save_CFLAGS="$CFLAGS"
   10945 
   10946 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10947 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10948 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10949 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10950 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10951 then :
   10952   printf %s "(cached) " >&6
   10953 else case e in #(
   10954   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10955 /* end confdefs.h.  */
   10956 int i;
   10957 _ACEOF
   10958 if ac_fn_c_try_compile "$LINENO"
   10959 then :
   10960   xorg_cv_cc_flag_unknown_warning_option=yes
   10961 else case e in #(
   10962   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10963 esac
   10964 fi
   10965 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10966 esac
   10967 fi
   10968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10969 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10970 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10971 	CFLAGS="$xorg_testset_save_CFLAGS"
   10972 fi
   10973 
   10974 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10975 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10976 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10977 	fi
   10978 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10979 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10980 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10981 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10982 then :
   10983   printf %s "(cached) " >&6
   10984 else case e in #(
   10985   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10986 /* end confdefs.h.  */
   10987 int i;
   10988 _ACEOF
   10989 if ac_fn_c_try_compile "$LINENO"
   10990 then :
   10991   xorg_cv_cc_flag_unused_command_line_argument=yes
   10992 else case e in #(
   10993   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10994 esac
   10995 fi
   10996 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10997 esac
   10998 fi
   10999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11000 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11001 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11002 	CFLAGS="$xorg_testset_save_CFLAGS"
   11003 fi
   11004 
   11005 found="no"
   11006 
   11007 	if test $found = "no" ; then
   11008 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11009 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11010 		fi
   11011 
   11012 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11013 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11014 		fi
   11015 
   11016 		CFLAGS="$CFLAGS -Werror"
   11017 
   11018 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11019 printf %s "checking if $CC supports -Werror... " >&6; }
   11020 		cacheid=xorg_cv_cc_flag__Werror
   11021 		if eval test \${$cacheid+y}
   11022 then :
   11023   printf %s "(cached) " >&6
   11024 else case e in #(
   11025   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11026 /* end confdefs.h.  */
   11027 int i;
   11028 int
   11029 main (void)
   11030 {
   11031 
   11032   ;
   11033   return 0;
   11034 }
   11035 _ACEOF
   11036 if ac_fn_c_try_link "$LINENO"
   11037 then :
   11038   eval $cacheid=yes
   11039 else case e in #(
   11040   e) eval $cacheid=no ;;
   11041 esac
   11042 fi
   11043 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11044     conftest$ac_exeext conftest.$ac_ext ;;
   11045 esac
   11046 fi
   11047 
   11048 
   11049 		CFLAGS="$xorg_testset_save_CFLAGS"
   11050 
   11051 		eval supported=\$$cacheid
   11052 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11053 printf "%s\n" "$supported" >&6; }
   11054 		if test "$supported" = "yes" ; then
   11055 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11056 			found="yes"
   11057 		fi
   11058 	fi
   11059 
   11060 	if test $found = "no" ; then
   11061 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11062 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11063 		fi
   11064 
   11065 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11066 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11067 		fi
   11068 
   11069 		CFLAGS="$CFLAGS -errwarn"
   11070 
   11071 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11072 printf %s "checking if $CC supports -errwarn... " >&6; }
   11073 		cacheid=xorg_cv_cc_flag__errwarn
   11074 		if eval test \${$cacheid+y}
   11075 then :
   11076   printf %s "(cached) " >&6
   11077 else case e in #(
   11078   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11079 /* end confdefs.h.  */
   11080 int i;
   11081 int
   11082 main (void)
   11083 {
   11084 
   11085   ;
   11086   return 0;
   11087 }
   11088 _ACEOF
   11089 if ac_fn_c_try_link "$LINENO"
   11090 then :
   11091   eval $cacheid=yes
   11092 else case e in #(
   11093   e) eval $cacheid=no ;;
   11094 esac
   11095 fi
   11096 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11097     conftest$ac_exeext conftest.$ac_ext ;;
   11098 esac
   11099 fi
   11100 
   11101 
   11102 		CFLAGS="$xorg_testset_save_CFLAGS"
   11103 
   11104 		eval supported=\$$cacheid
   11105 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11106 printf "%s\n" "$supported" >&6; }
   11107 		if test "$supported" = "yes" ; then
   11108 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11109 			found="yes"
   11110 		fi
   11111 	fi
   11112 
   11113 
   11114 
   11115 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11116 # activate it with -Werror, so we add it here explicitly.
   11117 
   11118 
   11119 
   11120 
   11121 
   11122 
   11123 
   11124 
   11125 
   11126 
   11127 
   11128 
   11129 
   11130 xorg_testset_save_CFLAGS="$CFLAGS"
   11131 
   11132 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11133 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11134 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11135 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11136 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11137 then :
   11138   printf %s "(cached) " >&6
   11139 else case e in #(
   11140   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11141 /* end confdefs.h.  */
   11142 int i;
   11143 _ACEOF
   11144 if ac_fn_c_try_compile "$LINENO"
   11145 then :
   11146   xorg_cv_cc_flag_unknown_warning_option=yes
   11147 else case e in #(
   11148   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11149 esac
   11150 fi
   11151 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11152 esac
   11153 fi
   11154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11155 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11156 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11157 	CFLAGS="$xorg_testset_save_CFLAGS"
   11158 fi
   11159 
   11160 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11161 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11162 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11163 	fi
   11164 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11165 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11166 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11167 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11168 then :
   11169   printf %s "(cached) " >&6
   11170 else case e in #(
   11171   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11172 /* end confdefs.h.  */
   11173 int i;
   11174 _ACEOF
   11175 if ac_fn_c_try_compile "$LINENO"
   11176 then :
   11177   xorg_cv_cc_flag_unused_command_line_argument=yes
   11178 else case e in #(
   11179   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11180 esac
   11181 fi
   11182 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11183 esac
   11184 fi
   11185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11186 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11187 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11188 	CFLAGS="$xorg_testset_save_CFLAGS"
   11189 fi
   11190 
   11191 found="no"
   11192 
   11193 	if test $found = "no" ; then
   11194 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11195 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11196 		fi
   11197 
   11198 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11199 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11200 		fi
   11201 
   11202 		CFLAGS="$CFLAGS -Werror=attributes"
   11203 
   11204 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11205 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11206 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11207 		if eval test \${$cacheid+y}
   11208 then :
   11209   printf %s "(cached) " >&6
   11210 else case e in #(
   11211   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11212 /* end confdefs.h.  */
   11213 int i;
   11214 int
   11215 main (void)
   11216 {
   11217 
   11218   ;
   11219   return 0;
   11220 }
   11221 _ACEOF
   11222 if ac_fn_c_try_link "$LINENO"
   11223 then :
   11224   eval $cacheid=yes
   11225 else case e in #(
   11226   e) eval $cacheid=no ;;
   11227 esac
   11228 fi
   11229 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11230     conftest$ac_exeext conftest.$ac_ext ;;
   11231 esac
   11232 fi
   11233 
   11234 
   11235 		CFLAGS="$xorg_testset_save_CFLAGS"
   11236 
   11237 		eval supported=\$$cacheid
   11238 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11239 printf "%s\n" "$supported" >&6; }
   11240 		if test "$supported" = "yes" ; then
   11241 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11242 			found="yes"
   11243 		fi
   11244 	fi
   11245 
   11246 
   11247 
   11248 if test "x$STRICT_COMPILE" = "xyes"; then
   11249     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11250     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11251 fi
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 
   11259 
   11260 cat >>confdefs.h <<_ACEOF
   11261 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11262 _ACEOF
   11263 
   11264 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11265 	if test "x$PVM" = "x"; then
   11266 		PVM="0"
   11267 	fi
   11268 
   11269 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11270 
   11271 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11272 	if test "x$PVP" = "x"; then
   11273 		PVP="0"
   11274 	fi
   11275 
   11276 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11277 
   11278 
   11279 
   11280 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11281 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11282 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11283 touch \$(top_srcdir)/ChangeLog; \
   11284 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11285 
   11286 
   11287 
   11288 
   11289 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11290 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11291 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11292 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11293 touch \$(top_srcdir)/INSTALL; \
   11294 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11295 
   11296 
   11297 
   11298 
   11299 
   11300 
   11301 case $host_os in
   11302     solaris*)
   11303         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11304         # check for a man page file found in later versions that use
   11305         # traditional section numbers instead
   11306         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11307 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11308 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11309 then :
   11310   printf %s "(cached) " >&6
   11311 else case e in #(
   11312   e) test "$cross_compiling" = yes &&
   11313   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11314 if test -r "/usr/share/man/man7/attributes.7"; then
   11315   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11316 else
   11317   ac_cv_file__usr_share_man_man7_attributes_7=no
   11318 fi ;;
   11319 esac
   11320 fi
   11321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11322 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11323 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11324 then :
   11325   SYSV_MAN_SECTIONS=false
   11326 else case e in #(
   11327   e) SYSV_MAN_SECTIONS=true ;;
   11328 esac
   11329 fi
   11330 
   11331         ;;
   11332     *) SYSV_MAN_SECTIONS=false ;;
   11333 esac
   11334 
   11335 if test x$APP_MAN_SUFFIX = x    ; then
   11336     APP_MAN_SUFFIX=1
   11337 fi
   11338 if test x$APP_MAN_DIR = x    ; then
   11339     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11340 fi
   11341 
   11342 if test x$LIB_MAN_SUFFIX = x    ; then
   11343     LIB_MAN_SUFFIX=3
   11344 fi
   11345 if test x$LIB_MAN_DIR = x    ; then
   11346     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11347 fi
   11348 
   11349 if test x$FILE_MAN_SUFFIX = x    ; then
   11350     case $SYSV_MAN_SECTIONS in
   11351 	true)				FILE_MAN_SUFFIX=4  ;;
   11352 	*)				FILE_MAN_SUFFIX=5  ;;
   11353     esac
   11354 fi
   11355 if test x$FILE_MAN_DIR = x    ; then
   11356     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11357 fi
   11358 
   11359 if test x$MISC_MAN_SUFFIX = x    ; then
   11360     case $SYSV_MAN_SECTIONS in
   11361 	true)				MISC_MAN_SUFFIX=5  ;;
   11362 	*)				MISC_MAN_SUFFIX=7  ;;
   11363     esac
   11364 fi
   11365 if test x$MISC_MAN_DIR = x    ; then
   11366     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11367 fi
   11368 
   11369 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11370     case $SYSV_MAN_SECTIONS in
   11371 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11372 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11373     esac
   11374 fi
   11375 if test x$DRIVER_MAN_DIR = x    ; then
   11376     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11377 fi
   11378 
   11379 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11380     case $SYSV_MAN_SECTIONS in
   11381 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11382 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11383     esac
   11384 fi
   11385 if test x$ADMIN_MAN_DIR = x    ; then
   11386     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11387 fi
   11388 
   11389 
   11390 
   11391 
   11392 
   11393 
   11394 
   11395 
   11396 
   11397 
   11398 
   11399 
   11400 
   11401 
   11402 
   11403 XORG_MAN_PAGE="X Version 11"
   11404 
   11405 MAN_SUBSTS="\
   11406 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11407 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11408 	-e 's|__xservername__|Xorg|g' \
   11409 	-e 's|__xconfigfile__|xorg.conf|g' \
   11410 	-e 's|__projectroot__|\$(prefix)|g' \
   11411 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11412 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11413 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11414 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11415 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11416 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11417 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11418 
   11419 
   11420 
   11421 
   11422 AM_DEFAULT_VERBOSITY=0
   11423 
   11424 
   11425 
   11426 # Checks for pkg-config packages
   11427 
   11428 pkg_failed=no
   11429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XWUD" >&5
   11430 printf %s "checking for XWUD... " >&6; }
   11431 
   11432 if test -n "$XWUD_CFLAGS"; then
   11433     pkg_cv_XWUD_CFLAGS="$XWUD_CFLAGS"
   11434  elif test -n "$PKG_CONFIG"; then
   11435     if test -n "$PKG_CONFIG" && \
   11436     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.25\""; } >&5
   11437   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.25") 2>&5
   11438   ac_status=$?
   11439   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11440   test $ac_status = 0; }; then
   11441   pkg_cv_XWUD_CFLAGS=`$PKG_CONFIG --cflags "x11 xproto >= 7.0.25" 2>/dev/null`
   11442 		      test "x$?" != "x0" && pkg_failed=yes
   11443 else
   11444   pkg_failed=yes
   11445 fi
   11446  else
   11447     pkg_failed=untried
   11448 fi
   11449 if test -n "$XWUD_LIBS"; then
   11450     pkg_cv_XWUD_LIBS="$XWUD_LIBS"
   11451  elif test -n "$PKG_CONFIG"; then
   11452     if test -n "$PKG_CONFIG" && \
   11453     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.25\""; } >&5
   11454   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.25") 2>&5
   11455   ac_status=$?
   11456   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11457   test $ac_status = 0; }; then
   11458   pkg_cv_XWUD_LIBS=`$PKG_CONFIG --libs "x11 xproto >= 7.0.25" 2>/dev/null`
   11459 		      test "x$?" != "x0" && pkg_failed=yes
   11460 else
   11461   pkg_failed=yes
   11462 fi
   11463  else
   11464     pkg_failed=untried
   11465 fi
   11466 
   11467 
   11468 
   11469 if test $pkg_failed = yes; then
   11470    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11471 printf "%s\n" "no" >&6; }
   11472 
   11473 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11474         _pkg_short_errors_supported=yes
   11475 else
   11476         _pkg_short_errors_supported=no
   11477 fi
   11478         if test $_pkg_short_errors_supported = yes; then
   11479 	        XWUD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xproto >= 7.0.25" 2>&1`
   11480         else
   11481 	        XWUD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xproto >= 7.0.25" 2>&1`
   11482         fi
   11483 	# Put the nasty error message in config.log where it belongs
   11484 	echo "$XWUD_PKG_ERRORS" >&5
   11485 
   11486 	as_fn_error $? "Package requirements (x11 xproto >= 7.0.25) were not met:
   11487 
   11488 $XWUD_PKG_ERRORS
   11489 
   11490 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11491 installed software in a non-standard prefix.
   11492 
   11493 Alternatively, you may set the environment variables XWUD_CFLAGS
   11494 and XWUD_LIBS to avoid the need to call pkg-config.
   11495 See the pkg-config man page for more details." "$LINENO" 5
   11496 elif test $pkg_failed = untried; then
   11497      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11498 printf "%s\n" "no" >&6; }
   11499 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11500 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   11501 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11502 is in your PATH or set the PKG_CONFIG environment variable to the full
   11503 path to pkg-config.
   11504 
   11505 Alternatively, you may set the environment variables XWUD_CFLAGS
   11506 and XWUD_LIBS to avoid the need to call pkg-config.
   11507 See the pkg-config man page for more details.
   11508 
   11509 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11510 See 'config.log' for more details" "$LINENO" 5; }
   11511 else
   11512 	XWUD_CFLAGS=$pkg_cv_XWUD_CFLAGS
   11513 	XWUD_LIBS=$pkg_cv_XWUD_LIBS
   11514         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11515 printf "%s\n" "yes" >&6; }
   11516 
   11517 fi
   11518 
   11519 ac_config_files="$ac_config_files Makefile man/Makefile"
   11520 
   11521 cat >confcache <<\_ACEOF
   11522 # This file is a shell script that caches the results of configure
   11523 # tests run on this system so they can be shared between configure
   11524 # scripts and configure runs, see configure's option --config-cache.
   11525 # It is not useful on other systems.  If it contains results you don't
   11526 # want to keep, you may remove or edit it.
   11527 #
   11528 # config.status only pays attention to the cache file if you give it
   11529 # the --recheck option to rerun configure.
   11530 #
   11531 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   11532 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   11533 # following values.
   11534 
   11535 _ACEOF
   11536 
   11537 # The following way of writing the cache mishandles newlines in values,
   11538 # but we know of no workaround that is simple, portable, and efficient.
   11539 # So, we kill variables containing newlines.
   11540 # Ultrix sh set writes to stderr and can't be redirected directly,
   11541 # and sets the high bit in the cache file unless we assign to the vars.
   11542 (
   11543   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11544     eval ac_val=\$$ac_var
   11545     case $ac_val in #(
   11546     *${as_nl}*)
   11547       case $ac_var in #(
   11548       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11549 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11550       esac
   11551       case $ac_var in #(
   11552       _ | IFS | as_nl) ;; #(
   11553       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11554       *) { eval $ac_var=; unset $ac_var;} ;;
   11555       esac ;;
   11556     esac
   11557   done
   11558 
   11559   (set) 2>&1 |
   11560     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11561     *${as_nl}ac_space=\ *)
   11562       # 'set' does not quote correctly, so add quotes: double-quote
   11563       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11564       sed -n \
   11565 	"s/'/'\\\\''/g;
   11566 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11567       ;; #(
   11568     *)
   11569       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   11570       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11571       ;;
   11572     esac |
   11573     sort
   11574 ) |
   11575   sed '
   11576      /^ac_cv_env_/b end
   11577      t clear
   11578      :clear
   11579      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11580      t end
   11581      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11582      :end' >>confcache
   11583 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11584   if test -w "$cache_file"; then
   11585     if test "x$cache_file" != "x/dev/null"; then
   11586       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11587 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11588       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11589 	cat confcache >"$cache_file"
   11590       else
   11591         case $cache_file in #(
   11592         */* | ?:*)
   11593 	  mv -f confcache "$cache_file"$$ &&
   11594 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11595         *)
   11596 	  mv -f confcache "$cache_file" ;;
   11597 	esac
   11598       fi
   11599     fi
   11600   else
   11601     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11602 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11603   fi
   11604 fi
   11605 rm -f confcache
   11606 
   11607 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11608 # Let make expand exec_prefix.
   11609 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11610 
   11611 DEFS=-DHAVE_CONFIG_H
   11612 
   11613 ac_libobjs=
   11614 ac_ltlibobjs=
   11615 U=
   11616 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11617   # 1. Remove the extension, and $U if already installed.
   11618   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11619   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   11620   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11621   #    will be set to the directory where LIBOBJS objects are built.
   11622   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11623   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11624 done
   11625 LIBOBJS=$ac_libobjs
   11626 
   11627 LTLIBOBJS=$ac_ltlibobjs
   11628 
   11629 
   11630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11631 printf %s "checking that generated files are newer than configure... " >&6; }
   11632    if test -n "$am_sleep_pid"; then
   11633      # Hide warnings about reused PIDs.
   11634      wait $am_sleep_pid 2>/dev/null
   11635    fi
   11636    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11637 printf "%s\n" "done" >&6; }
   11638 case $enable_silent_rules in # (((
   11639   yes) AM_DEFAULT_VERBOSITY=0;;
   11640    no) AM_DEFAULT_VERBOSITY=1;;
   11641 esac
   11642 if test $am_cv_make_support_nested_variables = yes; then
   11643     AM_V='$(V)'
   11644   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11645 else
   11646   AM_V=$AM_DEFAULT_VERBOSITY
   11647   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11648 fi
   11649 
   11650  if test -n "$EXEEXT"; then
   11651   am__EXEEXT_TRUE=
   11652   am__EXEEXT_FALSE='#'
   11653 else
   11654   am__EXEEXT_TRUE='#'
   11655   am__EXEEXT_FALSE=
   11656 fi
   11657 
   11658 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11659   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11660 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11661 fi
   11662 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11663   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11664 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11665 fi
   11666 
   11667 : "${CONFIG_STATUS=./config.status}"
   11668 ac_write_fail=0
   11669 ac_clean_files_save=$ac_clean_files
   11670 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11672 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   11673 as_write_fail=0
   11674 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11675 #! $SHELL
   11676 # Generated by $as_me.
   11677 # Run this file to recreate the current configuration.
   11678 # Compiler output produced by configure, useful for debugging
   11679 # configure, is in config.log if it exists.
   11680 
   11681 debug=false
   11682 ac_cs_recheck=false
   11683 ac_cs_silent=false
   11684 
   11685 SHELL=\${CONFIG_SHELL-$SHELL}
   11686 export SHELL
   11687 _ASEOF
   11688 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11689 ## -------------------- ##
   11690 ## M4sh Initialization. ##
   11691 ## -------------------- ##
   11692 
   11693 # Be more Bourne compatible
   11694 DUALCASE=1; export DUALCASE # for MKS sh
   11695 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   11696 then :
   11697   emulate sh
   11698   NULLCMD=:
   11699   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11700   # is contrary to our usage.  Disable this feature.
   11701   alias -g '${1+"$@"}'='"$@"'
   11702   setopt NO_GLOB_SUBST
   11703 else case e in #(
   11704   e) case `(set -o) 2>/dev/null` in #(
   11705   *posix*) :
   11706     set -o posix ;; #(
   11707   *) :
   11708      ;;
   11709 esac ;;
   11710 esac
   11711 fi
   11712 
   11713 
   11714 
   11715 # Reset variables that may have inherited troublesome values from
   11716 # the environment.
   11717 
   11718 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   11719 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   11720 # side effect of setting IFS to empty, thus disabling word splitting.)
   11721 # Quoting is to prevent editors from complaining about space-tab.
   11722 as_nl='
   11723 '
   11724 export as_nl
   11725 IFS=" ""	$as_nl"
   11726 
   11727 PS1='$ '
   11728 PS2='> '
   11729 PS4='+ '
   11730 
   11731 # Ensure predictable behavior from utilities with locale-dependent output.
   11732 LC_ALL=C
   11733 export LC_ALL
   11734 LANGUAGE=C
   11735 export LANGUAGE
   11736 
   11737 # We cannot yet rely on "unset" to work, but we need these variables
   11738 # to be unset--not just set to an empty or harmless value--now, to
   11739 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   11740 # also avoids known problems related to "unset" and subshell syntax
   11741 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   11742 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   11743 do eval test \${$as_var+y} \
   11744   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11745 done
   11746 
   11747 # Ensure that fds 0, 1, and 2 are open.
   11748 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   11749 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   11750 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   11751 
   11752 # The user is always right.
   11753 if ${PATH_SEPARATOR+false} :; then
   11754   PATH_SEPARATOR=:
   11755   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11756     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11757       PATH_SEPARATOR=';'
   11758   }
   11759 fi
   11760 
   11761 
   11762 # Find who we are.  Look in the path if we contain no directory separator.
   11763 as_myself=
   11764 case $0 in #((
   11765   *[\\/]* ) as_myself=$0 ;;
   11766   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11767 for as_dir in $PATH
   11768 do
   11769   IFS=$as_save_IFS
   11770   case $as_dir in #(((
   11771     '') as_dir=./ ;;
   11772     */) ;;
   11773     *) as_dir=$as_dir/ ;;
   11774   esac
   11775     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   11776   done
   11777 IFS=$as_save_IFS
   11778 
   11779      ;;
   11780 esac
   11781 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   11782 # in which case we are not to be found in the path.
   11783 if test "x$as_myself" = x; then
   11784   as_myself=$0
   11785 fi
   11786 if test ! -f "$as_myself"; then
   11787   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11788   exit 1
   11789 fi
   11790 
   11791 
   11792 
   11793 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11794 # ----------------------------------------
   11795 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11796 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11797 # script with STATUS, using 1 if that was 0.
   11798 as_fn_error ()
   11799 {
   11800   as_status=$1; test $as_status -eq 0 && as_status=1
   11801   if test "$4"; then
   11802     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11803     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11804   fi
   11805   printf "%s\n" "$as_me: error: $2" >&2
   11806   as_fn_exit $as_status
   11807 } # as_fn_error
   11808 
   11809 
   11810 # as_fn_set_status STATUS
   11811 # -----------------------
   11812 # Set $? to STATUS, without forking.
   11813 as_fn_set_status ()
   11814 {
   11815   return $1
   11816 } # as_fn_set_status
   11817 
   11818 # as_fn_exit STATUS
   11819 # -----------------
   11820 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11821 as_fn_exit ()
   11822 {
   11823   set +e
   11824   as_fn_set_status $1
   11825   exit $1
   11826 } # as_fn_exit
   11827 
   11828 # as_fn_unset VAR
   11829 # ---------------
   11830 # Portably unset VAR.
   11831 as_fn_unset ()
   11832 {
   11833   { eval $1=; unset $1;}
   11834 }
   11835 as_unset=as_fn_unset
   11836 
   11837 # as_fn_append VAR VALUE
   11838 # ----------------------
   11839 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11840 # advantage of any shell optimizations that allow amortized linear growth over
   11841 # repeated appends, instead of the typical quadratic growth present in naive
   11842 # implementations.
   11843 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   11844 then :
   11845   eval 'as_fn_append ()
   11846   {
   11847     eval $1+=\$2
   11848   }'
   11849 else case e in #(
   11850   e) as_fn_append ()
   11851   {
   11852     eval $1=\$$1\$2
   11853   } ;;
   11854 esac
   11855 fi # as_fn_append
   11856 
   11857 # as_fn_arith ARG...
   11858 # ------------------
   11859 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11860 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11861 # must be portable across $(()) and expr.
   11862 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   11863 then :
   11864   eval 'as_fn_arith ()
   11865   {
   11866     as_val=$(( $* ))
   11867   }'
   11868 else case e in #(
   11869   e) as_fn_arith ()
   11870   {
   11871     as_val=`expr "$@" || test $? -eq 1`
   11872   } ;;
   11873 esac
   11874 fi # as_fn_arith
   11875 
   11876 
   11877 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11878    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11879   as_expr=expr
   11880 else
   11881   as_expr=false
   11882 fi
   11883 
   11884 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11885   as_basename=basename
   11886 else
   11887   as_basename=false
   11888 fi
   11889 
   11890 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11891   as_dirname=dirname
   11892 else
   11893   as_dirname=false
   11894 fi
   11895 
   11896 as_me=`$as_basename -- "$0" ||
   11897 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11898 	 X"$0" : 'X\(//\)$' \| \
   11899 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11900 printf "%s\n" X/"$0" |
   11901     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11902 	    s//\1/
   11903 	    q
   11904 	  }
   11905 	  /^X\/\(\/\/\)$/{
   11906 	    s//\1/
   11907 	    q
   11908 	  }
   11909 	  /^X\/\(\/\).*/{
   11910 	    s//\1/
   11911 	    q
   11912 	  }
   11913 	  s/.*/./; q'`
   11914 
   11915 # Avoid depending upon Character Ranges.
   11916 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11917 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11918 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11919 as_cr_digits='0123456789'
   11920 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11921 
   11922 
   11923 # Determine whether it's possible to make 'echo' print without a newline.
   11924 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   11925 # for compatibility with existing Makefiles.
   11926 ECHO_C= ECHO_N= ECHO_T=
   11927 case `echo -n x` in #(((((
   11928 -n*)
   11929   case `echo 'xy\c'` in
   11930   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11931   xy)  ECHO_C='\c';;
   11932   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11933        ECHO_T='	';;
   11934   esac;;
   11935 *)
   11936   ECHO_N='-n';;
   11937 esac
   11938 
   11939 # For backward compatibility with old third-party macros, we provide
   11940 # the shell variables $as_echo and $as_echo_n.  New code should use
   11941 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   11942 as_echo='printf %s\n'
   11943 as_echo_n='printf %s'
   11944 
   11945 rm -f conf$$ conf$$.exe conf$$.file
   11946 if test -d conf$$.dir; then
   11947   rm -f conf$$.dir/conf$$.file
   11948 else
   11949   rm -f conf$$.dir
   11950   mkdir conf$$.dir 2>/dev/null
   11951 fi
   11952 if (echo >conf$$.file) 2>/dev/null; then
   11953   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11954     as_ln_s='ln -s'
   11955     # ... but there are two gotchas:
   11956     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   11957     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   11958     # In both cases, we have to default to 'cp -pR'.
   11959     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11960       as_ln_s='cp -pR'
   11961   elif ln conf$$.file conf$$ 2>/dev/null; then
   11962     as_ln_s=ln
   11963   else
   11964     as_ln_s='cp -pR'
   11965   fi
   11966 else
   11967   as_ln_s='cp -pR'
   11968 fi
   11969 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11970 rmdir conf$$.dir 2>/dev/null
   11971 
   11972 
   11973 # as_fn_mkdir_p
   11974 # -------------
   11975 # Create "$as_dir" as a directory, including parents if necessary.
   11976 as_fn_mkdir_p ()
   11977 {
   11978 
   11979   case $as_dir in #(
   11980   -*) as_dir=./$as_dir;;
   11981   esac
   11982   test -d "$as_dir" || eval $as_mkdir_p || {
   11983     as_dirs=
   11984     while :; do
   11985       case $as_dir in #(
   11986       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11987       *) as_qdir=$as_dir;;
   11988       esac
   11989       as_dirs="'$as_qdir' $as_dirs"
   11990       as_dir=`$as_dirname -- "$as_dir" ||
   11991 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11992 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11993 	 X"$as_dir" : 'X\(//\)$' \| \
   11994 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11995 printf "%s\n" X"$as_dir" |
   11996     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11997 	    s//\1/
   11998 	    q
   11999 	  }
   12000 	  /^X\(\/\/\)[^/].*/{
   12001 	    s//\1/
   12002 	    q
   12003 	  }
   12004 	  /^X\(\/\/\)$/{
   12005 	    s//\1/
   12006 	    q
   12007 	  }
   12008 	  /^X\(\/\).*/{
   12009 	    s//\1/
   12010 	    q
   12011 	  }
   12012 	  s/.*/./; q'`
   12013       test -d "$as_dir" && break
   12014     done
   12015     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12016   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12017 
   12018 
   12019 } # as_fn_mkdir_p
   12020 if mkdir -p . 2>/dev/null; then
   12021   as_mkdir_p='mkdir -p "$as_dir"'
   12022 else
   12023   test -d ./-p && rmdir ./-p
   12024   as_mkdir_p=false
   12025 fi
   12026 
   12027 
   12028 # as_fn_executable_p FILE
   12029 # -----------------------
   12030 # Test if FILE is an executable regular file.
   12031 as_fn_executable_p ()
   12032 {
   12033   test -f "$1" && test -x "$1"
   12034 } # as_fn_executable_p
   12035 as_test_x='test -x'
   12036 as_executable_p=as_fn_executable_p
   12037 
   12038 # Sed expression to map a string onto a valid CPP name.
   12039 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   12040 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   12041 
   12042 # Sed expression to map a string onto a valid variable name.
   12043 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   12044 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   12045 
   12046 
   12047 exec 6>&1
   12048 ## ----------------------------------- ##
   12049 ## Main body of $CONFIG_STATUS script. ##
   12050 ## ----------------------------------- ##
   12051 _ASEOF
   12052 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12053 
   12054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12055 # Save the log message, to keep $0 and so on meaningful, and to
   12056 # report actual input values of CONFIG_FILES etc. instead of their
   12057 # values after options handling.
   12058 ac_log="
   12059 This file was extended by xwud $as_me 1.0.7, which was
   12060 generated by GNU Autoconf 2.72.  Invocation command line was
   12061 
   12062   CONFIG_FILES    = $CONFIG_FILES
   12063   CONFIG_HEADERS  = $CONFIG_HEADERS
   12064   CONFIG_LINKS    = $CONFIG_LINKS
   12065   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12066   $ $0 $@
   12067 
   12068 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12069 "
   12070 
   12071 _ACEOF
   12072 
   12073 case $ac_config_files in *"
   12074 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12075 esac
   12076 
   12077 case $ac_config_headers in *"
   12078 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12079 esac
   12080 
   12081 
   12082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12083 # Files that config.status was made for.
   12084 config_files="$ac_config_files"
   12085 config_headers="$ac_config_headers"
   12086 config_commands="$ac_config_commands"
   12087 
   12088 _ACEOF
   12089 
   12090 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12091 ac_cs_usage="\
   12092 '$as_me' instantiates files and other configuration actions
   12093 from templates according to the current configuration.  Unless the files
   12094 and actions are specified as TAGs, all are instantiated by default.
   12095 
   12096 Usage: $0 [OPTION]... [TAG]...
   12097 
   12098   -h, --help       print this help, then exit
   12099   -V, --version    print version number and configuration settings, then exit
   12100       --config     print configuration, then exit
   12101   -q, --quiet, --silent
   12102                    do not print progress messages
   12103   -d, --debug      don't remove temporary files
   12104       --recheck    update $as_me by reconfiguring in the same conditions
   12105       --file=FILE[:TEMPLATE]
   12106                    instantiate the configuration file FILE
   12107       --header=FILE[:TEMPLATE]
   12108                    instantiate the configuration header FILE
   12109 
   12110 Configuration files:
   12111 $config_files
   12112 
   12113 Configuration headers:
   12114 $config_headers
   12115 
   12116 Configuration commands:
   12117 $config_commands
   12118 
   12119 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xwud/-/issues>."
   12120 
   12121 _ACEOF
   12122 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12123 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12124 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12125 ac_cs_config='$ac_cs_config_escaped'
   12126 ac_cs_version="\\
   12127 xwud config.status 1.0.7
   12128 configured by $0, generated by GNU Autoconf 2.72,
   12129   with options \\"\$ac_cs_config\\"
   12130 
   12131 Copyright (C) 2023 Free Software Foundation, Inc.
   12132 This config.status script is free software; the Free Software Foundation
   12133 gives unlimited permission to copy, distribute and modify it."
   12134 
   12135 ac_pwd='$ac_pwd'
   12136 srcdir='$srcdir'
   12137 INSTALL='$INSTALL'
   12138 MKDIR_P='$MKDIR_P'
   12139 AWK='$AWK'
   12140 test -n "\$AWK" || AWK=awk
   12141 _ACEOF
   12142 
   12143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12144 # The default lists apply if the user does not specify any file.
   12145 ac_need_defaults=:
   12146 while test $# != 0
   12147 do
   12148   case $1 in
   12149   --*=?*)
   12150     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12151     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12152     ac_shift=:
   12153     ;;
   12154   --*=)
   12155     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12156     ac_optarg=
   12157     ac_shift=:
   12158     ;;
   12159   *)
   12160     ac_option=$1
   12161     ac_optarg=$2
   12162     ac_shift=shift
   12163     ;;
   12164   esac
   12165 
   12166   case $ac_option in
   12167   # Handling of the options.
   12168   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12169     ac_cs_recheck=: ;;
   12170   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12171     printf "%s\n" "$ac_cs_version"; exit ;;
   12172   --config | --confi | --conf | --con | --co | --c )
   12173     printf "%s\n" "$ac_cs_config"; exit ;;
   12174   --debug | --debu | --deb | --de | --d | -d )
   12175     debug=: ;;
   12176   --file | --fil | --fi | --f )
   12177     $ac_shift
   12178     case $ac_optarg in
   12179     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12180     '') as_fn_error $? "missing file argument" ;;
   12181     esac
   12182     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12183     ac_need_defaults=false;;
   12184   --header | --heade | --head | --hea )
   12185     $ac_shift
   12186     case $ac_optarg in
   12187     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12188     esac
   12189     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12190     ac_need_defaults=false;;
   12191   --he | --h)
   12192     # Conflict between --help and --header
   12193     as_fn_error $? "ambiguous option: '$1'
   12194 Try '$0 --help' for more information.";;
   12195   --help | --hel | -h )
   12196     printf "%s\n" "$ac_cs_usage"; exit ;;
   12197   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12198   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12199     ac_cs_silent=: ;;
   12200 
   12201   # This is an error.
   12202   -*) as_fn_error $? "unrecognized option: '$1'
   12203 Try '$0 --help' for more information." ;;
   12204 
   12205   *) as_fn_append ac_config_targets " $1"
   12206      ac_need_defaults=false ;;
   12207 
   12208   esac
   12209   shift
   12210 done
   12211 
   12212 ac_configure_extra_args=
   12213 
   12214 if $ac_cs_silent; then
   12215   exec 6>/dev/null
   12216   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12217 fi
   12218 
   12219 _ACEOF
   12220 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12221 if \$ac_cs_recheck; then
   12222   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12223   shift
   12224   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12225   CONFIG_SHELL='$SHELL'
   12226   export CONFIG_SHELL
   12227   exec "\$@"
   12228 fi
   12229 
   12230 _ACEOF
   12231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12232 exec 5>>config.log
   12233 {
   12234   echo
   12235   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12236 ## Running $as_me. ##
   12237 _ASBOX
   12238   printf "%s\n" "$ac_log"
   12239 } >&5
   12240 
   12241 _ACEOF
   12242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12243 #
   12244 # INIT-COMMANDS
   12245 #
   12246 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12247 
   12248 _ACEOF
   12249 
   12250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12251 
   12252 # Handling of arguments.
   12253 for ac_config_target in $ac_config_targets
   12254 do
   12255   case $ac_config_target in
   12256     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12257     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12258     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12259     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12260 
   12261   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   12262   esac
   12263 done
   12264 
   12265 
   12266 # If the user did not use the arguments to specify the items to instantiate,
   12267 # then the envvar interface is used.  Set only those that are not.
   12268 # We use the long form for the default assignment because of an extremely
   12269 # bizarre bug on SunOS 4.1.3.
   12270 if $ac_need_defaults; then
   12271   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12272   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12273   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12274 fi
   12275 
   12276 # Have a temporary directory for convenience.  Make it in the build tree
   12277 # simply because there is no reason against having it here, and in addition,
   12278 # creating and moving files from /tmp can sometimes cause problems.
   12279 # Hook for its removal unless debugging.
   12280 # Note that there is a small window in which the directory will not be cleaned:
   12281 # after its creation but before its name has been assigned to '$tmp'.
   12282 $debug ||
   12283 {
   12284   tmp= ac_tmp=
   12285   trap 'exit_status=$?
   12286   : "${ac_tmp:=$tmp}"
   12287   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12288 ' 0
   12289   trap 'as_fn_exit 1' 1 2 13 15
   12290 }
   12291 # Create a (secure) tmp directory for tmp files.
   12292 
   12293 {
   12294   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12295   test -d "$tmp"
   12296 }  ||
   12297 {
   12298   tmp=./conf$$-$RANDOM
   12299   (umask 077 && mkdir "$tmp")
   12300 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12301 ac_tmp=$tmp
   12302 
   12303 # Set up the scripts for CONFIG_FILES section.
   12304 # No need to generate them if there are no CONFIG_FILES.
   12305 # This happens for instance with './config.status config.h'.
   12306 if test -n "$CONFIG_FILES"; then
   12307 
   12308 
   12309 ac_cr=`echo X | tr X '\015'`
   12310 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12311 # But we know of no other shell where ac_cr would be empty at this
   12312 # point, so we can use a bashism as a fallback.
   12313 if test "x$ac_cr" = x; then
   12314   eval ac_cr=\$\'\\r\'
   12315 fi
   12316 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12317 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12318   ac_cs_awk_cr='\\r'
   12319 else
   12320   ac_cs_awk_cr=$ac_cr
   12321 fi
   12322 
   12323 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12324 _ACEOF
   12325 
   12326 
   12327 {
   12328   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12329   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12330   echo "_ACEOF"
   12331 } >conf$$subs.sh ||
   12332   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12333 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12334 ac_delim='%!_!# '
   12335 for ac_last_try in false false false false false :; do
   12336   . ./conf$$subs.sh ||
   12337     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12338 
   12339   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12340   if test $ac_delim_n = $ac_delim_num; then
   12341     break
   12342   elif $ac_last_try; then
   12343     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12344   else
   12345     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12346   fi
   12347 done
   12348 rm -f conf$$subs.sh
   12349 
   12350 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12351 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12352 _ACEOF
   12353 sed -n '
   12354 h
   12355 s/^/S["/; s/!.*/"]=/
   12356 p
   12357 g
   12358 s/^[^!]*!//
   12359 :repl
   12360 t repl
   12361 s/'"$ac_delim"'$//
   12362 t delim
   12363 :nl
   12364 h
   12365 s/\(.\{148\}\)..*/\1/
   12366 t more1
   12367 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12368 p
   12369 n
   12370 b repl
   12371 :more1
   12372 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12373 p
   12374 g
   12375 s/.\{148\}//
   12376 t nl
   12377 :delim
   12378 h
   12379 s/\(.\{148\}\)..*/\1/
   12380 t more2
   12381 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12382 p
   12383 b
   12384 :more2
   12385 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12386 p
   12387 g
   12388 s/.\{148\}//
   12389 t delim
   12390 ' <conf$$subs.awk | sed '
   12391 /^[^""]/{
   12392   N
   12393   s/\n//
   12394 }
   12395 ' >>$CONFIG_STATUS || ac_write_fail=1
   12396 rm -f conf$$subs.awk
   12397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12398 _ACAWK
   12399 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12400   for (key in S) S_is_set[key] = 1
   12401   FS = ""
   12402 
   12403 }
   12404 {
   12405   line = $ 0
   12406   nfields = split(line, field, "@")
   12407   substed = 0
   12408   len = length(field[1])
   12409   for (i = 2; i < nfields; i++) {
   12410     key = field[i]
   12411     keylen = length(key)
   12412     if (S_is_set[key]) {
   12413       value = S[key]
   12414       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12415       len += length(value) + length(field[++i])
   12416       substed = 1
   12417     } else
   12418       len += 1 + keylen
   12419   }
   12420 
   12421   print line
   12422 }
   12423 
   12424 _ACAWK
   12425 _ACEOF
   12426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12427 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12428   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12429 else
   12430   cat
   12431 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12432   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12433 _ACEOF
   12434 
   12435 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12436 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12437 # trailing colons and then remove the whole line if VPATH becomes empty
   12438 # (actually we leave an empty line to preserve line numbers).
   12439 if test "x$srcdir" = x.; then
   12440   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12441 h
   12442 s///
   12443 s/^/:/
   12444 s/[	 ]*$/:/
   12445 s/:\$(srcdir):/:/g
   12446 s/:\${srcdir}:/:/g
   12447 s/:@srcdir@:/:/g
   12448 s/^:*//
   12449 s/:*$//
   12450 x
   12451 s/\(=[	 ]*\).*/\1/
   12452 G
   12453 s/\n//
   12454 s/^[^=]*=[	 ]*$//
   12455 }'
   12456 fi
   12457 
   12458 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12459 fi # test -n "$CONFIG_FILES"
   12460 
   12461 # Set up the scripts for CONFIG_HEADERS section.
   12462 # No need to generate them if there are no CONFIG_HEADERS.
   12463 # This happens for instance with './config.status Makefile'.
   12464 if test -n "$CONFIG_HEADERS"; then
   12465 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12466 BEGIN {
   12467 _ACEOF
   12468 
   12469 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   12470 # here-document in config.status, that substitutes the proper values into
   12471 # config.h.in to produce config.h.
   12472 
   12473 # Create a delimiter string that does not exist in confdefs.h, to ease
   12474 # handling of long lines.
   12475 ac_delim='%!_!# '
   12476 for ac_last_try in false false :; do
   12477   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12478   if test -z "$ac_tt"; then
   12479     break
   12480   elif $ac_last_try; then
   12481     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12482   else
   12483     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12484   fi
   12485 done
   12486 
   12487 # For the awk script, D is an array of macro values keyed by name,
   12488 # likewise P contains macro parameters if any.  Preserve backslash
   12489 # newline sequences.
   12490 
   12491 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12492 sed -n '
   12493 s/.\{148\}/&'"$ac_delim"'/g
   12494 t rset
   12495 :rset
   12496 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12497 t def
   12498 d
   12499 :def
   12500 s/\\$//
   12501 t bsnl
   12502 s/["\\]/\\&/g
   12503 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12504 D["\1"]=" \3"/p
   12505 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12506 d
   12507 :bsnl
   12508 s/["\\]/\\&/g
   12509 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12510 D["\1"]=" \3\\\\\\n"\\/p
   12511 t cont
   12512 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12513 t cont
   12514 d
   12515 :cont
   12516 n
   12517 s/.\{148\}/&'"$ac_delim"'/g
   12518 t clear
   12519 :clear
   12520 s/\\$//
   12521 t bsnlc
   12522 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12523 d
   12524 :bsnlc
   12525 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12526 b cont
   12527 ' <confdefs.h | sed '
   12528 s/'"$ac_delim"'/"\\\
   12529 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12530 
   12531 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12532   for (key in D) D_is_set[key] = 1
   12533   FS = ""
   12534 }
   12535 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12536   line = \$ 0
   12537   split(line, arg, " ")
   12538   if (arg[1] == "#") {
   12539     defundef = arg[2]
   12540     mac1 = arg[3]
   12541   } else {
   12542     defundef = substr(arg[1], 2)
   12543     mac1 = arg[2]
   12544   }
   12545   split(mac1, mac2, "(") #)
   12546   macro = mac2[1]
   12547   prefix = substr(line, 1, index(line, defundef) - 1)
   12548   if (D_is_set[macro]) {
   12549     # Preserve the white space surrounding the "#".
   12550     print prefix "define", macro P[macro] D[macro]
   12551     next
   12552   } else {
   12553     # Replace #undef with comments.  This is necessary, for example,
   12554     # in the case of _POSIX_SOURCE, which is predefined and required
   12555     # on some systems where configure will not decide to define it.
   12556     if (defundef == "undef") {
   12557       print "/*", prefix defundef, macro, "*/"
   12558       next
   12559     }
   12560   }
   12561 }
   12562 { print }
   12563 _ACAWK
   12564 _ACEOF
   12565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12566   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12567 fi # test -n "$CONFIG_HEADERS"
   12568 
   12569 
   12570 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12571 shift
   12572 for ac_tag
   12573 do
   12574   case $ac_tag in
   12575   :[FHLC]) ac_mode=$ac_tag; continue;;
   12576   esac
   12577   case $ac_mode$ac_tag in
   12578   :[FHL]*:*);;
   12579   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   12580   :[FH]-) ac_tag=-:-;;
   12581   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12582   esac
   12583   ac_save_IFS=$IFS
   12584   IFS=:
   12585   set x $ac_tag
   12586   IFS=$ac_save_IFS
   12587   shift
   12588   ac_file=$1
   12589   shift
   12590 
   12591   case $ac_mode in
   12592   :L) ac_source=$1;;
   12593   :[FH])
   12594     ac_file_inputs=
   12595     for ac_f
   12596     do
   12597       case $ac_f in
   12598       -) ac_f="$ac_tmp/stdin";;
   12599       *) # Look for the file first in the build tree, then in the source tree
   12600 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12601 	 # because $ac_f cannot contain ':'.
   12602 	 test -f "$ac_f" ||
   12603 	   case $ac_f in
   12604 	   [\\/$]*) false;;
   12605 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12606 	   esac ||
   12607 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   12608       esac
   12609       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12610       as_fn_append ac_file_inputs " '$ac_f'"
   12611     done
   12612 
   12613     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   12614     # use $as_me), people would be surprised to read:
   12615     #    /* config.h.  Generated by config.status.  */
   12616     configure_input='Generated from '`
   12617 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12618 	`' by configure.'
   12619     if test x"$ac_file" != x-; then
   12620       configure_input="$ac_file.  $configure_input"
   12621       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12622 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   12623     fi
   12624     # Neutralize special characters interpreted by sed in replacement strings.
   12625     case $configure_input in #(
   12626     *\&* | *\|* | *\\* )
   12627        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   12628        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12629     *) ac_sed_conf_input=$configure_input;;
   12630     esac
   12631 
   12632     case $ac_tag in
   12633     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12634       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12635     esac
   12636     ;;
   12637   esac
   12638 
   12639   ac_dir=`$as_dirname -- "$ac_file" ||
   12640 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12641 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12642 	 X"$ac_file" : 'X\(//\)$' \| \
   12643 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12644 printf "%s\n" X"$ac_file" |
   12645     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12646 	    s//\1/
   12647 	    q
   12648 	  }
   12649 	  /^X\(\/\/\)[^/].*/{
   12650 	    s//\1/
   12651 	    q
   12652 	  }
   12653 	  /^X\(\/\/\)$/{
   12654 	    s//\1/
   12655 	    q
   12656 	  }
   12657 	  /^X\(\/\).*/{
   12658 	    s//\1/
   12659 	    q
   12660 	  }
   12661 	  s/.*/./; q'`
   12662   as_dir="$ac_dir"; as_fn_mkdir_p
   12663   ac_builddir=.
   12664 
   12665 case "$ac_dir" in
   12666 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12667 *)
   12668   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   12669   # A ".." for each directory in $ac_dir_suffix.
   12670   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12671   case $ac_top_builddir_sub in
   12672   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12673   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12674   esac ;;
   12675 esac
   12676 ac_abs_top_builddir=$ac_pwd
   12677 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12678 # for backward compatibility:
   12679 ac_top_builddir=$ac_top_build_prefix
   12680 
   12681 case $srcdir in
   12682   .)  # We are building in place.
   12683     ac_srcdir=.
   12684     ac_top_srcdir=$ac_top_builddir_sub
   12685     ac_abs_top_srcdir=$ac_pwd ;;
   12686   [\\/]* | ?:[\\/]* )  # Absolute name.
   12687     ac_srcdir=$srcdir$ac_dir_suffix;
   12688     ac_top_srcdir=$srcdir
   12689     ac_abs_top_srcdir=$srcdir ;;
   12690   *) # Relative name.
   12691     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12692     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12693     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12694 esac
   12695 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12696 
   12697 
   12698   case $ac_mode in
   12699   :F)
   12700   #
   12701   # CONFIG_FILE
   12702   #
   12703 
   12704   case $INSTALL in
   12705   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12706   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12707   esac
   12708   ac_MKDIR_P=$MKDIR_P
   12709   case $MKDIR_P in
   12710   [\\/$]* | ?:[\\/]* ) ;;
   12711   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12712   esac
   12713 _ACEOF
   12714 
   12715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12716 # If the template does not know about datarootdir, expand it.
   12717 # FIXME: This hack should be removed a few years after 2.60.
   12718 ac_datarootdir_hack=; ac_datarootdir_seen=
   12719 ac_sed_dataroot='
   12720 /datarootdir/ {
   12721   p
   12722   q
   12723 }
   12724 /@datadir@/p
   12725 /@docdir@/p
   12726 /@infodir@/p
   12727 /@localedir@/p
   12728 /@mandir@/p'
   12729 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12730 *datarootdir*) ac_datarootdir_seen=yes;;
   12731 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12732   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12733 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12734 _ACEOF
   12735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12736   ac_datarootdir_hack='
   12737   s&@datadir@&$datadir&g
   12738   s&@docdir@&$docdir&g
   12739   s&@infodir@&$infodir&g
   12740   s&@localedir@&$localedir&g
   12741   s&@mandir@&$mandir&g
   12742   s&\\\${datarootdir}&$datarootdir&g' ;;
   12743 esac
   12744 _ACEOF
   12745 
   12746 # Neutralize VPATH when '$srcdir' = '.'.
   12747 # Shell code in configure.ac might set extrasub.
   12748 # FIXME: do we really want to maintain this feature?
   12749 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12750 ac_sed_extra="$ac_vpsub
   12751 $extrasub
   12752 _ACEOF
   12753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12754 :t
   12755 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12756 s|@configure_input@|$ac_sed_conf_input|;t t
   12757 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12758 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12759 s&@srcdir@&$ac_srcdir&;t t
   12760 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12761 s&@top_srcdir@&$ac_top_srcdir&;t t
   12762 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12763 s&@builddir@&$ac_builddir&;t t
   12764 s&@abs_builddir@&$ac_abs_builddir&;t t
   12765 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12766 s&@INSTALL@&$ac_INSTALL&;t t
   12767 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12768 $ac_datarootdir_hack
   12769 "
   12770 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12771   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12772 
   12773 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12774   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12775   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12776       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12777   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   12778 which seems to be undefined.  Please make sure it is defined" >&5
   12779 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   12780 which seems to be undefined.  Please make sure it is defined" >&2;}
   12781 
   12782   rm -f "$ac_tmp/stdin"
   12783   case $ac_file in
   12784   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12785   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12786   esac \
   12787   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12788  ;;
   12789   :H)
   12790   #
   12791   # CONFIG_HEADER
   12792   #
   12793   if test x"$ac_file" != x-; then
   12794     {
   12795       printf "%s\n" "/* $configure_input  */" >&1 \
   12796       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12797     } >"$ac_tmp/config.h" \
   12798       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12799     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12800       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12801 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   12802     else
   12803       rm -f "$ac_file"
   12804       mv "$ac_tmp/config.h" "$ac_file" \
   12805 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12806     fi
   12807   else
   12808     printf "%s\n" "/* $configure_input  */" >&1 \
   12809       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12810       || as_fn_error $? "could not create -" "$LINENO" 5
   12811   fi
   12812 # Compute "$ac_file"'s index in $config_headers.
   12813 _am_arg="$ac_file"
   12814 _am_stamp_count=1
   12815 for _am_header in $config_headers :; do
   12816   case $_am_header in
   12817     $_am_arg | $_am_arg:* )
   12818       break ;;
   12819     * )
   12820       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12821   esac
   12822 done
   12823 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12824 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12825 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12826 	 X"$_am_arg" : 'X\(//\)$' \| \
   12827 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12828 printf "%s\n" X"$_am_arg" |
   12829     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12830 	    s//\1/
   12831 	    q
   12832 	  }
   12833 	  /^X\(\/\/\)[^/].*/{
   12834 	    s//\1/
   12835 	    q
   12836 	  }
   12837 	  /^X\(\/\/\)$/{
   12838 	    s//\1/
   12839 	    q
   12840 	  }
   12841 	  /^X\(\/\).*/{
   12842 	    s//\1/
   12843 	    q
   12844 	  }
   12845 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12846  ;;
   12847 
   12848   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12849 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   12850  ;;
   12851   esac
   12852 
   12853 
   12854   case $ac_file$ac_mode in
   12855     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12856   # Older Autoconf quotes --file arguments for eval, but not when files
   12857   # are listed without --file.  Let's play safe and only enable the eval
   12858   # if we detect the quoting.
   12859   # TODO: see whether this extra hack can be removed once we start
   12860   # requiring Autoconf 2.70 or later.
   12861   case $CONFIG_FILES in #(
   12862   *\'*) :
   12863     eval set x "$CONFIG_FILES" ;; #(
   12864   *) :
   12865     set x $CONFIG_FILES ;; #(
   12866   *) :
   12867      ;;
   12868 esac
   12869   shift
   12870   # Used to flag and report bootstrapping failures.
   12871   am_rc=0
   12872   for am_mf
   12873   do
   12874     # Strip MF so we end up with the name of the file.
   12875     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   12876     # Check whether this is an Automake generated Makefile which includes
   12877     # dependency-tracking related rules and includes.
   12878     # Grep'ing the whole file directly is not great: AIX grep has a line
   12879     # limit of 2048, but all sed's we know have understand at least 4000.
   12880     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   12881       || continue
   12882     am_dirpart=`$as_dirname -- "$am_mf" ||
   12883 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12884 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   12885 	 X"$am_mf" : 'X\(//\)$' \| \
   12886 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12887 printf "%s\n" X"$am_mf" |
   12888     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12889 	    s//\1/
   12890 	    q
   12891 	  }
   12892 	  /^X\(\/\/\)[^/].*/{
   12893 	    s//\1/
   12894 	    q
   12895 	  }
   12896 	  /^X\(\/\/\)$/{
   12897 	    s//\1/
   12898 	    q
   12899 	  }
   12900 	  /^X\(\/\).*/{
   12901 	    s//\1/
   12902 	    q
   12903 	  }
   12904 	  s/.*/./; q'`
   12905     am_filepart=`$as_basename -- "$am_mf" ||
   12906 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   12907 	 X"$am_mf" : 'X\(//\)$' \| \
   12908 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12909 printf "%s\n" X/"$am_mf" |
   12910     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12911 	    s//\1/
   12912 	    q
   12913 	  }
   12914 	  /^X\/\(\/\/\)$/{
   12915 	    s//\1/
   12916 	    q
   12917 	  }
   12918 	  /^X\/\(\/\).*/{
   12919 	    s//\1/
   12920 	    q
   12921 	  }
   12922 	  s/.*/./; q'`
   12923     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   12924       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12925         | $MAKE -f - am--depfiles" >&5
   12926    (cd "$am_dirpart" \
   12927       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12928         | $MAKE -f - am--depfiles) >&5 2>&5
   12929    ac_status=$?
   12930    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12931    (exit $ac_status); } || am_rc=$?
   12932   done
   12933   if test $am_rc -ne 0; then
   12934     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   12935 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   12936 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   12937     for automatic dependency tracking.  If GNU make was not used, consider
   12938     re-running the configure script with MAKE=\"gmake\" (or whatever is
   12939     necessary).  You can also try re-running configure with the
   12940     '--disable-dependency-tracking' option to at least be able to build
   12941     the package (albeit without support for automatic dependency tracking).
   12942 See 'config.log' for more details" "$LINENO" 5; }
   12943   fi
   12944   { am_dirpart=; unset am_dirpart;}
   12945   { am_filepart=; unset am_filepart;}
   12946   { am_mf=; unset am_mf;}
   12947   { am_rc=; unset am_rc;}
   12948   rm -f conftest-deps.mk
   12949 }
   12950  ;;
   12951 
   12952   esac
   12953 done # for ac_tag
   12954 
   12955 
   12956 as_fn_exit 0
   12957 _ACEOF
   12958 ac_clean_files=$ac_clean_files_save
   12959 
   12960 test $ac_write_fail = 0 ||
   12961   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12962 
   12963 
   12964 # configure is writing to config.log, and then calls config.status.
   12965 # config.status does its own redirection, appending to config.log.
   12966 # Unfortunately, on DOS this fails, as config.log is still kept open
   12967 # by configure, so config.status won't be able to write to it; its
   12968 # output is simply discarded.  So we exec the FD to /dev/null,
   12969 # effectively closing config.log, so it can be properly (re)opened and
   12970 # appended to by config.status.  When coming back to configure, we
   12971 # need to make the FD available again.
   12972 if test "$no_create" != yes; then
   12973   ac_cs_success=:
   12974   ac_config_status_args=
   12975   test "$silent" = yes &&
   12976     ac_config_status_args="$ac_config_status_args --quiet"
   12977   exec 5>/dev/null
   12978   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12979   exec 5>>config.log
   12980   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12981   # would make configure fail if this is the last instruction.
   12982   $ac_cs_success || as_fn_exit 1
   12983 fi
   12984 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12985   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12986 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12987 fi
   12988 
   12989 
   12990