Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.6
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for xlogo 1.0.6.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xlogo/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 as_nop=:
     21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     22 then :
     23   emulate sh
     24   NULLCMD=:
     25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     26   # is contrary to our usage.  Disable this feature.
     27   alias -g '${1+"$@"}'='"$@"'
     28   setopt NO_GLOB_SUBST
     29 else $as_nop
     30   case `(set -o) 2>/dev/null` in #(
     31   *posix*) :
     32     set -o posix ;; #(
     33   *) :
     34      ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed `exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="as_nop=:
    144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    145 then :
    146   emulate sh
    147   NULLCMD=:
    148   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    149   # is contrary to our usage.  Disable this feature.
    150   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    151   setopt NO_GLOB_SUBST
    152 else \$as_nop
    153   case \`(set -o) 2>/dev/null\` in #(
    154   *posix*) :
    155     set -o posix ;; #(
    156   *) :
    157      ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else \$as_nop
    176   exitcode=1; echo positional parameters were not saved.
    177 fi
    178 test x\$exitcode = x0 || exit 1
    179 blah=\$(echo \$(echo blah))
    180 test x\"\$blah\" = xblah || exit 1
    181 test -x / || exit 1"
    182   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    183   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    184   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    185   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    186 test \$(( 1 + 1 )) = 2 || exit 1"
    187   if (eval "$as_required") 2>/dev/null
    188 then :
    189   as_have_required=yes
    190 else $as_nop
    191   as_have_required=no
    192 fi
    193   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    194 then :
    195 
    196 else $as_nop
    197   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    198 as_found=false
    199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    200 do
    201   IFS=$as_save_IFS
    202   case $as_dir in #(((
    203     '') as_dir=./ ;;
    204     */) ;;
    205     *) as_dir=$as_dir/ ;;
    206   esac
    207   as_found=:
    208   case $as_dir in #(
    209 	 /*)
    210 	   for as_base in sh bash ksh sh5; do
    211 	     # Try only shells that exist, to save several forks.
    212 	     as_shell=$as_dir$as_base
    213 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    214 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    215 then :
    216   CONFIG_SHELL=$as_shell as_have_required=yes
    217 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    218 then :
    219   break 2
    220 fi
    221 fi
    222 	   done;;
    223        esac
    224   as_found=false
    225 done
    226 IFS=$as_save_IFS
    227 if $as_found
    228 then :
    229 
    230 else $as_nop
    231   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    232 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    233 then :
    234   CONFIG_SHELL=$SHELL as_have_required=yes
    235 fi
    236 fi
    237 
    238 
    239       if test "x$CONFIG_SHELL" != x
    240 then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno
    263 then :
    264   printf "%s\n" "$0: This script requires a shell more modern than all"
    265   printf "%s\n" "$0: the shells that I found on your system."
    266   if test ${ZSH_VERSION+y} ; then
    267     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    268     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    269   else
    270     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    271 $0: https://gitlab.freedesktop.org/xorg/app/xlogo/-/issues
    272 $0: about your system, including any error possibly output
    273 $0: before this message. Then install a modern shell, or
    274 $0: manually run the script under such a shell if you do
    275 $0: have one."
    276   fi
    277   exit 1
    278 fi
    279 fi
    280 fi
    281 SHELL=${CONFIG_SHELL-/bin/sh}
    282 export SHELL
    283 # Unset more variables known to interfere with behavior of common tools.
    284 CLICOLOR_FORCE= GREP_OPTIONS=
    285 unset CLICOLOR_FORCE GREP_OPTIONS
    286 
    287 ## --------------------- ##
    288 ## M4sh Shell Functions. ##
    289 ## --------------------- ##
    290 # as_fn_unset VAR
    291 # ---------------
    292 # Portably unset VAR.
    293 as_fn_unset ()
    294 {
    295   { eval $1=; unset $1;}
    296 }
    297 as_unset=as_fn_unset
    298 
    299 
    300 # as_fn_set_status STATUS
    301 # -----------------------
    302 # Set $? to STATUS, without forking.
    303 as_fn_set_status ()
    304 {
    305   return $1
    306 } # as_fn_set_status
    307 
    308 # as_fn_exit STATUS
    309 # -----------------
    310 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    311 as_fn_exit ()
    312 {
    313   set +e
    314   as_fn_set_status $1
    315   exit $1
    316 } # as_fn_exit
    317 # as_fn_nop
    318 # ---------
    319 # Do nothing but, unlike ":", preserve the value of $?.
    320 as_fn_nop ()
    321 {
    322   return $?
    323 }
    324 as_nop=as_fn_nop
    325 
    326 # as_fn_mkdir_p
    327 # -------------
    328 # Create "$as_dir" as a directory, including parents if necessary.
    329 as_fn_mkdir_p ()
    330 {
    331 
    332   case $as_dir in #(
    333   -*) as_dir=./$as_dir;;
    334   esac
    335   test -d "$as_dir" || eval $as_mkdir_p || {
    336     as_dirs=
    337     while :; do
    338       case $as_dir in #(
    339       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    340       *) as_qdir=$as_dir;;
    341       esac
    342       as_dirs="'$as_qdir' $as_dirs"
    343       as_dir=`$as_dirname -- "$as_dir" ||
    344 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    345 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    346 	 X"$as_dir" : 'X\(//\)$' \| \
    347 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    348 printf "%s\n" X"$as_dir" |
    349     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    350 	    s//\1/
    351 	    q
    352 	  }
    353 	  /^X\(\/\/\)[^/].*/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\/\)$/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\).*/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  s/.*/./; q'`
    366       test -d "$as_dir" && break
    367     done
    368     test -z "$as_dirs" || eval "mkdir $as_dirs"
    369   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    370 
    371 
    372 } # as_fn_mkdir_p
    373 
    374 # as_fn_executable_p FILE
    375 # -----------------------
    376 # Test if FILE is an executable regular file.
    377 as_fn_executable_p ()
    378 {
    379   test -f "$1" && test -x "$1"
    380 } # as_fn_executable_p
    381 # as_fn_append VAR VALUE
    382 # ----------------------
    383 # Append the text in VALUE to the end of the definition contained in VAR. Take
    384 # advantage of any shell optimizations that allow amortized linear growth over
    385 # repeated appends, instead of the typical quadratic growth present in naive
    386 # implementations.
    387 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    388 then :
    389   eval 'as_fn_append ()
    390   {
    391     eval $1+=\$2
    392   }'
    393 else $as_nop
    394   as_fn_append ()
    395   {
    396     eval $1=\$$1\$2
    397   }
    398 fi # as_fn_append
    399 
    400 # as_fn_arith ARG...
    401 # ------------------
    402 # Perform arithmetic evaluation on the ARGs, and store the result in the
    403 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    404 # must be portable across $(()) and expr.
    405 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    406 then :
    407   eval 'as_fn_arith ()
    408   {
    409     as_val=$(( $* ))
    410   }'
    411 else $as_nop
    412   as_fn_arith ()
    413   {
    414     as_val=`expr "$@" || test $? -eq 1`
    415   }
    416 fi # as_fn_arith
    417 
    418 # as_fn_nop
    419 # ---------
    420 # Do nothing but, unlike ":", preserve the value of $?.
    421 as_fn_nop ()
    422 {
    423   return $?
    424 }
    425 as_nop=as_fn_nop
    426 
    427 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    428 # ----------------------------------------
    429 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    430 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    431 # script with STATUS, using 1 if that was 0.
    432 as_fn_error ()
    433 {
    434   as_status=$1; test $as_status -eq 0 && as_status=1
    435   if test "$4"; then
    436     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    437     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    438   fi
    439   printf "%s\n" "$as_me: error: $2" >&2
    440   as_fn_exit $as_status
    441 } # as_fn_error
    442 
    443 if expr a : '\(a\)' >/dev/null 2>&1 &&
    444    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    445   as_expr=expr
    446 else
    447   as_expr=false
    448 fi
    449 
    450 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    451   as_basename=basename
    452 else
    453   as_basename=false
    454 fi
    455 
    456 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    457   as_dirname=dirname
    458 else
    459   as_dirname=false
    460 fi
    461 
    462 as_me=`$as_basename -- "$0" ||
    463 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    464 	 X"$0" : 'X\(//\)$' \| \
    465 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    466 printf "%s\n" X/"$0" |
    467     sed '/^.*\/\([^/][^/]*\)\/*$/{
    468 	    s//\1/
    469 	    q
    470 	  }
    471 	  /^X\/\(\/\/\)$/{
    472 	    s//\1/
    473 	    q
    474 	  }
    475 	  /^X\/\(\/\).*/{
    476 	    s//\1/
    477 	    q
    478 	  }
    479 	  s/.*/./; q'`
    480 
    481 # Avoid depending upon Character Ranges.
    482 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    483 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    484 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    485 as_cr_digits='0123456789'
    486 as_cr_alnum=$as_cr_Letters$as_cr_digits
    487 
    488 
    489   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    490   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    491   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    492   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    493   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    494   sed -n '
    495     p
    496     /[$]LINENO/=
    497   ' <$as_myself |
    498     sed '
    499       s/[$]LINENO.*/&-/
    500       t lineno
    501       b
    502       :lineno
    503       N
    504       :loop
    505       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    506       t loop
    507       s/-\n.*//
    508     ' >$as_me.lineno &&
    509   chmod +x "$as_me.lineno" ||
    510     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    511 
    512   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    513   # already done that, so ensure we don't try to do so again and fall
    514   # in an infinite loop.  This has already happened in practice.
    515   _as_can_reexec=no; export _as_can_reexec
    516   # Don't try to exec as it changes $[0], causing all sort of problems
    517   # (the dirname of $[0] is not the place where we might find the
    518   # original and so on.  Autoconf is especially sensitive to this).
    519   . "./$as_me.lineno"
    520   # Exit status is that of the last command.
    521   exit
    522 }
    523 
    524 
    525 # Determine whether it's possible to make 'echo' print without a newline.
    526 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    527 # for compatibility with existing Makefiles.
    528 ECHO_C= ECHO_N= ECHO_T=
    529 case `echo -n x` in #(((((
    530 -n*)
    531   case `echo 'xy\c'` in
    532   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    533   xy)  ECHO_C='\c';;
    534   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    535        ECHO_T='	';;
    536   esac;;
    537 *)
    538   ECHO_N='-n';;
    539 esac
    540 
    541 # For backward compatibility with old third-party macros, we provide
    542 # the shell variables $as_echo and $as_echo_n.  New code should use
    543 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    544 as_echo='printf %s\n'
    545 as_echo_n='printf %s'
    546 
    547 
    548 rm -f conf$$ conf$$.exe conf$$.file
    549 if test -d conf$$.dir; then
    550   rm -f conf$$.dir/conf$$.file
    551 else
    552   rm -f conf$$.dir
    553   mkdir conf$$.dir 2>/dev/null
    554 fi
    555 if (echo >conf$$.file) 2>/dev/null; then
    556   if ln -s conf$$.file conf$$ 2>/dev/null; then
    557     as_ln_s='ln -s'
    558     # ... but there are two gotchas:
    559     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    560     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    561     # In both cases, we have to default to `cp -pR'.
    562     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    563       as_ln_s='cp -pR'
    564   elif ln conf$$.file conf$$ 2>/dev/null; then
    565     as_ln_s=ln
    566   else
    567     as_ln_s='cp -pR'
    568   fi
    569 else
    570   as_ln_s='cp -pR'
    571 fi
    572 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    573 rmdir conf$$.dir 2>/dev/null
    574 
    575 if mkdir -p . 2>/dev/null; then
    576   as_mkdir_p='mkdir -p "$as_dir"'
    577 else
    578   test -d ./-p && rmdir ./-p
    579   as_mkdir_p=false
    580 fi
    581 
    582 as_test_x='test -x'
    583 as_executable_p=as_fn_executable_p
    584 
    585 # Sed expression to map a string onto a valid CPP name.
    586 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    587 
    588 # Sed expression to map a string onto a valid variable name.
    589 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    590 
    591 
    592 test -n "$DJDIR" || exec 7<&0 </dev/null
    593 exec 6>&1
    594 
    595 # Name of the host.
    596 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    597 # so uname gets run too.
    598 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    599 
    600 #
    601 # Initializations.
    602 #
    603 ac_default_prefix=/usr/local
    604 ac_clean_files=
    605 ac_config_libobj_dir=.
    606 LIBOBJS=
    607 cross_compiling=no
    608 subdirs=
    609 MFLAGS=
    610 MAKEFLAGS=
    611 
    612 # Identity of this package.
    613 PACKAGE_NAME='xlogo'
    614 PACKAGE_TARNAME='xlogo'
    615 PACKAGE_VERSION='1.0.6'
    616 PACKAGE_STRING='xlogo 1.0.6'
    617 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xlogo/-/issues'
    618 PACKAGE_URL=''
    619 
    620 ac_unique_file="Makefile.am"
    621 # Factoring default headers for most tests.
    622 ac_includes_default="\
    623 #include <stddef.h>
    624 #ifdef HAVE_STDIO_H
    625 # include <stdio.h>
    626 #endif
    627 #ifdef HAVE_STDLIB_H
    628 # include <stdlib.h>
    629 #endif
    630 #ifdef HAVE_STRING_H
    631 # include <string.h>
    632 #endif
    633 #ifdef HAVE_INTTYPES_H
    634 # include <inttypes.h>
    635 #endif
    636 #ifdef HAVE_STDINT_H
    637 # include <stdint.h>
    638 #endif
    639 #ifdef HAVE_STRINGS_H
    640 # include <strings.h>
    641 #endif
    642 #ifdef HAVE_SYS_TYPES_H
    643 # include <sys/types.h>
    644 #endif
    645 #ifdef HAVE_SYS_STAT_H
    646 # include <sys/stat.h>
    647 #endif
    648 #ifdef HAVE_UNISTD_H
    649 # include <unistd.h>
    650 #endif"
    651 
    652 ac_header_c_list=
    653 ac_subst_vars='am__EXEEXT_FALSE
    654 am__EXEEXT_TRUE
    655 LTLIBOBJS
    656 LIBOBJS
    657 appdefaultdir
    658 APPDEFS_LIBS
    659 APPDEFS_CFLAGS
    660 XLOGO_LIBS
    661 XLOGO_CFLAGS
    662 USE_RENDER_FALSE
    663 USE_RENDER_TRUE
    664 MAN_SUBSTS
    665 XORG_MAN_PAGE
    666 ADMIN_MAN_DIR
    667 DRIVER_MAN_DIR
    668 MISC_MAN_DIR
    669 FILE_MAN_DIR
    670 LIB_MAN_DIR
    671 APP_MAN_DIR
    672 ADMIN_MAN_SUFFIX
    673 DRIVER_MAN_SUFFIX
    674 MISC_MAN_SUFFIX
    675 FILE_MAN_SUFFIX
    676 LIB_MAN_SUFFIX
    677 APP_MAN_SUFFIX
    678 SED
    679 host_os
    680 host_vendor
    681 host_cpu
    682 host
    683 build_os
    684 build_vendor
    685 build_cpu
    686 build
    687 INSTALL_CMD
    688 PKG_CONFIG_LIBDIR
    689 PKG_CONFIG_PATH
    690 PKG_CONFIG
    691 CHANGELOG_CMD
    692 STRICT_CFLAGS
    693 CWARNFLAGS
    694 BASE_CFLAGS
    695 am__fastdepCC_FALSE
    696 am__fastdepCC_TRUE
    697 CCDEPMODE
    698 am__nodep
    699 AMDEPBACKSLASH
    700 AMDEP_FALSE
    701 AMDEP_TRUE
    702 am__include
    703 DEPDIR
    704 OBJEXT
    705 EXEEXT
    706 ac_ct_CC
    707 CPPFLAGS
    708 LDFLAGS
    709 CFLAGS
    710 CC
    711 AM_BACKSLASH
    712 AM_DEFAULT_VERBOSITY
    713 AM_DEFAULT_V
    714 AM_V
    715 CSCOPE
    716 ETAGS
    717 CTAGS
    718 am__untar
    719 am__tar
    720 AMTAR
    721 am__leading_dot
    722 SET_MAKE
    723 AWK
    724 mkdir_p
    725 MKDIR_P
    726 INSTALL_STRIP_PROGRAM
    727 STRIP
    728 install_sh
    729 MAKEINFO
    730 AUTOHEADER
    731 AUTOMAKE
    732 AUTOCONF
    733 ACLOCAL
    734 VERSION
    735 PACKAGE
    736 CYGPATH_W
    737 am__isrc
    738 INSTALL_DATA
    739 INSTALL_SCRIPT
    740 INSTALL_PROGRAM
    741 target_alias
    742 host_alias
    743 build_alias
    744 LIBS
    745 ECHO_T
    746 ECHO_N
    747 ECHO_C
    748 DEFS
    749 mandir
    750 localedir
    751 libdir
    752 psdir
    753 pdfdir
    754 dvidir
    755 htmldir
    756 infodir
    757 docdir
    758 oldincludedir
    759 includedir
    760 runstatedir
    761 localstatedir
    762 sharedstatedir
    763 sysconfdir
    764 datadir
    765 datarootdir
    766 libexecdir
    767 sbindir
    768 bindir
    769 program_transform_name
    770 prefix
    771 exec_prefix
    772 PACKAGE_URL
    773 PACKAGE_BUGREPORT
    774 PACKAGE_STRING
    775 PACKAGE_VERSION
    776 PACKAGE_TARNAME
    777 PACKAGE_NAME
    778 PATH_SEPARATOR
    779 SHELL
    780 am__quote'
    781 ac_subst_files=''
    782 ac_user_opts='
    783 enable_option_checking
    784 enable_silent_rules
    785 enable_dependency_tracking
    786 enable_selective_werror
    787 enable_strict_compilation
    788 with_render
    789 with_xkb
    790 with_appdefaultdir
    791 '
    792       ac_precious_vars='build_alias
    793 host_alias
    794 target_alias
    795 CC
    796 CFLAGS
    797 LDFLAGS
    798 LIBS
    799 CPPFLAGS
    800 PKG_CONFIG
    801 PKG_CONFIG_PATH
    802 PKG_CONFIG_LIBDIR
    803 XLOGO_CFLAGS
    804 XLOGO_LIBS
    805 APPDEFS_CFLAGS
    806 APPDEFS_LIBS'
    807 
    808 
    809 # Initialize some variables set by options.
    810 ac_init_help=
    811 ac_init_version=false
    812 ac_unrecognized_opts=
    813 ac_unrecognized_sep=
    814 # The variables have the same names as the options, with
    815 # dashes changed to underlines.
    816 cache_file=/dev/null
    817 exec_prefix=NONE
    818 no_create=
    819 no_recursion=
    820 prefix=NONE
    821 program_prefix=NONE
    822 program_suffix=NONE
    823 program_transform_name=s,x,x,
    824 silent=
    825 site=
    826 srcdir=
    827 verbose=
    828 x_includes=NONE
    829 x_libraries=NONE
    830 
    831 # Installation directory options.
    832 # These are left unexpanded so users can "make install exec_prefix=/foo"
    833 # and all the variables that are supposed to be based on exec_prefix
    834 # by default will actually change.
    835 # Use braces instead of parens because sh, perl, etc. also accept them.
    836 # (The list follows the same order as the GNU Coding Standards.)
    837 bindir='${exec_prefix}/bin'
    838 sbindir='${exec_prefix}/sbin'
    839 libexecdir='${exec_prefix}/libexec'
    840 datarootdir='${prefix}/share'
    841 datadir='${datarootdir}'
    842 sysconfdir='${prefix}/etc'
    843 sharedstatedir='${prefix}/com'
    844 localstatedir='${prefix}/var'
    845 runstatedir='${localstatedir}/run'
    846 includedir='${prefix}/include'
    847 oldincludedir='/usr/include'
    848 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    849 infodir='${datarootdir}/info'
    850 htmldir='${docdir}'
    851 dvidir='${docdir}'
    852 pdfdir='${docdir}'
    853 psdir='${docdir}'
    854 libdir='${exec_prefix}/lib'
    855 localedir='${datarootdir}/locale'
    856 mandir='${datarootdir}/man'
    857 
    858 ac_prev=
    859 ac_dashdash=
    860 for ac_option
    861 do
    862   # If the previous option needs an argument, assign it.
    863   if test -n "$ac_prev"; then
    864     eval $ac_prev=\$ac_option
    865     ac_prev=
    866     continue
    867   fi
    868 
    869   case $ac_option in
    870   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    871   *=)   ac_optarg= ;;
    872   *)    ac_optarg=yes ;;
    873   esac
    874 
    875   case $ac_dashdash$ac_option in
    876   --)
    877     ac_dashdash=yes ;;
    878 
    879   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    880     ac_prev=bindir ;;
    881   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    882     bindir=$ac_optarg ;;
    883 
    884   -build | --build | --buil | --bui | --bu)
    885     ac_prev=build_alias ;;
    886   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    887     build_alias=$ac_optarg ;;
    888 
    889   -cache-file | --cache-file | --cache-fil | --cache-fi \
    890   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    891     ac_prev=cache_file ;;
    892   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    893   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    894     cache_file=$ac_optarg ;;
    895 
    896   --config-cache | -C)
    897     cache_file=config.cache ;;
    898 
    899   -datadir | --datadir | --datadi | --datad)
    900     ac_prev=datadir ;;
    901   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    902     datadir=$ac_optarg ;;
    903 
    904   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    905   | --dataroo | --dataro | --datar)
    906     ac_prev=datarootdir ;;
    907   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    908   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    909     datarootdir=$ac_optarg ;;
    910 
    911   -disable-* | --disable-*)
    912     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    913     # Reject names that are not valid shell variable names.
    914     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    915       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    916     ac_useropt_orig=$ac_useropt
    917     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    918     case $ac_user_opts in
    919       *"
    920 "enable_$ac_useropt"
    921 "*) ;;
    922       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    923 	 ac_unrecognized_sep=', ';;
    924     esac
    925     eval enable_$ac_useropt=no ;;
    926 
    927   -docdir | --docdir | --docdi | --doc | --do)
    928     ac_prev=docdir ;;
    929   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    930     docdir=$ac_optarg ;;
    931 
    932   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    933     ac_prev=dvidir ;;
    934   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    935     dvidir=$ac_optarg ;;
    936 
    937   -enable-* | --enable-*)
    938     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    939     # Reject names that are not valid shell variable names.
    940     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    941       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    942     ac_useropt_orig=$ac_useropt
    943     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    944     case $ac_user_opts in
    945       *"
    946 "enable_$ac_useropt"
    947 "*) ;;
    948       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    949 	 ac_unrecognized_sep=', ';;
    950     esac
    951     eval enable_$ac_useropt=\$ac_optarg ;;
    952 
    953   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    954   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    955   | --exec | --exe | --ex)
    956     ac_prev=exec_prefix ;;
    957   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    958   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    959   | --exec=* | --exe=* | --ex=*)
    960     exec_prefix=$ac_optarg ;;
    961 
    962   -gas | --gas | --ga | --g)
    963     # Obsolete; use --with-gas.
    964     with_gas=yes ;;
    965 
    966   -help | --help | --hel | --he | -h)
    967     ac_init_help=long ;;
    968   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    969     ac_init_help=recursive ;;
    970   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    971     ac_init_help=short ;;
    972 
    973   -host | --host | --hos | --ho)
    974     ac_prev=host_alias ;;
    975   -host=* | --host=* | --hos=* | --ho=*)
    976     host_alias=$ac_optarg ;;
    977 
    978   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    979     ac_prev=htmldir ;;
    980   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    981   | --ht=*)
    982     htmldir=$ac_optarg ;;
    983 
    984   -includedir | --includedir | --includedi | --included | --include \
    985   | --includ | --inclu | --incl | --inc)
    986     ac_prev=includedir ;;
    987   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    988   | --includ=* | --inclu=* | --incl=* | --inc=*)
    989     includedir=$ac_optarg ;;
    990 
    991   -infodir | --infodir | --infodi | --infod | --info | --inf)
    992     ac_prev=infodir ;;
    993   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    994     infodir=$ac_optarg ;;
    995 
    996   -libdir | --libdir | --libdi | --libd)
    997     ac_prev=libdir ;;
    998   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    999     libdir=$ac_optarg ;;
   1000 
   1001   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1002   | --libexe | --libex | --libe)
   1003     ac_prev=libexecdir ;;
   1004   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1005   | --libexe=* | --libex=* | --libe=*)
   1006     libexecdir=$ac_optarg ;;
   1007 
   1008   -localedir | --localedir | --localedi | --localed | --locale)
   1009     ac_prev=localedir ;;
   1010   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1011     localedir=$ac_optarg ;;
   1012 
   1013   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1014   | --localstate | --localstat | --localsta | --localst | --locals)
   1015     ac_prev=localstatedir ;;
   1016   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1017   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1018     localstatedir=$ac_optarg ;;
   1019 
   1020   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1021     ac_prev=mandir ;;
   1022   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1023     mandir=$ac_optarg ;;
   1024 
   1025   -nfp | --nfp | --nf)
   1026     # Obsolete; use --without-fp.
   1027     with_fp=no ;;
   1028 
   1029   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1030   | --no-cr | --no-c | -n)
   1031     no_create=yes ;;
   1032 
   1033   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1034   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1035     no_recursion=yes ;;
   1036 
   1037   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1038   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1039   | --oldin | --oldi | --old | --ol | --o)
   1040     ac_prev=oldincludedir ;;
   1041   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1042   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1043   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1044     oldincludedir=$ac_optarg ;;
   1045 
   1046   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1047     ac_prev=prefix ;;
   1048   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1049     prefix=$ac_optarg ;;
   1050 
   1051   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1052   | --program-pre | --program-pr | --program-p)
   1053     ac_prev=program_prefix ;;
   1054   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1055   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1056     program_prefix=$ac_optarg ;;
   1057 
   1058   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1059   | --program-suf | --program-su | --program-s)
   1060     ac_prev=program_suffix ;;
   1061   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1062   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1063     program_suffix=$ac_optarg ;;
   1064 
   1065   -program-transform-name | --program-transform-name \
   1066   | --program-transform-nam | --program-transform-na \
   1067   | --program-transform-n | --program-transform- \
   1068   | --program-transform | --program-transfor \
   1069   | --program-transfo | --program-transf \
   1070   | --program-trans | --program-tran \
   1071   | --progr-tra | --program-tr | --program-t)
   1072     ac_prev=program_transform_name ;;
   1073   -program-transform-name=* | --program-transform-name=* \
   1074   | --program-transform-nam=* | --program-transform-na=* \
   1075   | --program-transform-n=* | --program-transform-=* \
   1076   | --program-transform=* | --program-transfor=* \
   1077   | --program-transfo=* | --program-transf=* \
   1078   | --program-trans=* | --program-tran=* \
   1079   | --progr-tra=* | --program-tr=* | --program-t=*)
   1080     program_transform_name=$ac_optarg ;;
   1081 
   1082   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1083     ac_prev=pdfdir ;;
   1084   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1085     pdfdir=$ac_optarg ;;
   1086 
   1087   -psdir | --psdir | --psdi | --psd | --ps)
   1088     ac_prev=psdir ;;
   1089   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1090     psdir=$ac_optarg ;;
   1091 
   1092   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1093   | -silent | --silent | --silen | --sile | --sil)
   1094     silent=yes ;;
   1095 
   1096   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1097   | --runstate | --runstat | --runsta | --runst | --runs \
   1098   | --run | --ru | --r)
   1099     ac_prev=runstatedir ;;
   1100   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1101   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1102   | --run=* | --ru=* | --r=*)
   1103     runstatedir=$ac_optarg ;;
   1104 
   1105   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1106     ac_prev=sbindir ;;
   1107   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1108   | --sbi=* | --sb=*)
   1109     sbindir=$ac_optarg ;;
   1110 
   1111   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1112   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1113   | --sharedst | --shareds | --shared | --share | --shar \
   1114   | --sha | --sh)
   1115     ac_prev=sharedstatedir ;;
   1116   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1117   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1118   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1119   | --sha=* | --sh=*)
   1120     sharedstatedir=$ac_optarg ;;
   1121 
   1122   -site | --site | --sit)
   1123     ac_prev=site ;;
   1124   -site=* | --site=* | --sit=*)
   1125     site=$ac_optarg ;;
   1126 
   1127   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1128     ac_prev=srcdir ;;
   1129   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1130     srcdir=$ac_optarg ;;
   1131 
   1132   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1133   | --syscon | --sysco | --sysc | --sys | --sy)
   1134     ac_prev=sysconfdir ;;
   1135   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1136   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1137     sysconfdir=$ac_optarg ;;
   1138 
   1139   -target | --target | --targe | --targ | --tar | --ta | --t)
   1140     ac_prev=target_alias ;;
   1141   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1142     target_alias=$ac_optarg ;;
   1143 
   1144   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1145     verbose=yes ;;
   1146 
   1147   -version | --version | --versio | --versi | --vers | -V)
   1148     ac_init_version=: ;;
   1149 
   1150   -with-* | --with-*)
   1151     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1152     # Reject names that are not valid shell variable names.
   1153     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1154       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1155     ac_useropt_orig=$ac_useropt
   1156     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1157     case $ac_user_opts in
   1158       *"
   1159 "with_$ac_useropt"
   1160 "*) ;;
   1161       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1162 	 ac_unrecognized_sep=', ';;
   1163     esac
   1164     eval with_$ac_useropt=\$ac_optarg ;;
   1165 
   1166   -without-* | --without-*)
   1167     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1168     # Reject names that are not valid shell variable names.
   1169     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1170       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1171     ac_useropt_orig=$ac_useropt
   1172     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1173     case $ac_user_opts in
   1174       *"
   1175 "with_$ac_useropt"
   1176 "*) ;;
   1177       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1178 	 ac_unrecognized_sep=', ';;
   1179     esac
   1180     eval with_$ac_useropt=no ;;
   1181 
   1182   --x)
   1183     # Obsolete; use --with-x.
   1184     with_x=yes ;;
   1185 
   1186   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1187   | --x-incl | --x-inc | --x-in | --x-i)
   1188     ac_prev=x_includes ;;
   1189   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1190   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1191     x_includes=$ac_optarg ;;
   1192 
   1193   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1194   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1195     ac_prev=x_libraries ;;
   1196   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1197   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1198     x_libraries=$ac_optarg ;;
   1199 
   1200   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1201 Try \`$0 --help' for more information"
   1202     ;;
   1203 
   1204   *=*)
   1205     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1206     # Reject names that are not valid shell variable names.
   1207     case $ac_envvar in #(
   1208       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1209       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1210     esac
   1211     eval $ac_envvar=\$ac_optarg
   1212     export $ac_envvar ;;
   1213 
   1214   *)
   1215     # FIXME: should be removed in autoconf 3.0.
   1216     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1217     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1218       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1219     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1220     ;;
   1221 
   1222   esac
   1223 done
   1224 
   1225 if test -n "$ac_prev"; then
   1226   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1227   as_fn_error $? "missing argument to $ac_option"
   1228 fi
   1229 
   1230 if test -n "$ac_unrecognized_opts"; then
   1231   case $enable_option_checking in
   1232     no) ;;
   1233     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1234     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1235   esac
   1236 fi
   1237 
   1238 # Check all directory arguments for consistency.
   1239 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1240 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1241 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1242 		libdir localedir mandir runstatedir
   1243 do
   1244   eval ac_val=\$$ac_var
   1245   # Remove trailing slashes.
   1246   case $ac_val in
   1247     */ )
   1248       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1249       eval $ac_var=\$ac_val;;
   1250   esac
   1251   # Be sure to have absolute directory names.
   1252   case $ac_val in
   1253     [\\/$]* | ?:[\\/]* )  continue;;
   1254     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1255   esac
   1256   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1257 done
   1258 
   1259 # There might be people who depend on the old broken behavior: `$host'
   1260 # used to hold the argument of --host etc.
   1261 # FIXME: To remove some day.
   1262 build=$build_alias
   1263 host=$host_alias
   1264 target=$target_alias
   1265 
   1266 # FIXME: To remove some day.
   1267 if test "x$host_alias" != x; then
   1268   if test "x$build_alias" = x; then
   1269     cross_compiling=maybe
   1270   elif test "x$build_alias" != "x$host_alias"; then
   1271     cross_compiling=yes
   1272   fi
   1273 fi
   1274 
   1275 ac_tool_prefix=
   1276 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1277 
   1278 test "$silent" = yes && exec 6>/dev/null
   1279 
   1280 
   1281 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1282 ac_ls_di=`ls -di .` &&
   1283 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1284   as_fn_error $? "working directory cannot be determined"
   1285 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1286   as_fn_error $? "pwd does not report name of working directory"
   1287 
   1288 
   1289 # Find the source files, if location was not specified.
   1290 if test -z "$srcdir"; then
   1291   ac_srcdir_defaulted=yes
   1292   # Try the directory containing this script, then the parent directory.
   1293   ac_confdir=`$as_dirname -- "$as_myself" ||
   1294 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1295 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1296 	 X"$as_myself" : 'X\(//\)$' \| \
   1297 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1298 printf "%s\n" X"$as_myself" |
   1299     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1300 	    s//\1/
   1301 	    q
   1302 	  }
   1303 	  /^X\(\/\/\)[^/].*/{
   1304 	    s//\1/
   1305 	    q
   1306 	  }
   1307 	  /^X\(\/\/\)$/{
   1308 	    s//\1/
   1309 	    q
   1310 	  }
   1311 	  /^X\(\/\).*/{
   1312 	    s//\1/
   1313 	    q
   1314 	  }
   1315 	  s/.*/./; q'`
   1316   srcdir=$ac_confdir
   1317   if test ! -r "$srcdir/$ac_unique_file"; then
   1318     srcdir=..
   1319   fi
   1320 else
   1321   ac_srcdir_defaulted=no
   1322 fi
   1323 if test ! -r "$srcdir/$ac_unique_file"; then
   1324   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1325   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1326 fi
   1327 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1328 ac_abs_confdir=`(
   1329 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1330 	pwd)`
   1331 # When building in place, set srcdir=.
   1332 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1333   srcdir=.
   1334 fi
   1335 # Remove unnecessary trailing slashes from srcdir.
   1336 # Double slashes in file names in object file debugging info
   1337 # mess up M-x gdb in Emacs.
   1338 case $srcdir in
   1339 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1340 esac
   1341 for ac_var in $ac_precious_vars; do
   1342   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1343   eval ac_env_${ac_var}_value=\$${ac_var}
   1344   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1345   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1346 done
   1347 
   1348 #
   1349 # Report the --help message.
   1350 #
   1351 if test "$ac_init_help" = "long"; then
   1352   # Omit some internal or obsolete options to make the list less imposing.
   1353   # This message is too long to be a string in the A/UX 3.1 sh.
   1354   cat <<_ACEOF
   1355 \`configure' configures xlogo 1.0.6 to adapt to many kinds of systems.
   1356 
   1357 Usage: $0 [OPTION]... [VAR=VALUE]...
   1358 
   1359 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1360 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1361 
   1362 Defaults for the options are specified in brackets.
   1363 
   1364 Configuration:
   1365   -h, --help              display this help and exit
   1366       --help=short        display options specific to this package
   1367       --help=recursive    display the short help of all the included packages
   1368   -V, --version           display version information and exit
   1369   -q, --quiet, --silent   do not print \`checking ...' messages
   1370       --cache-file=FILE   cache test results in FILE [disabled]
   1371   -C, --config-cache      alias for \`--cache-file=config.cache'
   1372   -n, --no-create         do not create output files
   1373       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1374 
   1375 Installation directories:
   1376   --prefix=PREFIX         install architecture-independent files in PREFIX
   1377                           [$ac_default_prefix]
   1378   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1379                           [PREFIX]
   1380 
   1381 By default, \`make install' will install all the files in
   1382 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1383 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1384 for instance \`--prefix=\$HOME'.
   1385 
   1386 For better control, use the options below.
   1387 
   1388 Fine tuning of the installation directories:
   1389   --bindir=DIR            user executables [EPREFIX/bin]
   1390   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1391   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1392   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1393   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1394   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1395   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1396   --libdir=DIR            object code libraries [EPREFIX/lib]
   1397   --includedir=DIR        C header files [PREFIX/include]
   1398   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1399   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1400   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1401   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1402   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1403   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1404   --docdir=DIR            documentation root [DATAROOTDIR/doc/xlogo]
   1405   --htmldir=DIR           html documentation [DOCDIR]
   1406   --dvidir=DIR            dvi documentation [DOCDIR]
   1407   --pdfdir=DIR            pdf documentation [DOCDIR]
   1408   --psdir=DIR             ps documentation [DOCDIR]
   1409 _ACEOF
   1410 
   1411   cat <<\_ACEOF
   1412 
   1413 Program names:
   1414   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1415   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1416   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1417 
   1418 System types:
   1419   --build=BUILD     configure for building on BUILD [guessed]
   1420   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1421 _ACEOF
   1422 fi
   1423 
   1424 if test -n "$ac_init_help"; then
   1425   case $ac_init_help in
   1426      short | recursive ) echo "Configuration of xlogo 1.0.6:";;
   1427    esac
   1428   cat <<\_ACEOF
   1429 
   1430 Optional Features:
   1431   --disable-option-checking  ignore unrecognized --enable/--with options
   1432   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1433   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1434   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1435   --disable-silent-rules  verbose build output (undo: "make V=0")
   1436   --enable-dependency-tracking
   1437                           do not reject slow dependency extractors
   1438   --disable-dependency-tracking
   1439                           speeds up one-time build
   1440   --disable-selective-werror
   1441                           Turn off selective compiler errors. (default:
   1442                           enabled)
   1443   --enable-strict-compilation
   1444                           Enable all warnings from compiler and make them
   1445                           errors (default: disabled)
   1446 
   1447 Optional Packages:
   1448   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1449   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1450   --with-render           Use Xrender & Xft2 to draw logo
   1451   --with-xkb              Use XKB to sound bells
   1452   --with-appdefaultdir=<pathname>
   1453                           specify directory for app-defaults files (default is
   1454                           autodetected)
   1455 
   1456 Some influential environment variables:
   1457   CC          C compiler command
   1458   CFLAGS      C compiler flags
   1459   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1460               nonstandard directory <lib dir>
   1461   LIBS        libraries to pass to the linker, e.g. -l<library>
   1462   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1463               you have headers in a nonstandard directory <include dir>
   1464   PKG_CONFIG  path to pkg-config utility
   1465   PKG_CONFIG_PATH
   1466               directories to add to pkg-config's search path
   1467   PKG_CONFIG_LIBDIR
   1468               path overriding pkg-config's built-in search path
   1469   XLOGO_CFLAGS
   1470               C compiler flags for XLOGO, overriding pkg-config
   1471   XLOGO_LIBS  linker flags for XLOGO, overriding pkg-config
   1472   APPDEFS_CFLAGS
   1473               C compiler flags for APPDEFS, overriding pkg-config
   1474   APPDEFS_LIBS
   1475               linker flags for APPDEFS, overriding pkg-config
   1476 
   1477 Use these variables to override the choices made by `configure' or to help
   1478 it to find libraries and programs with nonstandard names/locations.
   1479 
   1480 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xlogo/-/issues>.
   1481 _ACEOF
   1482 ac_status=$?
   1483 fi
   1484 
   1485 if test "$ac_init_help" = "recursive"; then
   1486   # If there are subdirs, report their specific --help.
   1487   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1488     test -d "$ac_dir" ||
   1489       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1490       continue
   1491     ac_builddir=.
   1492 
   1493 case "$ac_dir" in
   1494 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1495 *)
   1496   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1497   # A ".." for each directory in $ac_dir_suffix.
   1498   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1499   case $ac_top_builddir_sub in
   1500   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1501   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1502   esac ;;
   1503 esac
   1504 ac_abs_top_builddir=$ac_pwd
   1505 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1506 # for backward compatibility:
   1507 ac_top_builddir=$ac_top_build_prefix
   1508 
   1509 case $srcdir in
   1510   .)  # We are building in place.
   1511     ac_srcdir=.
   1512     ac_top_srcdir=$ac_top_builddir_sub
   1513     ac_abs_top_srcdir=$ac_pwd ;;
   1514   [\\/]* | ?:[\\/]* )  # Absolute name.
   1515     ac_srcdir=$srcdir$ac_dir_suffix;
   1516     ac_top_srcdir=$srcdir
   1517     ac_abs_top_srcdir=$srcdir ;;
   1518   *) # Relative name.
   1519     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1520     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1521     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1522 esac
   1523 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1524 
   1525     cd "$ac_dir" || { ac_status=$?; continue; }
   1526     # Check for configure.gnu first; this name is used for a wrapper for
   1527     # Metaconfig's "Configure" on case-insensitive file systems.
   1528     if test -f "$ac_srcdir/configure.gnu"; then
   1529       echo &&
   1530       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1531     elif test -f "$ac_srcdir/configure"; then
   1532       echo &&
   1533       $SHELL "$ac_srcdir/configure" --help=recursive
   1534     else
   1535       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1536     fi || ac_status=$?
   1537     cd "$ac_pwd" || { ac_status=$?; break; }
   1538   done
   1539 fi
   1540 
   1541 test -n "$ac_init_help" && exit $ac_status
   1542 if $ac_init_version; then
   1543   cat <<\_ACEOF
   1544 xlogo configure 1.0.6
   1545 generated by GNU Autoconf 2.71
   1546 
   1547 Copyright (C) 2021 Free Software Foundation, Inc.
   1548 This configure script is free software; the Free Software Foundation
   1549 gives unlimited permission to copy, distribute and modify it.
   1550 _ACEOF
   1551   exit
   1552 fi
   1553 
   1554 ## ------------------------ ##
   1555 ## Autoconf initialization. ##
   1556 ## ------------------------ ##
   1557 
   1558 # ac_fn_c_try_compile LINENO
   1559 # --------------------------
   1560 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1561 ac_fn_c_try_compile ()
   1562 {
   1563   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1564   rm -f conftest.$ac_objext conftest.beam
   1565   if { { ac_try="$ac_compile"
   1566 case "(($ac_try" in
   1567   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1568   *) ac_try_echo=$ac_try;;
   1569 esac
   1570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1571 printf "%s\n" "$ac_try_echo"; } >&5
   1572   (eval "$ac_compile") 2>conftest.err
   1573   ac_status=$?
   1574   if test -s conftest.err; then
   1575     grep -v '^ *+' conftest.err >conftest.er1
   1576     cat conftest.er1 >&5
   1577     mv -f conftest.er1 conftest.err
   1578   fi
   1579   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1580   test $ac_status = 0; } && {
   1581 	 test -z "$ac_c_werror_flag" ||
   1582 	 test ! -s conftest.err
   1583        } && test -s conftest.$ac_objext
   1584 then :
   1585   ac_retval=0
   1586 else $as_nop
   1587   printf "%s\n" "$as_me: failed program was:" >&5
   1588 sed 's/^/| /' conftest.$ac_ext >&5
   1589 
   1590 	ac_retval=1
   1591 fi
   1592   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1593   as_fn_set_status $ac_retval
   1594 
   1595 } # ac_fn_c_try_compile
   1596 
   1597 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1598 # ------------------------------------------------------------------
   1599 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1600 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1601 ac_fn_check_decl ()
   1602 {
   1603   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1604   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1605   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1606 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1607 if eval test \${$3+y}
   1608 then :
   1609   printf %s "(cached) " >&6
   1610 else $as_nop
   1611   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1612   eval ac_save_FLAGS=\$$6
   1613   as_fn_append $6 " $5"
   1614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1615 /* end confdefs.h.  */
   1616 $4
   1617 int
   1618 main (void)
   1619 {
   1620 #ifndef $as_decl_name
   1621 #ifdef __cplusplus
   1622   (void) $as_decl_use;
   1623 #else
   1624   (void) $as_decl_name;
   1625 #endif
   1626 #endif
   1627 
   1628   ;
   1629   return 0;
   1630 }
   1631 _ACEOF
   1632 if ac_fn_c_try_compile "$LINENO"
   1633 then :
   1634   eval "$3=yes"
   1635 else $as_nop
   1636   eval "$3=no"
   1637 fi
   1638 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1639   eval $6=\$ac_save_FLAGS
   1640 
   1641 fi
   1642 eval ac_res=\$$3
   1643 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1644 printf "%s\n" "$ac_res" >&6; }
   1645   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1646 
   1647 } # ac_fn_check_decl
   1648 
   1649 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1650 # -------------------------------------------------------
   1651 # Tests whether HEADER exists and can be compiled using the include files in
   1652 # INCLUDES, setting the cache variable VAR accordingly.
   1653 ac_fn_c_check_header_compile ()
   1654 {
   1655   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1656   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1657 printf %s "checking for $2... " >&6; }
   1658 if eval test \${$3+y}
   1659 then :
   1660   printf %s "(cached) " >&6
   1661 else $as_nop
   1662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1663 /* end confdefs.h.  */
   1664 $4
   1665 #include <$2>
   1666 _ACEOF
   1667 if ac_fn_c_try_compile "$LINENO"
   1668 then :
   1669   eval "$3=yes"
   1670 else $as_nop
   1671   eval "$3=no"
   1672 fi
   1673 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1674 fi
   1675 eval ac_res=\$$3
   1676 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1677 printf "%s\n" "$ac_res" >&6; }
   1678   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1679 
   1680 } # ac_fn_c_check_header_compile
   1681 
   1682 # ac_fn_c_try_link LINENO
   1683 # -----------------------
   1684 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1685 ac_fn_c_try_link ()
   1686 {
   1687   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1688   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1689   if { { ac_try="$ac_link"
   1690 case "(($ac_try" in
   1691   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1692   *) ac_try_echo=$ac_try;;
   1693 esac
   1694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1695 printf "%s\n" "$ac_try_echo"; } >&5
   1696   (eval "$ac_link") 2>conftest.err
   1697   ac_status=$?
   1698   if test -s conftest.err; then
   1699     grep -v '^ *+' conftest.err >conftest.er1
   1700     cat conftest.er1 >&5
   1701     mv -f conftest.er1 conftest.err
   1702   fi
   1703   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1704   test $ac_status = 0; } && {
   1705 	 test -z "$ac_c_werror_flag" ||
   1706 	 test ! -s conftest.err
   1707        } && test -s conftest$ac_exeext && {
   1708 	 test "$cross_compiling" = yes ||
   1709 	 test -x conftest$ac_exeext
   1710        }
   1711 then :
   1712   ac_retval=0
   1713 else $as_nop
   1714   printf "%s\n" "$as_me: failed program was:" >&5
   1715 sed 's/^/| /' conftest.$ac_ext >&5
   1716 
   1717 	ac_retval=1
   1718 fi
   1719   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1720   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1721   # interfere with the next link command; also delete a directory that is
   1722   # left behind by Apple's compiler.  We do this before executing the actions.
   1723   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1724   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1725   as_fn_set_status $ac_retval
   1726 
   1727 } # ac_fn_c_try_link
   1728 ac_configure_args_raw=
   1729 for ac_arg
   1730 do
   1731   case $ac_arg in
   1732   *\'*)
   1733     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1734   esac
   1735   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1736 done
   1737 
   1738 case $ac_configure_args_raw in
   1739   *$as_nl*)
   1740     ac_safe_unquote= ;;
   1741   *)
   1742     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1743     ac_unsafe_a="$ac_unsafe_z#~"
   1744     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1745     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1746 esac
   1747 
   1748 cat >config.log <<_ACEOF
   1749 This file contains any messages produced by compilers while
   1750 running configure, to aid debugging if configure makes a mistake.
   1751 
   1752 It was created by xlogo $as_me 1.0.6, which was
   1753 generated by GNU Autoconf 2.71.  Invocation command line was
   1754 
   1755   $ $0$ac_configure_args_raw
   1756 
   1757 _ACEOF
   1758 exec 5>>config.log
   1759 {
   1760 cat <<_ASUNAME
   1761 ## --------- ##
   1762 ## Platform. ##
   1763 ## --------- ##
   1764 
   1765 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1766 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1767 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1768 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1769 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1770 
   1771 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1772 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1773 
   1774 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1775 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1776 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1777 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1778 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1779 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1780 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1781 
   1782 _ASUNAME
   1783 
   1784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1785 for as_dir in $PATH
   1786 do
   1787   IFS=$as_save_IFS
   1788   case $as_dir in #(((
   1789     '') as_dir=./ ;;
   1790     */) ;;
   1791     *) as_dir=$as_dir/ ;;
   1792   esac
   1793     printf "%s\n" "PATH: $as_dir"
   1794   done
   1795 IFS=$as_save_IFS
   1796 
   1797 } >&5
   1798 
   1799 cat >&5 <<_ACEOF
   1800 
   1801 
   1802 ## ----------- ##
   1803 ## Core tests. ##
   1804 ## ----------- ##
   1805 
   1806 _ACEOF
   1807 
   1808 
   1809 # Keep a trace of the command line.
   1810 # Strip out --no-create and --no-recursion so they do not pile up.
   1811 # Strip out --silent because we don't want to record it for future runs.
   1812 # Also quote any args containing shell meta-characters.
   1813 # Make two passes to allow for proper duplicate-argument suppression.
   1814 ac_configure_args=
   1815 ac_configure_args0=
   1816 ac_configure_args1=
   1817 ac_must_keep_next=false
   1818 for ac_pass in 1 2
   1819 do
   1820   for ac_arg
   1821   do
   1822     case $ac_arg in
   1823     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1824     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1825     | -silent | --silent | --silen | --sile | --sil)
   1826       continue ;;
   1827     *\'*)
   1828       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1829     esac
   1830     case $ac_pass in
   1831     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1832     2)
   1833       as_fn_append ac_configure_args1 " '$ac_arg'"
   1834       if test $ac_must_keep_next = true; then
   1835 	ac_must_keep_next=false # Got value, back to normal.
   1836       else
   1837 	case $ac_arg in
   1838 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1839 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1840 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1841 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1842 	    case "$ac_configure_args0 " in
   1843 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1844 	    esac
   1845 	    ;;
   1846 	  -* ) ac_must_keep_next=true ;;
   1847 	esac
   1848       fi
   1849       as_fn_append ac_configure_args " '$ac_arg'"
   1850       ;;
   1851     esac
   1852   done
   1853 done
   1854 { ac_configure_args0=; unset ac_configure_args0;}
   1855 { ac_configure_args1=; unset ac_configure_args1;}
   1856 
   1857 # When interrupted or exit'd, cleanup temporary files, and complete
   1858 # config.log.  We remove comments because anyway the quotes in there
   1859 # would cause problems or look ugly.
   1860 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1861 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1862 trap 'exit_status=$?
   1863   # Sanitize IFS.
   1864   IFS=" ""	$as_nl"
   1865   # Save into config.log some information that might help in debugging.
   1866   {
   1867     echo
   1868 
   1869     printf "%s\n" "## ---------------- ##
   1870 ## Cache variables. ##
   1871 ## ---------------- ##"
   1872     echo
   1873     # The following way of writing the cache mishandles newlines in values,
   1874 (
   1875   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1876     eval ac_val=\$$ac_var
   1877     case $ac_val in #(
   1878     *${as_nl}*)
   1879       case $ac_var in #(
   1880       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1881 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1882       esac
   1883       case $ac_var in #(
   1884       _ | IFS | as_nl) ;; #(
   1885       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1886       *) { eval $ac_var=; unset $ac_var;} ;;
   1887       esac ;;
   1888     esac
   1889   done
   1890   (set) 2>&1 |
   1891     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1892     *${as_nl}ac_space=\ *)
   1893       sed -n \
   1894 	"s/'\''/'\''\\\\'\'''\''/g;
   1895 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1896       ;; #(
   1897     *)
   1898       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1899       ;;
   1900     esac |
   1901     sort
   1902 )
   1903     echo
   1904 
   1905     printf "%s\n" "## ----------------- ##
   1906 ## Output variables. ##
   1907 ## ----------------- ##"
   1908     echo
   1909     for ac_var in $ac_subst_vars
   1910     do
   1911       eval ac_val=\$$ac_var
   1912       case $ac_val in
   1913       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1914       esac
   1915       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1916     done | sort
   1917     echo
   1918 
   1919     if test -n "$ac_subst_files"; then
   1920       printf "%s\n" "## ------------------- ##
   1921 ## File substitutions. ##
   1922 ## ------------------- ##"
   1923       echo
   1924       for ac_var in $ac_subst_files
   1925       do
   1926 	eval ac_val=\$$ac_var
   1927 	case $ac_val in
   1928 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1929 	esac
   1930 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1931       done | sort
   1932       echo
   1933     fi
   1934 
   1935     if test -s confdefs.h; then
   1936       printf "%s\n" "## ----------- ##
   1937 ## confdefs.h. ##
   1938 ## ----------- ##"
   1939       echo
   1940       cat confdefs.h
   1941       echo
   1942     fi
   1943     test "$ac_signal" != 0 &&
   1944       printf "%s\n" "$as_me: caught signal $ac_signal"
   1945     printf "%s\n" "$as_me: exit $exit_status"
   1946   } >&5
   1947   rm -f core *.core core.conftest.* &&
   1948     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1949     exit $exit_status
   1950 ' 0
   1951 for ac_signal in 1 2 13 15; do
   1952   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1953 done
   1954 ac_signal=0
   1955 
   1956 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1957 rm -f -r conftest* confdefs.h
   1958 
   1959 printf "%s\n" "/* confdefs.h */" > confdefs.h
   1960 
   1961 # Predefined preprocessor variables.
   1962 
   1963 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   1964 
   1965 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   1966 
   1967 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   1968 
   1969 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   1970 
   1971 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   1972 
   1973 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   1974 
   1975 
   1976 # Let the site file select an alternate cache file if it wants to.
   1977 # Prefer an explicitly selected file to automatically selected ones.
   1978 if test -n "$CONFIG_SITE"; then
   1979   ac_site_files="$CONFIG_SITE"
   1980 elif test "x$prefix" != xNONE; then
   1981   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   1982 else
   1983   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1984 fi
   1985 
   1986 for ac_site_file in $ac_site_files
   1987 do
   1988   case $ac_site_file in #(
   1989   */*) :
   1990      ;; #(
   1991   *) :
   1992     ac_site_file=./$ac_site_file ;;
   1993 esac
   1994   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   1995     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1996 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   1997     sed 's/^/| /' "$ac_site_file" >&5
   1998     . "$ac_site_file" \
   1999       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2000 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2001 as_fn_error $? "failed to load site script $ac_site_file
   2002 See \`config.log' for more details" "$LINENO" 5; }
   2003   fi
   2004 done
   2005 
   2006 if test -r "$cache_file"; then
   2007   # Some versions of bash will fail to source /dev/null (special files
   2008   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2009   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2010     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2011 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2012     case $cache_file in
   2013       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2014       *)                      . "./$cache_file";;
   2015     esac
   2016   fi
   2017 else
   2018   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2019 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2020   >$cache_file
   2021 fi
   2022 
   2023 # Test code for whether the C compiler supports C89 (global declarations)
   2024 ac_c_conftest_c89_globals='
   2025 /* Does the compiler advertise C89 conformance?
   2026    Do not test the value of __STDC__, because some compilers set it to 0
   2027    while being otherwise adequately conformant. */
   2028 #if !defined __STDC__
   2029 # error "Compiler does not advertise C89 conformance"
   2030 #endif
   2031 
   2032 #include <stddef.h>
   2033 #include <stdarg.h>
   2034 struct stat;
   2035 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2036 struct buf { int x; };
   2037 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2038 static char *e (p, i)
   2039      char **p;
   2040      int i;
   2041 {
   2042   return p[i];
   2043 }
   2044 static char *f (char * (*g) (char **, int), char **p, ...)
   2045 {
   2046   char *s;
   2047   va_list v;
   2048   va_start (v,p);
   2049   s = g (p, va_arg (v,int));
   2050   va_end (v);
   2051   return s;
   2052 }
   2053 
   2054 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2055    function prototypes and stuff, but not \xHH hex character constants.
   2056    These do not provoke an error unfortunately, instead are silently treated
   2057    as an "x".  The following induces an error, until -std is added to get
   2058    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2059    array size at least.  It is necessary to write \x00 == 0 to get something
   2060    that is true only with -std.  */
   2061 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2062 
   2063 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2064    inside strings and character constants.  */
   2065 #define FOO(x) '\''x'\''
   2066 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2067 
   2068 int test (int i, double x);
   2069 struct s1 {int (*f) (int a);};
   2070 struct s2 {int (*f) (double a);};
   2071 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2072                int, int);'
   2073 
   2074 # Test code for whether the C compiler supports C89 (body of main).
   2075 ac_c_conftest_c89_main='
   2076 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2077 '
   2078 
   2079 # Test code for whether the C compiler supports C99 (global declarations)
   2080 ac_c_conftest_c99_globals='
   2081 // Does the compiler advertise C99 conformance?
   2082 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2083 # error "Compiler does not advertise C99 conformance"
   2084 #endif
   2085 
   2086 #include <stdbool.h>
   2087 extern int puts (const char *);
   2088 extern int printf (const char *, ...);
   2089 extern int dprintf (int, const char *, ...);
   2090 extern void *malloc (size_t);
   2091 
   2092 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2093 // dprintf is used instead of fprintf to avoid needing to declare
   2094 // FILE and stderr.
   2095 #define debug(...) dprintf (2, __VA_ARGS__)
   2096 #define showlist(...) puts (#__VA_ARGS__)
   2097 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2098 static void
   2099 test_varargs_macros (void)
   2100 {
   2101   int x = 1234;
   2102   int y = 5678;
   2103   debug ("Flag");
   2104   debug ("X = %d\n", x);
   2105   showlist (The first, second, and third items.);
   2106   report (x>y, "x is %d but y is %d", x, y);
   2107 }
   2108 
   2109 // Check long long types.
   2110 #define BIG64 18446744073709551615ull
   2111 #define BIG32 4294967295ul
   2112 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2113 #if !BIG_OK
   2114   #error "your preprocessor is broken"
   2115 #endif
   2116 #if BIG_OK
   2117 #else
   2118   #error "your preprocessor is broken"
   2119 #endif
   2120 static long long int bignum = -9223372036854775807LL;
   2121 static unsigned long long int ubignum = BIG64;
   2122 
   2123 struct incomplete_array
   2124 {
   2125   int datasize;
   2126   double data[];
   2127 };
   2128 
   2129 struct named_init {
   2130   int number;
   2131   const wchar_t *name;
   2132   double average;
   2133 };
   2134 
   2135 typedef const char *ccp;
   2136 
   2137 static inline int
   2138 test_restrict (ccp restrict text)
   2139 {
   2140   // See if C++-style comments work.
   2141   // Iterate through items via the restricted pointer.
   2142   // Also check for declarations in for loops.
   2143   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2144     continue;
   2145   return 0;
   2146 }
   2147 
   2148 // Check varargs and va_copy.
   2149 static bool
   2150 test_varargs (const char *format, ...)
   2151 {
   2152   va_list args;
   2153   va_start (args, format);
   2154   va_list args_copy;
   2155   va_copy (args_copy, args);
   2156 
   2157   const char *str = "";
   2158   int number = 0;
   2159   float fnumber = 0;
   2160 
   2161   while (*format)
   2162     {
   2163       switch (*format++)
   2164 	{
   2165 	case '\''s'\'': // string
   2166 	  str = va_arg (args_copy, const char *);
   2167 	  break;
   2168 	case '\''d'\'': // int
   2169 	  number = va_arg (args_copy, int);
   2170 	  break;
   2171 	case '\''f'\'': // float
   2172 	  fnumber = va_arg (args_copy, double);
   2173 	  break;
   2174 	default:
   2175 	  break;
   2176 	}
   2177     }
   2178   va_end (args_copy);
   2179   va_end (args);
   2180 
   2181   return *str && number && fnumber;
   2182 }
   2183 '
   2184 
   2185 # Test code for whether the C compiler supports C99 (body of main).
   2186 ac_c_conftest_c99_main='
   2187   // Check bool.
   2188   _Bool success = false;
   2189   success |= (argc != 0);
   2190 
   2191   // Check restrict.
   2192   if (test_restrict ("String literal") == 0)
   2193     success = true;
   2194   char *restrict newvar = "Another string";
   2195 
   2196   // Check varargs.
   2197   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2198   test_varargs_macros ();
   2199 
   2200   // Check flexible array members.
   2201   struct incomplete_array *ia =
   2202     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2203   ia->datasize = 10;
   2204   for (int i = 0; i < ia->datasize; ++i)
   2205     ia->data[i] = i * 1.234;
   2206 
   2207   // Check named initializers.
   2208   struct named_init ni = {
   2209     .number = 34,
   2210     .name = L"Test wide string",
   2211     .average = 543.34343,
   2212   };
   2213 
   2214   ni.number = 58;
   2215 
   2216   int dynamic_array[ni.number];
   2217   dynamic_array[0] = argv[0][0];
   2218   dynamic_array[ni.number - 1] = 543;
   2219 
   2220   // work around unused variable warnings
   2221   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2222 	 || dynamic_array[ni.number - 1] != 543);
   2223 '
   2224 
   2225 # Test code for whether the C compiler supports C11 (global declarations)
   2226 ac_c_conftest_c11_globals='
   2227 // Does the compiler advertise C11 conformance?
   2228 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2229 # error "Compiler does not advertise C11 conformance"
   2230 #endif
   2231 
   2232 // Check _Alignas.
   2233 char _Alignas (double) aligned_as_double;
   2234 char _Alignas (0) no_special_alignment;
   2235 extern char aligned_as_int;
   2236 char _Alignas (0) _Alignas (int) aligned_as_int;
   2237 
   2238 // Check _Alignof.
   2239 enum
   2240 {
   2241   int_alignment = _Alignof (int),
   2242   int_array_alignment = _Alignof (int[100]),
   2243   char_alignment = _Alignof (char)
   2244 };
   2245 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2246 
   2247 // Check _Noreturn.
   2248 int _Noreturn does_not_return (void) { for (;;) continue; }
   2249 
   2250 // Check _Static_assert.
   2251 struct test_static_assert
   2252 {
   2253   int x;
   2254   _Static_assert (sizeof (int) <= sizeof (long int),
   2255                   "_Static_assert does not work in struct");
   2256   long int y;
   2257 };
   2258 
   2259 // Check UTF-8 literals.
   2260 #define u8 syntax error!
   2261 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2262 
   2263 // Check duplicate typedefs.
   2264 typedef long *long_ptr;
   2265 typedef long int *long_ptr;
   2266 typedef long_ptr long_ptr;
   2267 
   2268 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2269 struct anonymous
   2270 {
   2271   union {
   2272     struct { int i; int j; };
   2273     struct { int k; long int l; } w;
   2274   };
   2275   int m;
   2276 } v1;
   2277 '
   2278 
   2279 # Test code for whether the C compiler supports C11 (body of main).
   2280 ac_c_conftest_c11_main='
   2281   _Static_assert ((offsetof (struct anonymous, i)
   2282 		   == offsetof (struct anonymous, w.k)),
   2283 		  "Anonymous union alignment botch");
   2284   v1.i = 2;
   2285   v1.w.k = 5;
   2286   ok |= v1.i != 5;
   2287 '
   2288 
   2289 # Test code for whether the C compiler supports C11 (complete).
   2290 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2291 ${ac_c_conftest_c99_globals}
   2292 ${ac_c_conftest_c11_globals}
   2293 
   2294 int
   2295 main (int argc, char **argv)
   2296 {
   2297   int ok = 0;
   2298   ${ac_c_conftest_c89_main}
   2299   ${ac_c_conftest_c99_main}
   2300   ${ac_c_conftest_c11_main}
   2301   return ok;
   2302 }
   2303 "
   2304 
   2305 # Test code for whether the C compiler supports C99 (complete).
   2306 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2307 ${ac_c_conftest_c99_globals}
   2308 
   2309 int
   2310 main (int argc, char **argv)
   2311 {
   2312   int ok = 0;
   2313   ${ac_c_conftest_c89_main}
   2314   ${ac_c_conftest_c99_main}
   2315   return ok;
   2316 }
   2317 "
   2318 
   2319 # Test code for whether the C compiler supports C89 (complete).
   2320 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2321 
   2322 int
   2323 main (int argc, char **argv)
   2324 {
   2325   int ok = 0;
   2326   ${ac_c_conftest_c89_main}
   2327   return ok;
   2328 }
   2329 "
   2330 
   2331 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2332 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2333 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2334 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2335 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2336 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2337 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2338 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2339 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2340 
   2341 # Auxiliary files required by this configure script.
   2342 ac_aux_files="config.guess config.sub compile missing install-sh"
   2343 
   2344 # Locations in which to look for auxiliary files.
   2345 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2346 
   2347 # Search for a directory containing all of the required auxiliary files,
   2348 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2349 # If we don't find one directory that contains all the files we need,
   2350 # we report the set of missing files from the *first* directory in
   2351 # $ac_aux_dir_candidates and give up.
   2352 ac_missing_aux_files=""
   2353 ac_first_candidate=:
   2354 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2356 as_found=false
   2357 for as_dir in $ac_aux_dir_candidates
   2358 do
   2359   IFS=$as_save_IFS
   2360   case $as_dir in #(((
   2361     '') as_dir=./ ;;
   2362     */) ;;
   2363     *) as_dir=$as_dir/ ;;
   2364   esac
   2365   as_found=:
   2366 
   2367   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2368   ac_aux_dir_found=yes
   2369   ac_install_sh=
   2370   for ac_aux in $ac_aux_files
   2371   do
   2372     # As a special case, if "install-sh" is required, that requirement
   2373     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2374     # and $ac_install_sh is set appropriately for whichever one is found.
   2375     if test x"$ac_aux" = x"install-sh"
   2376     then
   2377       if test -f "${as_dir}install-sh"; then
   2378         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2379         ac_install_sh="${as_dir}install-sh -c"
   2380       elif test -f "${as_dir}install.sh"; then
   2381         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2382         ac_install_sh="${as_dir}install.sh -c"
   2383       elif test -f "${as_dir}shtool"; then
   2384         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2385         ac_install_sh="${as_dir}shtool install -c"
   2386       else
   2387         ac_aux_dir_found=no
   2388         if $ac_first_candidate; then
   2389           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2390         else
   2391           break
   2392         fi
   2393       fi
   2394     else
   2395       if test -f "${as_dir}${ac_aux}"; then
   2396         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2397       else
   2398         ac_aux_dir_found=no
   2399         if $ac_first_candidate; then
   2400           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2401         else
   2402           break
   2403         fi
   2404       fi
   2405     fi
   2406   done
   2407   if test "$ac_aux_dir_found" = yes; then
   2408     ac_aux_dir="$as_dir"
   2409     break
   2410   fi
   2411   ac_first_candidate=false
   2412 
   2413   as_found=false
   2414 done
   2415 IFS=$as_save_IFS
   2416 if $as_found
   2417 then :
   2418 
   2419 else $as_nop
   2420   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2421 fi
   2422 
   2423 
   2424 # These three variables are undocumented and unsupported,
   2425 # and are intended to be withdrawn in a future Autoconf release.
   2426 # They can cause serious problems if a builder's source tree is in a directory
   2427 # whose full name contains unusual characters.
   2428 if test -f "${ac_aux_dir}config.guess"; then
   2429   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2430 fi
   2431 if test -f "${ac_aux_dir}config.sub"; then
   2432   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2433 fi
   2434 if test -f "$ac_aux_dir/configure"; then
   2435   ac_configure="$SHELL ${ac_aux_dir}configure"
   2436 fi
   2437 
   2438 # Check that the precious variables saved in the cache have kept the same
   2439 # value.
   2440 ac_cache_corrupted=false
   2441 for ac_var in $ac_precious_vars; do
   2442   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2443   eval ac_new_set=\$ac_env_${ac_var}_set
   2444   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2445   eval ac_new_val=\$ac_env_${ac_var}_value
   2446   case $ac_old_set,$ac_new_set in
   2447     set,)
   2448       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2449 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2450       ac_cache_corrupted=: ;;
   2451     ,set)
   2452       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2453 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2454       ac_cache_corrupted=: ;;
   2455     ,);;
   2456     *)
   2457       if test "x$ac_old_val" != "x$ac_new_val"; then
   2458 	# differences in whitespace do not lead to failure.
   2459 	ac_old_val_w=`echo x $ac_old_val`
   2460 	ac_new_val_w=`echo x $ac_new_val`
   2461 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2462 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2463 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2464 	  ac_cache_corrupted=:
   2465 	else
   2466 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2467 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2468 	  eval $ac_var=\$ac_old_val
   2469 	fi
   2470 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2471 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2472 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2473 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2474       fi;;
   2475   esac
   2476   # Pass precious variables to config.status.
   2477   if test "$ac_new_set" = set; then
   2478     case $ac_new_val in
   2479     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2480     *) ac_arg=$ac_var=$ac_new_val ;;
   2481     esac
   2482     case " $ac_configure_args " in
   2483       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2484       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2485     esac
   2486   fi
   2487 done
   2488 if $ac_cache_corrupted; then
   2489   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2490 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2491   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2492 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2493   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2494 	    and start over" "$LINENO" 5
   2495 fi
   2496 ## -------------------- ##
   2497 ## Main body of script. ##
   2498 ## -------------------- ##
   2499 
   2500 ac_ext=c
   2501 ac_cpp='$CPP $CPPFLAGS'
   2502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2505 
   2506 
   2507 
   2508 ac_config_headers="$ac_config_headers config.h"
   2509 
   2510 
   2511 # Initialize Automake
   2512 am__api_version='1.16'
   2513 
   2514 
   2515 
   2516   # Find a good install program.  We prefer a C program (faster),
   2517 # so one script is as good as another.  But avoid the broken or
   2518 # incompatible versions:
   2519 # SysV /etc/install, /usr/sbin/install
   2520 # SunOS /usr/etc/install
   2521 # IRIX /sbin/install
   2522 # AIX /bin/install
   2523 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2524 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2525 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2526 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2527 # OS/2's system install, which has a completely different semantic
   2528 # ./install, which can be erroneously created by make from ./install.sh.
   2529 # Reject install programs that cannot install multiple files.
   2530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2531 printf %s "checking for a BSD-compatible install... " >&6; }
   2532 if test -z "$INSTALL"; then
   2533 if test ${ac_cv_path_install+y}
   2534 then :
   2535   printf %s "(cached) " >&6
   2536 else $as_nop
   2537   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2538 for as_dir in $PATH
   2539 do
   2540   IFS=$as_save_IFS
   2541   case $as_dir in #(((
   2542     '') as_dir=./ ;;
   2543     */) ;;
   2544     *) as_dir=$as_dir/ ;;
   2545   esac
   2546     # Account for fact that we put trailing slashes in our PATH walk.
   2547 case $as_dir in #((
   2548   ./ | /[cC]/* | \
   2549   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2550   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2551   /usr/ucb/* ) ;;
   2552   *)
   2553     # OSF1 and SCO ODT 3.0 have their own names for install.
   2554     # Don't use installbsd from OSF since it installs stuff as root
   2555     # by default.
   2556     for ac_prog in ginstall scoinst install; do
   2557       for ac_exec_ext in '' $ac_executable_extensions; do
   2558 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2559 	  if test $ac_prog = install &&
   2560 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2561 	    # AIX install.  It has an incompatible calling convention.
   2562 	    :
   2563 	  elif test $ac_prog = install &&
   2564 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2565 	    # program-specific install script used by HP pwplus--don't use.
   2566 	    :
   2567 	  else
   2568 	    rm -rf conftest.one conftest.two conftest.dir
   2569 	    echo one > conftest.one
   2570 	    echo two > conftest.two
   2571 	    mkdir conftest.dir
   2572 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2573 	      test -s conftest.one && test -s conftest.two &&
   2574 	      test -s conftest.dir/conftest.one &&
   2575 	      test -s conftest.dir/conftest.two
   2576 	    then
   2577 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2578 	      break 3
   2579 	    fi
   2580 	  fi
   2581 	fi
   2582       done
   2583     done
   2584     ;;
   2585 esac
   2586 
   2587   done
   2588 IFS=$as_save_IFS
   2589 
   2590 rm -rf conftest.one conftest.two conftest.dir
   2591 
   2592 fi
   2593   if test ${ac_cv_path_install+y}; then
   2594     INSTALL=$ac_cv_path_install
   2595   else
   2596     # As a last resort, use the slow shell script.  Don't cache a
   2597     # value for INSTALL within a source directory, because that will
   2598     # break other packages using the cache if that directory is
   2599     # removed, or if the value is a relative name.
   2600     INSTALL=$ac_install_sh
   2601   fi
   2602 fi
   2603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2604 printf "%s\n" "$INSTALL" >&6; }
   2605 
   2606 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2607 # It thinks the first close brace ends the variable substitution.
   2608 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2609 
   2610 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2611 
   2612 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2613 
   2614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2615 printf %s "checking whether build environment is sane... " >&6; }
   2616 # Reject unsafe characters in $srcdir or the absolute working directory
   2617 # name.  Accept space and tab only in the latter.
   2618 am_lf='
   2619 '
   2620 case `pwd` in
   2621   *[\\\"\#\$\&\'\`$am_lf]*)
   2622     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2623 esac
   2624 case $srcdir in
   2625   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2626     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2627 esac
   2628 
   2629 # Do 'set' in a subshell so we don't clobber the current shell's
   2630 # arguments.  Must try -L first in case configure is actually a
   2631 # symlink; some systems play weird games with the mod time of symlinks
   2632 # (eg FreeBSD returns the mod time of the symlink's containing
   2633 # directory).
   2634 if (
   2635    am_has_slept=no
   2636    for am_try in 1 2; do
   2637      echo "timestamp, slept: $am_has_slept" > conftest.file
   2638      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2639      if test "$*" = "X"; then
   2640 	# -L didn't work.
   2641 	set X `ls -t "$srcdir/configure" conftest.file`
   2642      fi
   2643      if test "$*" != "X $srcdir/configure conftest.file" \
   2644 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2645 
   2646 	# If neither matched, then we have a broken ls.  This can happen
   2647 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2648 	# broken ls alias from the environment.  This has actually
   2649 	# happened.  Such a system could not be considered "sane".
   2650 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2651   alias in your environment" "$LINENO" 5
   2652      fi
   2653      if test "$2" = conftest.file || test $am_try -eq 2; then
   2654        break
   2655      fi
   2656      # Just in case.
   2657      sleep 1
   2658      am_has_slept=yes
   2659    done
   2660    test "$2" = conftest.file
   2661    )
   2662 then
   2663    # Ok.
   2664    :
   2665 else
   2666    as_fn_error $? "newly created file is older than distributed files!
   2667 Check your system clock" "$LINENO" 5
   2668 fi
   2669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2670 printf "%s\n" "yes" >&6; }
   2671 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2672 # generated files are strictly newer.
   2673 am_sleep_pid=
   2674 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2675   ( sleep 1 ) &
   2676   am_sleep_pid=$!
   2677 fi
   2678 
   2679 rm -f conftest.file
   2680 
   2681 test "$program_prefix" != NONE &&
   2682   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2683 # Use a double $ so make ignores it.
   2684 test "$program_suffix" != NONE &&
   2685   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2686 # Double any \ or $.
   2687 # By default was `s,x,x', remove it if useless.
   2688 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2689 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2690 
   2691 
   2692 # Expand $ac_aux_dir to an absolute path.
   2693 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2694 
   2695 
   2696   if test x"${MISSING+set}" != xset; then
   2697   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2698 fi
   2699 # Use eval to expand $SHELL
   2700 if eval "$MISSING --is-lightweight"; then
   2701   am_missing_run="$MISSING "
   2702 else
   2703   am_missing_run=
   2704   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2705 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2706 fi
   2707 
   2708 if test x"${install_sh+set}" != xset; then
   2709   case $am_aux_dir in
   2710   *\ * | *\	*)
   2711     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2712   *)
   2713     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2714   esac
   2715 fi
   2716 
   2717 # Installed binaries are usually stripped using 'strip' when the user
   2718 # run "make install-strip".  However 'strip' might not be the right
   2719 # tool to use in cross-compilation environments, therefore Automake
   2720 # will honor the 'STRIP' environment variable to overrule this program.
   2721 if test "$cross_compiling" != no; then
   2722   if test -n "$ac_tool_prefix"; then
   2723   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2724 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2726 printf %s "checking for $ac_word... " >&6; }
   2727 if test ${ac_cv_prog_STRIP+y}
   2728 then :
   2729   printf %s "(cached) " >&6
   2730 else $as_nop
   2731   if test -n "$STRIP"; then
   2732   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2733 else
   2734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2735 for as_dir in $PATH
   2736 do
   2737   IFS=$as_save_IFS
   2738   case $as_dir in #(((
   2739     '') as_dir=./ ;;
   2740     */) ;;
   2741     *) as_dir=$as_dir/ ;;
   2742   esac
   2743     for ac_exec_ext in '' $ac_executable_extensions; do
   2744   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2745     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2746     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2747     break 2
   2748   fi
   2749 done
   2750   done
   2751 IFS=$as_save_IFS
   2752 
   2753 fi
   2754 fi
   2755 STRIP=$ac_cv_prog_STRIP
   2756 if test -n "$STRIP"; then
   2757   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2758 printf "%s\n" "$STRIP" >&6; }
   2759 else
   2760   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2761 printf "%s\n" "no" >&6; }
   2762 fi
   2763 
   2764 
   2765 fi
   2766 if test -z "$ac_cv_prog_STRIP"; then
   2767   ac_ct_STRIP=$STRIP
   2768   # Extract the first word of "strip", so it can be a program name with args.
   2769 set dummy strip; ac_word=$2
   2770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2771 printf %s "checking for $ac_word... " >&6; }
   2772 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2773 then :
   2774   printf %s "(cached) " >&6
   2775 else $as_nop
   2776   if test -n "$ac_ct_STRIP"; then
   2777   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2778 else
   2779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2780 for as_dir in $PATH
   2781 do
   2782   IFS=$as_save_IFS
   2783   case $as_dir in #(((
   2784     '') as_dir=./ ;;
   2785     */) ;;
   2786     *) as_dir=$as_dir/ ;;
   2787   esac
   2788     for ac_exec_ext in '' $ac_executable_extensions; do
   2789   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2790     ac_cv_prog_ac_ct_STRIP="strip"
   2791     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2792     break 2
   2793   fi
   2794 done
   2795   done
   2796 IFS=$as_save_IFS
   2797 
   2798 fi
   2799 fi
   2800 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2801 if test -n "$ac_ct_STRIP"; then
   2802   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2803 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2804 else
   2805   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2806 printf "%s\n" "no" >&6; }
   2807 fi
   2808 
   2809   if test "x$ac_ct_STRIP" = x; then
   2810     STRIP=":"
   2811   else
   2812     case $cross_compiling:$ac_tool_warned in
   2813 yes:)
   2814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2815 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2816 ac_tool_warned=yes ;;
   2817 esac
   2818     STRIP=$ac_ct_STRIP
   2819   fi
   2820 else
   2821   STRIP="$ac_cv_prog_STRIP"
   2822 fi
   2823 
   2824 fi
   2825 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2826 
   2827 
   2828   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2829 printf %s "checking for a race-free mkdir -p... " >&6; }
   2830 if test -z "$MKDIR_P"; then
   2831   if test ${ac_cv_path_mkdir+y}
   2832 then :
   2833   printf %s "(cached) " >&6
   2834 else $as_nop
   2835   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2836 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2837 do
   2838   IFS=$as_save_IFS
   2839   case $as_dir in #(((
   2840     '') as_dir=./ ;;
   2841     */) ;;
   2842     *) as_dir=$as_dir/ ;;
   2843   esac
   2844     for ac_prog in mkdir gmkdir; do
   2845 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2846 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2847 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2848 	     'mkdir ('*'coreutils) '* | \
   2849 	     'BusyBox '* | \
   2850 	     'mkdir (fileutils) '4.1*)
   2851 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2852 	       break 3;;
   2853 	   esac
   2854 	 done
   2855        done
   2856   done
   2857 IFS=$as_save_IFS
   2858 
   2859 fi
   2860 
   2861   test -d ./--version && rmdir ./--version
   2862   if test ${ac_cv_path_mkdir+y}; then
   2863     MKDIR_P="$ac_cv_path_mkdir -p"
   2864   else
   2865     # As a last resort, use the slow shell script.  Don't cache a
   2866     # value for MKDIR_P within a source directory, because that will
   2867     # break other packages using the cache if that directory is
   2868     # removed, or if the value is a relative name.
   2869     MKDIR_P="$ac_install_sh -d"
   2870   fi
   2871 fi
   2872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2873 printf "%s\n" "$MKDIR_P" >&6; }
   2874 
   2875 for ac_prog in gawk mawk nawk awk
   2876 do
   2877   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2878 set dummy $ac_prog; ac_word=$2
   2879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2880 printf %s "checking for $ac_word... " >&6; }
   2881 if test ${ac_cv_prog_AWK+y}
   2882 then :
   2883   printf %s "(cached) " >&6
   2884 else $as_nop
   2885   if test -n "$AWK"; then
   2886   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2887 else
   2888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2889 for as_dir in $PATH
   2890 do
   2891   IFS=$as_save_IFS
   2892   case $as_dir in #(((
   2893     '') as_dir=./ ;;
   2894     */) ;;
   2895     *) as_dir=$as_dir/ ;;
   2896   esac
   2897     for ac_exec_ext in '' $ac_executable_extensions; do
   2898   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2899     ac_cv_prog_AWK="$ac_prog"
   2900     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2901     break 2
   2902   fi
   2903 done
   2904   done
   2905 IFS=$as_save_IFS
   2906 
   2907 fi
   2908 fi
   2909 AWK=$ac_cv_prog_AWK
   2910 if test -n "$AWK"; then
   2911   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2912 printf "%s\n" "$AWK" >&6; }
   2913 else
   2914   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2915 printf "%s\n" "no" >&6; }
   2916 fi
   2917 
   2918 
   2919   test -n "$AWK" && break
   2920 done
   2921 
   2922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2923 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2924 set x ${MAKE-make}
   2925 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2926 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   2927 then :
   2928   printf %s "(cached) " >&6
   2929 else $as_nop
   2930   cat >conftest.make <<\_ACEOF
   2931 SHELL = /bin/sh
   2932 all:
   2933 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2934 _ACEOF
   2935 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2936 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2937   *@@@%%%=?*=@@@%%%*)
   2938     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2939   *)
   2940     eval ac_cv_prog_make_${ac_make}_set=no;;
   2941 esac
   2942 rm -f conftest.make
   2943 fi
   2944 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2945   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2946 printf "%s\n" "yes" >&6; }
   2947   SET_MAKE=
   2948 else
   2949   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2950 printf "%s\n" "no" >&6; }
   2951   SET_MAKE="MAKE=${MAKE-make}"
   2952 fi
   2953 
   2954 rm -rf .tst 2>/dev/null
   2955 mkdir .tst 2>/dev/null
   2956 if test -d .tst; then
   2957   am__leading_dot=.
   2958 else
   2959   am__leading_dot=_
   2960 fi
   2961 rmdir .tst 2>/dev/null
   2962 
   2963 # Check whether --enable-silent-rules was given.
   2964 if test ${enable_silent_rules+y}
   2965 then :
   2966   enableval=$enable_silent_rules;
   2967 fi
   2968 
   2969 case $enable_silent_rules in # (((
   2970   yes) AM_DEFAULT_VERBOSITY=0;;
   2971    no) AM_DEFAULT_VERBOSITY=1;;
   2972     *) AM_DEFAULT_VERBOSITY=1;;
   2973 esac
   2974 am_make=${MAKE-make}
   2975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2976 printf %s "checking whether $am_make supports nested variables... " >&6; }
   2977 if test ${am_cv_make_support_nested_variables+y}
   2978 then :
   2979   printf %s "(cached) " >&6
   2980 else $as_nop
   2981   if printf "%s\n" 'TRUE=$(BAR$(V))
   2982 BAR0=false
   2983 BAR1=true
   2984 V=1
   2985 am__doit:
   2986 	@$(TRUE)
   2987 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2988   am_cv_make_support_nested_variables=yes
   2989 else
   2990   am_cv_make_support_nested_variables=no
   2991 fi
   2992 fi
   2993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2994 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   2995 if test $am_cv_make_support_nested_variables = yes; then
   2996     AM_V='$(V)'
   2997   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2998 else
   2999   AM_V=$AM_DEFAULT_VERBOSITY
   3000   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3001 fi
   3002 AM_BACKSLASH='\'
   3003 
   3004 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3005   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3006   # is not polluted with repeated "-I."
   3007   am__isrc=' -I$(srcdir)'
   3008   # test to see if srcdir already configured
   3009   if test -f $srcdir/config.status; then
   3010     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3011   fi
   3012 fi
   3013 
   3014 # test whether we have cygpath
   3015 if test -z "$CYGPATH_W"; then
   3016   if (cygpath --version) >/dev/null 2>/dev/null; then
   3017     CYGPATH_W='cygpath -w'
   3018   else
   3019     CYGPATH_W=echo
   3020   fi
   3021 fi
   3022 
   3023 
   3024 # Define the identity of the package.
   3025  PACKAGE='xlogo'
   3026  VERSION='1.0.6'
   3027 
   3028 
   3029 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3030 
   3031 
   3032 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3033 
   3034 # Some tools Automake needs.
   3035 
   3036 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3037 
   3038 
   3039 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3040 
   3041 
   3042 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3043 
   3044 
   3045 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3046 
   3047 
   3048 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3049 
   3050 # For better backward compatibility.  To be removed once Automake 1.9.x
   3051 # dies out for good.  For more background, see:
   3052 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3053 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3054 mkdir_p='$(MKDIR_P)'
   3055 
   3056 # We need awk for the "check" target (and possibly the TAP driver).  The
   3057 # system "awk" is bad on some platforms.
   3058 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3059 # in the wild :-(  We should find a proper way to deprecate it ...
   3060 AMTAR='$${TAR-tar}'
   3061 
   3062 
   3063 # We'll loop over all known methods to create a tar archive until one works.
   3064 _am_tools='gnutar  pax cpio none'
   3065 
   3066 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3067 
   3068 
   3069 
   3070 
   3071 
   3072 # Variables for tags utilities; see am/tags.am
   3073 if test -z "$CTAGS"; then
   3074   CTAGS=ctags
   3075 fi
   3076 
   3077 if test -z "$ETAGS"; then
   3078   ETAGS=etags
   3079 fi
   3080 
   3081 if test -z "$CSCOPE"; then
   3082   CSCOPE=cscope
   3083 fi
   3084 
   3085 
   3086 
   3087 # POSIX will say in a future version that running "rm -f" with no argument
   3088 # is OK; and we want to be able to make that assumption in our Makefile
   3089 # recipes.  So use an aggressive probe to check that the usage we want is
   3090 # actually supported "in the wild" to an acceptable degree.
   3091 # See automake bug#10828.
   3092 # To make any issue more visible, cause the running configure to be aborted
   3093 # by default if the 'rm' program in use doesn't match our expectations; the
   3094 # user can still override this though.
   3095 if rm -f && rm -fr && rm -rf; then : OK; else
   3096   cat >&2 <<'END'
   3097 Oops!
   3098 
   3099 Your 'rm' program seems unable to run without file operands specified
   3100 on the command line, even when the '-f' option is present.  This is contrary
   3101 to the behaviour of most rm programs out there, and not conforming with
   3102 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3103 
   3104 Please tell bug-automake@gnu.org about your system, including the value
   3105 of your $PATH and any error possibly output before this message.  This
   3106 can help us improve future automake versions.
   3107 
   3108 END
   3109   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3110     echo 'Configuration will proceed anyway, since you have set the' >&2
   3111     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3112     echo >&2
   3113   else
   3114     cat >&2 <<'END'
   3115 Aborting the configuration process, to ensure you take notice of the issue.
   3116 
   3117 You can download and install GNU coreutils to get an 'rm' implementation
   3118 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3119 
   3120 If you want to complete the configuration process using your problematic
   3121 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3122 to "yes", and re-run configure.
   3123 
   3124 END
   3125     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3126   fi
   3127 fi
   3128 
   3129 
   3130 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3131 
   3132 
   3133 
   3134 
   3135 
   3136 
   3137 
   3138 
   3139 
   3140 
   3141 
   3142 
   3143 
   3144 
   3145 
   3146 
   3147 
   3148 
   3149 
   3150 
   3151 DEPDIR="${am__leading_dot}deps"
   3152 
   3153 ac_config_commands="$ac_config_commands depfiles"
   3154 
   3155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3156 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3157 cat > confinc.mk << 'END'
   3158 am__doit:
   3159 	@echo this is the am__doit target >confinc.out
   3160 .PHONY: am__doit
   3161 END
   3162 am__include="#"
   3163 am__quote=
   3164 # BSD make does it like this.
   3165 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3166 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3167 echo 'include confinc.mk # ignored' > confmf.GNU
   3168 _am_result=no
   3169 for s in GNU BSD; do
   3170   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3171    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3172    ac_status=$?
   3173    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3174    (exit $ac_status); }
   3175   case $?:`cat confinc.out 2>/dev/null` in #(
   3176   '0:this is the am__doit target') :
   3177     case $s in #(
   3178   BSD) :
   3179     am__include='.include' am__quote='"' ;; #(
   3180   *) :
   3181     am__include='include' am__quote='' ;;
   3182 esac ;; #(
   3183   *) :
   3184      ;;
   3185 esac
   3186   if test "$am__include" != "#"; then
   3187     _am_result="yes ($s style)"
   3188     break
   3189   fi
   3190 done
   3191 rm -f confinc.* confmf.*
   3192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3193 printf "%s\n" "${_am_result}" >&6; }
   3194 
   3195 # Check whether --enable-dependency-tracking was given.
   3196 if test ${enable_dependency_tracking+y}
   3197 then :
   3198   enableval=$enable_dependency_tracking;
   3199 fi
   3200 
   3201 if test "x$enable_dependency_tracking" != xno; then
   3202   am_depcomp="$ac_aux_dir/depcomp"
   3203   AMDEPBACKSLASH='\'
   3204   am__nodep='_no'
   3205 fi
   3206  if test "x$enable_dependency_tracking" != xno; then
   3207   AMDEP_TRUE=
   3208   AMDEP_FALSE='#'
   3209 else
   3210   AMDEP_TRUE='#'
   3211   AMDEP_FALSE=
   3212 fi
   3213 
   3214 
   3215 ac_ext=c
   3216 ac_cpp='$CPP $CPPFLAGS'
   3217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3220 if test -n "$ac_tool_prefix"; then
   3221   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3222 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3224 printf %s "checking for $ac_word... " >&6; }
   3225 if test ${ac_cv_prog_CC+y}
   3226 then :
   3227   printf %s "(cached) " >&6
   3228 else $as_nop
   3229   if test -n "$CC"; then
   3230   ac_cv_prog_CC="$CC" # Let the user override the test.
   3231 else
   3232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3233 for as_dir in $PATH
   3234 do
   3235   IFS=$as_save_IFS
   3236   case $as_dir in #(((
   3237     '') as_dir=./ ;;
   3238     */) ;;
   3239     *) as_dir=$as_dir/ ;;
   3240   esac
   3241     for ac_exec_ext in '' $ac_executable_extensions; do
   3242   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3243     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3244     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3245     break 2
   3246   fi
   3247 done
   3248   done
   3249 IFS=$as_save_IFS
   3250 
   3251 fi
   3252 fi
   3253 CC=$ac_cv_prog_CC
   3254 if test -n "$CC"; then
   3255   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3256 printf "%s\n" "$CC" >&6; }
   3257 else
   3258   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3259 printf "%s\n" "no" >&6; }
   3260 fi
   3261 
   3262 
   3263 fi
   3264 if test -z "$ac_cv_prog_CC"; then
   3265   ac_ct_CC=$CC
   3266   # Extract the first word of "gcc", so it can be a program name with args.
   3267 set dummy gcc; ac_word=$2
   3268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3269 printf %s "checking for $ac_word... " >&6; }
   3270 if test ${ac_cv_prog_ac_ct_CC+y}
   3271 then :
   3272   printf %s "(cached) " >&6
   3273 else $as_nop
   3274   if test -n "$ac_ct_CC"; then
   3275   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3276 else
   3277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3278 for as_dir in $PATH
   3279 do
   3280   IFS=$as_save_IFS
   3281   case $as_dir in #(((
   3282     '') as_dir=./ ;;
   3283     */) ;;
   3284     *) as_dir=$as_dir/ ;;
   3285   esac
   3286     for ac_exec_ext in '' $ac_executable_extensions; do
   3287   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3288     ac_cv_prog_ac_ct_CC="gcc"
   3289     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3290     break 2
   3291   fi
   3292 done
   3293   done
   3294 IFS=$as_save_IFS
   3295 
   3296 fi
   3297 fi
   3298 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3299 if test -n "$ac_ct_CC"; then
   3300   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3301 printf "%s\n" "$ac_ct_CC" >&6; }
   3302 else
   3303   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3304 printf "%s\n" "no" >&6; }
   3305 fi
   3306 
   3307   if test "x$ac_ct_CC" = x; then
   3308     CC=""
   3309   else
   3310     case $cross_compiling:$ac_tool_warned in
   3311 yes:)
   3312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3313 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3314 ac_tool_warned=yes ;;
   3315 esac
   3316     CC=$ac_ct_CC
   3317   fi
   3318 else
   3319   CC="$ac_cv_prog_CC"
   3320 fi
   3321 
   3322 if test -z "$CC"; then
   3323           if test -n "$ac_tool_prefix"; then
   3324     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3325 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3327 printf %s "checking for $ac_word... " >&6; }
   3328 if test ${ac_cv_prog_CC+y}
   3329 then :
   3330   printf %s "(cached) " >&6
   3331 else $as_nop
   3332   if test -n "$CC"; then
   3333   ac_cv_prog_CC="$CC" # Let the user override the test.
   3334 else
   3335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3336 for as_dir in $PATH
   3337 do
   3338   IFS=$as_save_IFS
   3339   case $as_dir in #(((
   3340     '') as_dir=./ ;;
   3341     */) ;;
   3342     *) as_dir=$as_dir/ ;;
   3343   esac
   3344     for ac_exec_ext in '' $ac_executable_extensions; do
   3345   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3346     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3347     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3348     break 2
   3349   fi
   3350 done
   3351   done
   3352 IFS=$as_save_IFS
   3353 
   3354 fi
   3355 fi
   3356 CC=$ac_cv_prog_CC
   3357 if test -n "$CC"; then
   3358   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3359 printf "%s\n" "$CC" >&6; }
   3360 else
   3361   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3362 printf "%s\n" "no" >&6; }
   3363 fi
   3364 
   3365 
   3366   fi
   3367 fi
   3368 if test -z "$CC"; then
   3369   # Extract the first word of "cc", so it can be a program name with args.
   3370 set dummy cc; ac_word=$2
   3371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3372 printf %s "checking for $ac_word... " >&6; }
   3373 if test ${ac_cv_prog_CC+y}
   3374 then :
   3375   printf %s "(cached) " >&6
   3376 else $as_nop
   3377   if test -n "$CC"; then
   3378   ac_cv_prog_CC="$CC" # Let the user override the test.
   3379 else
   3380   ac_prog_rejected=no
   3381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3382 for as_dir in $PATH
   3383 do
   3384   IFS=$as_save_IFS
   3385   case $as_dir in #(((
   3386     '') as_dir=./ ;;
   3387     */) ;;
   3388     *) as_dir=$as_dir/ ;;
   3389   esac
   3390     for ac_exec_ext in '' $ac_executable_extensions; do
   3391   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3392     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3393        ac_prog_rejected=yes
   3394        continue
   3395      fi
   3396     ac_cv_prog_CC="cc"
   3397     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3398     break 2
   3399   fi
   3400 done
   3401   done
   3402 IFS=$as_save_IFS
   3403 
   3404 if test $ac_prog_rejected = yes; then
   3405   # We found a bogon in the path, so make sure we never use it.
   3406   set dummy $ac_cv_prog_CC
   3407   shift
   3408   if test $# != 0; then
   3409     # We chose a different compiler from the bogus one.
   3410     # However, it has the same basename, so the bogon will be chosen
   3411     # first if we set CC to just the basename; use the full file name.
   3412     shift
   3413     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3414   fi
   3415 fi
   3416 fi
   3417 fi
   3418 CC=$ac_cv_prog_CC
   3419 if test -n "$CC"; then
   3420   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3421 printf "%s\n" "$CC" >&6; }
   3422 else
   3423   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3424 printf "%s\n" "no" >&6; }
   3425 fi
   3426 
   3427 
   3428 fi
   3429 if test -z "$CC"; then
   3430   if test -n "$ac_tool_prefix"; then
   3431   for ac_prog in cl.exe
   3432   do
   3433     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3434 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3436 printf %s "checking for $ac_word... " >&6; }
   3437 if test ${ac_cv_prog_CC+y}
   3438 then :
   3439   printf %s "(cached) " >&6
   3440 else $as_nop
   3441   if test -n "$CC"; then
   3442   ac_cv_prog_CC="$CC" # Let the user override the test.
   3443 else
   3444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3445 for as_dir in $PATH
   3446 do
   3447   IFS=$as_save_IFS
   3448   case $as_dir in #(((
   3449     '') as_dir=./ ;;
   3450     */) ;;
   3451     *) as_dir=$as_dir/ ;;
   3452   esac
   3453     for ac_exec_ext in '' $ac_executable_extensions; do
   3454   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3455     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3456     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3457     break 2
   3458   fi
   3459 done
   3460   done
   3461 IFS=$as_save_IFS
   3462 
   3463 fi
   3464 fi
   3465 CC=$ac_cv_prog_CC
   3466 if test -n "$CC"; then
   3467   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3468 printf "%s\n" "$CC" >&6; }
   3469 else
   3470   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3471 printf "%s\n" "no" >&6; }
   3472 fi
   3473 
   3474 
   3475     test -n "$CC" && break
   3476   done
   3477 fi
   3478 if test -z "$CC"; then
   3479   ac_ct_CC=$CC
   3480   for ac_prog in cl.exe
   3481 do
   3482   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3483 set dummy $ac_prog; ac_word=$2
   3484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3485 printf %s "checking for $ac_word... " >&6; }
   3486 if test ${ac_cv_prog_ac_ct_CC+y}
   3487 then :
   3488   printf %s "(cached) " >&6
   3489 else $as_nop
   3490   if test -n "$ac_ct_CC"; then
   3491   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3492 else
   3493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3494 for as_dir in $PATH
   3495 do
   3496   IFS=$as_save_IFS
   3497   case $as_dir in #(((
   3498     '') as_dir=./ ;;
   3499     */) ;;
   3500     *) as_dir=$as_dir/ ;;
   3501   esac
   3502     for ac_exec_ext in '' $ac_executable_extensions; do
   3503   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3504     ac_cv_prog_ac_ct_CC="$ac_prog"
   3505     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3506     break 2
   3507   fi
   3508 done
   3509   done
   3510 IFS=$as_save_IFS
   3511 
   3512 fi
   3513 fi
   3514 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3515 if test -n "$ac_ct_CC"; then
   3516   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3517 printf "%s\n" "$ac_ct_CC" >&6; }
   3518 else
   3519   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3520 printf "%s\n" "no" >&6; }
   3521 fi
   3522 
   3523 
   3524   test -n "$ac_ct_CC" && break
   3525 done
   3526 
   3527   if test "x$ac_ct_CC" = x; then
   3528     CC=""
   3529   else
   3530     case $cross_compiling:$ac_tool_warned in
   3531 yes:)
   3532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3533 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3534 ac_tool_warned=yes ;;
   3535 esac
   3536     CC=$ac_ct_CC
   3537   fi
   3538 fi
   3539 
   3540 fi
   3541 if test -z "$CC"; then
   3542   if test -n "$ac_tool_prefix"; then
   3543   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3544 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3546 printf %s "checking for $ac_word... " >&6; }
   3547 if test ${ac_cv_prog_CC+y}
   3548 then :
   3549   printf %s "(cached) " >&6
   3550 else $as_nop
   3551   if test -n "$CC"; then
   3552   ac_cv_prog_CC="$CC" # Let the user override the test.
   3553 else
   3554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3555 for as_dir in $PATH
   3556 do
   3557   IFS=$as_save_IFS
   3558   case $as_dir in #(((
   3559     '') as_dir=./ ;;
   3560     */) ;;
   3561     *) as_dir=$as_dir/ ;;
   3562   esac
   3563     for ac_exec_ext in '' $ac_executable_extensions; do
   3564   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3565     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3566     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3567     break 2
   3568   fi
   3569 done
   3570   done
   3571 IFS=$as_save_IFS
   3572 
   3573 fi
   3574 fi
   3575 CC=$ac_cv_prog_CC
   3576 if test -n "$CC"; then
   3577   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3578 printf "%s\n" "$CC" >&6; }
   3579 else
   3580   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3581 printf "%s\n" "no" >&6; }
   3582 fi
   3583 
   3584 
   3585 fi
   3586 if test -z "$ac_cv_prog_CC"; then
   3587   ac_ct_CC=$CC
   3588   # Extract the first word of "clang", so it can be a program name with args.
   3589 set dummy clang; ac_word=$2
   3590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3591 printf %s "checking for $ac_word... " >&6; }
   3592 if test ${ac_cv_prog_ac_ct_CC+y}
   3593 then :
   3594   printf %s "(cached) " >&6
   3595 else $as_nop
   3596   if test -n "$ac_ct_CC"; then
   3597   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3598 else
   3599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3600 for as_dir in $PATH
   3601 do
   3602   IFS=$as_save_IFS
   3603   case $as_dir in #(((
   3604     '') as_dir=./ ;;
   3605     */) ;;
   3606     *) as_dir=$as_dir/ ;;
   3607   esac
   3608     for ac_exec_ext in '' $ac_executable_extensions; do
   3609   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3610     ac_cv_prog_ac_ct_CC="clang"
   3611     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3612     break 2
   3613   fi
   3614 done
   3615   done
   3616 IFS=$as_save_IFS
   3617 
   3618 fi
   3619 fi
   3620 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3621 if test -n "$ac_ct_CC"; then
   3622   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3623 printf "%s\n" "$ac_ct_CC" >&6; }
   3624 else
   3625   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3626 printf "%s\n" "no" >&6; }
   3627 fi
   3628 
   3629   if test "x$ac_ct_CC" = x; then
   3630     CC=""
   3631   else
   3632     case $cross_compiling:$ac_tool_warned in
   3633 yes:)
   3634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3635 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3636 ac_tool_warned=yes ;;
   3637 esac
   3638     CC=$ac_ct_CC
   3639   fi
   3640 else
   3641   CC="$ac_cv_prog_CC"
   3642 fi
   3643 
   3644 fi
   3645 
   3646 
   3647 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3648 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3649 as_fn_error $? "no acceptable C compiler found in \$PATH
   3650 See \`config.log' for more details" "$LINENO" 5; }
   3651 
   3652 # Provide some information about the compiler.
   3653 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3654 set X $ac_compile
   3655 ac_compiler=$2
   3656 for ac_option in --version -v -V -qversion -version; do
   3657   { { ac_try="$ac_compiler $ac_option >&5"
   3658 case "(($ac_try" in
   3659   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3660   *) ac_try_echo=$ac_try;;
   3661 esac
   3662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3663 printf "%s\n" "$ac_try_echo"; } >&5
   3664   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3665   ac_status=$?
   3666   if test -s conftest.err; then
   3667     sed '10a\
   3668 ... rest of stderr output deleted ...
   3669          10q' conftest.err >conftest.er1
   3670     cat conftest.er1 >&5
   3671   fi
   3672   rm -f conftest.er1 conftest.err
   3673   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3674   test $ac_status = 0; }
   3675 done
   3676 
   3677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3678 /* end confdefs.h.  */
   3679 
   3680 int
   3681 main (void)
   3682 {
   3683 
   3684   ;
   3685   return 0;
   3686 }
   3687 _ACEOF
   3688 ac_clean_files_save=$ac_clean_files
   3689 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3690 # Try to create an executable without -o first, disregard a.out.
   3691 # It will help us diagnose broken compilers, and finding out an intuition
   3692 # of exeext.
   3693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3694 printf %s "checking whether the C compiler works... " >&6; }
   3695 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3696 
   3697 # The possible output files:
   3698 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3699 
   3700 ac_rmfiles=
   3701 for ac_file in $ac_files
   3702 do
   3703   case $ac_file in
   3704     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3705     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3706   esac
   3707 done
   3708 rm -f $ac_rmfiles
   3709 
   3710 if { { ac_try="$ac_link_default"
   3711 case "(($ac_try" in
   3712   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3713   *) ac_try_echo=$ac_try;;
   3714 esac
   3715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3716 printf "%s\n" "$ac_try_echo"; } >&5
   3717   (eval "$ac_link_default") 2>&5
   3718   ac_status=$?
   3719   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3720   test $ac_status = 0; }
   3721 then :
   3722   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3723 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3724 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3725 # so that the user can short-circuit this test for compilers unknown to
   3726 # Autoconf.
   3727 for ac_file in $ac_files ''
   3728 do
   3729   test -f "$ac_file" || continue
   3730   case $ac_file in
   3731     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3732 	;;
   3733     [ab].out )
   3734 	# We found the default executable, but exeext='' is most
   3735 	# certainly right.
   3736 	break;;
   3737     *.* )
   3738 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3739 	then :; else
   3740 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3741 	fi
   3742 	# We set ac_cv_exeext here because the later test for it is not
   3743 	# safe: cross compilers may not add the suffix if given an `-o'
   3744 	# argument, so we may need to know it at that point already.
   3745 	# Even if this section looks crufty: it has the advantage of
   3746 	# actually working.
   3747 	break;;
   3748     * )
   3749 	break;;
   3750   esac
   3751 done
   3752 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3753 
   3754 else $as_nop
   3755   ac_file=''
   3756 fi
   3757 if test -z "$ac_file"
   3758 then :
   3759   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3760 printf "%s\n" "no" >&6; }
   3761 printf "%s\n" "$as_me: failed program was:" >&5
   3762 sed 's/^/| /' conftest.$ac_ext >&5
   3763 
   3764 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3765 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3766 as_fn_error 77 "C compiler cannot create executables
   3767 See \`config.log' for more details" "$LINENO" 5; }
   3768 else $as_nop
   3769   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3770 printf "%s\n" "yes" >&6; }
   3771 fi
   3772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3773 printf %s "checking for C compiler default output file name... " >&6; }
   3774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3775 printf "%s\n" "$ac_file" >&6; }
   3776 ac_exeext=$ac_cv_exeext
   3777 
   3778 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3779 ac_clean_files=$ac_clean_files_save
   3780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3781 printf %s "checking for suffix of executables... " >&6; }
   3782 if { { ac_try="$ac_link"
   3783 case "(($ac_try" in
   3784   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3785   *) ac_try_echo=$ac_try;;
   3786 esac
   3787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3788 printf "%s\n" "$ac_try_echo"; } >&5
   3789   (eval "$ac_link") 2>&5
   3790   ac_status=$?
   3791   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3792   test $ac_status = 0; }
   3793 then :
   3794   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3795 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3796 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3797 # `rm'.
   3798 for ac_file in conftest.exe conftest conftest.*; do
   3799   test -f "$ac_file" || continue
   3800   case $ac_file in
   3801     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3802     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3803 	  break;;
   3804     * ) break;;
   3805   esac
   3806 done
   3807 else $as_nop
   3808   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3809 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3810 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3811 See \`config.log' for more details" "$LINENO" 5; }
   3812 fi
   3813 rm -f conftest conftest$ac_cv_exeext
   3814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3815 printf "%s\n" "$ac_cv_exeext" >&6; }
   3816 
   3817 rm -f conftest.$ac_ext
   3818 EXEEXT=$ac_cv_exeext
   3819 ac_exeext=$EXEEXT
   3820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3821 /* end confdefs.h.  */
   3822 #include <stdio.h>
   3823 int
   3824 main (void)
   3825 {
   3826 FILE *f = fopen ("conftest.out", "w");
   3827  return ferror (f) || fclose (f) != 0;
   3828 
   3829   ;
   3830   return 0;
   3831 }
   3832 _ACEOF
   3833 ac_clean_files="$ac_clean_files conftest.out"
   3834 # Check that the compiler produces executables we can run.  If not, either
   3835 # the compiler is broken, or we cross compile.
   3836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3837 printf %s "checking whether we are cross compiling... " >&6; }
   3838 if test "$cross_compiling" != yes; then
   3839   { { ac_try="$ac_link"
   3840 case "(($ac_try" in
   3841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3842   *) ac_try_echo=$ac_try;;
   3843 esac
   3844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3845 printf "%s\n" "$ac_try_echo"; } >&5
   3846   (eval "$ac_link") 2>&5
   3847   ac_status=$?
   3848   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3849   test $ac_status = 0; }
   3850   if { ac_try='./conftest$ac_cv_exeext'
   3851   { { case "(($ac_try" in
   3852   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3853   *) ac_try_echo=$ac_try;;
   3854 esac
   3855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3856 printf "%s\n" "$ac_try_echo"; } >&5
   3857   (eval "$ac_try") 2>&5
   3858   ac_status=$?
   3859   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3860   test $ac_status = 0; }; }; then
   3861     cross_compiling=no
   3862   else
   3863     if test "$cross_compiling" = maybe; then
   3864 	cross_compiling=yes
   3865     else
   3866 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3867 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3868 as_fn_error 77 "cannot run C compiled programs.
   3869 If you meant to cross compile, use \`--host'.
   3870 See \`config.log' for more details" "$LINENO" 5; }
   3871     fi
   3872   fi
   3873 fi
   3874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3875 printf "%s\n" "$cross_compiling" >&6; }
   3876 
   3877 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3878 ac_clean_files=$ac_clean_files_save
   3879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3880 printf %s "checking for suffix of object files... " >&6; }
   3881 if test ${ac_cv_objext+y}
   3882 then :
   3883   printf %s "(cached) " >&6
   3884 else $as_nop
   3885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3886 /* end confdefs.h.  */
   3887 
   3888 int
   3889 main (void)
   3890 {
   3891 
   3892   ;
   3893   return 0;
   3894 }
   3895 _ACEOF
   3896 rm -f conftest.o conftest.obj
   3897 if { { ac_try="$ac_compile"
   3898 case "(($ac_try" in
   3899   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3900   *) ac_try_echo=$ac_try;;
   3901 esac
   3902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3903 printf "%s\n" "$ac_try_echo"; } >&5
   3904   (eval "$ac_compile") 2>&5
   3905   ac_status=$?
   3906   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3907   test $ac_status = 0; }
   3908 then :
   3909   for ac_file in conftest.o conftest.obj conftest.*; do
   3910   test -f "$ac_file" || continue;
   3911   case $ac_file in
   3912     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3913     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3914        break;;
   3915   esac
   3916 done
   3917 else $as_nop
   3918   printf "%s\n" "$as_me: failed program was:" >&5
   3919 sed 's/^/| /' conftest.$ac_ext >&5
   3920 
   3921 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3922 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3923 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3924 See \`config.log' for more details" "$LINENO" 5; }
   3925 fi
   3926 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3927 fi
   3928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3929 printf "%s\n" "$ac_cv_objext" >&6; }
   3930 OBJEXT=$ac_cv_objext
   3931 ac_objext=$OBJEXT
   3932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3933 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3934 if test ${ac_cv_c_compiler_gnu+y}
   3935 then :
   3936   printf %s "(cached) " >&6
   3937 else $as_nop
   3938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3939 /* end confdefs.h.  */
   3940 
   3941 int
   3942 main (void)
   3943 {
   3944 #ifndef __GNUC__
   3945        choke me
   3946 #endif
   3947 
   3948   ;
   3949   return 0;
   3950 }
   3951 _ACEOF
   3952 if ac_fn_c_try_compile "$LINENO"
   3953 then :
   3954   ac_compiler_gnu=yes
   3955 else $as_nop
   3956   ac_compiler_gnu=no
   3957 fi
   3958 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3959 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3960 
   3961 fi
   3962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3963 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3965 
   3966 if test $ac_compiler_gnu = yes; then
   3967   GCC=yes
   3968 else
   3969   GCC=
   3970 fi
   3971 ac_test_CFLAGS=${CFLAGS+y}
   3972 ac_save_CFLAGS=$CFLAGS
   3973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3974 printf %s "checking whether $CC accepts -g... " >&6; }
   3975 if test ${ac_cv_prog_cc_g+y}
   3976 then :
   3977   printf %s "(cached) " >&6
   3978 else $as_nop
   3979   ac_save_c_werror_flag=$ac_c_werror_flag
   3980    ac_c_werror_flag=yes
   3981    ac_cv_prog_cc_g=no
   3982    CFLAGS="-g"
   3983    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3984 /* end confdefs.h.  */
   3985 
   3986 int
   3987 main (void)
   3988 {
   3989 
   3990   ;
   3991   return 0;
   3992 }
   3993 _ACEOF
   3994 if ac_fn_c_try_compile "$LINENO"
   3995 then :
   3996   ac_cv_prog_cc_g=yes
   3997 else $as_nop
   3998   CFLAGS=""
   3999       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4000 /* end confdefs.h.  */
   4001 
   4002 int
   4003 main (void)
   4004 {
   4005 
   4006   ;
   4007   return 0;
   4008 }
   4009 _ACEOF
   4010 if ac_fn_c_try_compile "$LINENO"
   4011 then :
   4012 
   4013 else $as_nop
   4014   ac_c_werror_flag=$ac_save_c_werror_flag
   4015 	 CFLAGS="-g"
   4016 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4017 /* end confdefs.h.  */
   4018 
   4019 int
   4020 main (void)
   4021 {
   4022 
   4023   ;
   4024   return 0;
   4025 }
   4026 _ACEOF
   4027 if ac_fn_c_try_compile "$LINENO"
   4028 then :
   4029   ac_cv_prog_cc_g=yes
   4030 fi
   4031 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4032 fi
   4033 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4034 fi
   4035 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4036    ac_c_werror_flag=$ac_save_c_werror_flag
   4037 fi
   4038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4039 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4040 if test $ac_test_CFLAGS; then
   4041   CFLAGS=$ac_save_CFLAGS
   4042 elif test $ac_cv_prog_cc_g = yes; then
   4043   if test "$GCC" = yes; then
   4044     CFLAGS="-g -O2"
   4045   else
   4046     CFLAGS="-g"
   4047   fi
   4048 else
   4049   if test "$GCC" = yes; then
   4050     CFLAGS="-O2"
   4051   else
   4052     CFLAGS=
   4053   fi
   4054 fi
   4055 ac_prog_cc_stdc=no
   4056 if test x$ac_prog_cc_stdc = xno
   4057 then :
   4058   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4059 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4060 if test ${ac_cv_prog_cc_c11+y}
   4061 then :
   4062   printf %s "(cached) " >&6
   4063 else $as_nop
   4064   ac_cv_prog_cc_c11=no
   4065 ac_save_CC=$CC
   4066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4067 /* end confdefs.h.  */
   4068 $ac_c_conftest_c11_program
   4069 _ACEOF
   4070 for ac_arg in '' -std=gnu11
   4071 do
   4072   CC="$ac_save_CC $ac_arg"
   4073   if ac_fn_c_try_compile "$LINENO"
   4074 then :
   4075   ac_cv_prog_cc_c11=$ac_arg
   4076 fi
   4077 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4078   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4079 done
   4080 rm -f conftest.$ac_ext
   4081 CC=$ac_save_CC
   4082 fi
   4083 
   4084 if test "x$ac_cv_prog_cc_c11" = xno
   4085 then :
   4086   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4087 printf "%s\n" "unsupported" >&6; }
   4088 else $as_nop
   4089   if test "x$ac_cv_prog_cc_c11" = x
   4090 then :
   4091   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4092 printf "%s\n" "none needed" >&6; }
   4093 else $as_nop
   4094   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4095 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4096      CC="$CC $ac_cv_prog_cc_c11"
   4097 fi
   4098   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4099   ac_prog_cc_stdc=c11
   4100 fi
   4101 fi
   4102 if test x$ac_prog_cc_stdc = xno
   4103 then :
   4104   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4105 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4106 if test ${ac_cv_prog_cc_c99+y}
   4107 then :
   4108   printf %s "(cached) " >&6
   4109 else $as_nop
   4110   ac_cv_prog_cc_c99=no
   4111 ac_save_CC=$CC
   4112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4113 /* end confdefs.h.  */
   4114 $ac_c_conftest_c99_program
   4115 _ACEOF
   4116 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4117 do
   4118   CC="$ac_save_CC $ac_arg"
   4119   if ac_fn_c_try_compile "$LINENO"
   4120 then :
   4121   ac_cv_prog_cc_c99=$ac_arg
   4122 fi
   4123 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4124   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4125 done
   4126 rm -f conftest.$ac_ext
   4127 CC=$ac_save_CC
   4128 fi
   4129 
   4130 if test "x$ac_cv_prog_cc_c99" = xno
   4131 then :
   4132   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4133 printf "%s\n" "unsupported" >&6; }
   4134 else $as_nop
   4135   if test "x$ac_cv_prog_cc_c99" = x
   4136 then :
   4137   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4138 printf "%s\n" "none needed" >&6; }
   4139 else $as_nop
   4140   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4141 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4142      CC="$CC $ac_cv_prog_cc_c99"
   4143 fi
   4144   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4145   ac_prog_cc_stdc=c99
   4146 fi
   4147 fi
   4148 if test x$ac_prog_cc_stdc = xno
   4149 then :
   4150   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4151 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4152 if test ${ac_cv_prog_cc_c89+y}
   4153 then :
   4154   printf %s "(cached) " >&6
   4155 else $as_nop
   4156   ac_cv_prog_cc_c89=no
   4157 ac_save_CC=$CC
   4158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4159 /* end confdefs.h.  */
   4160 $ac_c_conftest_c89_program
   4161 _ACEOF
   4162 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4163 do
   4164   CC="$ac_save_CC $ac_arg"
   4165   if ac_fn_c_try_compile "$LINENO"
   4166 then :
   4167   ac_cv_prog_cc_c89=$ac_arg
   4168 fi
   4169 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4170   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4171 done
   4172 rm -f conftest.$ac_ext
   4173 CC=$ac_save_CC
   4174 fi
   4175 
   4176 if test "x$ac_cv_prog_cc_c89" = xno
   4177 then :
   4178   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4179 printf "%s\n" "unsupported" >&6; }
   4180 else $as_nop
   4181   if test "x$ac_cv_prog_cc_c89" = x
   4182 then :
   4183   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4184 printf "%s\n" "none needed" >&6; }
   4185 else $as_nop
   4186   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4187 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4188      CC="$CC $ac_cv_prog_cc_c89"
   4189 fi
   4190   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4191   ac_prog_cc_stdc=c89
   4192 fi
   4193 fi
   4194 
   4195 ac_ext=c
   4196 ac_cpp='$CPP $CPPFLAGS'
   4197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4200 
   4201 
   4202   ac_ext=c
   4203 ac_cpp='$CPP $CPPFLAGS'
   4204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4208 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4209 if test ${am_cv_prog_cc_c_o+y}
   4210 then :
   4211   printf %s "(cached) " >&6
   4212 else $as_nop
   4213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4214 /* end confdefs.h.  */
   4215 
   4216 int
   4217 main (void)
   4218 {
   4219 
   4220   ;
   4221   return 0;
   4222 }
   4223 _ACEOF
   4224   # Make sure it works both with $CC and with simple cc.
   4225   # Following AC_PROG_CC_C_O, we do the test twice because some
   4226   # compilers refuse to overwrite an existing .o file with -o,
   4227   # though they will create one.
   4228   am_cv_prog_cc_c_o=yes
   4229   for am_i in 1 2; do
   4230     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4231    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4232    ac_status=$?
   4233    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4234    (exit $ac_status); } \
   4235          && test -f conftest2.$ac_objext; then
   4236       : OK
   4237     else
   4238       am_cv_prog_cc_c_o=no
   4239       break
   4240     fi
   4241   done
   4242   rm -f core conftest*
   4243   unset am_i
   4244 fi
   4245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4246 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4247 if test "$am_cv_prog_cc_c_o" != yes; then
   4248    # Losing compiler, so override with the script.
   4249    # FIXME: It is wrong to rewrite CC.
   4250    # But if we don't then we get into trouble of one sort or another.
   4251    # A longer-term fix would be to have automake use am__CC in this case,
   4252    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4253    CC="$am_aux_dir/compile $CC"
   4254 fi
   4255 ac_ext=c
   4256 ac_cpp='$CPP $CPPFLAGS'
   4257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4260 
   4261 
   4262 depcc="$CC"   am_compiler_list=
   4263 
   4264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4265 printf %s "checking dependency style of $depcc... " >&6; }
   4266 if test ${am_cv_CC_dependencies_compiler_type+y}
   4267 then :
   4268   printf %s "(cached) " >&6
   4269 else $as_nop
   4270   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4271   # We make a subdir and do the tests there.  Otherwise we can end up
   4272   # making bogus files that we don't know about and never remove.  For
   4273   # instance it was reported that on HP-UX the gcc test will end up
   4274   # making a dummy file named 'D' -- because '-MD' means "put the output
   4275   # in D".
   4276   rm -rf conftest.dir
   4277   mkdir conftest.dir
   4278   # Copy depcomp to subdir because otherwise we won't find it if we're
   4279   # using a relative directory.
   4280   cp "$am_depcomp" conftest.dir
   4281   cd conftest.dir
   4282   # We will build objects and dependencies in a subdirectory because
   4283   # it helps to detect inapplicable dependency modes.  For instance
   4284   # both Tru64's cc and ICC support -MD to output dependencies as a
   4285   # side effect of compilation, but ICC will put the dependencies in
   4286   # the current directory while Tru64 will put them in the object
   4287   # directory.
   4288   mkdir sub
   4289 
   4290   am_cv_CC_dependencies_compiler_type=none
   4291   if test "$am_compiler_list" = ""; then
   4292      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4293   fi
   4294   am__universal=false
   4295   case " $depcc " in #(
   4296      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4297      esac
   4298 
   4299   for depmode in $am_compiler_list; do
   4300     # Setup a source with many dependencies, because some compilers
   4301     # like to wrap large dependency lists on column 80 (with \), and
   4302     # we should not choose a depcomp mode which is confused by this.
   4303     #
   4304     # We need to recreate these files for each test, as the compiler may
   4305     # overwrite some of them when testing with obscure command lines.
   4306     # This happens at least with the AIX C compiler.
   4307     : > sub/conftest.c
   4308     for i in 1 2 3 4 5 6; do
   4309       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4310       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4311       # Solaris 10 /bin/sh.
   4312       echo '/* dummy */' > sub/conftst$i.h
   4313     done
   4314     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4315 
   4316     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4317     # mode.  It turns out that the SunPro C++ compiler does not properly
   4318     # handle '-M -o', and we need to detect this.  Also, some Intel
   4319     # versions had trouble with output in subdirs.
   4320     am__obj=sub/conftest.${OBJEXT-o}
   4321     am__minus_obj="-o $am__obj"
   4322     case $depmode in
   4323     gcc)
   4324       # This depmode causes a compiler race in universal mode.
   4325       test "$am__universal" = false || continue
   4326       ;;
   4327     nosideeffect)
   4328       # After this tag, mechanisms are not by side-effect, so they'll
   4329       # only be used when explicitly requested.
   4330       if test "x$enable_dependency_tracking" = xyes; then
   4331 	continue
   4332       else
   4333 	break
   4334       fi
   4335       ;;
   4336     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4337       # This compiler won't grok '-c -o', but also, the minuso test has
   4338       # not run yet.  These depmodes are late enough in the game, and
   4339       # so weak that their functioning should not be impacted.
   4340       am__obj=conftest.${OBJEXT-o}
   4341       am__minus_obj=
   4342       ;;
   4343     none) break ;;
   4344     esac
   4345     if depmode=$depmode \
   4346        source=sub/conftest.c object=$am__obj \
   4347        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4348        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4349          >/dev/null 2>conftest.err &&
   4350        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4351        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4352        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4353        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4354       # icc doesn't choke on unknown options, it will just issue warnings
   4355       # or remarks (even with -Werror).  So we grep stderr for any message
   4356       # that says an option was ignored or not supported.
   4357       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4358       #   icc: Command line warning: ignoring option '-M'; no argument required
   4359       # The diagnosis changed in icc 8.0:
   4360       #   icc: Command line remark: option '-MP' not supported
   4361       if (grep 'ignoring option' conftest.err ||
   4362           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4363         am_cv_CC_dependencies_compiler_type=$depmode
   4364         break
   4365       fi
   4366     fi
   4367   done
   4368 
   4369   cd ..
   4370   rm -rf conftest.dir
   4371 else
   4372   am_cv_CC_dependencies_compiler_type=none
   4373 fi
   4374 
   4375 fi
   4376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4377 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4378 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4379 
   4380  if
   4381   test "x$enable_dependency_tracking" != xno \
   4382   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4383   am__fastdepCC_TRUE=
   4384   am__fastdepCC_FALSE='#'
   4385 else
   4386   am__fastdepCC_TRUE='#'
   4387   am__fastdepCC_FALSE=
   4388 fi
   4389 
   4390 
   4391 
   4392 
   4393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4394 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4395 if test ${ac_cv_c_undeclared_builtin_options+y}
   4396 then :
   4397   printf %s "(cached) " >&6
   4398 else $as_nop
   4399   ac_save_CFLAGS=$CFLAGS
   4400    ac_cv_c_undeclared_builtin_options='cannot detect'
   4401    for ac_arg in '' -fno-builtin; do
   4402      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4403      # This test program should *not* compile successfully.
   4404      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4405 /* end confdefs.h.  */
   4406 
   4407 int
   4408 main (void)
   4409 {
   4410 (void) strchr;
   4411   ;
   4412   return 0;
   4413 }
   4414 _ACEOF
   4415 if ac_fn_c_try_compile "$LINENO"
   4416 then :
   4417 
   4418 else $as_nop
   4419   # This test program should compile successfully.
   4420         # No library function is consistently available on
   4421         # freestanding implementations, so test against a dummy
   4422         # declaration.  Include always-available headers on the
   4423         # off chance that they somehow elicit warnings.
   4424         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4425 /* end confdefs.h.  */
   4426 #include <float.h>
   4427 #include <limits.h>
   4428 #include <stdarg.h>
   4429 #include <stddef.h>
   4430 extern void ac_decl (int, char *);
   4431 
   4432 int
   4433 main (void)
   4434 {
   4435 (void) ac_decl (0, (char *) 0);
   4436   (void) ac_decl;
   4437 
   4438   ;
   4439   return 0;
   4440 }
   4441 _ACEOF
   4442 if ac_fn_c_try_compile "$LINENO"
   4443 then :
   4444   if test x"$ac_arg" = x
   4445 then :
   4446   ac_cv_c_undeclared_builtin_options='none needed'
   4447 else $as_nop
   4448   ac_cv_c_undeclared_builtin_options=$ac_arg
   4449 fi
   4450           break
   4451 fi
   4452 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4453 fi
   4454 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4455     done
   4456     CFLAGS=$ac_save_CFLAGS
   4457 
   4458 fi
   4459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4460 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4461   case $ac_cv_c_undeclared_builtin_options in #(
   4462   'cannot detect') :
   4463     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4464 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4465 as_fn_error $? "cannot make $CC report undeclared builtins
   4466 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   4467   'none needed') :
   4468     ac_c_undeclared_builtin_options='' ;; #(
   4469   *) :
   4470     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4471 esac
   4472 
   4473 ac_header= ac_cache=
   4474 for ac_item in $ac_header_c_list
   4475 do
   4476   if test $ac_cache; then
   4477     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4478     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4479       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4480     fi
   4481     ac_header= ac_cache=
   4482   elif test $ac_header; then
   4483     ac_cache=$ac_item
   4484   else
   4485     ac_header=$ac_item
   4486   fi
   4487 done
   4488 
   4489 
   4490 
   4491 
   4492 
   4493 
   4494 
   4495 
   4496 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4497 then :
   4498 
   4499 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4500 
   4501 fi
   4502 
   4503 
   4504 
   4505 
   4506 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4507 if test "x$ac_cv_have_decl___clang__" = xyes
   4508 then :
   4509   CLANGCC="yes"
   4510 else $as_nop
   4511   CLANGCC="no"
   4512 fi
   4513 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4514 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4515 then :
   4516   INTELCC="yes"
   4517 else $as_nop
   4518   INTELCC="no"
   4519 fi
   4520 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4521 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4522 then :
   4523   SUNCC="yes"
   4524 else $as_nop
   4525   SUNCC="no"
   4526 fi
   4527 
   4528 
   4529 
   4530 
   4531 
   4532 
   4533 
   4534 
   4535 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4536 	if test -n "$ac_tool_prefix"; then
   4537   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4538 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4540 printf %s "checking for $ac_word... " >&6; }
   4541 if test ${ac_cv_path_PKG_CONFIG+y}
   4542 then :
   4543   printf %s "(cached) " >&6
   4544 else $as_nop
   4545   case $PKG_CONFIG in
   4546   [\\/]* | ?:[\\/]*)
   4547   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4548   ;;
   4549   *)
   4550   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4551 for as_dir in $PATH
   4552 do
   4553   IFS=$as_save_IFS
   4554   case $as_dir in #(((
   4555     '') as_dir=./ ;;
   4556     */) ;;
   4557     *) as_dir=$as_dir/ ;;
   4558   esac
   4559     for ac_exec_ext in '' $ac_executable_extensions; do
   4560   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4561     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4562     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4563     break 2
   4564   fi
   4565 done
   4566   done
   4567 IFS=$as_save_IFS
   4568 
   4569   ;;
   4570 esac
   4571 fi
   4572 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4573 if test -n "$PKG_CONFIG"; then
   4574   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4575 printf "%s\n" "$PKG_CONFIG" >&6; }
   4576 else
   4577   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4578 printf "%s\n" "no" >&6; }
   4579 fi
   4580 
   4581 
   4582 fi
   4583 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4584   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4585   # Extract the first word of "pkg-config", so it can be a program name with args.
   4586 set dummy pkg-config; ac_word=$2
   4587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4588 printf %s "checking for $ac_word... " >&6; }
   4589 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4590 then :
   4591   printf %s "(cached) " >&6
   4592 else $as_nop
   4593   case $ac_pt_PKG_CONFIG in
   4594   [\\/]* | ?:[\\/]*)
   4595   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4596   ;;
   4597   *)
   4598   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4599 for as_dir in $PATH
   4600 do
   4601   IFS=$as_save_IFS
   4602   case $as_dir in #(((
   4603     '') as_dir=./ ;;
   4604     */) ;;
   4605     *) as_dir=$as_dir/ ;;
   4606   esac
   4607     for ac_exec_ext in '' $ac_executable_extensions; do
   4608   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4609     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4610     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4611     break 2
   4612   fi
   4613 done
   4614   done
   4615 IFS=$as_save_IFS
   4616 
   4617   ;;
   4618 esac
   4619 fi
   4620 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4621 if test -n "$ac_pt_PKG_CONFIG"; then
   4622   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4623 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4624 else
   4625   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4626 printf "%s\n" "no" >&6; }
   4627 fi
   4628 
   4629   if test "x$ac_pt_PKG_CONFIG" = x; then
   4630     PKG_CONFIG=""
   4631   else
   4632     case $cross_compiling:$ac_tool_warned in
   4633 yes:)
   4634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4635 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4636 ac_tool_warned=yes ;;
   4637 esac
   4638     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4639   fi
   4640 else
   4641   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4642 fi
   4643 
   4644 fi
   4645 if test -n "$PKG_CONFIG"; then
   4646 	_pkg_min_version=0.9.0
   4647 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4648 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4649 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4650 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4651 printf "%s\n" "yes" >&6; }
   4652 	else
   4653 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4654 printf "%s\n" "no" >&6; }
   4655 		PKG_CONFIG=""
   4656 	fi
   4657 fi
   4658 
   4659 
   4660   # Make sure we can run config.sub.
   4661 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4662   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4663 
   4664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4665 printf %s "checking build system type... " >&6; }
   4666 if test ${ac_cv_build+y}
   4667 then :
   4668   printf %s "(cached) " >&6
   4669 else $as_nop
   4670   ac_build_alias=$build_alias
   4671 test "x$ac_build_alias" = x &&
   4672   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4673 test "x$ac_build_alias" = x &&
   4674   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4675 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4676   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4677 
   4678 fi
   4679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4680 printf "%s\n" "$ac_cv_build" >&6; }
   4681 case $ac_cv_build in
   4682 *-*-*) ;;
   4683 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4684 esac
   4685 build=$ac_cv_build
   4686 ac_save_IFS=$IFS; IFS='-'
   4687 set x $ac_cv_build
   4688 shift
   4689 build_cpu=$1
   4690 build_vendor=$2
   4691 shift; shift
   4692 # Remember, the first character of IFS is used to create $*,
   4693 # except with old shells:
   4694 build_os=$*
   4695 IFS=$ac_save_IFS
   4696 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4697 
   4698 
   4699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4700 printf %s "checking host system type... " >&6; }
   4701 if test ${ac_cv_host+y}
   4702 then :
   4703   printf %s "(cached) " >&6
   4704 else $as_nop
   4705   if test "x$host_alias" = x; then
   4706   ac_cv_host=$ac_cv_build
   4707 else
   4708   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4709     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4710 fi
   4711 
   4712 fi
   4713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4714 printf "%s\n" "$ac_cv_host" >&6; }
   4715 case $ac_cv_host in
   4716 *-*-*) ;;
   4717 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4718 esac
   4719 host=$ac_cv_host
   4720 ac_save_IFS=$IFS; IFS='-'
   4721 set x $ac_cv_host
   4722 shift
   4723 host_cpu=$1
   4724 host_vendor=$2
   4725 shift; shift
   4726 # Remember, the first character of IFS is used to create $*,
   4727 # except with old shells:
   4728 host_os=$*
   4729 IFS=$ac_save_IFS
   4730 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4731 
   4732 
   4733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4734 printf %s "checking for a sed that does not truncate output... " >&6; }
   4735 if test ${ac_cv_path_SED+y}
   4736 then :
   4737   printf %s "(cached) " >&6
   4738 else $as_nop
   4739             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4740      for ac_i in 1 2 3 4 5 6 7; do
   4741        ac_script="$ac_script$as_nl$ac_script"
   4742      done
   4743      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4744      { ac_script=; unset ac_script;}
   4745      if test -z "$SED"; then
   4746   ac_path_SED_found=false
   4747   # Loop through the user's path and test for each of PROGNAME-LIST
   4748   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4749 for as_dir in $PATH
   4750 do
   4751   IFS=$as_save_IFS
   4752   case $as_dir in #(((
   4753     '') as_dir=./ ;;
   4754     */) ;;
   4755     *) as_dir=$as_dir/ ;;
   4756   esac
   4757     for ac_prog in sed gsed
   4758    do
   4759     for ac_exec_ext in '' $ac_executable_extensions; do
   4760       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4761       as_fn_executable_p "$ac_path_SED" || continue
   4762 # Check for GNU ac_path_SED and select it if it is found.
   4763   # Check for GNU $ac_path_SED
   4764 case `"$ac_path_SED" --version 2>&1` in
   4765 *GNU*)
   4766   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4767 *)
   4768   ac_count=0
   4769   printf %s 0123456789 >"conftest.in"
   4770   while :
   4771   do
   4772     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4773     mv "conftest.tmp" "conftest.in"
   4774     cp "conftest.in" "conftest.nl"
   4775     printf "%s\n" '' >> "conftest.nl"
   4776     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4777     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4778     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4779     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4780       # Best one so far, save it but keep looking for a better one
   4781       ac_cv_path_SED="$ac_path_SED"
   4782       ac_path_SED_max=$ac_count
   4783     fi
   4784     # 10*(2^10) chars as input seems more than enough
   4785     test $ac_count -gt 10 && break
   4786   done
   4787   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4788 esac
   4789 
   4790       $ac_path_SED_found && break 3
   4791     done
   4792   done
   4793   done
   4794 IFS=$as_save_IFS
   4795   if test -z "$ac_cv_path_SED"; then
   4796     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4797   fi
   4798 else
   4799   ac_cv_path_SED=$SED
   4800 fi
   4801 
   4802 fi
   4803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4804 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4805  SED="$ac_cv_path_SED"
   4806   rm -f conftest.sed
   4807 
   4808 
   4809 
   4810 
   4811 
   4812 
   4813 # Check whether --enable-selective-werror was given.
   4814 if test ${enable_selective_werror+y}
   4815 then :
   4816   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4817 else $as_nop
   4818   SELECTIVE_WERROR=yes
   4819 fi
   4820 
   4821 
   4822 
   4823 
   4824 
   4825 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4826 if test "x$SUNCC" = "xyes"; then
   4827     BASE_CFLAGS="-v"
   4828 else
   4829     BASE_CFLAGS=""
   4830 fi
   4831 
   4832 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4833 
   4834 
   4835 
   4836 
   4837 
   4838 
   4839 
   4840 
   4841 
   4842 
   4843 
   4844 
   4845 
   4846 xorg_testset_save_CFLAGS="$CFLAGS"
   4847 
   4848 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4849 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4850 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4851 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4852 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4853 then :
   4854   printf %s "(cached) " >&6
   4855 else $as_nop
   4856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4857 /* end confdefs.h.  */
   4858 int i;
   4859 _ACEOF
   4860 if ac_fn_c_try_compile "$LINENO"
   4861 then :
   4862   xorg_cv_cc_flag_unknown_warning_option=yes
   4863 else $as_nop
   4864   xorg_cv_cc_flag_unknown_warning_option=no
   4865 fi
   4866 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4867 fi
   4868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4869 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4870 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4871 	CFLAGS="$xorg_testset_save_CFLAGS"
   4872 fi
   4873 
   4874 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4875 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4876 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4877 	fi
   4878 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4879 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4880 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4881 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   4882 then :
   4883   printf %s "(cached) " >&6
   4884 else $as_nop
   4885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4886 /* end confdefs.h.  */
   4887 int i;
   4888 _ACEOF
   4889 if ac_fn_c_try_compile "$LINENO"
   4890 then :
   4891   xorg_cv_cc_flag_unused_command_line_argument=yes
   4892 else $as_nop
   4893   xorg_cv_cc_flag_unused_command_line_argument=no
   4894 fi
   4895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4896 fi
   4897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4898 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4899 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4900 	CFLAGS="$xorg_testset_save_CFLAGS"
   4901 fi
   4902 
   4903 found="no"
   4904 
   4905 	if test $found = "no" ; then
   4906 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4907 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4908 		fi
   4909 
   4910 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4911 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4912 		fi
   4913 
   4914 		CFLAGS="$CFLAGS -Wall"
   4915 
   4916 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4917 printf %s "checking if $CC supports -Wall... " >&6; }
   4918 		cacheid=xorg_cv_cc_flag__Wall
   4919 		if eval test \${$cacheid+y}
   4920 then :
   4921   printf %s "(cached) " >&6
   4922 else $as_nop
   4923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4924 /* end confdefs.h.  */
   4925 int i;
   4926 int
   4927 main (void)
   4928 {
   4929 
   4930   ;
   4931   return 0;
   4932 }
   4933 _ACEOF
   4934 if ac_fn_c_try_link "$LINENO"
   4935 then :
   4936   eval $cacheid=yes
   4937 else $as_nop
   4938   eval $cacheid=no
   4939 fi
   4940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   4941     conftest$ac_exeext conftest.$ac_ext
   4942 fi
   4943 
   4944 
   4945 		CFLAGS="$xorg_testset_save_CFLAGS"
   4946 
   4947 		eval supported=\$$cacheid
   4948 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4949 printf "%s\n" "$supported" >&6; }
   4950 		if test "$supported" = "yes" ; then
   4951 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4952 			found="yes"
   4953 		fi
   4954 	fi
   4955 
   4956 
   4957 
   4958 
   4959 
   4960 
   4961 
   4962 
   4963 
   4964 
   4965 
   4966 
   4967 
   4968 
   4969 
   4970 xorg_testset_save_CFLAGS="$CFLAGS"
   4971 
   4972 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4973 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4974 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4975 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4976 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4977 then :
   4978   printf %s "(cached) " >&6
   4979 else $as_nop
   4980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4981 /* end confdefs.h.  */
   4982 int i;
   4983 _ACEOF
   4984 if ac_fn_c_try_compile "$LINENO"
   4985 then :
   4986   xorg_cv_cc_flag_unknown_warning_option=yes
   4987 else $as_nop
   4988   xorg_cv_cc_flag_unknown_warning_option=no
   4989 fi
   4990 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4991 fi
   4992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4993 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4994 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4995 	CFLAGS="$xorg_testset_save_CFLAGS"
   4996 fi
   4997 
   4998 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4999 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5000 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5001 	fi
   5002 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5003 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5004 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5005 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5006 then :
   5007   printf %s "(cached) " >&6
   5008 else $as_nop
   5009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5010 /* end confdefs.h.  */
   5011 int i;
   5012 _ACEOF
   5013 if ac_fn_c_try_compile "$LINENO"
   5014 then :
   5015   xorg_cv_cc_flag_unused_command_line_argument=yes
   5016 else $as_nop
   5017   xorg_cv_cc_flag_unused_command_line_argument=no
   5018 fi
   5019 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5020 fi
   5021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5022 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5023 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5024 	CFLAGS="$xorg_testset_save_CFLAGS"
   5025 fi
   5026 
   5027 found="no"
   5028 
   5029 	if test $found = "no" ; then
   5030 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5031 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5032 		fi
   5033 
   5034 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5035 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5036 		fi
   5037 
   5038 		CFLAGS="$CFLAGS -Wpointer-arith"
   5039 
   5040 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5041 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5042 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5043 		if eval test \${$cacheid+y}
   5044 then :
   5045   printf %s "(cached) " >&6
   5046 else $as_nop
   5047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5048 /* end confdefs.h.  */
   5049 int i;
   5050 int
   5051 main (void)
   5052 {
   5053 
   5054   ;
   5055   return 0;
   5056 }
   5057 _ACEOF
   5058 if ac_fn_c_try_link "$LINENO"
   5059 then :
   5060   eval $cacheid=yes
   5061 else $as_nop
   5062   eval $cacheid=no
   5063 fi
   5064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5065     conftest$ac_exeext conftest.$ac_ext
   5066 fi
   5067 
   5068 
   5069 		CFLAGS="$xorg_testset_save_CFLAGS"
   5070 
   5071 		eval supported=\$$cacheid
   5072 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5073 printf "%s\n" "$supported" >&6; }
   5074 		if test "$supported" = "yes" ; then
   5075 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5076 			found="yes"
   5077 		fi
   5078 	fi
   5079 
   5080 
   5081 
   5082 
   5083 
   5084 
   5085 
   5086 
   5087 
   5088 
   5089 
   5090 
   5091 
   5092 
   5093 
   5094 xorg_testset_save_CFLAGS="$CFLAGS"
   5095 
   5096 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5097 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5098 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5099 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5100 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5101 then :
   5102   printf %s "(cached) " >&6
   5103 else $as_nop
   5104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5105 /* end confdefs.h.  */
   5106 int i;
   5107 _ACEOF
   5108 if ac_fn_c_try_compile "$LINENO"
   5109 then :
   5110   xorg_cv_cc_flag_unknown_warning_option=yes
   5111 else $as_nop
   5112   xorg_cv_cc_flag_unknown_warning_option=no
   5113 fi
   5114 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5115 fi
   5116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5117 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5118 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5119 	CFLAGS="$xorg_testset_save_CFLAGS"
   5120 fi
   5121 
   5122 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5123 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5124 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5125 	fi
   5126 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5127 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5128 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5129 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5130 then :
   5131   printf %s "(cached) " >&6
   5132 else $as_nop
   5133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5134 /* end confdefs.h.  */
   5135 int i;
   5136 _ACEOF
   5137 if ac_fn_c_try_compile "$LINENO"
   5138 then :
   5139   xorg_cv_cc_flag_unused_command_line_argument=yes
   5140 else $as_nop
   5141   xorg_cv_cc_flag_unused_command_line_argument=no
   5142 fi
   5143 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5144 fi
   5145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5146 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5147 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5148 	CFLAGS="$xorg_testset_save_CFLAGS"
   5149 fi
   5150 
   5151 found="no"
   5152 
   5153 	if test $found = "no" ; then
   5154 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5155 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5156 		fi
   5157 
   5158 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5159 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5160 		fi
   5161 
   5162 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5163 
   5164 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5165 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5166 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5167 		if eval test \${$cacheid+y}
   5168 then :
   5169   printf %s "(cached) " >&6
   5170 else $as_nop
   5171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5172 /* end confdefs.h.  */
   5173 int i;
   5174 int
   5175 main (void)
   5176 {
   5177 
   5178   ;
   5179   return 0;
   5180 }
   5181 _ACEOF
   5182 if ac_fn_c_try_link "$LINENO"
   5183 then :
   5184   eval $cacheid=yes
   5185 else $as_nop
   5186   eval $cacheid=no
   5187 fi
   5188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5189     conftest$ac_exeext conftest.$ac_ext
   5190 fi
   5191 
   5192 
   5193 		CFLAGS="$xorg_testset_save_CFLAGS"
   5194 
   5195 		eval supported=\$$cacheid
   5196 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5197 printf "%s\n" "$supported" >&6; }
   5198 		if test "$supported" = "yes" ; then
   5199 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5200 			found="yes"
   5201 		fi
   5202 	fi
   5203 
   5204 
   5205 
   5206 
   5207 
   5208 
   5209 
   5210 
   5211 
   5212 
   5213 
   5214 
   5215 
   5216 
   5217 
   5218 xorg_testset_save_CFLAGS="$CFLAGS"
   5219 
   5220 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5221 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5222 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5223 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5224 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5225 then :
   5226   printf %s "(cached) " >&6
   5227 else $as_nop
   5228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5229 /* end confdefs.h.  */
   5230 int i;
   5231 _ACEOF
   5232 if ac_fn_c_try_compile "$LINENO"
   5233 then :
   5234   xorg_cv_cc_flag_unknown_warning_option=yes
   5235 else $as_nop
   5236   xorg_cv_cc_flag_unknown_warning_option=no
   5237 fi
   5238 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5239 fi
   5240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5241 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5242 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5243 	CFLAGS="$xorg_testset_save_CFLAGS"
   5244 fi
   5245 
   5246 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5247 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5248 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5249 	fi
   5250 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5251 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5252 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5253 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5254 then :
   5255   printf %s "(cached) " >&6
   5256 else $as_nop
   5257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5258 /* end confdefs.h.  */
   5259 int i;
   5260 _ACEOF
   5261 if ac_fn_c_try_compile "$LINENO"
   5262 then :
   5263   xorg_cv_cc_flag_unused_command_line_argument=yes
   5264 else $as_nop
   5265   xorg_cv_cc_flag_unused_command_line_argument=no
   5266 fi
   5267 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5268 fi
   5269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5270 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5271 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5272 	CFLAGS="$xorg_testset_save_CFLAGS"
   5273 fi
   5274 
   5275 found="no"
   5276 
   5277 	if test $found = "no" ; then
   5278 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5279 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5280 		fi
   5281 
   5282 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5283 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5284 		fi
   5285 
   5286 		CFLAGS="$CFLAGS -Wformat=2"
   5287 
   5288 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5289 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5290 		cacheid=xorg_cv_cc_flag__Wformat_2
   5291 		if eval test \${$cacheid+y}
   5292 then :
   5293   printf %s "(cached) " >&6
   5294 else $as_nop
   5295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5296 /* end confdefs.h.  */
   5297 int i;
   5298 int
   5299 main (void)
   5300 {
   5301 
   5302   ;
   5303   return 0;
   5304 }
   5305 _ACEOF
   5306 if ac_fn_c_try_link "$LINENO"
   5307 then :
   5308   eval $cacheid=yes
   5309 else $as_nop
   5310   eval $cacheid=no
   5311 fi
   5312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5313     conftest$ac_exeext conftest.$ac_ext
   5314 fi
   5315 
   5316 
   5317 		CFLAGS="$xorg_testset_save_CFLAGS"
   5318 
   5319 		eval supported=\$$cacheid
   5320 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5321 printf "%s\n" "$supported" >&6; }
   5322 		if test "$supported" = "yes" ; then
   5323 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5324 			found="yes"
   5325 		fi
   5326 	fi
   5327 
   5328 	if test $found = "no" ; then
   5329 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5330 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5331 		fi
   5332 
   5333 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5334 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5335 		fi
   5336 
   5337 		CFLAGS="$CFLAGS -Wformat"
   5338 
   5339 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5340 printf %s "checking if $CC supports -Wformat... " >&6; }
   5341 		cacheid=xorg_cv_cc_flag__Wformat
   5342 		if eval test \${$cacheid+y}
   5343 then :
   5344   printf %s "(cached) " >&6
   5345 else $as_nop
   5346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5347 /* end confdefs.h.  */
   5348 int i;
   5349 int
   5350 main (void)
   5351 {
   5352 
   5353   ;
   5354   return 0;
   5355 }
   5356 _ACEOF
   5357 if ac_fn_c_try_link "$LINENO"
   5358 then :
   5359   eval $cacheid=yes
   5360 else $as_nop
   5361   eval $cacheid=no
   5362 fi
   5363 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5364     conftest$ac_exeext conftest.$ac_ext
   5365 fi
   5366 
   5367 
   5368 		CFLAGS="$xorg_testset_save_CFLAGS"
   5369 
   5370 		eval supported=\$$cacheid
   5371 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5372 printf "%s\n" "$supported" >&6; }
   5373 		if test "$supported" = "yes" ; then
   5374 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5375 			found="yes"
   5376 		fi
   5377 	fi
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 
   5385 
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 
   5394 
   5395 xorg_testset_save_CFLAGS="$CFLAGS"
   5396 
   5397 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5398 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5399 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5400 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5401 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5402 then :
   5403   printf %s "(cached) " >&6
   5404 else $as_nop
   5405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5406 /* end confdefs.h.  */
   5407 int i;
   5408 _ACEOF
   5409 if ac_fn_c_try_compile "$LINENO"
   5410 then :
   5411   xorg_cv_cc_flag_unknown_warning_option=yes
   5412 else $as_nop
   5413   xorg_cv_cc_flag_unknown_warning_option=no
   5414 fi
   5415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5416 fi
   5417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5418 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5419 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5420 	CFLAGS="$xorg_testset_save_CFLAGS"
   5421 fi
   5422 
   5423 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5424 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5425 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5426 	fi
   5427 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5428 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5429 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5430 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5431 then :
   5432   printf %s "(cached) " >&6
   5433 else $as_nop
   5434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5435 /* end confdefs.h.  */
   5436 int i;
   5437 _ACEOF
   5438 if ac_fn_c_try_compile "$LINENO"
   5439 then :
   5440   xorg_cv_cc_flag_unused_command_line_argument=yes
   5441 else $as_nop
   5442   xorg_cv_cc_flag_unused_command_line_argument=no
   5443 fi
   5444 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5445 fi
   5446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5447 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5448 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5449 	CFLAGS="$xorg_testset_save_CFLAGS"
   5450 fi
   5451 
   5452 found="no"
   5453 
   5454 	if test $found = "no" ; then
   5455 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5456 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5457 		fi
   5458 
   5459 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5460 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5461 		fi
   5462 
   5463 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5464 
   5465 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5466 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5467 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5468 		if eval test \${$cacheid+y}
   5469 then :
   5470   printf %s "(cached) " >&6
   5471 else $as_nop
   5472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5473 /* end confdefs.h.  */
   5474 int i;
   5475 int
   5476 main (void)
   5477 {
   5478 
   5479   ;
   5480   return 0;
   5481 }
   5482 _ACEOF
   5483 if ac_fn_c_try_link "$LINENO"
   5484 then :
   5485   eval $cacheid=yes
   5486 else $as_nop
   5487   eval $cacheid=no
   5488 fi
   5489 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5490     conftest$ac_exeext conftest.$ac_ext
   5491 fi
   5492 
   5493 
   5494 		CFLAGS="$xorg_testset_save_CFLAGS"
   5495 
   5496 		eval supported=\$$cacheid
   5497 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5498 printf "%s\n" "$supported" >&6; }
   5499 		if test "$supported" = "yes" ; then
   5500 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5501 			found="yes"
   5502 		fi
   5503 	fi
   5504 
   5505 
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 
   5518 
   5519 xorg_testset_save_CFLAGS="$CFLAGS"
   5520 
   5521 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5522 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5523 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5524 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5525 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5526 then :
   5527   printf %s "(cached) " >&6
   5528 else $as_nop
   5529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5530 /* end confdefs.h.  */
   5531 int i;
   5532 _ACEOF
   5533 if ac_fn_c_try_compile "$LINENO"
   5534 then :
   5535   xorg_cv_cc_flag_unknown_warning_option=yes
   5536 else $as_nop
   5537   xorg_cv_cc_flag_unknown_warning_option=no
   5538 fi
   5539 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5540 fi
   5541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5542 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5543 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5544 	CFLAGS="$xorg_testset_save_CFLAGS"
   5545 fi
   5546 
   5547 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5548 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5549 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5550 	fi
   5551 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5552 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5553 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5554 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5555 then :
   5556   printf %s "(cached) " >&6
   5557 else $as_nop
   5558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5559 /* end confdefs.h.  */
   5560 int i;
   5561 _ACEOF
   5562 if ac_fn_c_try_compile "$LINENO"
   5563 then :
   5564   xorg_cv_cc_flag_unused_command_line_argument=yes
   5565 else $as_nop
   5566   xorg_cv_cc_flag_unused_command_line_argument=no
   5567 fi
   5568 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5569 fi
   5570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5571 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5572 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5573 	CFLAGS="$xorg_testset_save_CFLAGS"
   5574 fi
   5575 
   5576 found="no"
   5577 
   5578 	if test $found = "no" ; then
   5579 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5580 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5581 		fi
   5582 
   5583 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5584 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5585 		fi
   5586 
   5587 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5588 
   5589 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5590 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5591 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5592 		if eval test \${$cacheid+y}
   5593 then :
   5594   printf %s "(cached) " >&6
   5595 else $as_nop
   5596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5597 /* end confdefs.h.  */
   5598 int i;
   5599 int
   5600 main (void)
   5601 {
   5602 
   5603   ;
   5604   return 0;
   5605 }
   5606 _ACEOF
   5607 if ac_fn_c_try_link "$LINENO"
   5608 then :
   5609   eval $cacheid=yes
   5610 else $as_nop
   5611   eval $cacheid=no
   5612 fi
   5613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5614     conftest$ac_exeext conftest.$ac_ext
   5615 fi
   5616 
   5617 
   5618 		CFLAGS="$xorg_testset_save_CFLAGS"
   5619 
   5620 		eval supported=\$$cacheid
   5621 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5622 printf "%s\n" "$supported" >&6; }
   5623 		if test "$supported" = "yes" ; then
   5624 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5625 			found="yes"
   5626 		fi
   5627 	fi
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 xorg_testset_save_CFLAGS="$CFLAGS"
   5644 
   5645 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5646 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5647 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5648 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5649 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5650 then :
   5651   printf %s "(cached) " >&6
   5652 else $as_nop
   5653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5654 /* end confdefs.h.  */
   5655 int i;
   5656 _ACEOF
   5657 if ac_fn_c_try_compile "$LINENO"
   5658 then :
   5659   xorg_cv_cc_flag_unknown_warning_option=yes
   5660 else $as_nop
   5661   xorg_cv_cc_flag_unknown_warning_option=no
   5662 fi
   5663 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5664 fi
   5665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5666 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5667 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5668 	CFLAGS="$xorg_testset_save_CFLAGS"
   5669 fi
   5670 
   5671 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5672 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5673 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5674 	fi
   5675 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5676 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5677 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5678 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5679 then :
   5680   printf %s "(cached) " >&6
   5681 else $as_nop
   5682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5683 /* end confdefs.h.  */
   5684 int i;
   5685 _ACEOF
   5686 if ac_fn_c_try_compile "$LINENO"
   5687 then :
   5688   xorg_cv_cc_flag_unused_command_line_argument=yes
   5689 else $as_nop
   5690   xorg_cv_cc_flag_unused_command_line_argument=no
   5691 fi
   5692 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5693 fi
   5694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5695 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5696 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5697 	CFLAGS="$xorg_testset_save_CFLAGS"
   5698 fi
   5699 
   5700 found="no"
   5701 
   5702 	if test $found = "no" ; then
   5703 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5704 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5705 		fi
   5706 
   5707 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5708 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5709 		fi
   5710 
   5711 		CFLAGS="$CFLAGS -Wnested-externs"
   5712 
   5713 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5714 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5715 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5716 		if eval test \${$cacheid+y}
   5717 then :
   5718   printf %s "(cached) " >&6
   5719 else $as_nop
   5720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5721 /* end confdefs.h.  */
   5722 int i;
   5723 int
   5724 main (void)
   5725 {
   5726 
   5727   ;
   5728   return 0;
   5729 }
   5730 _ACEOF
   5731 if ac_fn_c_try_link "$LINENO"
   5732 then :
   5733   eval $cacheid=yes
   5734 else $as_nop
   5735   eval $cacheid=no
   5736 fi
   5737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5738     conftest$ac_exeext conftest.$ac_ext
   5739 fi
   5740 
   5741 
   5742 		CFLAGS="$xorg_testset_save_CFLAGS"
   5743 
   5744 		eval supported=\$$cacheid
   5745 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5746 printf "%s\n" "$supported" >&6; }
   5747 		if test "$supported" = "yes" ; then
   5748 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5749 			found="yes"
   5750 		fi
   5751 	fi
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 
   5767 xorg_testset_save_CFLAGS="$CFLAGS"
   5768 
   5769 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5770 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5771 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5772 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5773 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5774 then :
   5775   printf %s "(cached) " >&6
   5776 else $as_nop
   5777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5778 /* end confdefs.h.  */
   5779 int i;
   5780 _ACEOF
   5781 if ac_fn_c_try_compile "$LINENO"
   5782 then :
   5783   xorg_cv_cc_flag_unknown_warning_option=yes
   5784 else $as_nop
   5785   xorg_cv_cc_flag_unknown_warning_option=no
   5786 fi
   5787 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5788 fi
   5789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5790 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5791 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5792 	CFLAGS="$xorg_testset_save_CFLAGS"
   5793 fi
   5794 
   5795 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5796 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5797 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5798 	fi
   5799 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5800 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5801 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5802 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5803 then :
   5804   printf %s "(cached) " >&6
   5805 else $as_nop
   5806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5807 /* end confdefs.h.  */
   5808 int i;
   5809 _ACEOF
   5810 if ac_fn_c_try_compile "$LINENO"
   5811 then :
   5812   xorg_cv_cc_flag_unused_command_line_argument=yes
   5813 else $as_nop
   5814   xorg_cv_cc_flag_unused_command_line_argument=no
   5815 fi
   5816 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5817 fi
   5818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5819 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5820 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5821 	CFLAGS="$xorg_testset_save_CFLAGS"
   5822 fi
   5823 
   5824 found="no"
   5825 
   5826 	if test $found = "no" ; then
   5827 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5828 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5829 		fi
   5830 
   5831 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5832 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5833 		fi
   5834 
   5835 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5836 
   5837 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5838 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   5839 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5840 		if eval test \${$cacheid+y}
   5841 then :
   5842   printf %s "(cached) " >&6
   5843 else $as_nop
   5844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5845 /* end confdefs.h.  */
   5846 int i;
   5847 int
   5848 main (void)
   5849 {
   5850 
   5851   ;
   5852   return 0;
   5853 }
   5854 _ACEOF
   5855 if ac_fn_c_try_link "$LINENO"
   5856 then :
   5857   eval $cacheid=yes
   5858 else $as_nop
   5859   eval $cacheid=no
   5860 fi
   5861 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5862     conftest$ac_exeext conftest.$ac_ext
   5863 fi
   5864 
   5865 
   5866 		CFLAGS="$xorg_testset_save_CFLAGS"
   5867 
   5868 		eval supported=\$$cacheid
   5869 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5870 printf "%s\n" "$supported" >&6; }
   5871 		if test "$supported" = "yes" ; then
   5872 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5873 			found="yes"
   5874 		fi
   5875 	fi
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 
   5889 
   5890 
   5891 xorg_testset_save_CFLAGS="$CFLAGS"
   5892 
   5893 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5894 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5895 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5896 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5897 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5898 then :
   5899   printf %s "(cached) " >&6
   5900 else $as_nop
   5901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5902 /* end confdefs.h.  */
   5903 int i;
   5904 _ACEOF
   5905 if ac_fn_c_try_compile "$LINENO"
   5906 then :
   5907   xorg_cv_cc_flag_unknown_warning_option=yes
   5908 else $as_nop
   5909   xorg_cv_cc_flag_unknown_warning_option=no
   5910 fi
   5911 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5912 fi
   5913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5914 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5915 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5916 	CFLAGS="$xorg_testset_save_CFLAGS"
   5917 fi
   5918 
   5919 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5920 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5921 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5922 	fi
   5923 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5924 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5925 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5926 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5927 then :
   5928   printf %s "(cached) " >&6
   5929 else $as_nop
   5930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5931 /* end confdefs.h.  */
   5932 int i;
   5933 _ACEOF
   5934 if ac_fn_c_try_compile "$LINENO"
   5935 then :
   5936   xorg_cv_cc_flag_unused_command_line_argument=yes
   5937 else $as_nop
   5938   xorg_cv_cc_flag_unused_command_line_argument=no
   5939 fi
   5940 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5941 fi
   5942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5943 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5944 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5945 	CFLAGS="$xorg_testset_save_CFLAGS"
   5946 fi
   5947 
   5948 found="no"
   5949 
   5950 	if test $found = "no" ; then
   5951 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5952 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5953 		fi
   5954 
   5955 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5956 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5957 		fi
   5958 
   5959 		CFLAGS="$CFLAGS -Wold-style-definition"
   5960 
   5961 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5962 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   5963 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5964 		if eval test \${$cacheid+y}
   5965 then :
   5966   printf %s "(cached) " >&6
   5967 else $as_nop
   5968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5969 /* end confdefs.h.  */
   5970 int i;
   5971 int
   5972 main (void)
   5973 {
   5974 
   5975   ;
   5976   return 0;
   5977 }
   5978 _ACEOF
   5979 if ac_fn_c_try_link "$LINENO"
   5980 then :
   5981   eval $cacheid=yes
   5982 else $as_nop
   5983   eval $cacheid=no
   5984 fi
   5985 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5986     conftest$ac_exeext conftest.$ac_ext
   5987 fi
   5988 
   5989 
   5990 		CFLAGS="$xorg_testset_save_CFLAGS"
   5991 
   5992 		eval supported=\$$cacheid
   5993 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5994 printf "%s\n" "$supported" >&6; }
   5995 		if test "$supported" = "yes" ; then
   5996 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5997 			found="yes"
   5998 		fi
   5999 	fi
   6000 
   6001 	if test $found = "no" ; then
   6002 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6003 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6004 		fi
   6005 
   6006 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6007 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6008 		fi
   6009 
   6010 		CFLAGS="$CFLAGS -fd"
   6011 
   6012 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6013 printf %s "checking if $CC supports -fd... " >&6; }
   6014 		cacheid=xorg_cv_cc_flag__fd
   6015 		if eval test \${$cacheid+y}
   6016 then :
   6017   printf %s "(cached) " >&6
   6018 else $as_nop
   6019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6020 /* end confdefs.h.  */
   6021 int i;
   6022 int
   6023 main (void)
   6024 {
   6025 
   6026   ;
   6027   return 0;
   6028 }
   6029 _ACEOF
   6030 if ac_fn_c_try_link "$LINENO"
   6031 then :
   6032   eval $cacheid=yes
   6033 else $as_nop
   6034   eval $cacheid=no
   6035 fi
   6036 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6037     conftest$ac_exeext conftest.$ac_ext
   6038 fi
   6039 
   6040 
   6041 		CFLAGS="$xorg_testset_save_CFLAGS"
   6042 
   6043 		eval supported=\$$cacheid
   6044 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6045 printf "%s\n" "$supported" >&6; }
   6046 		if test "$supported" = "yes" ; then
   6047 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6048 			found="yes"
   6049 		fi
   6050 	fi
   6051 
   6052 
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 
   6065 
   6066 xorg_testset_save_CFLAGS="$CFLAGS"
   6067 
   6068 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6069 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6070 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6071 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6072 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6073 then :
   6074   printf %s "(cached) " >&6
   6075 else $as_nop
   6076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6077 /* end confdefs.h.  */
   6078 int i;
   6079 _ACEOF
   6080 if ac_fn_c_try_compile "$LINENO"
   6081 then :
   6082   xorg_cv_cc_flag_unknown_warning_option=yes
   6083 else $as_nop
   6084   xorg_cv_cc_flag_unknown_warning_option=no
   6085 fi
   6086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6087 fi
   6088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6089 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6090 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6091 	CFLAGS="$xorg_testset_save_CFLAGS"
   6092 fi
   6093 
   6094 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6095 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6096 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6097 	fi
   6098 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6099 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6100 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6101 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6102 then :
   6103   printf %s "(cached) " >&6
   6104 else $as_nop
   6105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6106 /* end confdefs.h.  */
   6107 int i;
   6108 _ACEOF
   6109 if ac_fn_c_try_compile "$LINENO"
   6110 then :
   6111   xorg_cv_cc_flag_unused_command_line_argument=yes
   6112 else $as_nop
   6113   xorg_cv_cc_flag_unused_command_line_argument=no
   6114 fi
   6115 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6116 fi
   6117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6118 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6119 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6120 	CFLAGS="$xorg_testset_save_CFLAGS"
   6121 fi
   6122 
   6123 found="no"
   6124 
   6125 	if test $found = "no" ; then
   6126 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6127 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6128 		fi
   6129 
   6130 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6131 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6132 		fi
   6133 
   6134 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6135 
   6136 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6137 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6138 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6139 		if eval test \${$cacheid+y}
   6140 then :
   6141   printf %s "(cached) " >&6
   6142 else $as_nop
   6143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6144 /* end confdefs.h.  */
   6145 int i;
   6146 int
   6147 main (void)
   6148 {
   6149 
   6150   ;
   6151   return 0;
   6152 }
   6153 _ACEOF
   6154 if ac_fn_c_try_link "$LINENO"
   6155 then :
   6156   eval $cacheid=yes
   6157 else $as_nop
   6158   eval $cacheid=no
   6159 fi
   6160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6161     conftest$ac_exeext conftest.$ac_ext
   6162 fi
   6163 
   6164 
   6165 		CFLAGS="$xorg_testset_save_CFLAGS"
   6166 
   6167 		eval supported=\$$cacheid
   6168 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6169 printf "%s\n" "$supported" >&6; }
   6170 		if test "$supported" = "yes" ; then
   6171 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6172 			found="yes"
   6173 		fi
   6174 	fi
   6175 
   6176 
   6177 
   6178 
   6179 
   6180 # This chunk adds additional warnings that could catch undesired effects.
   6181 
   6182 
   6183 
   6184 
   6185 
   6186 
   6187 
   6188 
   6189 
   6190 
   6191 
   6192 
   6193 
   6194 xorg_testset_save_CFLAGS="$CFLAGS"
   6195 
   6196 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6197 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6198 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6199 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6200 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6201 then :
   6202   printf %s "(cached) " >&6
   6203 else $as_nop
   6204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6205 /* end confdefs.h.  */
   6206 int i;
   6207 _ACEOF
   6208 if ac_fn_c_try_compile "$LINENO"
   6209 then :
   6210   xorg_cv_cc_flag_unknown_warning_option=yes
   6211 else $as_nop
   6212   xorg_cv_cc_flag_unknown_warning_option=no
   6213 fi
   6214 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6215 fi
   6216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6217 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6218 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6219 	CFLAGS="$xorg_testset_save_CFLAGS"
   6220 fi
   6221 
   6222 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6223 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6224 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6225 	fi
   6226 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6227 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6228 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6229 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6230 then :
   6231   printf %s "(cached) " >&6
   6232 else $as_nop
   6233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6234 /* end confdefs.h.  */
   6235 int i;
   6236 _ACEOF
   6237 if ac_fn_c_try_compile "$LINENO"
   6238 then :
   6239   xorg_cv_cc_flag_unused_command_line_argument=yes
   6240 else $as_nop
   6241   xorg_cv_cc_flag_unused_command_line_argument=no
   6242 fi
   6243 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6244 fi
   6245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6246 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6247 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6248 	CFLAGS="$xorg_testset_save_CFLAGS"
   6249 fi
   6250 
   6251 found="no"
   6252 
   6253 	if test $found = "no" ; then
   6254 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6255 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6256 		fi
   6257 
   6258 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6259 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6260 		fi
   6261 
   6262 		CFLAGS="$CFLAGS -Wunused"
   6263 
   6264 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6265 printf %s "checking if $CC supports -Wunused... " >&6; }
   6266 		cacheid=xorg_cv_cc_flag__Wunused
   6267 		if eval test \${$cacheid+y}
   6268 then :
   6269   printf %s "(cached) " >&6
   6270 else $as_nop
   6271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6272 /* end confdefs.h.  */
   6273 int i;
   6274 int
   6275 main (void)
   6276 {
   6277 
   6278   ;
   6279   return 0;
   6280 }
   6281 _ACEOF
   6282 if ac_fn_c_try_link "$LINENO"
   6283 then :
   6284   eval $cacheid=yes
   6285 else $as_nop
   6286   eval $cacheid=no
   6287 fi
   6288 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6289     conftest$ac_exeext conftest.$ac_ext
   6290 fi
   6291 
   6292 
   6293 		CFLAGS="$xorg_testset_save_CFLAGS"
   6294 
   6295 		eval supported=\$$cacheid
   6296 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6297 printf "%s\n" "$supported" >&6; }
   6298 		if test "$supported" = "yes" ; then
   6299 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6300 			found="yes"
   6301 		fi
   6302 	fi
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 
   6311 
   6312 
   6313 
   6314 
   6315 
   6316 
   6317 
   6318 xorg_testset_save_CFLAGS="$CFLAGS"
   6319 
   6320 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6321 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6322 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6323 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6324 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6325 then :
   6326   printf %s "(cached) " >&6
   6327 else $as_nop
   6328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6329 /* end confdefs.h.  */
   6330 int i;
   6331 _ACEOF
   6332 if ac_fn_c_try_compile "$LINENO"
   6333 then :
   6334   xorg_cv_cc_flag_unknown_warning_option=yes
   6335 else $as_nop
   6336   xorg_cv_cc_flag_unknown_warning_option=no
   6337 fi
   6338 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6339 fi
   6340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6341 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6342 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6343 	CFLAGS="$xorg_testset_save_CFLAGS"
   6344 fi
   6345 
   6346 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6347 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6348 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6349 	fi
   6350 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6351 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6352 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6353 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6354 then :
   6355   printf %s "(cached) " >&6
   6356 else $as_nop
   6357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6358 /* end confdefs.h.  */
   6359 int i;
   6360 _ACEOF
   6361 if ac_fn_c_try_compile "$LINENO"
   6362 then :
   6363   xorg_cv_cc_flag_unused_command_line_argument=yes
   6364 else $as_nop
   6365   xorg_cv_cc_flag_unused_command_line_argument=no
   6366 fi
   6367 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6368 fi
   6369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6370 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6371 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6372 	CFLAGS="$xorg_testset_save_CFLAGS"
   6373 fi
   6374 
   6375 found="no"
   6376 
   6377 	if test $found = "no" ; then
   6378 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6379 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6380 		fi
   6381 
   6382 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6383 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6384 		fi
   6385 
   6386 		CFLAGS="$CFLAGS -Wuninitialized"
   6387 
   6388 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6389 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6390 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6391 		if eval test \${$cacheid+y}
   6392 then :
   6393   printf %s "(cached) " >&6
   6394 else $as_nop
   6395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6396 /* end confdefs.h.  */
   6397 int i;
   6398 int
   6399 main (void)
   6400 {
   6401 
   6402   ;
   6403   return 0;
   6404 }
   6405 _ACEOF
   6406 if ac_fn_c_try_link "$LINENO"
   6407 then :
   6408   eval $cacheid=yes
   6409 else $as_nop
   6410   eval $cacheid=no
   6411 fi
   6412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6413     conftest$ac_exeext conftest.$ac_ext
   6414 fi
   6415 
   6416 
   6417 		CFLAGS="$xorg_testset_save_CFLAGS"
   6418 
   6419 		eval supported=\$$cacheid
   6420 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6421 printf "%s\n" "$supported" >&6; }
   6422 		if test "$supported" = "yes" ; then
   6423 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6424 			found="yes"
   6425 		fi
   6426 	fi
   6427 
   6428 
   6429 
   6430 
   6431 
   6432 
   6433 
   6434 
   6435 
   6436 
   6437 
   6438 
   6439 
   6440 
   6441 
   6442 xorg_testset_save_CFLAGS="$CFLAGS"
   6443 
   6444 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6445 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6446 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6447 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6448 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6449 then :
   6450   printf %s "(cached) " >&6
   6451 else $as_nop
   6452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6453 /* end confdefs.h.  */
   6454 int i;
   6455 _ACEOF
   6456 if ac_fn_c_try_compile "$LINENO"
   6457 then :
   6458   xorg_cv_cc_flag_unknown_warning_option=yes
   6459 else $as_nop
   6460   xorg_cv_cc_flag_unknown_warning_option=no
   6461 fi
   6462 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6463 fi
   6464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6465 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6466 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6467 	CFLAGS="$xorg_testset_save_CFLAGS"
   6468 fi
   6469 
   6470 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6471 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6472 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6473 	fi
   6474 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6475 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6476 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6477 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6478 then :
   6479   printf %s "(cached) " >&6
   6480 else $as_nop
   6481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6482 /* end confdefs.h.  */
   6483 int i;
   6484 _ACEOF
   6485 if ac_fn_c_try_compile "$LINENO"
   6486 then :
   6487   xorg_cv_cc_flag_unused_command_line_argument=yes
   6488 else $as_nop
   6489   xorg_cv_cc_flag_unused_command_line_argument=no
   6490 fi
   6491 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6492 fi
   6493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6494 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6495 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6496 	CFLAGS="$xorg_testset_save_CFLAGS"
   6497 fi
   6498 
   6499 found="no"
   6500 
   6501 	if test $found = "no" ; then
   6502 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6503 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6504 		fi
   6505 
   6506 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6507 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6508 		fi
   6509 
   6510 		CFLAGS="$CFLAGS -Wshadow"
   6511 
   6512 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6513 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6514 		cacheid=xorg_cv_cc_flag__Wshadow
   6515 		if eval test \${$cacheid+y}
   6516 then :
   6517   printf %s "(cached) " >&6
   6518 else $as_nop
   6519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6520 /* end confdefs.h.  */
   6521 int i;
   6522 int
   6523 main (void)
   6524 {
   6525 
   6526   ;
   6527   return 0;
   6528 }
   6529 _ACEOF
   6530 if ac_fn_c_try_link "$LINENO"
   6531 then :
   6532   eval $cacheid=yes
   6533 else $as_nop
   6534   eval $cacheid=no
   6535 fi
   6536 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6537     conftest$ac_exeext conftest.$ac_ext
   6538 fi
   6539 
   6540 
   6541 		CFLAGS="$xorg_testset_save_CFLAGS"
   6542 
   6543 		eval supported=\$$cacheid
   6544 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6545 printf "%s\n" "$supported" >&6; }
   6546 		if test "$supported" = "yes" ; then
   6547 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6548 			found="yes"
   6549 		fi
   6550 	fi
   6551 
   6552 
   6553 
   6554 
   6555 
   6556 
   6557 
   6558 
   6559 
   6560 
   6561 
   6562 
   6563 
   6564 
   6565 
   6566 xorg_testset_save_CFLAGS="$CFLAGS"
   6567 
   6568 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6569 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6570 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6571 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6572 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6573 then :
   6574   printf %s "(cached) " >&6
   6575 else $as_nop
   6576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6577 /* end confdefs.h.  */
   6578 int i;
   6579 _ACEOF
   6580 if ac_fn_c_try_compile "$LINENO"
   6581 then :
   6582   xorg_cv_cc_flag_unknown_warning_option=yes
   6583 else $as_nop
   6584   xorg_cv_cc_flag_unknown_warning_option=no
   6585 fi
   6586 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6587 fi
   6588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6589 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6590 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6591 	CFLAGS="$xorg_testset_save_CFLAGS"
   6592 fi
   6593 
   6594 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6595 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6596 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6597 	fi
   6598 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6599 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6600 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6601 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6602 then :
   6603   printf %s "(cached) " >&6
   6604 else $as_nop
   6605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6606 /* end confdefs.h.  */
   6607 int i;
   6608 _ACEOF
   6609 if ac_fn_c_try_compile "$LINENO"
   6610 then :
   6611   xorg_cv_cc_flag_unused_command_line_argument=yes
   6612 else $as_nop
   6613   xorg_cv_cc_flag_unused_command_line_argument=no
   6614 fi
   6615 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6616 fi
   6617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6618 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6619 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6620 	CFLAGS="$xorg_testset_save_CFLAGS"
   6621 fi
   6622 
   6623 found="no"
   6624 
   6625 	if test $found = "no" ; then
   6626 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6627 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6628 		fi
   6629 
   6630 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6631 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6632 		fi
   6633 
   6634 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6635 
   6636 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6637 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6638 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6639 		if eval test \${$cacheid+y}
   6640 then :
   6641   printf %s "(cached) " >&6
   6642 else $as_nop
   6643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6644 /* end confdefs.h.  */
   6645 int i;
   6646 int
   6647 main (void)
   6648 {
   6649 
   6650   ;
   6651   return 0;
   6652 }
   6653 _ACEOF
   6654 if ac_fn_c_try_link "$LINENO"
   6655 then :
   6656   eval $cacheid=yes
   6657 else $as_nop
   6658   eval $cacheid=no
   6659 fi
   6660 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6661     conftest$ac_exeext conftest.$ac_ext
   6662 fi
   6663 
   6664 
   6665 		CFLAGS="$xorg_testset_save_CFLAGS"
   6666 
   6667 		eval supported=\$$cacheid
   6668 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6669 printf "%s\n" "$supported" >&6; }
   6670 		if test "$supported" = "yes" ; then
   6671 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6672 			found="yes"
   6673 		fi
   6674 	fi
   6675 
   6676 
   6677 
   6678 
   6679 
   6680 
   6681 
   6682 
   6683 
   6684 
   6685 
   6686 
   6687 
   6688 
   6689 
   6690 xorg_testset_save_CFLAGS="$CFLAGS"
   6691 
   6692 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6693 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6694 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6695 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6696 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6697 then :
   6698   printf %s "(cached) " >&6
   6699 else $as_nop
   6700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6701 /* end confdefs.h.  */
   6702 int i;
   6703 _ACEOF
   6704 if ac_fn_c_try_compile "$LINENO"
   6705 then :
   6706   xorg_cv_cc_flag_unknown_warning_option=yes
   6707 else $as_nop
   6708   xorg_cv_cc_flag_unknown_warning_option=no
   6709 fi
   6710 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6711 fi
   6712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6713 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6714 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6715 	CFLAGS="$xorg_testset_save_CFLAGS"
   6716 fi
   6717 
   6718 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6719 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6720 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6721 	fi
   6722 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6723 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6724 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6725 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6726 then :
   6727   printf %s "(cached) " >&6
   6728 else $as_nop
   6729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6730 /* end confdefs.h.  */
   6731 int i;
   6732 _ACEOF
   6733 if ac_fn_c_try_compile "$LINENO"
   6734 then :
   6735   xorg_cv_cc_flag_unused_command_line_argument=yes
   6736 else $as_nop
   6737   xorg_cv_cc_flag_unused_command_line_argument=no
   6738 fi
   6739 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6740 fi
   6741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6742 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6743 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6744 	CFLAGS="$xorg_testset_save_CFLAGS"
   6745 fi
   6746 
   6747 found="no"
   6748 
   6749 	if test $found = "no" ; then
   6750 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6751 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6752 		fi
   6753 
   6754 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6755 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6756 		fi
   6757 
   6758 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6759 
   6760 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6761 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6762 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6763 		if eval test \${$cacheid+y}
   6764 then :
   6765   printf %s "(cached) " >&6
   6766 else $as_nop
   6767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6768 /* end confdefs.h.  */
   6769 int i;
   6770 int
   6771 main (void)
   6772 {
   6773 
   6774   ;
   6775   return 0;
   6776 }
   6777 _ACEOF
   6778 if ac_fn_c_try_link "$LINENO"
   6779 then :
   6780   eval $cacheid=yes
   6781 else $as_nop
   6782   eval $cacheid=no
   6783 fi
   6784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6785     conftest$ac_exeext conftest.$ac_ext
   6786 fi
   6787 
   6788 
   6789 		CFLAGS="$xorg_testset_save_CFLAGS"
   6790 
   6791 		eval supported=\$$cacheid
   6792 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6793 printf "%s\n" "$supported" >&6; }
   6794 		if test "$supported" = "yes" ; then
   6795 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6796 			found="yes"
   6797 		fi
   6798 	fi
   6799 
   6800 
   6801 
   6802 
   6803 
   6804 
   6805 
   6806 
   6807 
   6808 
   6809 
   6810 
   6811 
   6812 
   6813 
   6814 xorg_testset_save_CFLAGS="$CFLAGS"
   6815 
   6816 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6817 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6818 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6819 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6820 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6821 then :
   6822   printf %s "(cached) " >&6
   6823 else $as_nop
   6824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6825 /* end confdefs.h.  */
   6826 int i;
   6827 _ACEOF
   6828 if ac_fn_c_try_compile "$LINENO"
   6829 then :
   6830   xorg_cv_cc_flag_unknown_warning_option=yes
   6831 else $as_nop
   6832   xorg_cv_cc_flag_unknown_warning_option=no
   6833 fi
   6834 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6835 fi
   6836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6837 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6838 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6839 	CFLAGS="$xorg_testset_save_CFLAGS"
   6840 fi
   6841 
   6842 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6843 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6844 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6845 	fi
   6846 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6847 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6848 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6849 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6850 then :
   6851   printf %s "(cached) " >&6
   6852 else $as_nop
   6853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6854 /* end confdefs.h.  */
   6855 int i;
   6856 _ACEOF
   6857 if ac_fn_c_try_compile "$LINENO"
   6858 then :
   6859   xorg_cv_cc_flag_unused_command_line_argument=yes
   6860 else $as_nop
   6861   xorg_cv_cc_flag_unused_command_line_argument=no
   6862 fi
   6863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6864 fi
   6865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6866 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6867 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6868 	CFLAGS="$xorg_testset_save_CFLAGS"
   6869 fi
   6870 
   6871 found="no"
   6872 
   6873 	if test $found = "no" ; then
   6874 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6875 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6876 		fi
   6877 
   6878 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6879 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6880 		fi
   6881 
   6882 		CFLAGS="$CFLAGS -Wredundant-decls"
   6883 
   6884 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6885 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   6886 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6887 		if eval test \${$cacheid+y}
   6888 then :
   6889   printf %s "(cached) " >&6
   6890 else $as_nop
   6891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6892 /* end confdefs.h.  */
   6893 int i;
   6894 int
   6895 main (void)
   6896 {
   6897 
   6898   ;
   6899   return 0;
   6900 }
   6901 _ACEOF
   6902 if ac_fn_c_try_link "$LINENO"
   6903 then :
   6904   eval $cacheid=yes
   6905 else $as_nop
   6906   eval $cacheid=no
   6907 fi
   6908 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6909     conftest$ac_exeext conftest.$ac_ext
   6910 fi
   6911 
   6912 
   6913 		CFLAGS="$xorg_testset_save_CFLAGS"
   6914 
   6915 		eval supported=\$$cacheid
   6916 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6917 printf "%s\n" "$supported" >&6; }
   6918 		if test "$supported" = "yes" ; then
   6919 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6920 			found="yes"
   6921 		fi
   6922 	fi
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 
   6929 
   6930 
   6931 
   6932 
   6933 
   6934 
   6935 
   6936 
   6937 
   6938 xorg_testset_save_CFLAGS="$CFLAGS"
   6939 
   6940 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6941 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6942 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6943 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6944 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6945 then :
   6946   printf %s "(cached) " >&6
   6947 else $as_nop
   6948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6949 /* end confdefs.h.  */
   6950 int i;
   6951 _ACEOF
   6952 if ac_fn_c_try_compile "$LINENO"
   6953 then :
   6954   xorg_cv_cc_flag_unknown_warning_option=yes
   6955 else $as_nop
   6956   xorg_cv_cc_flag_unknown_warning_option=no
   6957 fi
   6958 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6959 fi
   6960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6961 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6962 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6963 	CFLAGS="$xorg_testset_save_CFLAGS"
   6964 fi
   6965 
   6966 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6967 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6968 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6969 	fi
   6970 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6971 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6972 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6973 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6974 then :
   6975   printf %s "(cached) " >&6
   6976 else $as_nop
   6977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6978 /* end confdefs.h.  */
   6979 int i;
   6980 _ACEOF
   6981 if ac_fn_c_try_compile "$LINENO"
   6982 then :
   6983   xorg_cv_cc_flag_unused_command_line_argument=yes
   6984 else $as_nop
   6985   xorg_cv_cc_flag_unused_command_line_argument=no
   6986 fi
   6987 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6988 fi
   6989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6990 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6991 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6992 	CFLAGS="$xorg_testset_save_CFLAGS"
   6993 fi
   6994 
   6995 found="no"
   6996 
   6997 	if test $found = "no" ; then
   6998 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6999 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7000 		fi
   7001 
   7002 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7003 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7004 		fi
   7005 
   7006 		CFLAGS="$CFLAGS -Wlogical-op"
   7007 
   7008 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7009 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7010 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7011 		if eval test \${$cacheid+y}
   7012 then :
   7013   printf %s "(cached) " >&6
   7014 else $as_nop
   7015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7016 /* end confdefs.h.  */
   7017 int i;
   7018 int
   7019 main (void)
   7020 {
   7021 
   7022   ;
   7023   return 0;
   7024 }
   7025 _ACEOF
   7026 if ac_fn_c_try_link "$LINENO"
   7027 then :
   7028   eval $cacheid=yes
   7029 else $as_nop
   7030   eval $cacheid=no
   7031 fi
   7032 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7033     conftest$ac_exeext conftest.$ac_ext
   7034 fi
   7035 
   7036 
   7037 		CFLAGS="$xorg_testset_save_CFLAGS"
   7038 
   7039 		eval supported=\$$cacheid
   7040 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7041 printf "%s\n" "$supported" >&6; }
   7042 		if test "$supported" = "yes" ; then
   7043 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7044 			found="yes"
   7045 		fi
   7046 	fi
   7047 
   7048 
   7049 
   7050 # These are currently disabled because they are noisy.  They will be enabled
   7051 # in the future once the codebase is sufficiently modernized to silence
   7052 # them.  For now, I don't want them to drown out the other warnings.
   7053 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7054 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7055 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7056 
   7057 # Turn some warnings into errors, so we don't accidently get successful builds
   7058 # when there are problems that should be fixed.
   7059 
   7060 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7061 
   7062 
   7063 
   7064 
   7065 
   7066 
   7067 
   7068 
   7069 
   7070 
   7071 
   7072 
   7073 
   7074 xorg_testset_save_CFLAGS="$CFLAGS"
   7075 
   7076 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7077 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7078 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7079 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7080 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7081 then :
   7082   printf %s "(cached) " >&6
   7083 else $as_nop
   7084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7085 /* end confdefs.h.  */
   7086 int i;
   7087 _ACEOF
   7088 if ac_fn_c_try_compile "$LINENO"
   7089 then :
   7090   xorg_cv_cc_flag_unknown_warning_option=yes
   7091 else $as_nop
   7092   xorg_cv_cc_flag_unknown_warning_option=no
   7093 fi
   7094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7095 fi
   7096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7097 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7098 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7099 	CFLAGS="$xorg_testset_save_CFLAGS"
   7100 fi
   7101 
   7102 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7103 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7104 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7105 	fi
   7106 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7107 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7108 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7109 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7110 then :
   7111   printf %s "(cached) " >&6
   7112 else $as_nop
   7113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7114 /* end confdefs.h.  */
   7115 int i;
   7116 _ACEOF
   7117 if ac_fn_c_try_compile "$LINENO"
   7118 then :
   7119   xorg_cv_cc_flag_unused_command_line_argument=yes
   7120 else $as_nop
   7121   xorg_cv_cc_flag_unused_command_line_argument=no
   7122 fi
   7123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7124 fi
   7125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7126 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7127 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7128 	CFLAGS="$xorg_testset_save_CFLAGS"
   7129 fi
   7130 
   7131 found="no"
   7132 
   7133 	if test $found = "no" ; then
   7134 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7135 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7136 		fi
   7137 
   7138 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7139 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7140 		fi
   7141 
   7142 		CFLAGS="$CFLAGS -Werror=implicit"
   7143 
   7144 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7145 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7146 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7147 		if eval test \${$cacheid+y}
   7148 then :
   7149   printf %s "(cached) " >&6
   7150 else $as_nop
   7151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7152 /* end confdefs.h.  */
   7153 int i;
   7154 int
   7155 main (void)
   7156 {
   7157 
   7158   ;
   7159   return 0;
   7160 }
   7161 _ACEOF
   7162 if ac_fn_c_try_link "$LINENO"
   7163 then :
   7164   eval $cacheid=yes
   7165 else $as_nop
   7166   eval $cacheid=no
   7167 fi
   7168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7169     conftest$ac_exeext conftest.$ac_ext
   7170 fi
   7171 
   7172 
   7173 		CFLAGS="$xorg_testset_save_CFLAGS"
   7174 
   7175 		eval supported=\$$cacheid
   7176 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7177 printf "%s\n" "$supported" >&6; }
   7178 		if test "$supported" = "yes" ; then
   7179 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7180 			found="yes"
   7181 		fi
   7182 	fi
   7183 
   7184 	if test $found = "no" ; then
   7185 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7186 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7187 		fi
   7188 
   7189 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7190 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7191 		fi
   7192 
   7193 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7194 
   7195 		{ 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
   7196 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7197 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7198 		if eval test \${$cacheid+y}
   7199 then :
   7200   printf %s "(cached) " >&6
   7201 else $as_nop
   7202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7203 /* end confdefs.h.  */
   7204 int i;
   7205 int
   7206 main (void)
   7207 {
   7208 
   7209   ;
   7210   return 0;
   7211 }
   7212 _ACEOF
   7213 if ac_fn_c_try_link "$LINENO"
   7214 then :
   7215   eval $cacheid=yes
   7216 else $as_nop
   7217   eval $cacheid=no
   7218 fi
   7219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7220     conftest$ac_exeext conftest.$ac_ext
   7221 fi
   7222 
   7223 
   7224 		CFLAGS="$xorg_testset_save_CFLAGS"
   7225 
   7226 		eval supported=\$$cacheid
   7227 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7228 printf "%s\n" "$supported" >&6; }
   7229 		if test "$supported" = "yes" ; then
   7230 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7231 			found="yes"
   7232 		fi
   7233 	fi
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 
   7244 
   7245 
   7246 
   7247 
   7248 
   7249 xorg_testset_save_CFLAGS="$CFLAGS"
   7250 
   7251 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7252 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7253 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7254 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7255 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7256 then :
   7257   printf %s "(cached) " >&6
   7258 else $as_nop
   7259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7260 /* end confdefs.h.  */
   7261 int i;
   7262 _ACEOF
   7263 if ac_fn_c_try_compile "$LINENO"
   7264 then :
   7265   xorg_cv_cc_flag_unknown_warning_option=yes
   7266 else $as_nop
   7267   xorg_cv_cc_flag_unknown_warning_option=no
   7268 fi
   7269 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7270 fi
   7271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7272 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7273 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7274 	CFLAGS="$xorg_testset_save_CFLAGS"
   7275 fi
   7276 
   7277 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7278 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7279 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7280 	fi
   7281 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7282 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7283 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7284 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7285 then :
   7286   printf %s "(cached) " >&6
   7287 else $as_nop
   7288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7289 /* end confdefs.h.  */
   7290 int i;
   7291 _ACEOF
   7292 if ac_fn_c_try_compile "$LINENO"
   7293 then :
   7294   xorg_cv_cc_flag_unused_command_line_argument=yes
   7295 else $as_nop
   7296   xorg_cv_cc_flag_unused_command_line_argument=no
   7297 fi
   7298 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7299 fi
   7300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7301 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7302 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7303 	CFLAGS="$xorg_testset_save_CFLAGS"
   7304 fi
   7305 
   7306 found="no"
   7307 
   7308 	if test $found = "no" ; then
   7309 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7310 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7311 		fi
   7312 
   7313 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7314 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7315 		fi
   7316 
   7317 		CFLAGS="$CFLAGS -Werror=nonnull"
   7318 
   7319 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7320 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7321 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7322 		if eval test \${$cacheid+y}
   7323 then :
   7324   printf %s "(cached) " >&6
   7325 else $as_nop
   7326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7327 /* end confdefs.h.  */
   7328 int i;
   7329 int
   7330 main (void)
   7331 {
   7332 
   7333   ;
   7334   return 0;
   7335 }
   7336 _ACEOF
   7337 if ac_fn_c_try_link "$LINENO"
   7338 then :
   7339   eval $cacheid=yes
   7340 else $as_nop
   7341   eval $cacheid=no
   7342 fi
   7343 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7344     conftest$ac_exeext conftest.$ac_ext
   7345 fi
   7346 
   7347 
   7348 		CFLAGS="$xorg_testset_save_CFLAGS"
   7349 
   7350 		eval supported=\$$cacheid
   7351 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7352 printf "%s\n" "$supported" >&6; }
   7353 		if test "$supported" = "yes" ; then
   7354 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7355 			found="yes"
   7356 		fi
   7357 	fi
   7358 
   7359 
   7360 
   7361 
   7362 
   7363 
   7364 
   7365 
   7366 
   7367 
   7368 
   7369 
   7370 
   7371 
   7372 
   7373 xorg_testset_save_CFLAGS="$CFLAGS"
   7374 
   7375 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7376 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7377 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7378 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7379 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7380 then :
   7381   printf %s "(cached) " >&6
   7382 else $as_nop
   7383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7384 /* end confdefs.h.  */
   7385 int i;
   7386 _ACEOF
   7387 if ac_fn_c_try_compile "$LINENO"
   7388 then :
   7389   xorg_cv_cc_flag_unknown_warning_option=yes
   7390 else $as_nop
   7391   xorg_cv_cc_flag_unknown_warning_option=no
   7392 fi
   7393 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7394 fi
   7395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7396 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7397 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7398 	CFLAGS="$xorg_testset_save_CFLAGS"
   7399 fi
   7400 
   7401 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7402 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7403 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7404 	fi
   7405 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7406 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7407 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7408 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7409 then :
   7410   printf %s "(cached) " >&6
   7411 else $as_nop
   7412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7413 /* end confdefs.h.  */
   7414 int i;
   7415 _ACEOF
   7416 if ac_fn_c_try_compile "$LINENO"
   7417 then :
   7418   xorg_cv_cc_flag_unused_command_line_argument=yes
   7419 else $as_nop
   7420   xorg_cv_cc_flag_unused_command_line_argument=no
   7421 fi
   7422 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7423 fi
   7424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7425 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7426 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7427 	CFLAGS="$xorg_testset_save_CFLAGS"
   7428 fi
   7429 
   7430 found="no"
   7431 
   7432 	if test $found = "no" ; then
   7433 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7434 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7435 		fi
   7436 
   7437 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7438 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7439 		fi
   7440 
   7441 		CFLAGS="$CFLAGS -Werror=init-self"
   7442 
   7443 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7444 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7445 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7446 		if eval test \${$cacheid+y}
   7447 then :
   7448   printf %s "(cached) " >&6
   7449 else $as_nop
   7450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7451 /* end confdefs.h.  */
   7452 int i;
   7453 int
   7454 main (void)
   7455 {
   7456 
   7457   ;
   7458   return 0;
   7459 }
   7460 _ACEOF
   7461 if ac_fn_c_try_link "$LINENO"
   7462 then :
   7463   eval $cacheid=yes
   7464 else $as_nop
   7465   eval $cacheid=no
   7466 fi
   7467 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7468     conftest$ac_exeext conftest.$ac_ext
   7469 fi
   7470 
   7471 
   7472 		CFLAGS="$xorg_testset_save_CFLAGS"
   7473 
   7474 		eval supported=\$$cacheid
   7475 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7476 printf "%s\n" "$supported" >&6; }
   7477 		if test "$supported" = "yes" ; then
   7478 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7479 			found="yes"
   7480 		fi
   7481 	fi
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 xorg_testset_save_CFLAGS="$CFLAGS"
   7498 
   7499 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7500 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7501 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7502 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7503 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7504 then :
   7505   printf %s "(cached) " >&6
   7506 else $as_nop
   7507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7508 /* end confdefs.h.  */
   7509 int i;
   7510 _ACEOF
   7511 if ac_fn_c_try_compile "$LINENO"
   7512 then :
   7513   xorg_cv_cc_flag_unknown_warning_option=yes
   7514 else $as_nop
   7515   xorg_cv_cc_flag_unknown_warning_option=no
   7516 fi
   7517 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7518 fi
   7519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7520 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7521 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7522 	CFLAGS="$xorg_testset_save_CFLAGS"
   7523 fi
   7524 
   7525 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7526 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7527 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7528 	fi
   7529 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7530 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7531 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7532 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7533 then :
   7534   printf %s "(cached) " >&6
   7535 else $as_nop
   7536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7537 /* end confdefs.h.  */
   7538 int i;
   7539 _ACEOF
   7540 if ac_fn_c_try_compile "$LINENO"
   7541 then :
   7542   xorg_cv_cc_flag_unused_command_line_argument=yes
   7543 else $as_nop
   7544   xorg_cv_cc_flag_unused_command_line_argument=no
   7545 fi
   7546 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7547 fi
   7548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7549 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7550 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7551 	CFLAGS="$xorg_testset_save_CFLAGS"
   7552 fi
   7553 
   7554 found="no"
   7555 
   7556 	if test $found = "no" ; then
   7557 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7558 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7559 		fi
   7560 
   7561 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7562 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7563 		fi
   7564 
   7565 		CFLAGS="$CFLAGS -Werror=main"
   7566 
   7567 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7568 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7569 		cacheid=xorg_cv_cc_flag__Werror_main
   7570 		if eval test \${$cacheid+y}
   7571 then :
   7572   printf %s "(cached) " >&6
   7573 else $as_nop
   7574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7575 /* end confdefs.h.  */
   7576 int i;
   7577 int
   7578 main (void)
   7579 {
   7580 
   7581   ;
   7582   return 0;
   7583 }
   7584 _ACEOF
   7585 if ac_fn_c_try_link "$LINENO"
   7586 then :
   7587   eval $cacheid=yes
   7588 else $as_nop
   7589   eval $cacheid=no
   7590 fi
   7591 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7592     conftest$ac_exeext conftest.$ac_ext
   7593 fi
   7594 
   7595 
   7596 		CFLAGS="$xorg_testset_save_CFLAGS"
   7597 
   7598 		eval supported=\$$cacheid
   7599 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7600 printf "%s\n" "$supported" >&6; }
   7601 		if test "$supported" = "yes" ; then
   7602 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7603 			found="yes"
   7604 		fi
   7605 	fi
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 
   7621 xorg_testset_save_CFLAGS="$CFLAGS"
   7622 
   7623 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7624 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7625 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7626 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7627 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7628 then :
   7629   printf %s "(cached) " >&6
   7630 else $as_nop
   7631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7632 /* end confdefs.h.  */
   7633 int i;
   7634 _ACEOF
   7635 if ac_fn_c_try_compile "$LINENO"
   7636 then :
   7637   xorg_cv_cc_flag_unknown_warning_option=yes
   7638 else $as_nop
   7639   xorg_cv_cc_flag_unknown_warning_option=no
   7640 fi
   7641 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7642 fi
   7643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7644 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7645 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7646 	CFLAGS="$xorg_testset_save_CFLAGS"
   7647 fi
   7648 
   7649 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7650 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7651 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7652 	fi
   7653 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7654 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7655 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7656 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7657 then :
   7658   printf %s "(cached) " >&6
   7659 else $as_nop
   7660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7661 /* end confdefs.h.  */
   7662 int i;
   7663 _ACEOF
   7664 if ac_fn_c_try_compile "$LINENO"
   7665 then :
   7666   xorg_cv_cc_flag_unused_command_line_argument=yes
   7667 else $as_nop
   7668   xorg_cv_cc_flag_unused_command_line_argument=no
   7669 fi
   7670 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7671 fi
   7672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7673 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7674 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7675 	CFLAGS="$xorg_testset_save_CFLAGS"
   7676 fi
   7677 
   7678 found="no"
   7679 
   7680 	if test $found = "no" ; then
   7681 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7682 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7683 		fi
   7684 
   7685 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7686 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7687 		fi
   7688 
   7689 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7690 
   7691 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7692 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7693 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7694 		if eval test \${$cacheid+y}
   7695 then :
   7696   printf %s "(cached) " >&6
   7697 else $as_nop
   7698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7699 /* end confdefs.h.  */
   7700 int i;
   7701 int
   7702 main (void)
   7703 {
   7704 
   7705   ;
   7706   return 0;
   7707 }
   7708 _ACEOF
   7709 if ac_fn_c_try_link "$LINENO"
   7710 then :
   7711   eval $cacheid=yes
   7712 else $as_nop
   7713   eval $cacheid=no
   7714 fi
   7715 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7716     conftest$ac_exeext conftest.$ac_ext
   7717 fi
   7718 
   7719 
   7720 		CFLAGS="$xorg_testset_save_CFLAGS"
   7721 
   7722 		eval supported=\$$cacheid
   7723 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7724 printf "%s\n" "$supported" >&6; }
   7725 		if test "$supported" = "yes" ; then
   7726 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7727 			found="yes"
   7728 		fi
   7729 	fi
   7730 
   7731 
   7732 
   7733 
   7734 
   7735 
   7736 
   7737 
   7738 
   7739 
   7740 
   7741 
   7742 
   7743 
   7744 
   7745 xorg_testset_save_CFLAGS="$CFLAGS"
   7746 
   7747 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7748 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7749 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7750 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7751 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7752 then :
   7753   printf %s "(cached) " >&6
   7754 else $as_nop
   7755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7756 /* end confdefs.h.  */
   7757 int i;
   7758 _ACEOF
   7759 if ac_fn_c_try_compile "$LINENO"
   7760 then :
   7761   xorg_cv_cc_flag_unknown_warning_option=yes
   7762 else $as_nop
   7763   xorg_cv_cc_flag_unknown_warning_option=no
   7764 fi
   7765 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7766 fi
   7767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7768 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7769 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7770 	CFLAGS="$xorg_testset_save_CFLAGS"
   7771 fi
   7772 
   7773 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7774 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7775 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7776 	fi
   7777 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7778 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7779 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7780 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7781 then :
   7782   printf %s "(cached) " >&6
   7783 else $as_nop
   7784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7785 /* end confdefs.h.  */
   7786 int i;
   7787 _ACEOF
   7788 if ac_fn_c_try_compile "$LINENO"
   7789 then :
   7790   xorg_cv_cc_flag_unused_command_line_argument=yes
   7791 else $as_nop
   7792   xorg_cv_cc_flag_unused_command_line_argument=no
   7793 fi
   7794 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7795 fi
   7796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7797 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7798 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7799 	CFLAGS="$xorg_testset_save_CFLAGS"
   7800 fi
   7801 
   7802 found="no"
   7803 
   7804 	if test $found = "no" ; then
   7805 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7806 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7807 		fi
   7808 
   7809 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7810 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7811 		fi
   7812 
   7813 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7814 
   7815 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7816 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   7817 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7818 		if eval test \${$cacheid+y}
   7819 then :
   7820   printf %s "(cached) " >&6
   7821 else $as_nop
   7822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7823 /* end confdefs.h.  */
   7824 int i;
   7825 int
   7826 main (void)
   7827 {
   7828 
   7829   ;
   7830   return 0;
   7831 }
   7832 _ACEOF
   7833 if ac_fn_c_try_link "$LINENO"
   7834 then :
   7835   eval $cacheid=yes
   7836 else $as_nop
   7837   eval $cacheid=no
   7838 fi
   7839 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7840     conftest$ac_exeext conftest.$ac_ext
   7841 fi
   7842 
   7843 
   7844 		CFLAGS="$xorg_testset_save_CFLAGS"
   7845 
   7846 		eval supported=\$$cacheid
   7847 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7848 printf "%s\n" "$supported" >&6; }
   7849 		if test "$supported" = "yes" ; then
   7850 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7851 			found="yes"
   7852 		fi
   7853 	fi
   7854 
   7855 
   7856 
   7857 
   7858 
   7859 
   7860 
   7861 
   7862 
   7863 
   7864 
   7865 
   7866 
   7867 
   7868 
   7869 xorg_testset_save_CFLAGS="$CFLAGS"
   7870 
   7871 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7872 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7873 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7874 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7875 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7876 then :
   7877   printf %s "(cached) " >&6
   7878 else $as_nop
   7879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7880 /* end confdefs.h.  */
   7881 int i;
   7882 _ACEOF
   7883 if ac_fn_c_try_compile "$LINENO"
   7884 then :
   7885   xorg_cv_cc_flag_unknown_warning_option=yes
   7886 else $as_nop
   7887   xorg_cv_cc_flag_unknown_warning_option=no
   7888 fi
   7889 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7890 fi
   7891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7892 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7893 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7894 	CFLAGS="$xorg_testset_save_CFLAGS"
   7895 fi
   7896 
   7897 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7898 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7899 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7900 	fi
   7901 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7902 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7903 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7904 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7905 then :
   7906   printf %s "(cached) " >&6
   7907 else $as_nop
   7908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7909 /* end confdefs.h.  */
   7910 int i;
   7911 _ACEOF
   7912 if ac_fn_c_try_compile "$LINENO"
   7913 then :
   7914   xorg_cv_cc_flag_unused_command_line_argument=yes
   7915 else $as_nop
   7916   xorg_cv_cc_flag_unused_command_line_argument=no
   7917 fi
   7918 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7919 fi
   7920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7921 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7922 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7923 	CFLAGS="$xorg_testset_save_CFLAGS"
   7924 fi
   7925 
   7926 found="no"
   7927 
   7928 	if test $found = "no" ; then
   7929 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7930 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7931 		fi
   7932 
   7933 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7934 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7935 		fi
   7936 
   7937 		CFLAGS="$CFLAGS -Werror=return-type"
   7938 
   7939 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7940 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   7941 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7942 		if eval test \${$cacheid+y}
   7943 then :
   7944   printf %s "(cached) " >&6
   7945 else $as_nop
   7946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7947 /* end confdefs.h.  */
   7948 int i;
   7949 int
   7950 main (void)
   7951 {
   7952 
   7953   ;
   7954   return 0;
   7955 }
   7956 _ACEOF
   7957 if ac_fn_c_try_link "$LINENO"
   7958 then :
   7959   eval $cacheid=yes
   7960 else $as_nop
   7961   eval $cacheid=no
   7962 fi
   7963 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7964     conftest$ac_exeext conftest.$ac_ext
   7965 fi
   7966 
   7967 
   7968 		CFLAGS="$xorg_testset_save_CFLAGS"
   7969 
   7970 		eval supported=\$$cacheid
   7971 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7972 printf "%s\n" "$supported" >&6; }
   7973 		if test "$supported" = "yes" ; then
   7974 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7975 			found="yes"
   7976 		fi
   7977 	fi
   7978 
   7979 	if test $found = "no" ; then
   7980 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7981 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7982 		fi
   7983 
   7984 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7985 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7986 		fi
   7987 
   7988 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7989 
   7990 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7991 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7992 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7993 		if eval test \${$cacheid+y}
   7994 then :
   7995   printf %s "(cached) " >&6
   7996 else $as_nop
   7997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7998 /* end confdefs.h.  */
   7999 int i;
   8000 int
   8001 main (void)
   8002 {
   8003 
   8004   ;
   8005   return 0;
   8006 }
   8007 _ACEOF
   8008 if ac_fn_c_try_link "$LINENO"
   8009 then :
   8010   eval $cacheid=yes
   8011 else $as_nop
   8012   eval $cacheid=no
   8013 fi
   8014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8015     conftest$ac_exeext conftest.$ac_ext
   8016 fi
   8017 
   8018 
   8019 		CFLAGS="$xorg_testset_save_CFLAGS"
   8020 
   8021 		eval supported=\$$cacheid
   8022 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8023 printf "%s\n" "$supported" >&6; }
   8024 		if test "$supported" = "yes" ; then
   8025 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8026 			found="yes"
   8027 		fi
   8028 	fi
   8029 
   8030 
   8031 
   8032 
   8033 
   8034 
   8035 
   8036 
   8037 
   8038 
   8039 
   8040 
   8041 
   8042 
   8043 
   8044 xorg_testset_save_CFLAGS="$CFLAGS"
   8045 
   8046 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8047 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8048 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8049 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8050 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8051 then :
   8052   printf %s "(cached) " >&6
   8053 else $as_nop
   8054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8055 /* end confdefs.h.  */
   8056 int i;
   8057 _ACEOF
   8058 if ac_fn_c_try_compile "$LINENO"
   8059 then :
   8060   xorg_cv_cc_flag_unknown_warning_option=yes
   8061 else $as_nop
   8062   xorg_cv_cc_flag_unknown_warning_option=no
   8063 fi
   8064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8065 fi
   8066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8067 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8068 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8069 	CFLAGS="$xorg_testset_save_CFLAGS"
   8070 fi
   8071 
   8072 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8073 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8074 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8075 	fi
   8076 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8077 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8078 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8079 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8080 then :
   8081   printf %s "(cached) " >&6
   8082 else $as_nop
   8083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8084 /* end confdefs.h.  */
   8085 int i;
   8086 _ACEOF
   8087 if ac_fn_c_try_compile "$LINENO"
   8088 then :
   8089   xorg_cv_cc_flag_unused_command_line_argument=yes
   8090 else $as_nop
   8091   xorg_cv_cc_flag_unused_command_line_argument=no
   8092 fi
   8093 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8094 fi
   8095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8096 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8097 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8098 	CFLAGS="$xorg_testset_save_CFLAGS"
   8099 fi
   8100 
   8101 found="no"
   8102 
   8103 	if test $found = "no" ; then
   8104 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8105 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8106 		fi
   8107 
   8108 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8109 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8110 		fi
   8111 
   8112 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8113 
   8114 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8115 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8116 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8117 		if eval test \${$cacheid+y}
   8118 then :
   8119   printf %s "(cached) " >&6
   8120 else $as_nop
   8121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8122 /* end confdefs.h.  */
   8123 int i;
   8124 int
   8125 main (void)
   8126 {
   8127 
   8128   ;
   8129   return 0;
   8130 }
   8131 _ACEOF
   8132 if ac_fn_c_try_link "$LINENO"
   8133 then :
   8134   eval $cacheid=yes
   8135 else $as_nop
   8136   eval $cacheid=no
   8137 fi
   8138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8139     conftest$ac_exeext conftest.$ac_ext
   8140 fi
   8141 
   8142 
   8143 		CFLAGS="$xorg_testset_save_CFLAGS"
   8144 
   8145 		eval supported=\$$cacheid
   8146 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8147 printf "%s\n" "$supported" >&6; }
   8148 		if test "$supported" = "yes" ; then
   8149 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8150 			found="yes"
   8151 		fi
   8152 	fi
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 
   8168 xorg_testset_save_CFLAGS="$CFLAGS"
   8169 
   8170 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8171 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8172 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8173 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8174 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8175 then :
   8176   printf %s "(cached) " >&6
   8177 else $as_nop
   8178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8179 /* end confdefs.h.  */
   8180 int i;
   8181 _ACEOF
   8182 if ac_fn_c_try_compile "$LINENO"
   8183 then :
   8184   xorg_cv_cc_flag_unknown_warning_option=yes
   8185 else $as_nop
   8186   xorg_cv_cc_flag_unknown_warning_option=no
   8187 fi
   8188 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8189 fi
   8190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8191 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8192 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8193 	CFLAGS="$xorg_testset_save_CFLAGS"
   8194 fi
   8195 
   8196 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8197 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8198 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8199 	fi
   8200 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8201 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8202 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8203 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8204 then :
   8205   printf %s "(cached) " >&6
   8206 else $as_nop
   8207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8208 /* end confdefs.h.  */
   8209 int i;
   8210 _ACEOF
   8211 if ac_fn_c_try_compile "$LINENO"
   8212 then :
   8213   xorg_cv_cc_flag_unused_command_line_argument=yes
   8214 else $as_nop
   8215   xorg_cv_cc_flag_unused_command_line_argument=no
   8216 fi
   8217 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8218 fi
   8219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8220 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8221 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8222 	CFLAGS="$xorg_testset_save_CFLAGS"
   8223 fi
   8224 
   8225 found="no"
   8226 
   8227 	if test $found = "no" ; then
   8228 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8229 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8230 		fi
   8231 
   8232 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8233 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8234 		fi
   8235 
   8236 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8237 
   8238 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8239 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8240 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8241 		if eval test \${$cacheid+y}
   8242 then :
   8243   printf %s "(cached) " >&6
   8244 else $as_nop
   8245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8246 /* end confdefs.h.  */
   8247 int i;
   8248 int
   8249 main (void)
   8250 {
   8251 
   8252   ;
   8253   return 0;
   8254 }
   8255 _ACEOF
   8256 if ac_fn_c_try_link "$LINENO"
   8257 then :
   8258   eval $cacheid=yes
   8259 else $as_nop
   8260   eval $cacheid=no
   8261 fi
   8262 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8263     conftest$ac_exeext conftest.$ac_ext
   8264 fi
   8265 
   8266 
   8267 		CFLAGS="$xorg_testset_save_CFLAGS"
   8268 
   8269 		eval supported=\$$cacheid
   8270 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8271 printf "%s\n" "$supported" >&6; }
   8272 		if test "$supported" = "yes" ; then
   8273 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8274 			found="yes"
   8275 		fi
   8276 	fi
   8277 
   8278 
   8279 
   8280 
   8281 
   8282 
   8283 
   8284 
   8285 
   8286 
   8287 
   8288 
   8289 
   8290 
   8291 
   8292 xorg_testset_save_CFLAGS="$CFLAGS"
   8293 
   8294 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8295 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8296 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8297 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8298 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8299 then :
   8300   printf %s "(cached) " >&6
   8301 else $as_nop
   8302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8303 /* end confdefs.h.  */
   8304 int i;
   8305 _ACEOF
   8306 if ac_fn_c_try_compile "$LINENO"
   8307 then :
   8308   xorg_cv_cc_flag_unknown_warning_option=yes
   8309 else $as_nop
   8310   xorg_cv_cc_flag_unknown_warning_option=no
   8311 fi
   8312 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8313 fi
   8314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8315 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8316 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8317 	CFLAGS="$xorg_testset_save_CFLAGS"
   8318 fi
   8319 
   8320 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8321 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8322 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8323 	fi
   8324 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8325 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8326 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8327 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8328 then :
   8329   printf %s "(cached) " >&6
   8330 else $as_nop
   8331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8332 /* end confdefs.h.  */
   8333 int i;
   8334 _ACEOF
   8335 if ac_fn_c_try_compile "$LINENO"
   8336 then :
   8337   xorg_cv_cc_flag_unused_command_line_argument=yes
   8338 else $as_nop
   8339   xorg_cv_cc_flag_unused_command_line_argument=no
   8340 fi
   8341 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8342 fi
   8343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8344 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8345 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8346 	CFLAGS="$xorg_testset_save_CFLAGS"
   8347 fi
   8348 
   8349 found="no"
   8350 
   8351 	if test $found = "no" ; then
   8352 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8353 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8354 		fi
   8355 
   8356 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8357 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8358 		fi
   8359 
   8360 		CFLAGS="$CFLAGS -Werror=write-strings"
   8361 
   8362 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8363 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8364 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8365 		if eval test \${$cacheid+y}
   8366 then :
   8367   printf %s "(cached) " >&6
   8368 else $as_nop
   8369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8370 /* end confdefs.h.  */
   8371 int i;
   8372 int
   8373 main (void)
   8374 {
   8375 
   8376   ;
   8377   return 0;
   8378 }
   8379 _ACEOF
   8380 if ac_fn_c_try_link "$LINENO"
   8381 then :
   8382   eval $cacheid=yes
   8383 else $as_nop
   8384   eval $cacheid=no
   8385 fi
   8386 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8387     conftest$ac_exeext conftest.$ac_ext
   8388 fi
   8389 
   8390 
   8391 		CFLAGS="$xorg_testset_save_CFLAGS"
   8392 
   8393 		eval supported=\$$cacheid
   8394 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8395 printf "%s\n" "$supported" >&6; }
   8396 		if test "$supported" = "yes" ; then
   8397 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8398 			found="yes"
   8399 		fi
   8400 	fi
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 
   8410 
   8411 
   8412 
   8413 
   8414 
   8415 
   8416 xorg_testset_save_CFLAGS="$CFLAGS"
   8417 
   8418 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8419 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8420 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8421 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8422 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8423 then :
   8424   printf %s "(cached) " >&6
   8425 else $as_nop
   8426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8427 /* end confdefs.h.  */
   8428 int i;
   8429 _ACEOF
   8430 if ac_fn_c_try_compile "$LINENO"
   8431 then :
   8432   xorg_cv_cc_flag_unknown_warning_option=yes
   8433 else $as_nop
   8434   xorg_cv_cc_flag_unknown_warning_option=no
   8435 fi
   8436 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8437 fi
   8438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8439 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8440 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8441 	CFLAGS="$xorg_testset_save_CFLAGS"
   8442 fi
   8443 
   8444 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8445 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8446 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8447 	fi
   8448 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8449 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8450 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8451 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8452 then :
   8453   printf %s "(cached) " >&6
   8454 else $as_nop
   8455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8456 /* end confdefs.h.  */
   8457 int i;
   8458 _ACEOF
   8459 if ac_fn_c_try_compile "$LINENO"
   8460 then :
   8461   xorg_cv_cc_flag_unused_command_line_argument=yes
   8462 else $as_nop
   8463   xorg_cv_cc_flag_unused_command_line_argument=no
   8464 fi
   8465 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8466 fi
   8467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8468 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8469 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8470 	CFLAGS="$xorg_testset_save_CFLAGS"
   8471 fi
   8472 
   8473 found="no"
   8474 
   8475 	if test $found = "no" ; then
   8476 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8477 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8478 		fi
   8479 
   8480 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8481 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8482 		fi
   8483 
   8484 		CFLAGS="$CFLAGS -Werror=address"
   8485 
   8486 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8487 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8488 		cacheid=xorg_cv_cc_flag__Werror_address
   8489 		if eval test \${$cacheid+y}
   8490 then :
   8491   printf %s "(cached) " >&6
   8492 else $as_nop
   8493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8494 /* end confdefs.h.  */
   8495 int i;
   8496 int
   8497 main (void)
   8498 {
   8499 
   8500   ;
   8501   return 0;
   8502 }
   8503 _ACEOF
   8504 if ac_fn_c_try_link "$LINENO"
   8505 then :
   8506   eval $cacheid=yes
   8507 else $as_nop
   8508   eval $cacheid=no
   8509 fi
   8510 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8511     conftest$ac_exeext conftest.$ac_ext
   8512 fi
   8513 
   8514 
   8515 		CFLAGS="$xorg_testset_save_CFLAGS"
   8516 
   8517 		eval supported=\$$cacheid
   8518 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8519 printf "%s\n" "$supported" >&6; }
   8520 		if test "$supported" = "yes" ; then
   8521 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8522 			found="yes"
   8523 		fi
   8524 	fi
   8525 
   8526 
   8527 
   8528 
   8529 
   8530 
   8531 
   8532 
   8533 
   8534 
   8535 
   8536 
   8537 
   8538 
   8539 
   8540 xorg_testset_save_CFLAGS="$CFLAGS"
   8541 
   8542 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8543 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8544 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8545 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8546 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8547 then :
   8548   printf %s "(cached) " >&6
   8549 else $as_nop
   8550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8551 /* end confdefs.h.  */
   8552 int i;
   8553 _ACEOF
   8554 if ac_fn_c_try_compile "$LINENO"
   8555 then :
   8556   xorg_cv_cc_flag_unknown_warning_option=yes
   8557 else $as_nop
   8558   xorg_cv_cc_flag_unknown_warning_option=no
   8559 fi
   8560 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8561 fi
   8562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8563 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8564 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8565 	CFLAGS="$xorg_testset_save_CFLAGS"
   8566 fi
   8567 
   8568 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8569 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8570 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8571 	fi
   8572 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8573 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8574 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8575 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8576 then :
   8577   printf %s "(cached) " >&6
   8578 else $as_nop
   8579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8580 /* end confdefs.h.  */
   8581 int i;
   8582 _ACEOF
   8583 if ac_fn_c_try_compile "$LINENO"
   8584 then :
   8585   xorg_cv_cc_flag_unused_command_line_argument=yes
   8586 else $as_nop
   8587   xorg_cv_cc_flag_unused_command_line_argument=no
   8588 fi
   8589 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8590 fi
   8591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8592 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8593 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8594 	CFLAGS="$xorg_testset_save_CFLAGS"
   8595 fi
   8596 
   8597 found="no"
   8598 
   8599 	if test $found = "no" ; then
   8600 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8601 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8602 		fi
   8603 
   8604 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8605 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8606 		fi
   8607 
   8608 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8609 
   8610 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8611 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8612 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8613 		if eval test \${$cacheid+y}
   8614 then :
   8615   printf %s "(cached) " >&6
   8616 else $as_nop
   8617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8618 /* end confdefs.h.  */
   8619 int i;
   8620 int
   8621 main (void)
   8622 {
   8623 
   8624   ;
   8625   return 0;
   8626 }
   8627 _ACEOF
   8628 if ac_fn_c_try_link "$LINENO"
   8629 then :
   8630   eval $cacheid=yes
   8631 else $as_nop
   8632   eval $cacheid=no
   8633 fi
   8634 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8635     conftest$ac_exeext conftest.$ac_ext
   8636 fi
   8637 
   8638 
   8639 		CFLAGS="$xorg_testset_save_CFLAGS"
   8640 
   8641 		eval supported=\$$cacheid
   8642 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8643 printf "%s\n" "$supported" >&6; }
   8644 		if test "$supported" = "yes" ; then
   8645 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8646 			found="yes"
   8647 		fi
   8648 	fi
   8649 
   8650 	if test $found = "no" ; then
   8651 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8652 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8653 		fi
   8654 
   8655 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8656 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8657 		fi
   8658 
   8659 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8660 
   8661 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8662 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8663 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8664 		if eval test \${$cacheid+y}
   8665 then :
   8666   printf %s "(cached) " >&6
   8667 else $as_nop
   8668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8669 /* end confdefs.h.  */
   8670 int i;
   8671 int
   8672 main (void)
   8673 {
   8674 
   8675   ;
   8676   return 0;
   8677 }
   8678 _ACEOF
   8679 if ac_fn_c_try_link "$LINENO"
   8680 then :
   8681   eval $cacheid=yes
   8682 else $as_nop
   8683   eval $cacheid=no
   8684 fi
   8685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8686     conftest$ac_exeext conftest.$ac_ext
   8687 fi
   8688 
   8689 
   8690 		CFLAGS="$xorg_testset_save_CFLAGS"
   8691 
   8692 		eval supported=\$$cacheid
   8693 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8694 printf "%s\n" "$supported" >&6; }
   8695 		if test "$supported" = "yes" ; then
   8696 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8697 			found="yes"
   8698 		fi
   8699 	fi
   8700 
   8701 
   8702 
   8703 
   8704 
   8705 
   8706 
   8707 
   8708 
   8709 
   8710 
   8711 
   8712 
   8713 
   8714 
   8715 xorg_testset_save_CFLAGS="$CFLAGS"
   8716 
   8717 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8718 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8719 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8720 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8721 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8722 then :
   8723   printf %s "(cached) " >&6
   8724 else $as_nop
   8725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8726 /* end confdefs.h.  */
   8727 int i;
   8728 _ACEOF
   8729 if ac_fn_c_try_compile "$LINENO"
   8730 then :
   8731   xorg_cv_cc_flag_unknown_warning_option=yes
   8732 else $as_nop
   8733   xorg_cv_cc_flag_unknown_warning_option=no
   8734 fi
   8735 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8736 fi
   8737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8738 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8739 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8740 	CFLAGS="$xorg_testset_save_CFLAGS"
   8741 fi
   8742 
   8743 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8744 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8745 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8746 	fi
   8747 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8748 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8749 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8750 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8751 then :
   8752   printf %s "(cached) " >&6
   8753 else $as_nop
   8754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8755 /* end confdefs.h.  */
   8756 int i;
   8757 _ACEOF
   8758 if ac_fn_c_try_compile "$LINENO"
   8759 then :
   8760   xorg_cv_cc_flag_unused_command_line_argument=yes
   8761 else $as_nop
   8762   xorg_cv_cc_flag_unused_command_line_argument=no
   8763 fi
   8764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8765 fi
   8766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8767 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8768 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8769 	CFLAGS="$xorg_testset_save_CFLAGS"
   8770 fi
   8771 
   8772 found="no"
   8773 
   8774 	if test $found = "no" ; then
   8775 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8776 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8777 		fi
   8778 
   8779 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8780 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8781 		fi
   8782 
   8783 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8784 
   8785 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8786 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8787 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8788 		if eval test \${$cacheid+y}
   8789 then :
   8790   printf %s "(cached) " >&6
   8791 else $as_nop
   8792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8793 /* end confdefs.h.  */
   8794 int i;
   8795 int
   8796 main (void)
   8797 {
   8798 
   8799   ;
   8800   return 0;
   8801 }
   8802 _ACEOF
   8803 if ac_fn_c_try_link "$LINENO"
   8804 then :
   8805   eval $cacheid=yes
   8806 else $as_nop
   8807   eval $cacheid=no
   8808 fi
   8809 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8810     conftest$ac_exeext conftest.$ac_ext
   8811 fi
   8812 
   8813 
   8814 		CFLAGS="$xorg_testset_save_CFLAGS"
   8815 
   8816 		eval supported=\$$cacheid
   8817 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8818 printf "%s\n" "$supported" >&6; }
   8819 		if test "$supported" = "yes" ; then
   8820 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8821 			found="yes"
   8822 		fi
   8823 	fi
   8824 
   8825  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8826 else
   8827 { 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
   8828 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;}
   8829 
   8830 
   8831 
   8832 
   8833 
   8834 
   8835 
   8836 
   8837 
   8838 
   8839 
   8840 
   8841 
   8842 xorg_testset_save_CFLAGS="$CFLAGS"
   8843 
   8844 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8845 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8846 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8847 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8848 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8849 then :
   8850   printf %s "(cached) " >&6
   8851 else $as_nop
   8852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8853 /* end confdefs.h.  */
   8854 int i;
   8855 _ACEOF
   8856 if ac_fn_c_try_compile "$LINENO"
   8857 then :
   8858   xorg_cv_cc_flag_unknown_warning_option=yes
   8859 else $as_nop
   8860   xorg_cv_cc_flag_unknown_warning_option=no
   8861 fi
   8862 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8863 fi
   8864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8865 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8866 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8867 	CFLAGS="$xorg_testset_save_CFLAGS"
   8868 fi
   8869 
   8870 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8871 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8872 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8873 	fi
   8874 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8875 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8876 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8877 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8878 then :
   8879   printf %s "(cached) " >&6
   8880 else $as_nop
   8881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8882 /* end confdefs.h.  */
   8883 int i;
   8884 _ACEOF
   8885 if ac_fn_c_try_compile "$LINENO"
   8886 then :
   8887   xorg_cv_cc_flag_unused_command_line_argument=yes
   8888 else $as_nop
   8889   xorg_cv_cc_flag_unused_command_line_argument=no
   8890 fi
   8891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8892 fi
   8893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8894 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8895 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8896 	CFLAGS="$xorg_testset_save_CFLAGS"
   8897 fi
   8898 
   8899 found="no"
   8900 
   8901 	if test $found = "no" ; then
   8902 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8903 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8904 		fi
   8905 
   8906 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8907 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8908 		fi
   8909 
   8910 		CFLAGS="$CFLAGS -Wimplicit"
   8911 
   8912 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8913 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   8914 		cacheid=xorg_cv_cc_flag__Wimplicit
   8915 		if eval test \${$cacheid+y}
   8916 then :
   8917   printf %s "(cached) " >&6
   8918 else $as_nop
   8919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8920 /* end confdefs.h.  */
   8921 int i;
   8922 int
   8923 main (void)
   8924 {
   8925 
   8926   ;
   8927   return 0;
   8928 }
   8929 _ACEOF
   8930 if ac_fn_c_try_link "$LINENO"
   8931 then :
   8932   eval $cacheid=yes
   8933 else $as_nop
   8934   eval $cacheid=no
   8935 fi
   8936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8937     conftest$ac_exeext conftest.$ac_ext
   8938 fi
   8939 
   8940 
   8941 		CFLAGS="$xorg_testset_save_CFLAGS"
   8942 
   8943 		eval supported=\$$cacheid
   8944 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8945 printf "%s\n" "$supported" >&6; }
   8946 		if test "$supported" = "yes" ; then
   8947 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8948 			found="yes"
   8949 		fi
   8950 	fi
   8951 
   8952 
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 
   8960 
   8961 
   8962 
   8963 
   8964 
   8965 
   8966 xorg_testset_save_CFLAGS="$CFLAGS"
   8967 
   8968 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8969 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8970 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8971 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8972 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8973 then :
   8974   printf %s "(cached) " >&6
   8975 else $as_nop
   8976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8977 /* end confdefs.h.  */
   8978 int i;
   8979 _ACEOF
   8980 if ac_fn_c_try_compile "$LINENO"
   8981 then :
   8982   xorg_cv_cc_flag_unknown_warning_option=yes
   8983 else $as_nop
   8984   xorg_cv_cc_flag_unknown_warning_option=no
   8985 fi
   8986 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8987 fi
   8988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8989 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8990 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8991 	CFLAGS="$xorg_testset_save_CFLAGS"
   8992 fi
   8993 
   8994 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8995 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8996 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8997 	fi
   8998 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8999 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9000 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9001 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9002 then :
   9003   printf %s "(cached) " >&6
   9004 else $as_nop
   9005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9006 /* end confdefs.h.  */
   9007 int i;
   9008 _ACEOF
   9009 if ac_fn_c_try_compile "$LINENO"
   9010 then :
   9011   xorg_cv_cc_flag_unused_command_line_argument=yes
   9012 else $as_nop
   9013   xorg_cv_cc_flag_unused_command_line_argument=no
   9014 fi
   9015 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9016 fi
   9017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9018 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9019 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9020 	CFLAGS="$xorg_testset_save_CFLAGS"
   9021 fi
   9022 
   9023 found="no"
   9024 
   9025 	if test $found = "no" ; then
   9026 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9027 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9028 		fi
   9029 
   9030 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9031 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9032 		fi
   9033 
   9034 		CFLAGS="$CFLAGS -Wnonnull"
   9035 
   9036 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9037 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9038 		cacheid=xorg_cv_cc_flag__Wnonnull
   9039 		if eval test \${$cacheid+y}
   9040 then :
   9041   printf %s "(cached) " >&6
   9042 else $as_nop
   9043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9044 /* end confdefs.h.  */
   9045 int i;
   9046 int
   9047 main (void)
   9048 {
   9049 
   9050   ;
   9051   return 0;
   9052 }
   9053 _ACEOF
   9054 if ac_fn_c_try_link "$LINENO"
   9055 then :
   9056   eval $cacheid=yes
   9057 else $as_nop
   9058   eval $cacheid=no
   9059 fi
   9060 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9061     conftest$ac_exeext conftest.$ac_ext
   9062 fi
   9063 
   9064 
   9065 		CFLAGS="$xorg_testset_save_CFLAGS"
   9066 
   9067 		eval supported=\$$cacheid
   9068 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9069 printf "%s\n" "$supported" >&6; }
   9070 		if test "$supported" = "yes" ; then
   9071 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9072 			found="yes"
   9073 		fi
   9074 	fi
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 
   9081 
   9082 
   9083 
   9084 
   9085 
   9086 
   9087 
   9088 
   9089 
   9090 xorg_testset_save_CFLAGS="$CFLAGS"
   9091 
   9092 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9093 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9094 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9095 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9096 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9097 then :
   9098   printf %s "(cached) " >&6
   9099 else $as_nop
   9100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9101 /* end confdefs.h.  */
   9102 int i;
   9103 _ACEOF
   9104 if ac_fn_c_try_compile "$LINENO"
   9105 then :
   9106   xorg_cv_cc_flag_unknown_warning_option=yes
   9107 else $as_nop
   9108   xorg_cv_cc_flag_unknown_warning_option=no
   9109 fi
   9110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9111 fi
   9112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9113 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9114 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9115 	CFLAGS="$xorg_testset_save_CFLAGS"
   9116 fi
   9117 
   9118 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9119 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9120 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9121 	fi
   9122 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9123 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9124 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9125 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9126 then :
   9127   printf %s "(cached) " >&6
   9128 else $as_nop
   9129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9130 /* end confdefs.h.  */
   9131 int i;
   9132 _ACEOF
   9133 if ac_fn_c_try_compile "$LINENO"
   9134 then :
   9135   xorg_cv_cc_flag_unused_command_line_argument=yes
   9136 else $as_nop
   9137   xorg_cv_cc_flag_unused_command_line_argument=no
   9138 fi
   9139 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9140 fi
   9141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9142 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9143 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9144 	CFLAGS="$xorg_testset_save_CFLAGS"
   9145 fi
   9146 
   9147 found="no"
   9148 
   9149 	if test $found = "no" ; then
   9150 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9151 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9152 		fi
   9153 
   9154 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9155 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9156 		fi
   9157 
   9158 		CFLAGS="$CFLAGS -Winit-self"
   9159 
   9160 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9161 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9162 		cacheid=xorg_cv_cc_flag__Winit_self
   9163 		if eval test \${$cacheid+y}
   9164 then :
   9165   printf %s "(cached) " >&6
   9166 else $as_nop
   9167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9168 /* end confdefs.h.  */
   9169 int i;
   9170 int
   9171 main (void)
   9172 {
   9173 
   9174   ;
   9175   return 0;
   9176 }
   9177 _ACEOF
   9178 if ac_fn_c_try_link "$LINENO"
   9179 then :
   9180   eval $cacheid=yes
   9181 else $as_nop
   9182   eval $cacheid=no
   9183 fi
   9184 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9185     conftest$ac_exeext conftest.$ac_ext
   9186 fi
   9187 
   9188 
   9189 		CFLAGS="$xorg_testset_save_CFLAGS"
   9190 
   9191 		eval supported=\$$cacheid
   9192 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9193 printf "%s\n" "$supported" >&6; }
   9194 		if test "$supported" = "yes" ; then
   9195 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9196 			found="yes"
   9197 		fi
   9198 	fi
   9199 
   9200 
   9201 
   9202 
   9203 
   9204 
   9205 
   9206 
   9207 
   9208 
   9209 
   9210 
   9211 
   9212 
   9213 
   9214 xorg_testset_save_CFLAGS="$CFLAGS"
   9215 
   9216 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9217 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9218 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9219 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9220 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9221 then :
   9222   printf %s "(cached) " >&6
   9223 else $as_nop
   9224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9225 /* end confdefs.h.  */
   9226 int i;
   9227 _ACEOF
   9228 if ac_fn_c_try_compile "$LINENO"
   9229 then :
   9230   xorg_cv_cc_flag_unknown_warning_option=yes
   9231 else $as_nop
   9232   xorg_cv_cc_flag_unknown_warning_option=no
   9233 fi
   9234 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9235 fi
   9236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9237 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9238 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9239 	CFLAGS="$xorg_testset_save_CFLAGS"
   9240 fi
   9241 
   9242 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9243 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9244 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9245 	fi
   9246 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9247 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9248 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9249 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9250 then :
   9251   printf %s "(cached) " >&6
   9252 else $as_nop
   9253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9254 /* end confdefs.h.  */
   9255 int i;
   9256 _ACEOF
   9257 if ac_fn_c_try_compile "$LINENO"
   9258 then :
   9259   xorg_cv_cc_flag_unused_command_line_argument=yes
   9260 else $as_nop
   9261   xorg_cv_cc_flag_unused_command_line_argument=no
   9262 fi
   9263 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9264 fi
   9265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9266 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9267 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9268 	CFLAGS="$xorg_testset_save_CFLAGS"
   9269 fi
   9270 
   9271 found="no"
   9272 
   9273 	if test $found = "no" ; then
   9274 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9275 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9276 		fi
   9277 
   9278 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9279 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9280 		fi
   9281 
   9282 		CFLAGS="$CFLAGS -Wmain"
   9283 
   9284 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9285 printf %s "checking if $CC supports -Wmain... " >&6; }
   9286 		cacheid=xorg_cv_cc_flag__Wmain
   9287 		if eval test \${$cacheid+y}
   9288 then :
   9289   printf %s "(cached) " >&6
   9290 else $as_nop
   9291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9292 /* end confdefs.h.  */
   9293 int i;
   9294 int
   9295 main (void)
   9296 {
   9297 
   9298   ;
   9299   return 0;
   9300 }
   9301 _ACEOF
   9302 if ac_fn_c_try_link "$LINENO"
   9303 then :
   9304   eval $cacheid=yes
   9305 else $as_nop
   9306   eval $cacheid=no
   9307 fi
   9308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9309     conftest$ac_exeext conftest.$ac_ext
   9310 fi
   9311 
   9312 
   9313 		CFLAGS="$xorg_testset_save_CFLAGS"
   9314 
   9315 		eval supported=\$$cacheid
   9316 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9317 printf "%s\n" "$supported" >&6; }
   9318 		if test "$supported" = "yes" ; then
   9319 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9320 			found="yes"
   9321 		fi
   9322 	fi
   9323 
   9324 
   9325 
   9326 
   9327 
   9328 
   9329 
   9330 
   9331 
   9332 
   9333 
   9334 
   9335 
   9336 
   9337 
   9338 xorg_testset_save_CFLAGS="$CFLAGS"
   9339 
   9340 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9341 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9342 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9343 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9344 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9345 then :
   9346   printf %s "(cached) " >&6
   9347 else $as_nop
   9348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9349 /* end confdefs.h.  */
   9350 int i;
   9351 _ACEOF
   9352 if ac_fn_c_try_compile "$LINENO"
   9353 then :
   9354   xorg_cv_cc_flag_unknown_warning_option=yes
   9355 else $as_nop
   9356   xorg_cv_cc_flag_unknown_warning_option=no
   9357 fi
   9358 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9359 fi
   9360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9361 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9362 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9363 	CFLAGS="$xorg_testset_save_CFLAGS"
   9364 fi
   9365 
   9366 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9367 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9368 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9369 	fi
   9370 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9371 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9372 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9373 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9374 then :
   9375   printf %s "(cached) " >&6
   9376 else $as_nop
   9377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9378 /* end confdefs.h.  */
   9379 int i;
   9380 _ACEOF
   9381 if ac_fn_c_try_compile "$LINENO"
   9382 then :
   9383   xorg_cv_cc_flag_unused_command_line_argument=yes
   9384 else $as_nop
   9385   xorg_cv_cc_flag_unused_command_line_argument=no
   9386 fi
   9387 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9388 fi
   9389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9390 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9391 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9392 	CFLAGS="$xorg_testset_save_CFLAGS"
   9393 fi
   9394 
   9395 found="no"
   9396 
   9397 	if test $found = "no" ; then
   9398 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9399 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9400 		fi
   9401 
   9402 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9403 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9404 		fi
   9405 
   9406 		CFLAGS="$CFLAGS -Wmissing-braces"
   9407 
   9408 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9409 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9410 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9411 		if eval test \${$cacheid+y}
   9412 then :
   9413   printf %s "(cached) " >&6
   9414 else $as_nop
   9415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9416 /* end confdefs.h.  */
   9417 int i;
   9418 int
   9419 main (void)
   9420 {
   9421 
   9422   ;
   9423   return 0;
   9424 }
   9425 _ACEOF
   9426 if ac_fn_c_try_link "$LINENO"
   9427 then :
   9428   eval $cacheid=yes
   9429 else $as_nop
   9430   eval $cacheid=no
   9431 fi
   9432 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9433     conftest$ac_exeext conftest.$ac_ext
   9434 fi
   9435 
   9436 
   9437 		CFLAGS="$xorg_testset_save_CFLAGS"
   9438 
   9439 		eval supported=\$$cacheid
   9440 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9441 printf "%s\n" "$supported" >&6; }
   9442 		if test "$supported" = "yes" ; then
   9443 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9444 			found="yes"
   9445 		fi
   9446 	fi
   9447 
   9448 
   9449 
   9450 
   9451 
   9452 
   9453 
   9454 
   9455 
   9456 
   9457 
   9458 
   9459 
   9460 
   9461 
   9462 xorg_testset_save_CFLAGS="$CFLAGS"
   9463 
   9464 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9465 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9466 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9467 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9468 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9469 then :
   9470   printf %s "(cached) " >&6
   9471 else $as_nop
   9472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9473 /* end confdefs.h.  */
   9474 int i;
   9475 _ACEOF
   9476 if ac_fn_c_try_compile "$LINENO"
   9477 then :
   9478   xorg_cv_cc_flag_unknown_warning_option=yes
   9479 else $as_nop
   9480   xorg_cv_cc_flag_unknown_warning_option=no
   9481 fi
   9482 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9483 fi
   9484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9485 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9486 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9487 	CFLAGS="$xorg_testset_save_CFLAGS"
   9488 fi
   9489 
   9490 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9491 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9492 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9493 	fi
   9494 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9495 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9496 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9497 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9498 then :
   9499   printf %s "(cached) " >&6
   9500 else $as_nop
   9501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9502 /* end confdefs.h.  */
   9503 int i;
   9504 _ACEOF
   9505 if ac_fn_c_try_compile "$LINENO"
   9506 then :
   9507   xorg_cv_cc_flag_unused_command_line_argument=yes
   9508 else $as_nop
   9509   xorg_cv_cc_flag_unused_command_line_argument=no
   9510 fi
   9511 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9512 fi
   9513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9514 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9515 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9516 	CFLAGS="$xorg_testset_save_CFLAGS"
   9517 fi
   9518 
   9519 found="no"
   9520 
   9521 	if test $found = "no" ; then
   9522 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9523 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9524 		fi
   9525 
   9526 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9527 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9528 		fi
   9529 
   9530 		CFLAGS="$CFLAGS -Wsequence-point"
   9531 
   9532 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9533 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9534 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9535 		if eval test \${$cacheid+y}
   9536 then :
   9537   printf %s "(cached) " >&6
   9538 else $as_nop
   9539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9540 /* end confdefs.h.  */
   9541 int i;
   9542 int
   9543 main (void)
   9544 {
   9545 
   9546   ;
   9547   return 0;
   9548 }
   9549 _ACEOF
   9550 if ac_fn_c_try_link "$LINENO"
   9551 then :
   9552   eval $cacheid=yes
   9553 else $as_nop
   9554   eval $cacheid=no
   9555 fi
   9556 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9557     conftest$ac_exeext conftest.$ac_ext
   9558 fi
   9559 
   9560 
   9561 		CFLAGS="$xorg_testset_save_CFLAGS"
   9562 
   9563 		eval supported=\$$cacheid
   9564 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9565 printf "%s\n" "$supported" >&6; }
   9566 		if test "$supported" = "yes" ; then
   9567 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9568 			found="yes"
   9569 		fi
   9570 	fi
   9571 
   9572 
   9573 
   9574 
   9575 
   9576 
   9577 
   9578 
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 
   9586 xorg_testset_save_CFLAGS="$CFLAGS"
   9587 
   9588 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9589 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9590 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9591 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9592 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9593 then :
   9594   printf %s "(cached) " >&6
   9595 else $as_nop
   9596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9597 /* end confdefs.h.  */
   9598 int i;
   9599 _ACEOF
   9600 if ac_fn_c_try_compile "$LINENO"
   9601 then :
   9602   xorg_cv_cc_flag_unknown_warning_option=yes
   9603 else $as_nop
   9604   xorg_cv_cc_flag_unknown_warning_option=no
   9605 fi
   9606 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9607 fi
   9608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9609 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9610 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9611 	CFLAGS="$xorg_testset_save_CFLAGS"
   9612 fi
   9613 
   9614 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9615 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9616 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9617 	fi
   9618 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9619 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9620 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9621 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9622 then :
   9623   printf %s "(cached) " >&6
   9624 else $as_nop
   9625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9626 /* end confdefs.h.  */
   9627 int i;
   9628 _ACEOF
   9629 if ac_fn_c_try_compile "$LINENO"
   9630 then :
   9631   xorg_cv_cc_flag_unused_command_line_argument=yes
   9632 else $as_nop
   9633   xorg_cv_cc_flag_unused_command_line_argument=no
   9634 fi
   9635 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9636 fi
   9637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9638 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9639 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9640 	CFLAGS="$xorg_testset_save_CFLAGS"
   9641 fi
   9642 
   9643 found="no"
   9644 
   9645 	if test $found = "no" ; then
   9646 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9647 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9648 		fi
   9649 
   9650 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9651 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9652 		fi
   9653 
   9654 		CFLAGS="$CFLAGS -Wreturn-type"
   9655 
   9656 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9657 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9658 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9659 		if eval test \${$cacheid+y}
   9660 then :
   9661   printf %s "(cached) " >&6
   9662 else $as_nop
   9663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9664 /* end confdefs.h.  */
   9665 int i;
   9666 int
   9667 main (void)
   9668 {
   9669 
   9670   ;
   9671   return 0;
   9672 }
   9673 _ACEOF
   9674 if ac_fn_c_try_link "$LINENO"
   9675 then :
   9676   eval $cacheid=yes
   9677 else $as_nop
   9678   eval $cacheid=no
   9679 fi
   9680 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9681     conftest$ac_exeext conftest.$ac_ext
   9682 fi
   9683 
   9684 
   9685 		CFLAGS="$xorg_testset_save_CFLAGS"
   9686 
   9687 		eval supported=\$$cacheid
   9688 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9689 printf "%s\n" "$supported" >&6; }
   9690 		if test "$supported" = "yes" ; then
   9691 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9692 			found="yes"
   9693 		fi
   9694 	fi
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 xorg_testset_save_CFLAGS="$CFLAGS"
   9711 
   9712 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9713 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9714 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9715 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9716 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9717 then :
   9718   printf %s "(cached) " >&6
   9719 else $as_nop
   9720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9721 /* end confdefs.h.  */
   9722 int i;
   9723 _ACEOF
   9724 if ac_fn_c_try_compile "$LINENO"
   9725 then :
   9726   xorg_cv_cc_flag_unknown_warning_option=yes
   9727 else $as_nop
   9728   xorg_cv_cc_flag_unknown_warning_option=no
   9729 fi
   9730 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9731 fi
   9732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9733 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9734 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9735 	CFLAGS="$xorg_testset_save_CFLAGS"
   9736 fi
   9737 
   9738 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9739 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9740 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9741 	fi
   9742 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9743 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9744 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9745 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9746 then :
   9747   printf %s "(cached) " >&6
   9748 else $as_nop
   9749   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_unused_command_line_argument=yes
   9756 else $as_nop
   9757   xorg_cv_cc_flag_unused_command_line_argument=no
   9758 fi
   9759 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9760 fi
   9761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9762 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9763 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9764 	CFLAGS="$xorg_testset_save_CFLAGS"
   9765 fi
   9766 
   9767 found="no"
   9768 
   9769 	if test $found = "no" ; then
   9770 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9771 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9772 		fi
   9773 
   9774 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9775 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9776 		fi
   9777 
   9778 		CFLAGS="$CFLAGS -Wtrigraphs"
   9779 
   9780 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9781 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   9782 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9783 		if eval test \${$cacheid+y}
   9784 then :
   9785   printf %s "(cached) " >&6
   9786 else $as_nop
   9787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9788 /* end confdefs.h.  */
   9789 int i;
   9790 int
   9791 main (void)
   9792 {
   9793 
   9794   ;
   9795   return 0;
   9796 }
   9797 _ACEOF
   9798 if ac_fn_c_try_link "$LINENO"
   9799 then :
   9800   eval $cacheid=yes
   9801 else $as_nop
   9802   eval $cacheid=no
   9803 fi
   9804 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9805     conftest$ac_exeext conftest.$ac_ext
   9806 fi
   9807 
   9808 
   9809 		CFLAGS="$xorg_testset_save_CFLAGS"
   9810 
   9811 		eval supported=\$$cacheid
   9812 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9813 printf "%s\n" "$supported" >&6; }
   9814 		if test "$supported" = "yes" ; then
   9815 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9816 			found="yes"
   9817 		fi
   9818 	fi
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 xorg_testset_save_CFLAGS="$CFLAGS"
   9835 
   9836 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9837 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9838 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9839 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9840 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9841 then :
   9842   printf %s "(cached) " >&6
   9843 else $as_nop
   9844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9845 /* end confdefs.h.  */
   9846 int i;
   9847 _ACEOF
   9848 if ac_fn_c_try_compile "$LINENO"
   9849 then :
   9850   xorg_cv_cc_flag_unknown_warning_option=yes
   9851 else $as_nop
   9852   xorg_cv_cc_flag_unknown_warning_option=no
   9853 fi
   9854 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9855 fi
   9856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9857 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9858 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9859 	CFLAGS="$xorg_testset_save_CFLAGS"
   9860 fi
   9861 
   9862 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9863 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9864 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9865 	fi
   9866 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9867 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9868 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9869 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9870 then :
   9871   printf %s "(cached) " >&6
   9872 else $as_nop
   9873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9874 /* end confdefs.h.  */
   9875 int i;
   9876 _ACEOF
   9877 if ac_fn_c_try_compile "$LINENO"
   9878 then :
   9879   xorg_cv_cc_flag_unused_command_line_argument=yes
   9880 else $as_nop
   9881   xorg_cv_cc_flag_unused_command_line_argument=no
   9882 fi
   9883 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9884 fi
   9885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9886 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9887 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9888 	CFLAGS="$xorg_testset_save_CFLAGS"
   9889 fi
   9890 
   9891 found="no"
   9892 
   9893 	if test $found = "no" ; then
   9894 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9895 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9896 		fi
   9897 
   9898 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9899 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9900 		fi
   9901 
   9902 		CFLAGS="$CFLAGS -Warray-bounds"
   9903 
   9904 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9905 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   9906 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9907 		if eval test \${$cacheid+y}
   9908 then :
   9909   printf %s "(cached) " >&6
   9910 else $as_nop
   9911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9912 /* end confdefs.h.  */
   9913 int i;
   9914 int
   9915 main (void)
   9916 {
   9917 
   9918   ;
   9919   return 0;
   9920 }
   9921 _ACEOF
   9922 if ac_fn_c_try_link "$LINENO"
   9923 then :
   9924   eval $cacheid=yes
   9925 else $as_nop
   9926   eval $cacheid=no
   9927 fi
   9928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9929     conftest$ac_exeext conftest.$ac_ext
   9930 fi
   9931 
   9932 
   9933 		CFLAGS="$xorg_testset_save_CFLAGS"
   9934 
   9935 		eval supported=\$$cacheid
   9936 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9937 printf "%s\n" "$supported" >&6; }
   9938 		if test "$supported" = "yes" ; then
   9939 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9940 			found="yes"
   9941 		fi
   9942 	fi
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 
   9958 xorg_testset_save_CFLAGS="$CFLAGS"
   9959 
   9960 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9961 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9962 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9963 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9964 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9965 then :
   9966   printf %s "(cached) " >&6
   9967 else $as_nop
   9968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9969 /* end confdefs.h.  */
   9970 int i;
   9971 _ACEOF
   9972 if ac_fn_c_try_compile "$LINENO"
   9973 then :
   9974   xorg_cv_cc_flag_unknown_warning_option=yes
   9975 else $as_nop
   9976   xorg_cv_cc_flag_unknown_warning_option=no
   9977 fi
   9978 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9979 fi
   9980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9981 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9982 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9983 	CFLAGS="$xorg_testset_save_CFLAGS"
   9984 fi
   9985 
   9986 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9987 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9988 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9989 	fi
   9990 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9991 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9992 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9993 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9994 then :
   9995   printf %s "(cached) " >&6
   9996 else $as_nop
   9997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9998 /* end confdefs.h.  */
   9999 int i;
   10000 _ACEOF
   10001 if ac_fn_c_try_compile "$LINENO"
   10002 then :
   10003   xorg_cv_cc_flag_unused_command_line_argument=yes
   10004 else $as_nop
   10005   xorg_cv_cc_flag_unused_command_line_argument=no
   10006 fi
   10007 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10008 fi
   10009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10010 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10011 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10012 	CFLAGS="$xorg_testset_save_CFLAGS"
   10013 fi
   10014 
   10015 found="no"
   10016 
   10017 	if test $found = "no" ; then
   10018 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10019 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10020 		fi
   10021 
   10022 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10023 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10024 		fi
   10025 
   10026 		CFLAGS="$CFLAGS -Wwrite-strings"
   10027 
   10028 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10029 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10030 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10031 		if eval test \${$cacheid+y}
   10032 then :
   10033   printf %s "(cached) " >&6
   10034 else $as_nop
   10035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10036 /* end confdefs.h.  */
   10037 int i;
   10038 int
   10039 main (void)
   10040 {
   10041 
   10042   ;
   10043   return 0;
   10044 }
   10045 _ACEOF
   10046 if ac_fn_c_try_link "$LINENO"
   10047 then :
   10048   eval $cacheid=yes
   10049 else $as_nop
   10050   eval $cacheid=no
   10051 fi
   10052 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10053     conftest$ac_exeext conftest.$ac_ext
   10054 fi
   10055 
   10056 
   10057 		CFLAGS="$xorg_testset_save_CFLAGS"
   10058 
   10059 		eval supported=\$$cacheid
   10060 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10061 printf "%s\n" "$supported" >&6; }
   10062 		if test "$supported" = "yes" ; then
   10063 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10064 			found="yes"
   10065 		fi
   10066 	fi
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 xorg_testset_save_CFLAGS="$CFLAGS"
   10083 
   10084 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10085 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10086 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10087 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10088 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10089 then :
   10090   printf %s "(cached) " >&6
   10091 else $as_nop
   10092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10093 /* end confdefs.h.  */
   10094 int i;
   10095 _ACEOF
   10096 if ac_fn_c_try_compile "$LINENO"
   10097 then :
   10098   xorg_cv_cc_flag_unknown_warning_option=yes
   10099 else $as_nop
   10100   xorg_cv_cc_flag_unknown_warning_option=no
   10101 fi
   10102 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10103 fi
   10104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10105 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10106 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10107 	CFLAGS="$xorg_testset_save_CFLAGS"
   10108 fi
   10109 
   10110 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10111 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10112 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10113 	fi
   10114 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10115 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10116 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10117 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10118 then :
   10119   printf %s "(cached) " >&6
   10120 else $as_nop
   10121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10122 /* end confdefs.h.  */
   10123 int i;
   10124 _ACEOF
   10125 if ac_fn_c_try_compile "$LINENO"
   10126 then :
   10127   xorg_cv_cc_flag_unused_command_line_argument=yes
   10128 else $as_nop
   10129   xorg_cv_cc_flag_unused_command_line_argument=no
   10130 fi
   10131 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10132 fi
   10133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10134 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10135 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10136 	CFLAGS="$xorg_testset_save_CFLAGS"
   10137 fi
   10138 
   10139 found="no"
   10140 
   10141 	if test $found = "no" ; then
   10142 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10143 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10144 		fi
   10145 
   10146 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10147 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10148 		fi
   10149 
   10150 		CFLAGS="$CFLAGS -Waddress"
   10151 
   10152 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10153 printf %s "checking if $CC supports -Waddress... " >&6; }
   10154 		cacheid=xorg_cv_cc_flag__Waddress
   10155 		if eval test \${$cacheid+y}
   10156 then :
   10157   printf %s "(cached) " >&6
   10158 else $as_nop
   10159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10160 /* end confdefs.h.  */
   10161 int i;
   10162 int
   10163 main (void)
   10164 {
   10165 
   10166   ;
   10167   return 0;
   10168 }
   10169 _ACEOF
   10170 if ac_fn_c_try_link "$LINENO"
   10171 then :
   10172   eval $cacheid=yes
   10173 else $as_nop
   10174   eval $cacheid=no
   10175 fi
   10176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10177     conftest$ac_exeext conftest.$ac_ext
   10178 fi
   10179 
   10180 
   10181 		CFLAGS="$xorg_testset_save_CFLAGS"
   10182 
   10183 		eval supported=\$$cacheid
   10184 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10185 printf "%s\n" "$supported" >&6; }
   10186 		if test "$supported" = "yes" ; then
   10187 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10188 			found="yes"
   10189 		fi
   10190 	fi
   10191 
   10192 
   10193 
   10194 
   10195 
   10196 
   10197 
   10198 
   10199 
   10200 
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 xorg_testset_save_CFLAGS="$CFLAGS"
   10207 
   10208 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10209 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10210 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10211 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10212 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10213 then :
   10214   printf %s "(cached) " >&6
   10215 else $as_nop
   10216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10217 /* end confdefs.h.  */
   10218 int i;
   10219 _ACEOF
   10220 if ac_fn_c_try_compile "$LINENO"
   10221 then :
   10222   xorg_cv_cc_flag_unknown_warning_option=yes
   10223 else $as_nop
   10224   xorg_cv_cc_flag_unknown_warning_option=no
   10225 fi
   10226 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10227 fi
   10228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10229 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10230 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10231 	CFLAGS="$xorg_testset_save_CFLAGS"
   10232 fi
   10233 
   10234 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10235 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10236 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10237 	fi
   10238 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10239 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10240 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10241 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10242 then :
   10243   printf %s "(cached) " >&6
   10244 else $as_nop
   10245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10246 /* end confdefs.h.  */
   10247 int i;
   10248 _ACEOF
   10249 if ac_fn_c_try_compile "$LINENO"
   10250 then :
   10251   xorg_cv_cc_flag_unused_command_line_argument=yes
   10252 else $as_nop
   10253   xorg_cv_cc_flag_unused_command_line_argument=no
   10254 fi
   10255 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10256 fi
   10257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10258 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10259 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10260 	CFLAGS="$xorg_testset_save_CFLAGS"
   10261 fi
   10262 
   10263 found="no"
   10264 
   10265 	if test $found = "no" ; then
   10266 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10267 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10268 		fi
   10269 
   10270 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10271 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10272 		fi
   10273 
   10274 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10275 
   10276 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10277 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10278 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10279 		if eval test \${$cacheid+y}
   10280 then :
   10281   printf %s "(cached) " >&6
   10282 else $as_nop
   10283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10284 /* end confdefs.h.  */
   10285 int i;
   10286 int
   10287 main (void)
   10288 {
   10289 
   10290   ;
   10291   return 0;
   10292 }
   10293 _ACEOF
   10294 if ac_fn_c_try_link "$LINENO"
   10295 then :
   10296   eval $cacheid=yes
   10297 else $as_nop
   10298   eval $cacheid=no
   10299 fi
   10300 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10301     conftest$ac_exeext conftest.$ac_ext
   10302 fi
   10303 
   10304 
   10305 		CFLAGS="$xorg_testset_save_CFLAGS"
   10306 
   10307 		eval supported=\$$cacheid
   10308 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10309 printf "%s\n" "$supported" >&6; }
   10310 		if test "$supported" = "yes" ; then
   10311 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10312 			found="yes"
   10313 		fi
   10314 	fi
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 
   10329 
   10330 xorg_testset_save_CFLAGS="$CFLAGS"
   10331 
   10332 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10333 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10334 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10335 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10336 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10337 then :
   10338   printf %s "(cached) " >&6
   10339 else $as_nop
   10340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10341 /* end confdefs.h.  */
   10342 int i;
   10343 _ACEOF
   10344 if ac_fn_c_try_compile "$LINENO"
   10345 then :
   10346   xorg_cv_cc_flag_unknown_warning_option=yes
   10347 else $as_nop
   10348   xorg_cv_cc_flag_unknown_warning_option=no
   10349 fi
   10350 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10351 fi
   10352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10353 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10354 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10355 	CFLAGS="$xorg_testset_save_CFLAGS"
   10356 fi
   10357 
   10358 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10359 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10360 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10361 	fi
   10362 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10363 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10364 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10365 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10366 then :
   10367   printf %s "(cached) " >&6
   10368 else $as_nop
   10369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10370 /* end confdefs.h.  */
   10371 int i;
   10372 _ACEOF
   10373 if ac_fn_c_try_compile "$LINENO"
   10374 then :
   10375   xorg_cv_cc_flag_unused_command_line_argument=yes
   10376 else $as_nop
   10377   xorg_cv_cc_flag_unused_command_line_argument=no
   10378 fi
   10379 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10380 fi
   10381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10382 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10383 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10384 	CFLAGS="$xorg_testset_save_CFLAGS"
   10385 fi
   10386 
   10387 found="no"
   10388 
   10389 	if test $found = "no" ; then
   10390 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10391 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10392 		fi
   10393 
   10394 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10395 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10396 		fi
   10397 
   10398 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10399 
   10400 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10401 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10402 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10403 		if eval test \${$cacheid+y}
   10404 then :
   10405   printf %s "(cached) " >&6
   10406 else $as_nop
   10407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10408 /* end confdefs.h.  */
   10409 int i;
   10410 int
   10411 main (void)
   10412 {
   10413 
   10414   ;
   10415   return 0;
   10416 }
   10417 _ACEOF
   10418 if ac_fn_c_try_link "$LINENO"
   10419 then :
   10420   eval $cacheid=yes
   10421 else $as_nop
   10422   eval $cacheid=no
   10423 fi
   10424 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10425     conftest$ac_exeext conftest.$ac_ext
   10426 fi
   10427 
   10428 
   10429 		CFLAGS="$xorg_testset_save_CFLAGS"
   10430 
   10431 		eval supported=\$$cacheid
   10432 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10433 printf "%s\n" "$supported" >&6; }
   10434 		if test "$supported" = "yes" ; then
   10435 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10436 			found="yes"
   10437 		fi
   10438 	fi
   10439 
   10440 
   10441 fi
   10442 
   10443 
   10444 
   10445 
   10446 
   10447 
   10448 
   10449 		CWARNFLAGS="$BASE_CFLAGS"
   10450 		if  test "x$GCC" = xyes ; then
   10451 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10452 		fi
   10453 
   10454 
   10455 
   10456 
   10457 
   10458 
   10459 
   10460 
   10461 # Check whether --enable-strict-compilation was given.
   10462 if test ${enable_strict_compilation+y}
   10463 then :
   10464   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10465 else $as_nop
   10466   STRICT_COMPILE=no
   10467 fi
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 STRICT_CFLAGS=""
   10475 
   10476 
   10477 
   10478 
   10479 
   10480 
   10481 
   10482 
   10483 
   10484 
   10485 
   10486 
   10487 
   10488 xorg_testset_save_CFLAGS="$CFLAGS"
   10489 
   10490 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10491 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10492 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10493 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10494 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10495 then :
   10496   printf %s "(cached) " >&6
   10497 else $as_nop
   10498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10499 /* end confdefs.h.  */
   10500 int i;
   10501 _ACEOF
   10502 if ac_fn_c_try_compile "$LINENO"
   10503 then :
   10504   xorg_cv_cc_flag_unknown_warning_option=yes
   10505 else $as_nop
   10506   xorg_cv_cc_flag_unknown_warning_option=no
   10507 fi
   10508 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10509 fi
   10510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10511 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10512 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10513 	CFLAGS="$xorg_testset_save_CFLAGS"
   10514 fi
   10515 
   10516 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10517 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10518 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10519 	fi
   10520 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10521 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10522 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10523 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10524 then :
   10525   printf %s "(cached) " >&6
   10526 else $as_nop
   10527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10528 /* end confdefs.h.  */
   10529 int i;
   10530 _ACEOF
   10531 if ac_fn_c_try_compile "$LINENO"
   10532 then :
   10533   xorg_cv_cc_flag_unused_command_line_argument=yes
   10534 else $as_nop
   10535   xorg_cv_cc_flag_unused_command_line_argument=no
   10536 fi
   10537 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10538 fi
   10539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10540 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10541 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10542 	CFLAGS="$xorg_testset_save_CFLAGS"
   10543 fi
   10544 
   10545 found="no"
   10546 
   10547 	if test $found = "no" ; then
   10548 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10549 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10550 		fi
   10551 
   10552 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10553 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10554 		fi
   10555 
   10556 		CFLAGS="$CFLAGS -pedantic"
   10557 
   10558 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10559 printf %s "checking if $CC supports -pedantic... " >&6; }
   10560 		cacheid=xorg_cv_cc_flag__pedantic
   10561 		if eval test \${$cacheid+y}
   10562 then :
   10563   printf %s "(cached) " >&6
   10564 else $as_nop
   10565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10566 /* end confdefs.h.  */
   10567 int i;
   10568 int
   10569 main (void)
   10570 {
   10571 
   10572   ;
   10573   return 0;
   10574 }
   10575 _ACEOF
   10576 if ac_fn_c_try_link "$LINENO"
   10577 then :
   10578   eval $cacheid=yes
   10579 else $as_nop
   10580   eval $cacheid=no
   10581 fi
   10582 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10583     conftest$ac_exeext conftest.$ac_ext
   10584 fi
   10585 
   10586 
   10587 		CFLAGS="$xorg_testset_save_CFLAGS"
   10588 
   10589 		eval supported=\$$cacheid
   10590 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10591 printf "%s\n" "$supported" >&6; }
   10592 		if test "$supported" = "yes" ; then
   10593 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10594 			found="yes"
   10595 		fi
   10596 	fi
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 xorg_testset_save_CFLAGS="$CFLAGS"
   10613 
   10614 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10615 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10616 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10617 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10618 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10619 then :
   10620   printf %s "(cached) " >&6
   10621 else $as_nop
   10622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10623 /* end confdefs.h.  */
   10624 int i;
   10625 _ACEOF
   10626 if ac_fn_c_try_compile "$LINENO"
   10627 then :
   10628   xorg_cv_cc_flag_unknown_warning_option=yes
   10629 else $as_nop
   10630   xorg_cv_cc_flag_unknown_warning_option=no
   10631 fi
   10632 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10633 fi
   10634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10635 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10636 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10637 	CFLAGS="$xorg_testset_save_CFLAGS"
   10638 fi
   10639 
   10640 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10641 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10642 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10643 	fi
   10644 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10645 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10646 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10647 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10648 then :
   10649   printf %s "(cached) " >&6
   10650 else $as_nop
   10651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10652 /* end confdefs.h.  */
   10653 int i;
   10654 _ACEOF
   10655 if ac_fn_c_try_compile "$LINENO"
   10656 then :
   10657   xorg_cv_cc_flag_unused_command_line_argument=yes
   10658 else $as_nop
   10659   xorg_cv_cc_flag_unused_command_line_argument=no
   10660 fi
   10661 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10662 fi
   10663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10664 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10665 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10666 	CFLAGS="$xorg_testset_save_CFLAGS"
   10667 fi
   10668 
   10669 found="no"
   10670 
   10671 	if test $found = "no" ; then
   10672 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10673 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10674 		fi
   10675 
   10676 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10677 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10678 		fi
   10679 
   10680 		CFLAGS="$CFLAGS -Werror"
   10681 
   10682 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10683 printf %s "checking if $CC supports -Werror... " >&6; }
   10684 		cacheid=xorg_cv_cc_flag__Werror
   10685 		if eval test \${$cacheid+y}
   10686 then :
   10687   printf %s "(cached) " >&6
   10688 else $as_nop
   10689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10690 /* end confdefs.h.  */
   10691 int i;
   10692 int
   10693 main (void)
   10694 {
   10695 
   10696   ;
   10697   return 0;
   10698 }
   10699 _ACEOF
   10700 if ac_fn_c_try_link "$LINENO"
   10701 then :
   10702   eval $cacheid=yes
   10703 else $as_nop
   10704   eval $cacheid=no
   10705 fi
   10706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10707     conftest$ac_exeext conftest.$ac_ext
   10708 fi
   10709 
   10710 
   10711 		CFLAGS="$xorg_testset_save_CFLAGS"
   10712 
   10713 		eval supported=\$$cacheid
   10714 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10715 printf "%s\n" "$supported" >&6; }
   10716 		if test "$supported" = "yes" ; then
   10717 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10718 			found="yes"
   10719 		fi
   10720 	fi
   10721 
   10722 	if test $found = "no" ; then
   10723 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10724 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10725 		fi
   10726 
   10727 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10728 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10729 		fi
   10730 
   10731 		CFLAGS="$CFLAGS -errwarn"
   10732 
   10733 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10734 printf %s "checking if $CC supports -errwarn... " >&6; }
   10735 		cacheid=xorg_cv_cc_flag__errwarn
   10736 		if eval test \${$cacheid+y}
   10737 then :
   10738   printf %s "(cached) " >&6
   10739 else $as_nop
   10740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10741 /* end confdefs.h.  */
   10742 int i;
   10743 int
   10744 main (void)
   10745 {
   10746 
   10747   ;
   10748   return 0;
   10749 }
   10750 _ACEOF
   10751 if ac_fn_c_try_link "$LINENO"
   10752 then :
   10753   eval $cacheid=yes
   10754 else $as_nop
   10755   eval $cacheid=no
   10756 fi
   10757 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10758     conftest$ac_exeext conftest.$ac_ext
   10759 fi
   10760 
   10761 
   10762 		CFLAGS="$xorg_testset_save_CFLAGS"
   10763 
   10764 		eval supported=\$$cacheid
   10765 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10766 printf "%s\n" "$supported" >&6; }
   10767 		if test "$supported" = "yes" ; then
   10768 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10769 			found="yes"
   10770 		fi
   10771 	fi
   10772 
   10773 
   10774 
   10775 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10776 # activate it with -Werror, so we add it here explicitly.
   10777 
   10778 
   10779 
   10780 
   10781 
   10782 
   10783 
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 xorg_testset_save_CFLAGS="$CFLAGS"
   10791 
   10792 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10793 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10794 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10795 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10796 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10797 then :
   10798   printf %s "(cached) " >&6
   10799 else $as_nop
   10800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10801 /* end confdefs.h.  */
   10802 int i;
   10803 _ACEOF
   10804 if ac_fn_c_try_compile "$LINENO"
   10805 then :
   10806   xorg_cv_cc_flag_unknown_warning_option=yes
   10807 else $as_nop
   10808   xorg_cv_cc_flag_unknown_warning_option=no
   10809 fi
   10810 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10811 fi
   10812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10813 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10814 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10815 	CFLAGS="$xorg_testset_save_CFLAGS"
   10816 fi
   10817 
   10818 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10819 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10820 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10821 	fi
   10822 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10823 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10824 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10825 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10826 then :
   10827   printf %s "(cached) " >&6
   10828 else $as_nop
   10829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10830 /* end confdefs.h.  */
   10831 int i;
   10832 _ACEOF
   10833 if ac_fn_c_try_compile "$LINENO"
   10834 then :
   10835   xorg_cv_cc_flag_unused_command_line_argument=yes
   10836 else $as_nop
   10837   xorg_cv_cc_flag_unused_command_line_argument=no
   10838 fi
   10839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10840 fi
   10841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10842 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10843 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10844 	CFLAGS="$xorg_testset_save_CFLAGS"
   10845 fi
   10846 
   10847 found="no"
   10848 
   10849 	if test $found = "no" ; then
   10850 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10851 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10852 		fi
   10853 
   10854 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10855 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10856 		fi
   10857 
   10858 		CFLAGS="$CFLAGS -Werror=attributes"
   10859 
   10860 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10861 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   10862 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10863 		if eval test \${$cacheid+y}
   10864 then :
   10865   printf %s "(cached) " >&6
   10866 else $as_nop
   10867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10868 /* end confdefs.h.  */
   10869 int i;
   10870 int
   10871 main (void)
   10872 {
   10873 
   10874   ;
   10875   return 0;
   10876 }
   10877 _ACEOF
   10878 if ac_fn_c_try_link "$LINENO"
   10879 then :
   10880   eval $cacheid=yes
   10881 else $as_nop
   10882   eval $cacheid=no
   10883 fi
   10884 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10885     conftest$ac_exeext conftest.$ac_ext
   10886 fi
   10887 
   10888 
   10889 		CFLAGS="$xorg_testset_save_CFLAGS"
   10890 
   10891 		eval supported=\$$cacheid
   10892 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10893 printf "%s\n" "$supported" >&6; }
   10894 		if test "$supported" = "yes" ; then
   10895 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10896 			found="yes"
   10897 		fi
   10898 	fi
   10899 
   10900 
   10901 
   10902 if test "x$STRICT_COMPILE" = "xyes"; then
   10903     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10904     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10905 fi
   10906 
   10907 
   10908 
   10909 
   10910 
   10911 
   10912 cat >>confdefs.h <<_ACEOF
   10913 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10914 _ACEOF
   10915 
   10916 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10917 	if test "x$PVM" = "x"; then
   10918 		PVM="0"
   10919 	fi
   10920 
   10921 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   10922 
   10923 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10924 	if test "x$PVP" = "x"; then
   10925 		PVP="0"
   10926 	fi
   10927 
   10928 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   10929 
   10930 
   10931 
   10932 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   10933 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10934 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   10935 touch \$(top_srcdir)/ChangeLog; \
   10936 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   10937 
   10938 
   10939 
   10940 
   10941 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10942 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10943 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10944 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   10945 touch \$(top_srcdir)/INSTALL; \
   10946 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   10947 
   10948 
   10949 
   10950 
   10951 
   10952 
   10953 case $host_os in
   10954     solaris*)
   10955         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   10956         # check for a man page file found in later versions that use
   10957         # traditional section numbers instead
   10958         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   10959 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   10960 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   10961 then :
   10962   printf %s "(cached) " >&6
   10963 else $as_nop
   10964   test "$cross_compiling" = yes &&
   10965   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   10966 if test -r "/usr/share/man/man7/attributes.7"; then
   10967   ac_cv_file__usr_share_man_man7_attributes_7=yes
   10968 else
   10969   ac_cv_file__usr_share_man_man7_attributes_7=no
   10970 fi
   10971 fi
   10972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   10973 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   10974 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   10975 then :
   10976   SYSV_MAN_SECTIONS=false
   10977 else $as_nop
   10978   SYSV_MAN_SECTIONS=true
   10979 fi
   10980 
   10981         ;;
   10982     *) SYSV_MAN_SECTIONS=false ;;
   10983 esac
   10984 
   10985 if test x$APP_MAN_SUFFIX = x    ; then
   10986     APP_MAN_SUFFIX=1
   10987 fi
   10988 if test x$APP_MAN_DIR = x    ; then
   10989     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10990 fi
   10991 
   10992 if test x$LIB_MAN_SUFFIX = x    ; then
   10993     LIB_MAN_SUFFIX=3
   10994 fi
   10995 if test x$LIB_MAN_DIR = x    ; then
   10996     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10997 fi
   10998 
   10999 if test x$FILE_MAN_SUFFIX = x    ; then
   11000     case $SYSV_MAN_SECTIONS in
   11001 	true)				FILE_MAN_SUFFIX=4  ;;
   11002 	*)				FILE_MAN_SUFFIX=5  ;;
   11003     esac
   11004 fi
   11005 if test x$FILE_MAN_DIR = x    ; then
   11006     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11007 fi
   11008 
   11009 if test x$MISC_MAN_SUFFIX = x    ; then
   11010     case $SYSV_MAN_SECTIONS in
   11011 	true)				MISC_MAN_SUFFIX=5  ;;
   11012 	*)				MISC_MAN_SUFFIX=7  ;;
   11013     esac
   11014 fi
   11015 if test x$MISC_MAN_DIR = x    ; then
   11016     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11017 fi
   11018 
   11019 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11020     case $SYSV_MAN_SECTIONS in
   11021 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11022 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11023     esac
   11024 fi
   11025 if test x$DRIVER_MAN_DIR = x    ; then
   11026     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11027 fi
   11028 
   11029 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11030     case $SYSV_MAN_SECTIONS in
   11031 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11032 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11033     esac
   11034 fi
   11035 if test x$ADMIN_MAN_DIR = x    ; then
   11036     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11037 fi
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 
   11044 
   11045 
   11046 
   11047 
   11048 
   11049 
   11050 
   11051 
   11052 
   11053 XORG_MAN_PAGE="X Version 11"
   11054 
   11055 MAN_SUBSTS="\
   11056 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11057 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11058 	-e 's|__xservername__|Xorg|g' \
   11059 	-e 's|__xconfigfile__|xorg.conf|g' \
   11060 	-e 's|__projectroot__|\$(prefix)|g' \
   11061 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11062 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11063 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11064 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11065 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11066 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11067 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11068 
   11069 
   11070 
   11071 # Check whether --enable-silent-rules was given.
   11072 if test ${enable_silent_rules+y}
   11073 then :
   11074   enableval=$enable_silent_rules;
   11075 fi
   11076 
   11077 case $enable_silent_rules in # (((
   11078   yes) AM_DEFAULT_VERBOSITY=0;;
   11079    no) AM_DEFAULT_VERBOSITY=1;;
   11080     *) AM_DEFAULT_VERBOSITY=0;;
   11081 esac
   11082 am_make=${MAKE-make}
   11083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11084 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11085 if test ${am_cv_make_support_nested_variables+y}
   11086 then :
   11087   printf %s "(cached) " >&6
   11088 else $as_nop
   11089   if printf "%s\n" 'TRUE=$(BAR$(V))
   11090 BAR0=false
   11091 BAR1=true
   11092 V=1
   11093 am__doit:
   11094 	@$(TRUE)
   11095 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11096   am_cv_make_support_nested_variables=yes
   11097 else
   11098   am_cv_make_support_nested_variables=no
   11099 fi
   11100 fi
   11101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11102 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11103 if test $am_cv_make_support_nested_variables = yes; then
   11104     AM_V='$(V)'
   11105   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11106 else
   11107   AM_V=$AM_DEFAULT_VERBOSITY
   11108   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11109 fi
   11110 AM_BACKSLASH='\'
   11111 
   11112 
   11113 
   11114 # Base set of required pkg-config packages
   11115 XLOGO_DEPS="sm xaw7 xmu xt >= 1.0 xext x11"
   11116 
   11117 # Ensure pkg-config is initialized, since first call to macros is conditional
   11118 
   11119 
   11120 
   11121 
   11122 
   11123 
   11124 
   11125 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11126 	if test -n "$ac_tool_prefix"; then
   11127   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11128 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11130 printf %s "checking for $ac_word... " >&6; }
   11131 if test ${ac_cv_path_PKG_CONFIG+y}
   11132 then :
   11133   printf %s "(cached) " >&6
   11134 else $as_nop
   11135   case $PKG_CONFIG in
   11136   [\\/]* | ?:[\\/]*)
   11137   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11138   ;;
   11139   *)
   11140   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11141 for as_dir in $PATH
   11142 do
   11143   IFS=$as_save_IFS
   11144   case $as_dir in #(((
   11145     '') as_dir=./ ;;
   11146     */) ;;
   11147     *) as_dir=$as_dir/ ;;
   11148   esac
   11149     for ac_exec_ext in '' $ac_executable_extensions; do
   11150   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11151     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   11152     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11153     break 2
   11154   fi
   11155 done
   11156   done
   11157 IFS=$as_save_IFS
   11158 
   11159   ;;
   11160 esac
   11161 fi
   11162 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11163 if test -n "$PKG_CONFIG"; then
   11164   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11165 printf "%s\n" "$PKG_CONFIG" >&6; }
   11166 else
   11167   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11168 printf "%s\n" "no" >&6; }
   11169 fi
   11170 
   11171 
   11172 fi
   11173 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11174   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11175   # Extract the first word of "pkg-config", so it can be a program name with args.
   11176 set dummy pkg-config; ac_word=$2
   11177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11178 printf %s "checking for $ac_word... " >&6; }
   11179 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   11180 then :
   11181   printf %s "(cached) " >&6
   11182 else $as_nop
   11183   case $ac_pt_PKG_CONFIG in
   11184   [\\/]* | ?:[\\/]*)
   11185   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11186   ;;
   11187   *)
   11188   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11189 for as_dir in $PATH
   11190 do
   11191   IFS=$as_save_IFS
   11192   case $as_dir in #(((
   11193     '') as_dir=./ ;;
   11194     */) ;;
   11195     *) as_dir=$as_dir/ ;;
   11196   esac
   11197     for ac_exec_ext in '' $ac_executable_extensions; do
   11198   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11199     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   11200     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11201     break 2
   11202   fi
   11203 done
   11204   done
   11205 IFS=$as_save_IFS
   11206 
   11207   ;;
   11208 esac
   11209 fi
   11210 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11211 if test -n "$ac_pt_PKG_CONFIG"; then
   11212   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11213 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   11214 else
   11215   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11216 printf "%s\n" "no" >&6; }
   11217 fi
   11218 
   11219   if test "x$ac_pt_PKG_CONFIG" = x; then
   11220     PKG_CONFIG=""
   11221   else
   11222     case $cross_compiling:$ac_tool_warned in
   11223 yes:)
   11224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11225 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11226 ac_tool_warned=yes ;;
   11227 esac
   11228     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11229   fi
   11230 else
   11231   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11232 fi
   11233 
   11234 fi
   11235 if test -n "$PKG_CONFIG"; then
   11236 	_pkg_min_version=0.9.0
   11237 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11238 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11239 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11240 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11241 printf "%s\n" "yes" >&6; }
   11242 	else
   11243 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11244 printf "%s\n" "no" >&6; }
   11245 		PKG_CONFIG=""
   11246 	fi
   11247 fi
   11248 
   11249 # Use render & xft2 to draw logo?
   11250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use render & xft2 to draw logo" >&5
   11251 printf %s "checking whether to use render & xft2 to draw logo... " >&6; }
   11252 
   11253 # Check whether --with-render was given.
   11254 if test ${with_render+y}
   11255 then :
   11256   withval=$with_render; USE_RENDER="$withval"
   11257 else $as_nop
   11258   USE_RENDER="try"
   11259 fi
   11260 
   11261 
   11262 if test "x$USE_RENDER" = "xtry" ; then
   11263 	if test -n "$PKG_CONFIG" && \
   11264     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender xft\""; } >&5
   11265   ($PKG_CONFIG --exists --print-errors "xrender xft") 2>&5
   11266   ac_status=$?
   11267   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11268   test $ac_status = 0; }; then
   11269   USE_RENDER="yes"
   11270 else
   11271   USE_RENDER="no"
   11272 fi
   11273 fi
   11274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_RENDER" >&5
   11275 printf "%s\n" "$USE_RENDER" >&6; }
   11276 
   11277 if test "x$USE_RENDER" = "xyes" ; then
   11278 	XLOGO_DEPS="xft xrender $XLOGO_DEPS"
   11279 
   11280 
   11281 printf "%s\n" "#define XRENDER 1" >>confdefs.h
   11282 
   11283 fi
   11284  if test "x$USE_RENDER" = "xyes"; then
   11285   USE_RENDER_TRUE=
   11286   USE_RENDER_FALSE='#'
   11287 else
   11288   USE_RENDER_TRUE='#'
   11289   USE_RENDER_FALSE=
   11290 fi
   11291 
   11292 
   11293 # Use XKB to ring the bell?
   11294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use XkbStdBell" >&5
   11295 printf %s "checking whether to use XkbStdBell... " >&6; }
   11296 
   11297 # Check whether --with-xkb was given.
   11298 if test ${with_xkb+y}
   11299 then :
   11300   withval=$with_xkb; USE_XKB="$withval"
   11301 else $as_nop
   11302   USE_XKB="try"
   11303 fi
   11304 
   11305 
   11306 if test "x$USE_XKB" = "xtry" ; then
   11307 	if test -n "$PKG_CONFIG" && \
   11308     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbfile\""; } >&5
   11309   ($PKG_CONFIG --exists --print-errors "xkbfile") 2>&5
   11310   ac_status=$?
   11311   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11312   test $ac_status = 0; }; then
   11313   USE_XKB="yes"
   11314 else
   11315   USE_XKB="no"
   11316 fi
   11317 fi
   11318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_XKB" >&5
   11319 printf "%s\n" "$USE_XKB" >&6; }
   11320 
   11321 if test "x$USE_XKB" = "xyes" ; then
   11322 	XLOGO_DEPS="xkbfile $XLOGO_DEPS"
   11323 
   11324 
   11325 printf "%s\n" "#define XKB 1" >>confdefs.h
   11326 
   11327 fi
   11328 
   11329 
   11330 pkg_failed=no
   11331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XLOGO" >&5
   11332 printf %s "checking for XLOGO... " >&6; }
   11333 
   11334 if test -n "$XLOGO_CFLAGS"; then
   11335     pkg_cv_XLOGO_CFLAGS="$XLOGO_CFLAGS"
   11336  elif test -n "$PKG_CONFIG"; then
   11337     if test -n "$PKG_CONFIG" && \
   11338     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$XLOGO_DEPS\""; } >&5
   11339   ($PKG_CONFIG --exists --print-errors "$XLOGO_DEPS") 2>&5
   11340   ac_status=$?
   11341   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11342   test $ac_status = 0; }; then
   11343   pkg_cv_XLOGO_CFLAGS=`$PKG_CONFIG --cflags "$XLOGO_DEPS" 2>/dev/null`
   11344 		      test "x$?" != "x0" && pkg_failed=yes
   11345 else
   11346   pkg_failed=yes
   11347 fi
   11348  else
   11349     pkg_failed=untried
   11350 fi
   11351 if test -n "$XLOGO_LIBS"; then
   11352     pkg_cv_XLOGO_LIBS="$XLOGO_LIBS"
   11353  elif test -n "$PKG_CONFIG"; then
   11354     if test -n "$PKG_CONFIG" && \
   11355     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$XLOGO_DEPS\""; } >&5
   11356   ($PKG_CONFIG --exists --print-errors "$XLOGO_DEPS") 2>&5
   11357   ac_status=$?
   11358   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11359   test $ac_status = 0; }; then
   11360   pkg_cv_XLOGO_LIBS=`$PKG_CONFIG --libs "$XLOGO_DEPS" 2>/dev/null`
   11361 		      test "x$?" != "x0" && pkg_failed=yes
   11362 else
   11363   pkg_failed=yes
   11364 fi
   11365  else
   11366     pkg_failed=untried
   11367 fi
   11368 
   11369 
   11370 
   11371 if test $pkg_failed = yes; then
   11372    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11373 printf "%s\n" "no" >&6; }
   11374 
   11375 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11376         _pkg_short_errors_supported=yes
   11377 else
   11378         _pkg_short_errors_supported=no
   11379 fi
   11380         if test $_pkg_short_errors_supported = yes; then
   11381 	        XLOGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$XLOGO_DEPS" 2>&1`
   11382         else
   11383 	        XLOGO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$XLOGO_DEPS" 2>&1`
   11384         fi
   11385 	# Put the nasty error message in config.log where it belongs
   11386 	echo "$XLOGO_PKG_ERRORS" >&5
   11387 
   11388 	as_fn_error $? "Package requirements ($XLOGO_DEPS) were not met:
   11389 
   11390 $XLOGO_PKG_ERRORS
   11391 
   11392 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11393 installed software in a non-standard prefix.
   11394 
   11395 Alternatively, you may set the environment variables XLOGO_CFLAGS
   11396 and XLOGO_LIBS to avoid the need to call pkg-config.
   11397 See the pkg-config man page for more details." "$LINENO" 5
   11398 elif test $pkg_failed = untried; then
   11399      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11400 printf "%s\n" "no" >&6; }
   11401 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11402 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   11403 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11404 is in your PATH or set the PKG_CONFIG environment variable to the full
   11405 path to pkg-config.
   11406 
   11407 Alternatively, you may set the environment variables XLOGO_CFLAGS
   11408 and XLOGO_LIBS to avoid the need to call pkg-config.
   11409 See the pkg-config man page for more details.
   11410 
   11411 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11412 See \`config.log' for more details" "$LINENO" 5; }
   11413 else
   11414 	XLOGO_CFLAGS=$pkg_cv_XLOGO_CFLAGS
   11415 	XLOGO_LIBS=$pkg_cv_XLOGO_LIBS
   11416         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11417 printf "%s\n" "yes" >&6; }
   11418 
   11419 fi
   11420 
   11421 
   11422 pkg_failed=no
   11423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   11424 printf %s "checking for APPDEFS... " >&6; }
   11425 
   11426 if test -n "$APPDEFS_CFLAGS"; then
   11427     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   11428  elif test -n "$PKG_CONFIG"; then
   11429     if test -n "$PKG_CONFIG" && \
   11430     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   11431   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   11432   ac_status=$?
   11433   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11434   test $ac_status = 0; }; then
   11435   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   11436 		      test "x$?" != "x0" && pkg_failed=yes
   11437 else
   11438   pkg_failed=yes
   11439 fi
   11440  else
   11441     pkg_failed=untried
   11442 fi
   11443 if test -n "$APPDEFS_LIBS"; then
   11444     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   11445  elif test -n "$PKG_CONFIG"; then
   11446     if test -n "$PKG_CONFIG" && \
   11447     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   11448   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   11449   ac_status=$?
   11450   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11451   test $ac_status = 0; }; then
   11452   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   11453 		      test "x$?" != "x0" && pkg_failed=yes
   11454 else
   11455   pkg_failed=yes
   11456 fi
   11457  else
   11458     pkg_failed=untried
   11459 fi
   11460 
   11461 
   11462 
   11463 if test $pkg_failed = yes; then
   11464    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11465 printf "%s\n" "no" >&6; }
   11466 
   11467 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11468         _pkg_short_errors_supported=yes
   11469 else
   11470         _pkg_short_errors_supported=no
   11471 fi
   11472         if test $_pkg_short_errors_supported = yes; then
   11473 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xt" 2>&1`
   11474         else
   11475 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xt" 2>&1`
   11476         fi
   11477 	# Put the nasty error message in config.log where it belongs
   11478 	echo "$APPDEFS_PKG_ERRORS" >&5
   11479 
   11480 	as_fn_error $? "Package requirements (xt) were not met:
   11481 
   11482 $APPDEFS_PKG_ERRORS
   11483 
   11484 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11485 installed software in a non-standard prefix.
   11486 
   11487 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   11488 and APPDEFS_LIBS to avoid the need to call pkg-config.
   11489 See the pkg-config man page for more details." "$LINENO" 5
   11490 elif test $pkg_failed = untried; then
   11491      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11492 printf "%s\n" "no" >&6; }
   11493 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11494 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   11495 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11496 is in your PATH or set the PKG_CONFIG environment variable to the full
   11497 path to pkg-config.
   11498 
   11499 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   11500 and APPDEFS_LIBS to avoid the need to call pkg-config.
   11501 See the pkg-config man page for more details.
   11502 
   11503 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11504 See \`config.log' for more details" "$LINENO" 5; }
   11505 else
   11506 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   11507 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   11508         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11509 printf "%s\n" "yes" >&6; }
   11510 
   11511 fi
   11512 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   11513 
   11514 # Check whether --with-appdefaultdir was given.
   11515 if test ${with_appdefaultdir+y}
   11516 then :
   11517   withval=$with_appdefaultdir; appdefaultdir="$withval"
   11518 else $as_nop
   11519   appdefaultdir="${xt_appdefaultdir}"
   11520 fi
   11521 
   11522 
   11523 
   11524 ac_config_files="$ac_config_files Makefile man/Makefile"
   11525 
   11526 cat >confcache <<\_ACEOF
   11527 # This file is a shell script that caches the results of configure
   11528 # tests run on this system so they can be shared between configure
   11529 # scripts and configure runs, see configure's option --config-cache.
   11530 # It is not useful on other systems.  If it contains results you don't
   11531 # want to keep, you may remove or edit it.
   11532 #
   11533 # config.status only pays attention to the cache file if you give it
   11534 # the --recheck option to rerun configure.
   11535 #
   11536 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11537 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11538 # following values.
   11539 
   11540 _ACEOF
   11541 
   11542 # The following way of writing the cache mishandles newlines in values,
   11543 # but we know of no workaround that is simple, portable, and efficient.
   11544 # So, we kill variables containing newlines.
   11545 # Ultrix sh set writes to stderr and can't be redirected directly,
   11546 # and sets the high bit in the cache file unless we assign to the vars.
   11547 (
   11548   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11549     eval ac_val=\$$ac_var
   11550     case $ac_val in #(
   11551     *${as_nl}*)
   11552       case $ac_var in #(
   11553       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11554 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11555       esac
   11556       case $ac_var in #(
   11557       _ | IFS | as_nl) ;; #(
   11558       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11559       *) { eval $ac_var=; unset $ac_var;} ;;
   11560       esac ;;
   11561     esac
   11562   done
   11563 
   11564   (set) 2>&1 |
   11565     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11566     *${as_nl}ac_space=\ *)
   11567       # `set' does not quote correctly, so add quotes: double-quote
   11568       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11569       sed -n \
   11570 	"s/'/'\\\\''/g;
   11571 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11572       ;; #(
   11573     *)
   11574       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11575       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11576       ;;
   11577     esac |
   11578     sort
   11579 ) |
   11580   sed '
   11581      /^ac_cv_env_/b end
   11582      t clear
   11583      :clear
   11584      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11585      t end
   11586      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11587      :end' >>confcache
   11588 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11589   if test -w "$cache_file"; then
   11590     if test "x$cache_file" != "x/dev/null"; then
   11591       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11592 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11593       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11594 	cat confcache >"$cache_file"
   11595       else
   11596         case $cache_file in #(
   11597         */* | ?:*)
   11598 	  mv -f confcache "$cache_file"$$ &&
   11599 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11600         *)
   11601 	  mv -f confcache "$cache_file" ;;
   11602 	esac
   11603       fi
   11604     fi
   11605   else
   11606     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11607 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11608   fi
   11609 fi
   11610 rm -f confcache
   11611 
   11612 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11613 # Let make expand exec_prefix.
   11614 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11615 
   11616 DEFS=-DHAVE_CONFIG_H
   11617 
   11618 ac_libobjs=
   11619 ac_ltlibobjs=
   11620 U=
   11621 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11622   # 1. Remove the extension, and $U if already installed.
   11623   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11624   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   11625   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11626   #    will be set to the directory where LIBOBJS objects are built.
   11627   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11628   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11629 done
   11630 LIBOBJS=$ac_libobjs
   11631 
   11632 LTLIBOBJS=$ac_ltlibobjs
   11633 
   11634 
   11635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11636 printf %s "checking that generated files are newer than configure... " >&6; }
   11637    if test -n "$am_sleep_pid"; then
   11638      # Hide warnings about reused PIDs.
   11639      wait $am_sleep_pid 2>/dev/null
   11640    fi
   11641    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11642 printf "%s\n" "done" >&6; }
   11643  if test -n "$EXEEXT"; then
   11644   am__EXEEXT_TRUE=
   11645   am__EXEEXT_FALSE='#'
   11646 else
   11647   am__EXEEXT_TRUE='#'
   11648   am__EXEEXT_FALSE=
   11649 fi
   11650 
   11651 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11652   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11653 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11654 fi
   11655 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11656   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11657 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11658 fi
   11659 if test -z "${USE_RENDER_TRUE}" && test -z "${USE_RENDER_FALSE}"; then
   11660   as_fn_error $? "conditional \"USE_RENDER\" was never defined.
   11661 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11662 fi
   11663 
   11664 : "${CONFIG_STATUS=./config.status}"
   11665 ac_write_fail=0
   11666 ac_clean_files_save=$ac_clean_files
   11667 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11669 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   11670 as_write_fail=0
   11671 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11672 #! $SHELL
   11673 # Generated by $as_me.
   11674 # Run this file to recreate the current configuration.
   11675 # Compiler output produced by configure, useful for debugging
   11676 # configure, is in config.log if it exists.
   11677 
   11678 debug=false
   11679 ac_cs_recheck=false
   11680 ac_cs_silent=false
   11681 
   11682 SHELL=\${CONFIG_SHELL-$SHELL}
   11683 export SHELL
   11684 _ASEOF
   11685 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11686 ## -------------------- ##
   11687 ## M4sh Initialization. ##
   11688 ## -------------------- ##
   11689 
   11690 # Be more Bourne compatible
   11691 DUALCASE=1; export DUALCASE # for MKS sh
   11692 as_nop=:
   11693 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   11694 then :
   11695   emulate sh
   11696   NULLCMD=:
   11697   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11698   # is contrary to our usage.  Disable this feature.
   11699   alias -g '${1+"$@"}'='"$@"'
   11700   setopt NO_GLOB_SUBST
   11701 else $as_nop
   11702   case `(set -o) 2>/dev/null` in #(
   11703   *posix*) :
   11704     set -o posix ;; #(
   11705   *) :
   11706      ;;
   11707 esac
   11708 fi
   11709 
   11710 
   11711 
   11712 # Reset variables that may have inherited troublesome values from
   11713 # the environment.
   11714 
   11715 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   11716 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   11717 # side effect of setting IFS to empty, thus disabling word splitting.)
   11718 # Quoting is to prevent editors from complaining about space-tab.
   11719 as_nl='
   11720 '
   11721 export as_nl
   11722 IFS=" ""	$as_nl"
   11723 
   11724 PS1='$ '
   11725 PS2='> '
   11726 PS4='+ '
   11727 
   11728 # Ensure predictable behavior from utilities with locale-dependent output.
   11729 LC_ALL=C
   11730 export LC_ALL
   11731 LANGUAGE=C
   11732 export LANGUAGE
   11733 
   11734 # We cannot yet rely on "unset" to work, but we need these variables
   11735 # to be unset--not just set to an empty or harmless value--now, to
   11736 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   11737 # also avoids known problems related to "unset" and subshell syntax
   11738 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   11739 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   11740 do eval test \${$as_var+y} \
   11741   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11742 done
   11743 
   11744 # Ensure that fds 0, 1, and 2 are open.
   11745 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   11746 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   11747 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   11748 
   11749 # The user is always right.
   11750 if ${PATH_SEPARATOR+false} :; then
   11751   PATH_SEPARATOR=:
   11752   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11753     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11754       PATH_SEPARATOR=';'
   11755   }
   11756 fi
   11757 
   11758 
   11759 # Find who we are.  Look in the path if we contain no directory separator.
   11760 as_myself=
   11761 case $0 in #((
   11762   *[\\/]* ) as_myself=$0 ;;
   11763   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11764 for as_dir in $PATH
   11765 do
   11766   IFS=$as_save_IFS
   11767   case $as_dir in #(((
   11768     '') as_dir=./ ;;
   11769     */) ;;
   11770     *) as_dir=$as_dir/ ;;
   11771   esac
   11772     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   11773   done
   11774 IFS=$as_save_IFS
   11775 
   11776      ;;
   11777 esac
   11778 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11779 # in which case we are not to be found in the path.
   11780 if test "x$as_myself" = x; then
   11781   as_myself=$0
   11782 fi
   11783 if test ! -f "$as_myself"; then
   11784   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11785   exit 1
   11786 fi
   11787 
   11788 
   11789 
   11790 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11791 # ----------------------------------------
   11792 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11793 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11794 # script with STATUS, using 1 if that was 0.
   11795 as_fn_error ()
   11796 {
   11797   as_status=$1; test $as_status -eq 0 && as_status=1
   11798   if test "$4"; then
   11799     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11800     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11801   fi
   11802   printf "%s\n" "$as_me: error: $2" >&2
   11803   as_fn_exit $as_status
   11804 } # as_fn_error
   11805 
   11806 
   11807 
   11808 # as_fn_set_status STATUS
   11809 # -----------------------
   11810 # Set $? to STATUS, without forking.
   11811 as_fn_set_status ()
   11812 {
   11813   return $1
   11814 } # as_fn_set_status
   11815 
   11816 # as_fn_exit STATUS
   11817 # -----------------
   11818 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11819 as_fn_exit ()
   11820 {
   11821   set +e
   11822   as_fn_set_status $1
   11823   exit $1
   11824 } # as_fn_exit
   11825 
   11826 # as_fn_unset VAR
   11827 # ---------------
   11828 # Portably unset VAR.
   11829 as_fn_unset ()
   11830 {
   11831   { eval $1=; unset $1;}
   11832 }
   11833 as_unset=as_fn_unset
   11834 
   11835 # as_fn_append VAR VALUE
   11836 # ----------------------
   11837 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11838 # advantage of any shell optimizations that allow amortized linear growth over
   11839 # repeated appends, instead of the typical quadratic growth present in naive
   11840 # implementations.
   11841 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   11842 then :
   11843   eval 'as_fn_append ()
   11844   {
   11845     eval $1+=\$2
   11846   }'
   11847 else $as_nop
   11848   as_fn_append ()
   11849   {
   11850     eval $1=\$$1\$2
   11851   }
   11852 fi # as_fn_append
   11853 
   11854 # as_fn_arith ARG...
   11855 # ------------------
   11856 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11857 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11858 # must be portable across $(()) and expr.
   11859 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   11860 then :
   11861   eval 'as_fn_arith ()
   11862   {
   11863     as_val=$(( $* ))
   11864   }'
   11865 else $as_nop
   11866   as_fn_arith ()
   11867   {
   11868     as_val=`expr "$@" || test $? -eq 1`
   11869   }
   11870 fi # as_fn_arith
   11871 
   11872 
   11873 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11874    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11875   as_expr=expr
   11876 else
   11877   as_expr=false
   11878 fi
   11879 
   11880 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11881   as_basename=basename
   11882 else
   11883   as_basename=false
   11884 fi
   11885 
   11886 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11887   as_dirname=dirname
   11888 else
   11889   as_dirname=false
   11890 fi
   11891 
   11892 as_me=`$as_basename -- "$0" ||
   11893 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11894 	 X"$0" : 'X\(//\)$' \| \
   11895 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11896 printf "%s\n" X/"$0" |
   11897     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11898 	    s//\1/
   11899 	    q
   11900 	  }
   11901 	  /^X\/\(\/\/\)$/{
   11902 	    s//\1/
   11903 	    q
   11904 	  }
   11905 	  /^X\/\(\/\).*/{
   11906 	    s//\1/
   11907 	    q
   11908 	  }
   11909 	  s/.*/./; q'`
   11910 
   11911 # Avoid depending upon Character Ranges.
   11912 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11913 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11914 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11915 as_cr_digits='0123456789'
   11916 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11917 
   11918 
   11919 # Determine whether it's possible to make 'echo' print without a newline.
   11920 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   11921 # for compatibility with existing Makefiles.
   11922 ECHO_C= ECHO_N= ECHO_T=
   11923 case `echo -n x` in #(((((
   11924 -n*)
   11925   case `echo 'xy\c'` in
   11926   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11927   xy)  ECHO_C='\c';;
   11928   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11929        ECHO_T='	';;
   11930   esac;;
   11931 *)
   11932   ECHO_N='-n';;
   11933 esac
   11934 
   11935 # For backward compatibility with old third-party macros, we provide
   11936 # the shell variables $as_echo and $as_echo_n.  New code should use
   11937 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   11938 as_echo='printf %s\n'
   11939 as_echo_n='printf %s'
   11940 
   11941 rm -f conf$$ conf$$.exe conf$$.file
   11942 if test -d conf$$.dir; then
   11943   rm -f conf$$.dir/conf$$.file
   11944 else
   11945   rm -f conf$$.dir
   11946   mkdir conf$$.dir 2>/dev/null
   11947 fi
   11948 if (echo >conf$$.file) 2>/dev/null; then
   11949   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11950     as_ln_s='ln -s'
   11951     # ... but there are two gotchas:
   11952     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11953     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11954     # In both cases, we have to default to `cp -pR'.
   11955     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11956       as_ln_s='cp -pR'
   11957   elif ln conf$$.file conf$$ 2>/dev/null; then
   11958     as_ln_s=ln
   11959   else
   11960     as_ln_s='cp -pR'
   11961   fi
   11962 else
   11963   as_ln_s='cp -pR'
   11964 fi
   11965 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11966 rmdir conf$$.dir 2>/dev/null
   11967 
   11968 
   11969 # as_fn_mkdir_p
   11970 # -------------
   11971 # Create "$as_dir" as a directory, including parents if necessary.
   11972 as_fn_mkdir_p ()
   11973 {
   11974 
   11975   case $as_dir in #(
   11976   -*) as_dir=./$as_dir;;
   11977   esac
   11978   test -d "$as_dir" || eval $as_mkdir_p || {
   11979     as_dirs=
   11980     while :; do
   11981       case $as_dir in #(
   11982       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11983       *) as_qdir=$as_dir;;
   11984       esac
   11985       as_dirs="'$as_qdir' $as_dirs"
   11986       as_dir=`$as_dirname -- "$as_dir" ||
   11987 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11988 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11989 	 X"$as_dir" : 'X\(//\)$' \| \
   11990 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11991 printf "%s\n" X"$as_dir" |
   11992     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11993 	    s//\1/
   11994 	    q
   11995 	  }
   11996 	  /^X\(\/\/\)[^/].*/{
   11997 	    s//\1/
   11998 	    q
   11999 	  }
   12000 	  /^X\(\/\/\)$/{
   12001 	    s//\1/
   12002 	    q
   12003 	  }
   12004 	  /^X\(\/\).*/{
   12005 	    s//\1/
   12006 	    q
   12007 	  }
   12008 	  s/.*/./; q'`
   12009       test -d "$as_dir" && break
   12010     done
   12011     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12012   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12013 
   12014 
   12015 } # as_fn_mkdir_p
   12016 if mkdir -p . 2>/dev/null; then
   12017   as_mkdir_p='mkdir -p "$as_dir"'
   12018 else
   12019   test -d ./-p && rmdir ./-p
   12020   as_mkdir_p=false
   12021 fi
   12022 
   12023 
   12024 # as_fn_executable_p FILE
   12025 # -----------------------
   12026 # Test if FILE is an executable regular file.
   12027 as_fn_executable_p ()
   12028 {
   12029   test -f "$1" && test -x "$1"
   12030 } # as_fn_executable_p
   12031 as_test_x='test -x'
   12032 as_executable_p=as_fn_executable_p
   12033 
   12034 # Sed expression to map a string onto a valid CPP name.
   12035 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   12036 
   12037 # Sed expression to map a string onto a valid variable name.
   12038 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   12039 
   12040 
   12041 exec 6>&1
   12042 ## ----------------------------------- ##
   12043 ## Main body of $CONFIG_STATUS script. ##
   12044 ## ----------------------------------- ##
   12045 _ASEOF
   12046 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12047 
   12048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12049 # Save the log message, to keep $0 and so on meaningful, and to
   12050 # report actual input values of CONFIG_FILES etc. instead of their
   12051 # values after options handling.
   12052 ac_log="
   12053 This file was extended by xlogo $as_me 1.0.6, which was
   12054 generated by GNU Autoconf 2.71.  Invocation command line was
   12055 
   12056   CONFIG_FILES    = $CONFIG_FILES
   12057   CONFIG_HEADERS  = $CONFIG_HEADERS
   12058   CONFIG_LINKS    = $CONFIG_LINKS
   12059   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12060   $ $0 $@
   12061 
   12062 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12063 "
   12064 
   12065 _ACEOF
   12066 
   12067 case $ac_config_files in *"
   12068 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12069 esac
   12070 
   12071 case $ac_config_headers in *"
   12072 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12073 esac
   12074 
   12075 
   12076 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12077 # Files that config.status was made for.
   12078 config_files="$ac_config_files"
   12079 config_headers="$ac_config_headers"
   12080 config_commands="$ac_config_commands"
   12081 
   12082 _ACEOF
   12083 
   12084 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12085 ac_cs_usage="\
   12086 \`$as_me' instantiates files and other configuration actions
   12087 from templates according to the current configuration.  Unless the files
   12088 and actions are specified as TAGs, all are instantiated by default.
   12089 
   12090 Usage: $0 [OPTION]... [TAG]...
   12091 
   12092   -h, --help       print this help, then exit
   12093   -V, --version    print version number and configuration settings, then exit
   12094       --config     print configuration, then exit
   12095   -q, --quiet, --silent
   12096                    do not print progress messages
   12097   -d, --debug      don't remove temporary files
   12098       --recheck    update $as_me by reconfiguring in the same conditions
   12099       --file=FILE[:TEMPLATE]
   12100                    instantiate the configuration file FILE
   12101       --header=FILE[:TEMPLATE]
   12102                    instantiate the configuration header FILE
   12103 
   12104 Configuration files:
   12105 $config_files
   12106 
   12107 Configuration headers:
   12108 $config_headers
   12109 
   12110 Configuration commands:
   12111 $config_commands
   12112 
   12113 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xlogo/-/issues>."
   12114 
   12115 _ACEOF
   12116 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12117 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12118 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12119 ac_cs_config='$ac_cs_config_escaped'
   12120 ac_cs_version="\\
   12121 xlogo config.status 1.0.6
   12122 configured by $0, generated by GNU Autoconf 2.71,
   12123   with options \\"\$ac_cs_config\\"
   12124 
   12125 Copyright (C) 2021 Free Software Foundation, Inc.
   12126 This config.status script is free software; the Free Software Foundation
   12127 gives unlimited permission to copy, distribute and modify it."
   12128 
   12129 ac_pwd='$ac_pwd'
   12130 srcdir='$srcdir'
   12131 INSTALL='$INSTALL'
   12132 MKDIR_P='$MKDIR_P'
   12133 AWK='$AWK'
   12134 test -n "\$AWK" || AWK=awk
   12135 _ACEOF
   12136 
   12137 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12138 # The default lists apply if the user does not specify any file.
   12139 ac_need_defaults=:
   12140 while test $# != 0
   12141 do
   12142   case $1 in
   12143   --*=?*)
   12144     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12145     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12146     ac_shift=:
   12147     ;;
   12148   --*=)
   12149     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12150     ac_optarg=
   12151     ac_shift=:
   12152     ;;
   12153   *)
   12154     ac_option=$1
   12155     ac_optarg=$2
   12156     ac_shift=shift
   12157     ;;
   12158   esac
   12159 
   12160   case $ac_option in
   12161   # Handling of the options.
   12162   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12163     ac_cs_recheck=: ;;
   12164   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12165     printf "%s\n" "$ac_cs_version"; exit ;;
   12166   --config | --confi | --conf | --con | --co | --c )
   12167     printf "%s\n" "$ac_cs_config"; exit ;;
   12168   --debug | --debu | --deb | --de | --d | -d )
   12169     debug=: ;;
   12170   --file | --fil | --fi | --f )
   12171     $ac_shift
   12172     case $ac_optarg in
   12173     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12174     '') as_fn_error $? "missing file argument" ;;
   12175     esac
   12176     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12177     ac_need_defaults=false;;
   12178   --header | --heade | --head | --hea )
   12179     $ac_shift
   12180     case $ac_optarg in
   12181     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12182     esac
   12183     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12184     ac_need_defaults=false;;
   12185   --he | --h)
   12186     # Conflict between --help and --header
   12187     as_fn_error $? "ambiguous option: \`$1'
   12188 Try \`$0 --help' for more information.";;
   12189   --help | --hel | -h )
   12190     printf "%s\n" "$ac_cs_usage"; exit ;;
   12191   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12192   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12193     ac_cs_silent=: ;;
   12194 
   12195   # This is an error.
   12196   -*) as_fn_error $? "unrecognized option: \`$1'
   12197 Try \`$0 --help' for more information." ;;
   12198 
   12199   *) as_fn_append ac_config_targets " $1"
   12200      ac_need_defaults=false ;;
   12201 
   12202   esac
   12203   shift
   12204 done
   12205 
   12206 ac_configure_extra_args=
   12207 
   12208 if $ac_cs_silent; then
   12209   exec 6>/dev/null
   12210   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12211 fi
   12212 
   12213 _ACEOF
   12214 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12215 if \$ac_cs_recheck; then
   12216   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12217   shift
   12218   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12219   CONFIG_SHELL='$SHELL'
   12220   export CONFIG_SHELL
   12221   exec "\$@"
   12222 fi
   12223 
   12224 _ACEOF
   12225 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12226 exec 5>>config.log
   12227 {
   12228   echo
   12229   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12230 ## Running $as_me. ##
   12231 _ASBOX
   12232   printf "%s\n" "$ac_log"
   12233 } >&5
   12234 
   12235 _ACEOF
   12236 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12237 #
   12238 # INIT-COMMANDS
   12239 #
   12240 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12241 
   12242 _ACEOF
   12243 
   12244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12245 
   12246 # Handling of arguments.
   12247 for ac_config_target in $ac_config_targets
   12248 do
   12249   case $ac_config_target in
   12250     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12251     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12252     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12253     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12254 
   12255   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12256   esac
   12257 done
   12258 
   12259 
   12260 # If the user did not use the arguments to specify the items to instantiate,
   12261 # then the envvar interface is used.  Set only those that are not.
   12262 # We use the long form for the default assignment because of an extremely
   12263 # bizarre bug on SunOS 4.1.3.
   12264 if $ac_need_defaults; then
   12265   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12266   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12267   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12268 fi
   12269 
   12270 # Have a temporary directory for convenience.  Make it in the build tree
   12271 # simply because there is no reason against having it here, and in addition,
   12272 # creating and moving files from /tmp can sometimes cause problems.
   12273 # Hook for its removal unless debugging.
   12274 # Note that there is a small window in which the directory will not be cleaned:
   12275 # after its creation but before its name has been assigned to `$tmp'.
   12276 $debug ||
   12277 {
   12278   tmp= ac_tmp=
   12279   trap 'exit_status=$?
   12280   : "${ac_tmp:=$tmp}"
   12281   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12282 ' 0
   12283   trap 'as_fn_exit 1' 1 2 13 15
   12284 }
   12285 # Create a (secure) tmp directory for tmp files.
   12286 
   12287 {
   12288   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12289   test -d "$tmp"
   12290 }  ||
   12291 {
   12292   tmp=./conf$$-$RANDOM
   12293   (umask 077 && mkdir "$tmp")
   12294 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12295 ac_tmp=$tmp
   12296 
   12297 # Set up the scripts for CONFIG_FILES section.
   12298 # No need to generate them if there are no CONFIG_FILES.
   12299 # This happens for instance with `./config.status config.h'.
   12300 if test -n "$CONFIG_FILES"; then
   12301 
   12302 
   12303 ac_cr=`echo X | tr X '\015'`
   12304 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12305 # But we know of no other shell where ac_cr would be empty at this
   12306 # point, so we can use a bashism as a fallback.
   12307 if test "x$ac_cr" = x; then
   12308   eval ac_cr=\$\'\\r\'
   12309 fi
   12310 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12311 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12312   ac_cs_awk_cr='\\r'
   12313 else
   12314   ac_cs_awk_cr=$ac_cr
   12315 fi
   12316 
   12317 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12318 _ACEOF
   12319 
   12320 
   12321 {
   12322   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12323   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12324   echo "_ACEOF"
   12325 } >conf$$subs.sh ||
   12326   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12327 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12328 ac_delim='%!_!# '
   12329 for ac_last_try in false false false false false :; do
   12330   . ./conf$$subs.sh ||
   12331     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12332 
   12333   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12334   if test $ac_delim_n = $ac_delim_num; then
   12335     break
   12336   elif $ac_last_try; then
   12337     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12338   else
   12339     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12340   fi
   12341 done
   12342 rm -f conf$$subs.sh
   12343 
   12344 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12345 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12346 _ACEOF
   12347 sed -n '
   12348 h
   12349 s/^/S["/; s/!.*/"]=/
   12350 p
   12351 g
   12352 s/^[^!]*!//
   12353 :repl
   12354 t repl
   12355 s/'"$ac_delim"'$//
   12356 t delim
   12357 :nl
   12358 h
   12359 s/\(.\{148\}\)..*/\1/
   12360 t more1
   12361 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12362 p
   12363 n
   12364 b repl
   12365 :more1
   12366 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12367 p
   12368 g
   12369 s/.\{148\}//
   12370 t nl
   12371 :delim
   12372 h
   12373 s/\(.\{148\}\)..*/\1/
   12374 t more2
   12375 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12376 p
   12377 b
   12378 :more2
   12379 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12380 p
   12381 g
   12382 s/.\{148\}//
   12383 t delim
   12384 ' <conf$$subs.awk | sed '
   12385 /^[^""]/{
   12386   N
   12387   s/\n//
   12388 }
   12389 ' >>$CONFIG_STATUS || ac_write_fail=1
   12390 rm -f conf$$subs.awk
   12391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12392 _ACAWK
   12393 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12394   for (key in S) S_is_set[key] = 1
   12395   FS = ""
   12396 
   12397 }
   12398 {
   12399   line = $ 0
   12400   nfields = split(line, field, "@")
   12401   substed = 0
   12402   len = length(field[1])
   12403   for (i = 2; i < nfields; i++) {
   12404     key = field[i]
   12405     keylen = length(key)
   12406     if (S_is_set[key]) {
   12407       value = S[key]
   12408       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12409       len += length(value) + length(field[++i])
   12410       substed = 1
   12411     } else
   12412       len += 1 + keylen
   12413   }
   12414 
   12415   print line
   12416 }
   12417 
   12418 _ACAWK
   12419 _ACEOF
   12420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12421 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12422   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12423 else
   12424   cat
   12425 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12426   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12427 _ACEOF
   12428 
   12429 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12430 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12431 # trailing colons and then remove the whole line if VPATH becomes empty
   12432 # (actually we leave an empty line to preserve line numbers).
   12433 if test "x$srcdir" = x.; then
   12434   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12435 h
   12436 s///
   12437 s/^/:/
   12438 s/[	 ]*$/:/
   12439 s/:\$(srcdir):/:/g
   12440 s/:\${srcdir}:/:/g
   12441 s/:@srcdir@:/:/g
   12442 s/^:*//
   12443 s/:*$//
   12444 x
   12445 s/\(=[	 ]*\).*/\1/
   12446 G
   12447 s/\n//
   12448 s/^[^=]*=[	 ]*$//
   12449 }'
   12450 fi
   12451 
   12452 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12453 fi # test -n "$CONFIG_FILES"
   12454 
   12455 # Set up the scripts for CONFIG_HEADERS section.
   12456 # No need to generate them if there are no CONFIG_HEADERS.
   12457 # This happens for instance with `./config.status Makefile'.
   12458 if test -n "$CONFIG_HEADERS"; then
   12459 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12460 BEGIN {
   12461 _ACEOF
   12462 
   12463 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12464 # here-document in config.status, that substitutes the proper values into
   12465 # config.h.in to produce config.h.
   12466 
   12467 # Create a delimiter string that does not exist in confdefs.h, to ease
   12468 # handling of long lines.
   12469 ac_delim='%!_!# '
   12470 for ac_last_try in false false :; do
   12471   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12472   if test -z "$ac_tt"; then
   12473     break
   12474   elif $ac_last_try; then
   12475     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12476   else
   12477     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12478   fi
   12479 done
   12480 
   12481 # For the awk script, D is an array of macro values keyed by name,
   12482 # likewise P contains macro parameters if any.  Preserve backslash
   12483 # newline sequences.
   12484 
   12485 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12486 sed -n '
   12487 s/.\{148\}/&'"$ac_delim"'/g
   12488 t rset
   12489 :rset
   12490 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12491 t def
   12492 d
   12493 :def
   12494 s/\\$//
   12495 t bsnl
   12496 s/["\\]/\\&/g
   12497 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12498 D["\1"]=" \3"/p
   12499 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12500 d
   12501 :bsnl
   12502 s/["\\]/\\&/g
   12503 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12504 D["\1"]=" \3\\\\\\n"\\/p
   12505 t cont
   12506 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12507 t cont
   12508 d
   12509 :cont
   12510 n
   12511 s/.\{148\}/&'"$ac_delim"'/g
   12512 t clear
   12513 :clear
   12514 s/\\$//
   12515 t bsnlc
   12516 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12517 d
   12518 :bsnlc
   12519 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12520 b cont
   12521 ' <confdefs.h | sed '
   12522 s/'"$ac_delim"'/"\\\
   12523 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12524 
   12525 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12526   for (key in D) D_is_set[key] = 1
   12527   FS = ""
   12528 }
   12529 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12530   line = \$ 0
   12531   split(line, arg, " ")
   12532   if (arg[1] == "#") {
   12533     defundef = arg[2]
   12534     mac1 = arg[3]
   12535   } else {
   12536     defundef = substr(arg[1], 2)
   12537     mac1 = arg[2]
   12538   }
   12539   split(mac1, mac2, "(") #)
   12540   macro = mac2[1]
   12541   prefix = substr(line, 1, index(line, defundef) - 1)
   12542   if (D_is_set[macro]) {
   12543     # Preserve the white space surrounding the "#".
   12544     print prefix "define", macro P[macro] D[macro]
   12545     next
   12546   } else {
   12547     # Replace #undef with comments.  This is necessary, for example,
   12548     # in the case of _POSIX_SOURCE, which is predefined and required
   12549     # on some systems where configure will not decide to define it.
   12550     if (defundef == "undef") {
   12551       print "/*", prefix defundef, macro, "*/"
   12552       next
   12553     }
   12554   }
   12555 }
   12556 { print }
   12557 _ACAWK
   12558 _ACEOF
   12559 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12560   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12561 fi # test -n "$CONFIG_HEADERS"
   12562 
   12563 
   12564 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12565 shift
   12566 for ac_tag
   12567 do
   12568   case $ac_tag in
   12569   :[FHLC]) ac_mode=$ac_tag; continue;;
   12570   esac
   12571   case $ac_mode$ac_tag in
   12572   :[FHL]*:*);;
   12573   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12574   :[FH]-) ac_tag=-:-;;
   12575   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12576   esac
   12577   ac_save_IFS=$IFS
   12578   IFS=:
   12579   set x $ac_tag
   12580   IFS=$ac_save_IFS
   12581   shift
   12582   ac_file=$1
   12583   shift
   12584 
   12585   case $ac_mode in
   12586   :L) ac_source=$1;;
   12587   :[FH])
   12588     ac_file_inputs=
   12589     for ac_f
   12590     do
   12591       case $ac_f in
   12592       -) ac_f="$ac_tmp/stdin";;
   12593       *) # Look for the file first in the build tree, then in the source tree
   12594 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12595 	 # because $ac_f cannot contain `:'.
   12596 	 test -f "$ac_f" ||
   12597 	   case $ac_f in
   12598 	   [\\/$]*) false;;
   12599 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12600 	   esac ||
   12601 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12602       esac
   12603       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12604       as_fn_append ac_file_inputs " '$ac_f'"
   12605     done
   12606 
   12607     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12608     # use $as_me), people would be surprised to read:
   12609     #    /* config.h.  Generated by config.status.  */
   12610     configure_input='Generated from '`
   12611 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12612 	`' by configure.'
   12613     if test x"$ac_file" != x-; then
   12614       configure_input="$ac_file.  $configure_input"
   12615       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12616 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   12617     fi
   12618     # Neutralize special characters interpreted by sed in replacement strings.
   12619     case $configure_input in #(
   12620     *\&* | *\|* | *\\* )
   12621        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   12622        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12623     *) ac_sed_conf_input=$configure_input;;
   12624     esac
   12625 
   12626     case $ac_tag in
   12627     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12628       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12629     esac
   12630     ;;
   12631   esac
   12632 
   12633   ac_dir=`$as_dirname -- "$ac_file" ||
   12634 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12635 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12636 	 X"$ac_file" : 'X\(//\)$' \| \
   12637 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12638 printf "%s\n" X"$ac_file" |
   12639     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12640 	    s//\1/
   12641 	    q
   12642 	  }
   12643 	  /^X\(\/\/\)[^/].*/{
   12644 	    s//\1/
   12645 	    q
   12646 	  }
   12647 	  /^X\(\/\/\)$/{
   12648 	    s//\1/
   12649 	    q
   12650 	  }
   12651 	  /^X\(\/\).*/{
   12652 	    s//\1/
   12653 	    q
   12654 	  }
   12655 	  s/.*/./; q'`
   12656   as_dir="$ac_dir"; as_fn_mkdir_p
   12657   ac_builddir=.
   12658 
   12659 case "$ac_dir" in
   12660 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12661 *)
   12662   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   12663   # A ".." for each directory in $ac_dir_suffix.
   12664   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12665   case $ac_top_builddir_sub in
   12666   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12667   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12668   esac ;;
   12669 esac
   12670 ac_abs_top_builddir=$ac_pwd
   12671 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12672 # for backward compatibility:
   12673 ac_top_builddir=$ac_top_build_prefix
   12674 
   12675 case $srcdir in
   12676   .)  # We are building in place.
   12677     ac_srcdir=.
   12678     ac_top_srcdir=$ac_top_builddir_sub
   12679     ac_abs_top_srcdir=$ac_pwd ;;
   12680   [\\/]* | ?:[\\/]* )  # Absolute name.
   12681     ac_srcdir=$srcdir$ac_dir_suffix;
   12682     ac_top_srcdir=$srcdir
   12683     ac_abs_top_srcdir=$srcdir ;;
   12684   *) # Relative name.
   12685     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12686     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12687     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12688 esac
   12689 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12690 
   12691 
   12692   case $ac_mode in
   12693   :F)
   12694   #
   12695   # CONFIG_FILE
   12696   #
   12697 
   12698   case $INSTALL in
   12699   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12700   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12701   esac
   12702   ac_MKDIR_P=$MKDIR_P
   12703   case $MKDIR_P in
   12704   [\\/$]* | ?:[\\/]* ) ;;
   12705   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12706   esac
   12707 _ACEOF
   12708 
   12709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12710 # If the template does not know about datarootdir, expand it.
   12711 # FIXME: This hack should be removed a few years after 2.60.
   12712 ac_datarootdir_hack=; ac_datarootdir_seen=
   12713 ac_sed_dataroot='
   12714 /datarootdir/ {
   12715   p
   12716   q
   12717 }
   12718 /@datadir@/p
   12719 /@docdir@/p
   12720 /@infodir@/p
   12721 /@localedir@/p
   12722 /@mandir@/p'
   12723 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12724 *datarootdir*) ac_datarootdir_seen=yes;;
   12725 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12726   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12727 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12728 _ACEOF
   12729 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12730   ac_datarootdir_hack='
   12731   s&@datadir@&$datadir&g
   12732   s&@docdir@&$docdir&g
   12733   s&@infodir@&$infodir&g
   12734   s&@localedir@&$localedir&g
   12735   s&@mandir@&$mandir&g
   12736   s&\\\${datarootdir}&$datarootdir&g' ;;
   12737 esac
   12738 _ACEOF
   12739 
   12740 # Neutralize VPATH when `$srcdir' = `.'.
   12741 # Shell code in configure.ac might set extrasub.
   12742 # FIXME: do we really want to maintain this feature?
   12743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12744 ac_sed_extra="$ac_vpsub
   12745 $extrasub
   12746 _ACEOF
   12747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12748 :t
   12749 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12750 s|@configure_input@|$ac_sed_conf_input|;t t
   12751 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12752 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12753 s&@srcdir@&$ac_srcdir&;t t
   12754 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12755 s&@top_srcdir@&$ac_top_srcdir&;t t
   12756 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12757 s&@builddir@&$ac_builddir&;t t
   12758 s&@abs_builddir@&$ac_abs_builddir&;t t
   12759 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12760 s&@INSTALL@&$ac_INSTALL&;t t
   12761 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12762 $ac_datarootdir_hack
   12763 "
   12764 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12765   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12766 
   12767 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12768   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12769   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12770       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12771   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12772 which seems to be undefined.  Please make sure it is defined" >&5
   12773 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12774 which seems to be undefined.  Please make sure it is defined" >&2;}
   12775 
   12776   rm -f "$ac_tmp/stdin"
   12777   case $ac_file in
   12778   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12779   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12780   esac \
   12781   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12782  ;;
   12783   :H)
   12784   #
   12785   # CONFIG_HEADER
   12786   #
   12787   if test x"$ac_file" != x-; then
   12788     {
   12789       printf "%s\n" "/* $configure_input  */" >&1 \
   12790       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12791     } >"$ac_tmp/config.h" \
   12792       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12793     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12794       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12795 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   12796     else
   12797       rm -f "$ac_file"
   12798       mv "$ac_tmp/config.h" "$ac_file" \
   12799 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12800     fi
   12801   else
   12802     printf "%s\n" "/* $configure_input  */" >&1 \
   12803       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12804       || as_fn_error $? "could not create -" "$LINENO" 5
   12805   fi
   12806 # Compute "$ac_file"'s index in $config_headers.
   12807 _am_arg="$ac_file"
   12808 _am_stamp_count=1
   12809 for _am_header in $config_headers :; do
   12810   case $_am_header in
   12811     $_am_arg | $_am_arg:* )
   12812       break ;;
   12813     * )
   12814       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12815   esac
   12816 done
   12817 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12818 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12819 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12820 	 X"$_am_arg" : 'X\(//\)$' \| \
   12821 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12822 printf "%s\n" X"$_am_arg" |
   12823     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12824 	    s//\1/
   12825 	    q
   12826 	  }
   12827 	  /^X\(\/\/\)[^/].*/{
   12828 	    s//\1/
   12829 	    q
   12830 	  }
   12831 	  /^X\(\/\/\)$/{
   12832 	    s//\1/
   12833 	    q
   12834 	  }
   12835 	  /^X\(\/\).*/{
   12836 	    s//\1/
   12837 	    q
   12838 	  }
   12839 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12840  ;;
   12841 
   12842   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12843 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   12844  ;;
   12845   esac
   12846 
   12847 
   12848   case $ac_file$ac_mode in
   12849     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12850   # Older Autoconf quotes --file arguments for eval, but not when files
   12851   # are listed without --file.  Let's play safe and only enable the eval
   12852   # if we detect the quoting.
   12853   # TODO: see whether this extra hack can be removed once we start
   12854   # requiring Autoconf 2.70 or later.
   12855   case $CONFIG_FILES in #(
   12856   *\'*) :
   12857     eval set x "$CONFIG_FILES" ;; #(
   12858   *) :
   12859     set x $CONFIG_FILES ;; #(
   12860   *) :
   12861      ;;
   12862 esac
   12863   shift
   12864   # Used to flag and report bootstrapping failures.
   12865   am_rc=0
   12866   for am_mf
   12867   do
   12868     # Strip MF so we end up with the name of the file.
   12869     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   12870     # Check whether this is an Automake generated Makefile which includes
   12871     # dependency-tracking related rules and includes.
   12872     # Grep'ing the whole file directly is not great: AIX grep has a line
   12873     # limit of 2048, but all sed's we know have understand at least 4000.
   12874     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   12875       || continue
   12876     am_dirpart=`$as_dirname -- "$am_mf" ||
   12877 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12878 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   12879 	 X"$am_mf" : 'X\(//\)$' \| \
   12880 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12881 printf "%s\n" X"$am_mf" |
   12882     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12883 	    s//\1/
   12884 	    q
   12885 	  }
   12886 	  /^X\(\/\/\)[^/].*/{
   12887 	    s//\1/
   12888 	    q
   12889 	  }
   12890 	  /^X\(\/\/\)$/{
   12891 	    s//\1/
   12892 	    q
   12893 	  }
   12894 	  /^X\(\/\).*/{
   12895 	    s//\1/
   12896 	    q
   12897 	  }
   12898 	  s/.*/./; q'`
   12899     am_filepart=`$as_basename -- "$am_mf" ||
   12900 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   12901 	 X"$am_mf" : 'X\(//\)$' \| \
   12902 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12903 printf "%s\n" X/"$am_mf" |
   12904     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12905 	    s//\1/
   12906 	    q
   12907 	  }
   12908 	  /^X\/\(\/\/\)$/{
   12909 	    s//\1/
   12910 	    q
   12911 	  }
   12912 	  /^X\/\(\/\).*/{
   12913 	    s//\1/
   12914 	    q
   12915 	  }
   12916 	  s/.*/./; q'`
   12917     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   12918       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12919         | $MAKE -f - am--depfiles" >&5
   12920    (cd "$am_dirpart" \
   12921       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12922         | $MAKE -f - am--depfiles) >&5 2>&5
   12923    ac_status=$?
   12924    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12925    (exit $ac_status); } || am_rc=$?
   12926   done
   12927   if test $am_rc -ne 0; then
   12928     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12929 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12930 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   12931     for automatic dependency tracking.  If GNU make was not used, consider
   12932     re-running the configure script with MAKE=\"gmake\" (or whatever is
   12933     necessary).  You can also try re-running configure with the
   12934     '--disable-dependency-tracking' option to at least be able to build
   12935     the package (albeit without support for automatic dependency tracking).
   12936 See \`config.log' for more details" "$LINENO" 5; }
   12937   fi
   12938   { am_dirpart=; unset am_dirpart;}
   12939   { am_filepart=; unset am_filepart;}
   12940   { am_mf=; unset am_mf;}
   12941   { am_rc=; unset am_rc;}
   12942   rm -f conftest-deps.mk
   12943 }
   12944  ;;
   12945 
   12946   esac
   12947 done # for ac_tag
   12948 
   12949 
   12950 as_fn_exit 0
   12951 _ACEOF
   12952 ac_clean_files=$ac_clean_files_save
   12953 
   12954 test $ac_write_fail = 0 ||
   12955   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12956 
   12957 
   12958 # configure is writing to config.log, and then calls config.status.
   12959 # config.status does its own redirection, appending to config.log.
   12960 # Unfortunately, on DOS this fails, as config.log is still kept open
   12961 # by configure, so config.status won't be able to write to it; its
   12962 # output is simply discarded.  So we exec the FD to /dev/null,
   12963 # effectively closing config.log, so it can be properly (re)opened and
   12964 # appended to by config.status.  When coming back to configure, we
   12965 # need to make the FD available again.
   12966 if test "$no_create" != yes; then
   12967   ac_cs_success=:
   12968   ac_config_status_args=
   12969   test "$silent" = yes &&
   12970     ac_config_status_args="$ac_config_status_args --quiet"
   12971   exec 5>/dev/null
   12972   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12973   exec 5>>config.log
   12974   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12975   # would make configure fail if this is the last instruction.
   12976   $ac_cs_success || as_fn_exit 1
   12977 fi
   12978 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12979   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12980 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12981 fi
   12982 
   12983 
   12984