Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for xfd 1.1.5.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xfd/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     21 then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else case e in #(
     29   e) case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as 'sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed 'exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    144 then :
    145   emulate sh
    146   NULLCMD=:
    147   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    148   # is contrary to our usage.  Disable this feature.
    149   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    150   setopt NO_GLOB_SUBST
    151 else case e in #(
    152   e) case \`(set -o) 2>/dev/null\` in #(
    153   *posix*) :
    154     set -o posix ;; #(
    155   *) :
    156      ;;
    157 esac ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else case e in #(
    176   e) exitcode=1; echo positional parameters were not saved. ;;
    177 esac
    178 fi
    179 test x\$exitcode = x0 || exit 1
    180 blah=\$(echo \$(echo blah))
    181 test x\"\$blah\" = xblah || exit 1
    182 test -x / || exit 1"
    183   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    184   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    185   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    186   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    187 test \$(( 1 + 1 )) = 2 || exit 1"
    188   if (eval "$as_required") 2>/dev/null
    189 then :
    190   as_have_required=yes
    191 else case e in #(
    192   e) as_have_required=no ;;
    193 esac
    194 fi
    195   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    196 then :
    197 
    198 else case e in #(
    199   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    200 as_found=false
    201 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    202 do
    203   IFS=$as_save_IFS
    204   case $as_dir in #(((
    205     '') as_dir=./ ;;
    206     */) ;;
    207     *) as_dir=$as_dir/ ;;
    208   esac
    209   as_found=:
    210   case $as_dir in #(
    211 	 /*)
    212 	   for as_base in sh bash ksh sh5; do
    213 	     # Try only shells that exist, to save several forks.
    214 	     as_shell=$as_dir$as_base
    215 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    216 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    217 then :
    218   CONFIG_SHELL=$as_shell as_have_required=yes
    219 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    220 then :
    221   break 2
    222 fi
    223 fi
    224 	   done;;
    225        esac
    226   as_found=false
    227 done
    228 IFS=$as_save_IFS
    229 if $as_found
    230 then :
    231 
    232 else case e in #(
    233   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    235 then :
    236   CONFIG_SHELL=$SHELL as_have_required=yes
    237 fi ;;
    238 esac
    239 fi
    240 
    241 
    242       if test "x$CONFIG_SHELL" != x
    243 then :
    244   export CONFIG_SHELL
    245              # We cannot yet assume a decent shell, so we have to provide a
    246 # neutralization value for shells without unset; and this also
    247 # works around shells that cannot unset nonexistent variables.
    248 # Preserve -v and -x to the replacement shell.
    249 BASH_ENV=/dev/null
    250 ENV=/dev/null
    251 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    252 case $- in # ((((
    253   *v*x* | *x*v* ) as_opts=-vx ;;
    254   *v* ) as_opts=-v ;;
    255   *x* ) as_opts=-x ;;
    256   * ) as_opts= ;;
    257 esac
    258 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    259 # Admittedly, this is quite paranoid, since all the known shells bail
    260 # out after a failed 'exec'.
    261 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    262 exit 255
    263 fi
    264 
    265     if test x$as_have_required = xno
    266 then :
    267   printf "%s\n" "$0: This script requires a shell more modern than all"
    268   printf "%s\n" "$0: the shells that I found on your system."
    269   if test ${ZSH_VERSION+y} ; then
    270     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    271     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    272   else
    273     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    274 $0: https://gitlab.freedesktop.org/xorg/app/xfd/-/issues
    275 $0: about your system, including any error possibly output
    276 $0: before this message. Then install a modern shell, or
    277 $0: manually run the script under such a shell if you do
    278 $0: have one."
    279   fi
    280   exit 1
    281 fi ;;
    282 esac
    283 fi
    284 fi
    285 SHELL=${CONFIG_SHELL-/bin/sh}
    286 export SHELL
    287 # Unset more variables known to interfere with behavior of common tools.
    288 CLICOLOR_FORCE= GREP_OPTIONS=
    289 unset CLICOLOR_FORCE GREP_OPTIONS
    290 
    291 ## --------------------- ##
    292 ## M4sh Shell Functions. ##
    293 ## --------------------- ##
    294 # as_fn_unset VAR
    295 # ---------------
    296 # Portably unset VAR.
    297 as_fn_unset ()
    298 {
    299   { eval $1=; unset $1;}
    300 }
    301 as_unset=as_fn_unset
    302 
    303 
    304 # as_fn_set_status STATUS
    305 # -----------------------
    306 # Set $? to STATUS, without forking.
    307 as_fn_set_status ()
    308 {
    309   return $1
    310 } # as_fn_set_status
    311 
    312 # as_fn_exit STATUS
    313 # -----------------
    314 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    315 as_fn_exit ()
    316 {
    317   set +e
    318   as_fn_set_status $1
    319   exit $1
    320 } # as_fn_exit
    321 
    322 # as_fn_mkdir_p
    323 # -------------
    324 # Create "$as_dir" as a directory, including parents if necessary.
    325 as_fn_mkdir_p ()
    326 {
    327 
    328   case $as_dir in #(
    329   -*) as_dir=./$as_dir;;
    330   esac
    331   test -d "$as_dir" || eval $as_mkdir_p || {
    332     as_dirs=
    333     while :; do
    334       case $as_dir in #(
    335       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    336       *) as_qdir=$as_dir;;
    337       esac
    338       as_dirs="'$as_qdir' $as_dirs"
    339       as_dir=`$as_dirname -- "$as_dir" ||
    340 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    341 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    342 	 X"$as_dir" : 'X\(//\)$' \| \
    343 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    344 printf "%s\n" X"$as_dir" |
    345     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    346 	    s//\1/
    347 	    q
    348 	  }
    349 	  /^X\(\/\/\)[^/].*/{
    350 	    s//\1/
    351 	    q
    352 	  }
    353 	  /^X\(\/\/\)$/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\).*/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  s/.*/./; q'`
    362       test -d "$as_dir" && break
    363     done
    364     test -z "$as_dirs" || eval "mkdir $as_dirs"
    365   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    366 
    367 
    368 } # as_fn_mkdir_p
    369 
    370 # as_fn_executable_p FILE
    371 # -----------------------
    372 # Test if FILE is an executable regular file.
    373 as_fn_executable_p ()
    374 {
    375   test -f "$1" && test -x "$1"
    376 } # as_fn_executable_p
    377 # as_fn_append VAR VALUE
    378 # ----------------------
    379 # Append the text in VALUE to the end of the definition contained in VAR. Take
    380 # advantage of any shell optimizations that allow amortized linear growth over
    381 # repeated appends, instead of the typical quadratic growth present in naive
    382 # implementations.
    383 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    384 then :
    385   eval 'as_fn_append ()
    386   {
    387     eval $1+=\$2
    388   }'
    389 else case e in #(
    390   e) as_fn_append ()
    391   {
    392     eval $1=\$$1\$2
    393   } ;;
    394 esac
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    403 then :
    404   eval 'as_fn_arith ()
    405   {
    406     as_val=$(( $* ))
    407   }'
    408 else case e in #(
    409   e) as_fn_arith ()
    410   {
    411     as_val=`expr "$@" || test $? -eq 1`
    412   } ;;
    413 esac
    414 fi # as_fn_arith
    415 
    416 
    417 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    418 # ----------------------------------------
    419 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    420 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    421 # script with STATUS, using 1 if that was 0.
    422 as_fn_error ()
    423 {
    424   as_status=$1; test $as_status -eq 0 && as_status=1
    425   if test "$4"; then
    426     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    427     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    428   fi
    429   printf "%s\n" "$as_me: error: $2" >&2
    430   as_fn_exit $as_status
    431 } # as_fn_error
    432 
    433 if expr a : '\(a\)' >/dev/null 2>&1 &&
    434    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    435   as_expr=expr
    436 else
    437   as_expr=false
    438 fi
    439 
    440 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    441   as_basename=basename
    442 else
    443   as_basename=false
    444 fi
    445 
    446 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    447   as_dirname=dirname
    448 else
    449   as_dirname=false
    450 fi
    451 
    452 as_me=`$as_basename -- "$0" ||
    453 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    454 	 X"$0" : 'X\(//\)$' \| \
    455 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    456 printf "%s\n" X/"$0" |
    457     sed '/^.*\/\([^/][^/]*\)\/*$/{
    458 	    s//\1/
    459 	    q
    460 	  }
    461 	  /^X\/\(\/\/\)$/{
    462 	    s//\1/
    463 	    q
    464 	  }
    465 	  /^X\/\(\/\).*/{
    466 	    s//\1/
    467 	    q
    468 	  }
    469 	  s/.*/./; q'`
    470 
    471 # Avoid depending upon Character Ranges.
    472 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    473 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    474 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    475 as_cr_digits='0123456789'
    476 as_cr_alnum=$as_cr_Letters$as_cr_digits
    477 
    478 
    479   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    480   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    481   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    482   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    483   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    484   sed -n '
    485     p
    486     /[$]LINENO/=
    487   ' <$as_myself |
    488     sed '
    489       t clear
    490       :clear
    491       s/[$]LINENO.*/&-/
    492       t lineno
    493       b
    494       :lineno
    495       N
    496       :loop
    497       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    498       t loop
    499       s/-\n.*//
    500     ' >$as_me.lineno &&
    501   chmod +x "$as_me.lineno" ||
    502     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    503 
    504   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    505   # already done that, so ensure we don't try to do so again and fall
    506   # in an infinite loop.  This has already happened in practice.
    507   _as_can_reexec=no; export _as_can_reexec
    508   # Don't try to exec as it changes $[0], causing all sort of problems
    509   # (the dirname of $[0] is not the place where we might find the
    510   # original and so on.  Autoconf is especially sensitive to this).
    511   . "./$as_me.lineno"
    512   # Exit status is that of the last command.
    513   exit
    514 }
    515 
    516 
    517 # Determine whether it's possible to make 'echo' print without a newline.
    518 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    519 # for compatibility with existing Makefiles.
    520 ECHO_C= ECHO_N= ECHO_T=
    521 case `echo -n x` in #(((((
    522 -n*)
    523   case `echo 'xy\c'` in
    524   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    525   xy)  ECHO_C='\c';;
    526   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    527        ECHO_T='	';;
    528   esac;;
    529 *)
    530   ECHO_N='-n';;
    531 esac
    532 
    533 # For backward compatibility with old third-party macros, we provide
    534 # the shell variables $as_echo and $as_echo_n.  New code should use
    535 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    536 as_echo='printf %s\n'
    537 as_echo_n='printf %s'
    538 
    539 rm -f conf$$ conf$$.exe conf$$.file
    540 if test -d conf$$.dir; then
    541   rm -f conf$$.dir/conf$$.file
    542 else
    543   rm -f conf$$.dir
    544   mkdir conf$$.dir 2>/dev/null
    545 fi
    546 if (echo >conf$$.file) 2>/dev/null; then
    547   if ln -s conf$$.file conf$$ 2>/dev/null; then
    548     as_ln_s='ln -s'
    549     # ... but there are two gotchas:
    550     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    551     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    552     # In both cases, we have to default to 'cp -pR'.
    553     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    554       as_ln_s='cp -pR'
    555   elif ln conf$$.file conf$$ 2>/dev/null; then
    556     as_ln_s=ln
    557   else
    558     as_ln_s='cp -pR'
    559   fi
    560 else
    561   as_ln_s='cp -pR'
    562 fi
    563 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    564 rmdir conf$$.dir 2>/dev/null
    565 
    566 if mkdir -p . 2>/dev/null; then
    567   as_mkdir_p='mkdir -p "$as_dir"'
    568 else
    569   test -d ./-p && rmdir ./-p
    570   as_mkdir_p=false
    571 fi
    572 
    573 as_test_x='test -x'
    574 as_executable_p=as_fn_executable_p
    575 
    576 # Sed expression to map a string onto a valid CPP name.
    577 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    578 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    579 
    580 # Sed expression to map a string onto a valid variable name.
    581 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    582 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    583 
    584 
    585 test -n "$DJDIR" || exec 7<&0 </dev/null
    586 exec 6>&1
    587 
    588 # Name of the host.
    589 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    590 # so uname gets run too.
    591 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    592 
    593 #
    594 # Initializations.
    595 #
    596 ac_default_prefix=/usr/local
    597 ac_clean_files=
    598 ac_config_libobj_dir=.
    599 LIBOBJS=
    600 cross_compiling=no
    601 subdirs=
    602 MFLAGS=
    603 MAKEFLAGS=
    604 
    605 # Identity of this package.
    606 PACKAGE_NAME='xfd'
    607 PACKAGE_TARNAME='xfd'
    608 PACKAGE_VERSION='1.1.5'
    609 PACKAGE_STRING='xfd 1.1.5'
    610 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xfd/-/issues'
    611 PACKAGE_URL=''
    612 
    613 ac_unique_file="Makefile.am"
    614 # Factoring default headers for most tests.
    615 ac_includes_default="\
    616 #include <stddef.h>
    617 #ifdef HAVE_STDIO_H
    618 # include <stdio.h>
    619 #endif
    620 #ifdef HAVE_STDLIB_H
    621 # include <stdlib.h>
    622 #endif
    623 #ifdef HAVE_STRING_H
    624 # include <string.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_STRINGS_H
    633 # include <strings.h>
    634 #endif
    635 #ifdef HAVE_SYS_TYPES_H
    636 # include <sys/types.h>
    637 #endif
    638 #ifdef HAVE_SYS_STAT_H
    639 # include <sys/stat.h>
    640 #endif
    641 #ifdef HAVE_UNISTD_H
    642 # include <unistd.h>
    643 #endif"
    644 
    645 ac_header_c_list=
    646 ac_subst_vars='am__EXEEXT_FALSE
    647 am__EXEEXT_TRUE
    648 LTLIBOBJS
    649 LIBOBJS
    650 appdefaultdir
    651 APPDEFS_LIBS
    652 APPDEFS_CFLAGS
    653 XFD_LIBS
    654 XFD_CFLAGS
    655 USE_GETTEXT_FALSE
    656 USE_GETTEXT_TRUE
    657 LOCALEDIR
    658 MAN_SUBSTS
    659 XORG_MAN_PAGE
    660 ADMIN_MAN_DIR
    661 DRIVER_MAN_DIR
    662 MISC_MAN_DIR
    663 FILE_MAN_DIR
    664 LIB_MAN_DIR
    665 APP_MAN_DIR
    666 ADMIN_MAN_SUFFIX
    667 DRIVER_MAN_SUFFIX
    668 MISC_MAN_SUFFIX
    669 FILE_MAN_SUFFIX
    670 LIB_MAN_SUFFIX
    671 APP_MAN_SUFFIX
    672 SED
    673 host_os
    674 host_vendor
    675 host_cpu
    676 host
    677 build_os
    678 build_vendor
    679 build_cpu
    680 build
    681 INSTALL_CMD
    682 PKG_CONFIG_LIBDIR
    683 PKG_CONFIG_PATH
    684 PKG_CONFIG
    685 CHANGELOG_CMD
    686 STRICT_CFLAGS
    687 CWARNFLAGS
    688 BASE_CFLAGS
    689 am__fastdepCC_FALSE
    690 am__fastdepCC_TRUE
    691 CCDEPMODE
    692 am__nodep
    693 AMDEPBACKSLASH
    694 AMDEP_FALSE
    695 AMDEP_TRUE
    696 am__include
    697 DEPDIR
    698 OBJEXT
    699 EXEEXT
    700 ac_ct_CC
    701 CPPFLAGS
    702 LDFLAGS
    703 CFLAGS
    704 CC
    705 am__xargs_n
    706 am__rm_f_notfound
    707 AM_BACKSLASH
    708 AM_DEFAULT_VERBOSITY
    709 AM_DEFAULT_V
    710 AM_V
    711 CSCOPE
    712 ETAGS
    713 CTAGS
    714 am__untar
    715 am__tar
    716 AMTAR
    717 am__leading_dot
    718 SET_MAKE
    719 AWK
    720 mkdir_p
    721 MKDIR_P
    722 INSTALL_STRIP_PROGRAM
    723 STRIP
    724 install_sh
    725 MAKEINFO
    726 AUTOHEADER
    727 AUTOMAKE
    728 AUTOCONF
    729 ACLOCAL
    730 VERSION
    731 PACKAGE
    732 CYGPATH_W
    733 am__isrc
    734 INSTALL_DATA
    735 INSTALL_SCRIPT
    736 INSTALL_PROGRAM
    737 target_alias
    738 host_alias
    739 build_alias
    740 LIBS
    741 ECHO_T
    742 ECHO_N
    743 ECHO_C
    744 DEFS
    745 mandir
    746 localedir
    747 libdir
    748 psdir
    749 pdfdir
    750 dvidir
    751 htmldir
    752 infodir
    753 docdir
    754 oldincludedir
    755 includedir
    756 runstatedir
    757 localstatedir
    758 sharedstatedir
    759 sysconfdir
    760 datadir
    761 datarootdir
    762 libexecdir
    763 sbindir
    764 bindir
    765 program_transform_name
    766 prefix
    767 exec_prefix
    768 PACKAGE_URL
    769 PACKAGE_BUGREPORT
    770 PACKAGE_STRING
    771 PACKAGE_VERSION
    772 PACKAGE_TARNAME
    773 PACKAGE_NAME
    774 PATH_SEPARATOR
    775 SHELL
    776 am__quote'
    777 ac_subst_files=''
    778 ac_user_opts='
    779 enable_option_checking
    780 enable_silent_rules
    781 enable_dependency_tracking
    782 enable_selective_werror
    783 enable_strict_compilation
    784 with_localedir
    785 with_xkb
    786 with_appdefaultdir
    787 '
    788       ac_precious_vars='build_alias
    789 host_alias
    790 target_alias
    791 CC
    792 CFLAGS
    793 LDFLAGS
    794 LIBS
    795 CPPFLAGS
    796 PKG_CONFIG
    797 PKG_CONFIG_PATH
    798 PKG_CONFIG_LIBDIR
    799 XFD_CFLAGS
    800 XFD_LIBS
    801 APPDEFS_CFLAGS
    802 APPDEFS_LIBS'
    803 
    804 
    805 # Initialize some variables set by options.
    806 ac_init_help=
    807 ac_init_version=false
    808 ac_unrecognized_opts=
    809 ac_unrecognized_sep=
    810 # The variables have the same names as the options, with
    811 # dashes changed to underlines.
    812 cache_file=/dev/null
    813 exec_prefix=NONE
    814 no_create=
    815 no_recursion=
    816 prefix=NONE
    817 program_prefix=NONE
    818 program_suffix=NONE
    819 program_transform_name=s,x,x,
    820 silent=
    821 site=
    822 srcdir=
    823 verbose=
    824 x_includes=NONE
    825 x_libraries=NONE
    826 
    827 # Installation directory options.
    828 # These are left unexpanded so users can "make install exec_prefix=/foo"
    829 # and all the variables that are supposed to be based on exec_prefix
    830 # by default will actually change.
    831 # Use braces instead of parens because sh, perl, etc. also accept them.
    832 # (The list follows the same order as the GNU Coding Standards.)
    833 bindir='${exec_prefix}/bin'
    834 sbindir='${exec_prefix}/sbin'
    835 libexecdir='${exec_prefix}/libexec'
    836 datarootdir='${prefix}/share'
    837 datadir='${datarootdir}'
    838 sysconfdir='${prefix}/etc'
    839 sharedstatedir='${prefix}/com'
    840 localstatedir='${prefix}/var'
    841 runstatedir='${localstatedir}/run'
    842 includedir='${prefix}/include'
    843 oldincludedir='/usr/include'
    844 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    845 infodir='${datarootdir}/info'
    846 htmldir='${docdir}'
    847 dvidir='${docdir}'
    848 pdfdir='${docdir}'
    849 psdir='${docdir}'
    850 libdir='${exec_prefix}/lib'
    851 localedir='${datarootdir}/locale'
    852 mandir='${datarootdir}/man'
    853 
    854 ac_prev=
    855 ac_dashdash=
    856 for ac_option
    857 do
    858   # If the previous option needs an argument, assign it.
    859   if test -n "$ac_prev"; then
    860     eval $ac_prev=\$ac_option
    861     ac_prev=
    862     continue
    863   fi
    864 
    865   case $ac_option in
    866   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    867   *=)   ac_optarg= ;;
    868   *)    ac_optarg=yes ;;
    869   esac
    870 
    871   case $ac_dashdash$ac_option in
    872   --)
    873     ac_dashdash=yes ;;
    874 
    875   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    876     ac_prev=bindir ;;
    877   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    878     bindir=$ac_optarg ;;
    879 
    880   -build | --build | --buil | --bui | --bu)
    881     ac_prev=build_alias ;;
    882   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    883     build_alias=$ac_optarg ;;
    884 
    885   -cache-file | --cache-file | --cache-fil | --cache-fi \
    886   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    887     ac_prev=cache_file ;;
    888   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    889   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    890     cache_file=$ac_optarg ;;
    891 
    892   --config-cache | -C)
    893     cache_file=config.cache ;;
    894 
    895   -datadir | --datadir | --datadi | --datad)
    896     ac_prev=datadir ;;
    897   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    898     datadir=$ac_optarg ;;
    899 
    900   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    901   | --dataroo | --dataro | --datar)
    902     ac_prev=datarootdir ;;
    903   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    904   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    905     datarootdir=$ac_optarg ;;
    906 
    907   -disable-* | --disable-*)
    908     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    909     # Reject names that are not valid shell variable names.
    910     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    911       as_fn_error $? "invalid feature name: '$ac_useropt'"
    912     ac_useropt_orig=$ac_useropt
    913     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    914     case $ac_user_opts in
    915       *"
    916 "enable_$ac_useropt"
    917 "*) ;;
    918       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    919 	 ac_unrecognized_sep=', ';;
    920     esac
    921     eval enable_$ac_useropt=no ;;
    922 
    923   -docdir | --docdir | --docdi | --doc | --do)
    924     ac_prev=docdir ;;
    925   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    926     docdir=$ac_optarg ;;
    927 
    928   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    929     ac_prev=dvidir ;;
    930   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    931     dvidir=$ac_optarg ;;
    932 
    933   -enable-* | --enable-*)
    934     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    935     # Reject names that are not valid shell variable names.
    936     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    937       as_fn_error $? "invalid feature name: '$ac_useropt'"
    938     ac_useropt_orig=$ac_useropt
    939     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    940     case $ac_user_opts in
    941       *"
    942 "enable_$ac_useropt"
    943 "*) ;;
    944       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    945 	 ac_unrecognized_sep=', ';;
    946     esac
    947     eval enable_$ac_useropt=\$ac_optarg ;;
    948 
    949   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    950   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    951   | --exec | --exe | --ex)
    952     ac_prev=exec_prefix ;;
    953   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    954   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    955   | --exec=* | --exe=* | --ex=*)
    956     exec_prefix=$ac_optarg ;;
    957 
    958   -gas | --gas | --ga | --g)
    959     # Obsolete; use --with-gas.
    960     with_gas=yes ;;
    961 
    962   -help | --help | --hel | --he | -h)
    963     ac_init_help=long ;;
    964   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    965     ac_init_help=recursive ;;
    966   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    967     ac_init_help=short ;;
    968 
    969   -host | --host | --hos | --ho)
    970     ac_prev=host_alias ;;
    971   -host=* | --host=* | --hos=* | --ho=*)
    972     host_alias=$ac_optarg ;;
    973 
    974   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    975     ac_prev=htmldir ;;
    976   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    977   | --ht=*)
    978     htmldir=$ac_optarg ;;
    979 
    980   -includedir | --includedir | --includedi | --included | --include \
    981   | --includ | --inclu | --incl | --inc)
    982     ac_prev=includedir ;;
    983   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    984   | --includ=* | --inclu=* | --incl=* | --inc=*)
    985     includedir=$ac_optarg ;;
    986 
    987   -infodir | --infodir | --infodi | --infod | --info | --inf)
    988     ac_prev=infodir ;;
    989   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    990     infodir=$ac_optarg ;;
    991 
    992   -libdir | --libdir | --libdi | --libd)
    993     ac_prev=libdir ;;
    994   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    995     libdir=$ac_optarg ;;
    996 
    997   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    998   | --libexe | --libex | --libe)
    999     ac_prev=libexecdir ;;
   1000   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1001   | --libexe=* | --libex=* | --libe=*)
   1002     libexecdir=$ac_optarg ;;
   1003 
   1004   -localedir | --localedir | --localedi | --localed | --locale)
   1005     ac_prev=localedir ;;
   1006   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1007     localedir=$ac_optarg ;;
   1008 
   1009   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1010   | --localstate | --localstat | --localsta | --localst | --locals)
   1011     ac_prev=localstatedir ;;
   1012   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1013   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1014     localstatedir=$ac_optarg ;;
   1015 
   1016   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1017     ac_prev=mandir ;;
   1018   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1019     mandir=$ac_optarg ;;
   1020 
   1021   -nfp | --nfp | --nf)
   1022     # Obsolete; use --without-fp.
   1023     with_fp=no ;;
   1024 
   1025   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1026   | --no-cr | --no-c | -n)
   1027     no_create=yes ;;
   1028 
   1029   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1030   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1031     no_recursion=yes ;;
   1032 
   1033   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1034   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1035   | --oldin | --oldi | --old | --ol | --o)
   1036     ac_prev=oldincludedir ;;
   1037   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1038   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1039   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1040     oldincludedir=$ac_optarg ;;
   1041 
   1042   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1043     ac_prev=prefix ;;
   1044   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1045     prefix=$ac_optarg ;;
   1046 
   1047   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1048   | --program-pre | --program-pr | --program-p)
   1049     ac_prev=program_prefix ;;
   1050   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1051   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1052     program_prefix=$ac_optarg ;;
   1053 
   1054   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1055   | --program-suf | --program-su | --program-s)
   1056     ac_prev=program_suffix ;;
   1057   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1058   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1059     program_suffix=$ac_optarg ;;
   1060 
   1061   -program-transform-name | --program-transform-name \
   1062   | --program-transform-nam | --program-transform-na \
   1063   | --program-transform-n | --program-transform- \
   1064   | --program-transform | --program-transfor \
   1065   | --program-transfo | --program-transf \
   1066   | --program-trans | --program-tran \
   1067   | --progr-tra | --program-tr | --program-t)
   1068     ac_prev=program_transform_name ;;
   1069   -program-transform-name=* | --program-transform-name=* \
   1070   | --program-transform-nam=* | --program-transform-na=* \
   1071   | --program-transform-n=* | --program-transform-=* \
   1072   | --program-transform=* | --program-transfor=* \
   1073   | --program-transfo=* | --program-transf=* \
   1074   | --program-trans=* | --program-tran=* \
   1075   | --progr-tra=* | --program-tr=* | --program-t=*)
   1076     program_transform_name=$ac_optarg ;;
   1077 
   1078   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1079     ac_prev=pdfdir ;;
   1080   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1081     pdfdir=$ac_optarg ;;
   1082 
   1083   -psdir | --psdir | --psdi | --psd | --ps)
   1084     ac_prev=psdir ;;
   1085   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1086     psdir=$ac_optarg ;;
   1087 
   1088   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1089   | -silent | --silent | --silen | --sile | --sil)
   1090     silent=yes ;;
   1091 
   1092   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1093   | --runstate | --runstat | --runsta | --runst | --runs \
   1094   | --run | --ru | --r)
   1095     ac_prev=runstatedir ;;
   1096   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1097   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1098   | --run=* | --ru=* | --r=*)
   1099     runstatedir=$ac_optarg ;;
   1100 
   1101   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1102     ac_prev=sbindir ;;
   1103   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1104   | --sbi=* | --sb=*)
   1105     sbindir=$ac_optarg ;;
   1106 
   1107   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1108   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1109   | --sharedst | --shareds | --shared | --share | --shar \
   1110   | --sha | --sh)
   1111     ac_prev=sharedstatedir ;;
   1112   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1113   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1114   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1115   | --sha=* | --sh=*)
   1116     sharedstatedir=$ac_optarg ;;
   1117 
   1118   -site | --site | --sit)
   1119     ac_prev=site ;;
   1120   -site=* | --site=* | --sit=*)
   1121     site=$ac_optarg ;;
   1122 
   1123   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1124     ac_prev=srcdir ;;
   1125   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1126     srcdir=$ac_optarg ;;
   1127 
   1128   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1129   | --syscon | --sysco | --sysc | --sys | --sy)
   1130     ac_prev=sysconfdir ;;
   1131   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1132   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1133     sysconfdir=$ac_optarg ;;
   1134 
   1135   -target | --target | --targe | --targ | --tar | --ta | --t)
   1136     ac_prev=target_alias ;;
   1137   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1138     target_alias=$ac_optarg ;;
   1139 
   1140   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1141     verbose=yes ;;
   1142 
   1143   -version | --version | --versio | --versi | --vers | -V)
   1144     ac_init_version=: ;;
   1145 
   1146   -with-* | --with-*)
   1147     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1148     # Reject names that are not valid shell variable names.
   1149     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1150       as_fn_error $? "invalid package name: '$ac_useropt'"
   1151     ac_useropt_orig=$ac_useropt
   1152     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1153     case $ac_user_opts in
   1154       *"
   1155 "with_$ac_useropt"
   1156 "*) ;;
   1157       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1158 	 ac_unrecognized_sep=', ';;
   1159     esac
   1160     eval with_$ac_useropt=\$ac_optarg ;;
   1161 
   1162   -without-* | --without-*)
   1163     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1164     # Reject names that are not valid shell variable names.
   1165     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1166       as_fn_error $? "invalid package name: '$ac_useropt'"
   1167     ac_useropt_orig=$ac_useropt
   1168     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1169     case $ac_user_opts in
   1170       *"
   1171 "with_$ac_useropt"
   1172 "*) ;;
   1173       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1174 	 ac_unrecognized_sep=', ';;
   1175     esac
   1176     eval with_$ac_useropt=no ;;
   1177 
   1178   --x)
   1179     # Obsolete; use --with-x.
   1180     with_x=yes ;;
   1181 
   1182   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1183   | --x-incl | --x-inc | --x-in | --x-i)
   1184     ac_prev=x_includes ;;
   1185   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1186   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1187     x_includes=$ac_optarg ;;
   1188 
   1189   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1190   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1191     ac_prev=x_libraries ;;
   1192   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1193   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1194     x_libraries=$ac_optarg ;;
   1195 
   1196   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1197 Try '$0 --help' for more information"
   1198     ;;
   1199 
   1200   *=*)
   1201     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1202     # Reject names that are not valid shell variable names.
   1203     case $ac_envvar in #(
   1204       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1205       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1206     esac
   1207     eval $ac_envvar=\$ac_optarg
   1208     export $ac_envvar ;;
   1209 
   1210   *)
   1211     # FIXME: should be removed in autoconf 3.0.
   1212     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1213     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1214       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1215     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1216     ;;
   1217 
   1218   esac
   1219 done
   1220 
   1221 if test -n "$ac_prev"; then
   1222   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1223   as_fn_error $? "missing argument to $ac_option"
   1224 fi
   1225 
   1226 if test -n "$ac_unrecognized_opts"; then
   1227   case $enable_option_checking in
   1228     no) ;;
   1229     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1230     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1231   esac
   1232 fi
   1233 
   1234 # Check all directory arguments for consistency.
   1235 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1236 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1237 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1238 		libdir localedir mandir runstatedir
   1239 do
   1240   eval ac_val=\$$ac_var
   1241   # Remove trailing slashes.
   1242   case $ac_val in
   1243     */ )
   1244       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1245       eval $ac_var=\$ac_val;;
   1246   esac
   1247   # Be sure to have absolute directory names.
   1248   case $ac_val in
   1249     [\\/$]* | ?:[\\/]* )  continue;;
   1250     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1251   esac
   1252   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1253 done
   1254 
   1255 # There might be people who depend on the old broken behavior: '$host'
   1256 # used to hold the argument of --host etc.
   1257 # FIXME: To remove some day.
   1258 build=$build_alias
   1259 host=$host_alias
   1260 target=$target_alias
   1261 
   1262 # FIXME: To remove some day.
   1263 if test "x$host_alias" != x; then
   1264   if test "x$build_alias" = x; then
   1265     cross_compiling=maybe
   1266   elif test "x$build_alias" != "x$host_alias"; then
   1267     cross_compiling=yes
   1268   fi
   1269 fi
   1270 
   1271 ac_tool_prefix=
   1272 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1273 
   1274 test "$silent" = yes && exec 6>/dev/null
   1275 
   1276 
   1277 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1278 ac_ls_di=`ls -di .` &&
   1279 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1280   as_fn_error $? "working directory cannot be determined"
   1281 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1282   as_fn_error $? "pwd does not report name of working directory"
   1283 
   1284 
   1285 # Find the source files, if location was not specified.
   1286 if test -z "$srcdir"; then
   1287   ac_srcdir_defaulted=yes
   1288   # Try the directory containing this script, then the parent directory.
   1289   ac_confdir=`$as_dirname -- "$as_myself" ||
   1290 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1291 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1292 	 X"$as_myself" : 'X\(//\)$' \| \
   1293 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1294 printf "%s\n" X"$as_myself" |
   1295     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1296 	    s//\1/
   1297 	    q
   1298 	  }
   1299 	  /^X\(\/\/\)[^/].*/{
   1300 	    s//\1/
   1301 	    q
   1302 	  }
   1303 	  /^X\(\/\/\)$/{
   1304 	    s//\1/
   1305 	    q
   1306 	  }
   1307 	  /^X\(\/\).*/{
   1308 	    s//\1/
   1309 	    q
   1310 	  }
   1311 	  s/.*/./; q'`
   1312   srcdir=$ac_confdir
   1313   if test ! -r "$srcdir/$ac_unique_file"; then
   1314     srcdir=..
   1315   fi
   1316 else
   1317   ac_srcdir_defaulted=no
   1318 fi
   1319 if test ! -r "$srcdir/$ac_unique_file"; then
   1320   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1321   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1322 fi
   1323 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1324 ac_abs_confdir=`(
   1325 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1326 	pwd)`
   1327 # When building in place, set srcdir=.
   1328 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1329   srcdir=.
   1330 fi
   1331 # Remove unnecessary trailing slashes from srcdir.
   1332 # Double slashes in file names in object file debugging info
   1333 # mess up M-x gdb in Emacs.
   1334 case $srcdir in
   1335 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1336 esac
   1337 for ac_var in $ac_precious_vars; do
   1338   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1339   eval ac_env_${ac_var}_value=\$${ac_var}
   1340   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1341   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1342 done
   1343 
   1344 #
   1345 # Report the --help message.
   1346 #
   1347 if test "$ac_init_help" = "long"; then
   1348   # Omit some internal or obsolete options to make the list less imposing.
   1349   # This message is too long to be a string in the A/UX 3.1 sh.
   1350   cat <<_ACEOF
   1351 'configure' configures xfd 1.1.5 to adapt to many kinds of systems.
   1352 
   1353 Usage: $0 [OPTION]... [VAR=VALUE]...
   1354 
   1355 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1356 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1357 
   1358 Defaults for the options are specified in brackets.
   1359 
   1360 Configuration:
   1361   -h, --help              display this help and exit
   1362       --help=short        display options specific to this package
   1363       --help=recursive    display the short help of all the included packages
   1364   -V, --version           display version information and exit
   1365   -q, --quiet, --silent   do not print 'checking ...' messages
   1366       --cache-file=FILE   cache test results in FILE [disabled]
   1367   -C, --config-cache      alias for '--cache-file=config.cache'
   1368   -n, --no-create         do not create output files
   1369       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1370 
   1371 Installation directories:
   1372   --prefix=PREFIX         install architecture-independent files in PREFIX
   1373                           [$ac_default_prefix]
   1374   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1375                           [PREFIX]
   1376 
   1377 By default, 'make install' will install all the files in
   1378 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1379 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1380 for instance '--prefix=\$HOME'.
   1381 
   1382 For better control, use the options below.
   1383 
   1384 Fine tuning of the installation directories:
   1385   --bindir=DIR            user executables [EPREFIX/bin]
   1386   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1387   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1388   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1389   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1390   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1391   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1392   --libdir=DIR            object code libraries [EPREFIX/lib]
   1393   --includedir=DIR        C header files [PREFIX/include]
   1394   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1395   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1396   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1397   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1398   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1399   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1400   --docdir=DIR            documentation root [DATAROOTDIR/doc/xfd]
   1401   --htmldir=DIR           html documentation [DOCDIR]
   1402   --dvidir=DIR            dvi documentation [DOCDIR]
   1403   --pdfdir=DIR            pdf documentation [DOCDIR]
   1404   --psdir=DIR             ps documentation [DOCDIR]
   1405 _ACEOF
   1406 
   1407   cat <<\_ACEOF
   1408 
   1409 Program names:
   1410   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1411   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1412   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1413 
   1414 System types:
   1415   --build=BUILD     configure for building on BUILD [guessed]
   1416   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1417 _ACEOF
   1418 fi
   1419 
   1420 if test -n "$ac_init_help"; then
   1421   case $ac_init_help in
   1422      short | recursive ) echo "Configuration of xfd 1.1.5:";;
   1423    esac
   1424   cat <<\_ACEOF
   1425 
   1426 Optional Features:
   1427   --disable-option-checking  ignore unrecognized --enable/--with options
   1428   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1429   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1430   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1431   --disable-silent-rules  verbose build output (undo: "make V=0")
   1432   --enable-dependency-tracking
   1433                           do not reject slow dependency extractors
   1434   --disable-dependency-tracking
   1435                           speeds up one-time build
   1436   --disable-selective-werror
   1437                           Turn off selective compiler errors. (default:
   1438                           enabled)
   1439   --enable-strict-compilation
   1440                           Enable all warnings from compiler and make them
   1441                           errors (default: disabled)
   1442 
   1443 Optional Packages:
   1444   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1445   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1446   --with-localedir=<path> Path to install message files in (default:
   1447                           datadir/locale)
   1448   --without-xkb           Disable use of XKB to sound bells (Default is
   1449                           with-xkb)
   1450   --with-appdefaultdir=<pathname>
   1451                           specify directory for app-defaults files (default is
   1452                           autodetected)
   1453 
   1454 Some influential environment variables:
   1455   CC          C compiler command
   1456   CFLAGS      C compiler flags
   1457   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1458               nonstandard directory <lib dir>
   1459   LIBS        libraries to pass to the linker, e.g. -l<library>
   1460   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1461               you have headers in a nonstandard directory <include dir>
   1462   PKG_CONFIG  path to pkg-config utility
   1463   PKG_CONFIG_PATH
   1464               directories to add to pkg-config's search path
   1465   PKG_CONFIG_LIBDIR
   1466               path overriding pkg-config's built-in search path
   1467   XFD_CFLAGS  C compiler flags for XFD, overriding pkg-config
   1468   XFD_LIBS    linker flags for XFD, overriding pkg-config
   1469   APPDEFS_CFLAGS
   1470               C compiler flags for APPDEFS, overriding pkg-config
   1471   APPDEFS_LIBS
   1472               linker flags for APPDEFS, overriding pkg-config
   1473 
   1474 Use these variables to override the choices made by 'configure' or to help
   1475 it to find libraries and programs with nonstandard names/locations.
   1476 
   1477 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xfd/-/issues>.
   1478 _ACEOF
   1479 ac_status=$?
   1480 fi
   1481 
   1482 if test "$ac_init_help" = "recursive"; then
   1483   # If there are subdirs, report their specific --help.
   1484   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1485     test -d "$ac_dir" ||
   1486       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1487       continue
   1488     ac_builddir=.
   1489 
   1490 case "$ac_dir" in
   1491 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1492 *)
   1493   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1494   # A ".." for each directory in $ac_dir_suffix.
   1495   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1496   case $ac_top_builddir_sub in
   1497   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1498   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1499   esac ;;
   1500 esac
   1501 ac_abs_top_builddir=$ac_pwd
   1502 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1503 # for backward compatibility:
   1504 ac_top_builddir=$ac_top_build_prefix
   1505 
   1506 case $srcdir in
   1507   .)  # We are building in place.
   1508     ac_srcdir=.
   1509     ac_top_srcdir=$ac_top_builddir_sub
   1510     ac_abs_top_srcdir=$ac_pwd ;;
   1511   [\\/]* | ?:[\\/]* )  # Absolute name.
   1512     ac_srcdir=$srcdir$ac_dir_suffix;
   1513     ac_top_srcdir=$srcdir
   1514     ac_abs_top_srcdir=$srcdir ;;
   1515   *) # Relative name.
   1516     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1517     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1518     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1519 esac
   1520 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1521 
   1522     cd "$ac_dir" || { ac_status=$?; continue; }
   1523     # Check for configure.gnu first; this name is used for a wrapper for
   1524     # Metaconfig's "Configure" on case-insensitive file systems.
   1525     if test -f "$ac_srcdir/configure.gnu"; then
   1526       echo &&
   1527       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1528     elif test -f "$ac_srcdir/configure"; then
   1529       echo &&
   1530       $SHELL "$ac_srcdir/configure" --help=recursive
   1531     else
   1532       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1533     fi || ac_status=$?
   1534     cd "$ac_pwd" || { ac_status=$?; break; }
   1535   done
   1536 fi
   1537 
   1538 test -n "$ac_init_help" && exit $ac_status
   1539 if $ac_init_version; then
   1540   cat <<\_ACEOF
   1541 xfd configure 1.1.5
   1542 generated by GNU Autoconf 2.72
   1543 
   1544 Copyright (C) 2023 Free Software Foundation, Inc.
   1545 This configure script is free software; the Free Software Foundation
   1546 gives unlimited permission to copy, distribute and modify it.
   1547 _ACEOF
   1548   exit
   1549 fi
   1550 
   1551 ## ------------------------ ##
   1552 ## Autoconf initialization. ##
   1553 ## ------------------------ ##
   1554 
   1555 # ac_fn_c_try_compile LINENO
   1556 # --------------------------
   1557 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1558 ac_fn_c_try_compile ()
   1559 {
   1560   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1561   rm -f conftest.$ac_objext conftest.beam
   1562   if { { ac_try="$ac_compile"
   1563 case "(($ac_try" in
   1564   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1565   *) ac_try_echo=$ac_try;;
   1566 esac
   1567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1568 printf "%s\n" "$ac_try_echo"; } >&5
   1569   (eval "$ac_compile") 2>conftest.err
   1570   ac_status=$?
   1571   if test -s conftest.err; then
   1572     grep -v '^ *+' conftest.err >conftest.er1
   1573     cat conftest.er1 >&5
   1574     mv -f conftest.er1 conftest.err
   1575   fi
   1576   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1577   test $ac_status = 0; } && {
   1578 	 test -z "$ac_c_werror_flag" ||
   1579 	 test ! -s conftest.err
   1580        } && test -s conftest.$ac_objext
   1581 then :
   1582   ac_retval=0
   1583 else case e in #(
   1584   e) printf "%s\n" "$as_me: failed program was:" >&5
   1585 sed 's/^/| /' conftest.$ac_ext >&5
   1586 
   1587 	ac_retval=1 ;;
   1588 esac
   1589 fi
   1590   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1591   as_fn_set_status $ac_retval
   1592 
   1593 } # ac_fn_c_try_compile
   1594 
   1595 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1596 # ------------------------------------------------------------------
   1597 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1598 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1599 ac_fn_check_decl ()
   1600 {
   1601   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1602   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1603   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1604 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1605 if eval test \${$3+y}
   1606 then :
   1607   printf %s "(cached) " >&6
   1608 else case e in #(
   1609   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1610   eval ac_save_FLAGS=\$$6
   1611   as_fn_append $6 " $5"
   1612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1613 /* end confdefs.h.  */
   1614 $4
   1615 int
   1616 main (void)
   1617 {
   1618 #ifndef $as_decl_name
   1619 #ifdef __cplusplus
   1620   (void) $as_decl_use;
   1621 #else
   1622   (void) $as_decl_name;
   1623 #endif
   1624 #endif
   1625 
   1626   ;
   1627   return 0;
   1628 }
   1629 _ACEOF
   1630 if ac_fn_c_try_compile "$LINENO"
   1631 then :
   1632   eval "$3=yes"
   1633 else case e in #(
   1634   e) eval "$3=no" ;;
   1635 esac
   1636 fi
   1637 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1638   eval $6=\$ac_save_FLAGS
   1639  ;;
   1640 esac
   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 case e in #(
   1662   e) 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 case e in #(
   1671   e) eval "$3=no" ;;
   1672 esac
   1673 fi
   1674 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1675 esac
   1676 fi
   1677 eval ac_res=\$$3
   1678 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1679 printf "%s\n" "$ac_res" >&6; }
   1680   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1681 
   1682 } # ac_fn_c_check_header_compile
   1683 
   1684 # ac_fn_c_try_link LINENO
   1685 # -----------------------
   1686 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1687 ac_fn_c_try_link ()
   1688 {
   1689   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1690   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1691   if { { ac_try="$ac_link"
   1692 case "(($ac_try" in
   1693   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1694   *) ac_try_echo=$ac_try;;
   1695 esac
   1696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1697 printf "%s\n" "$ac_try_echo"; } >&5
   1698   (eval "$ac_link") 2>conftest.err
   1699   ac_status=$?
   1700   if test -s conftest.err; then
   1701     grep -v '^ *+' conftest.err >conftest.er1
   1702     cat conftest.er1 >&5
   1703     mv -f conftest.er1 conftest.err
   1704   fi
   1705   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1706   test $ac_status = 0; } && {
   1707 	 test -z "$ac_c_werror_flag" ||
   1708 	 test ! -s conftest.err
   1709        } && test -s conftest$ac_exeext && {
   1710 	 test "$cross_compiling" = yes ||
   1711 	 test -x conftest$ac_exeext
   1712        }
   1713 then :
   1714   ac_retval=0
   1715 else case e in #(
   1716   e) printf "%s\n" "$as_me: failed program was:" >&5
   1717 sed 's/^/| /' conftest.$ac_ext >&5
   1718 
   1719 	ac_retval=1 ;;
   1720 esac
   1721 fi
   1722   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1723   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1724   # interfere with the next link command; also delete a directory that is
   1725   # left behind by Apple's compiler.  We do this before executing the actions.
   1726   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1727   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1728   as_fn_set_status $ac_retval
   1729 
   1730 } # ac_fn_c_try_link
   1731 ac_configure_args_raw=
   1732 for ac_arg
   1733 do
   1734   case $ac_arg in
   1735   *\'*)
   1736     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1737   esac
   1738   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1739 done
   1740 
   1741 case $ac_configure_args_raw in
   1742   *$as_nl*)
   1743     ac_safe_unquote= ;;
   1744   *)
   1745     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1746     ac_unsafe_a="$ac_unsafe_z#~"
   1747     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1748     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1749 esac
   1750 
   1751 cat >config.log <<_ACEOF
   1752 This file contains any messages produced by compilers while
   1753 running configure, to aid debugging if configure makes a mistake.
   1754 
   1755 It was created by xfd $as_me 1.1.5, which was
   1756 generated by GNU Autoconf 2.72.  Invocation command line was
   1757 
   1758   $ $0$ac_configure_args_raw
   1759 
   1760 _ACEOF
   1761 exec 5>>config.log
   1762 {
   1763 cat <<_ASUNAME
   1764 ## --------- ##
   1765 ## Platform. ##
   1766 ## --------- ##
   1767 
   1768 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1769 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1770 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1771 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1772 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1773 
   1774 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1775 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1776 
   1777 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1778 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1779 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1780 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1781 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1782 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1783 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1784 
   1785 _ASUNAME
   1786 
   1787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1788 for as_dir in $PATH
   1789 do
   1790   IFS=$as_save_IFS
   1791   case $as_dir in #(((
   1792     '') as_dir=./ ;;
   1793     */) ;;
   1794     *) as_dir=$as_dir/ ;;
   1795   esac
   1796     printf "%s\n" "PATH: $as_dir"
   1797   done
   1798 IFS=$as_save_IFS
   1799 
   1800 } >&5
   1801 
   1802 cat >&5 <<_ACEOF
   1803 
   1804 
   1805 ## ----------- ##
   1806 ## Core tests. ##
   1807 ## ----------- ##
   1808 
   1809 _ACEOF
   1810 
   1811 
   1812 # Keep a trace of the command line.
   1813 # Strip out --no-create and --no-recursion so they do not pile up.
   1814 # Strip out --silent because we don't want to record it for future runs.
   1815 # Also quote any args containing shell meta-characters.
   1816 # Make two passes to allow for proper duplicate-argument suppression.
   1817 ac_configure_args=
   1818 ac_configure_args0=
   1819 ac_configure_args1=
   1820 ac_must_keep_next=false
   1821 for ac_pass in 1 2
   1822 do
   1823   for ac_arg
   1824   do
   1825     case $ac_arg in
   1826     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1827     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1828     | -silent | --silent | --silen | --sile | --sil)
   1829       continue ;;
   1830     *\'*)
   1831       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1832     esac
   1833     case $ac_pass in
   1834     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1835     2)
   1836       as_fn_append ac_configure_args1 " '$ac_arg'"
   1837       if test $ac_must_keep_next = true; then
   1838 	ac_must_keep_next=false # Got value, back to normal.
   1839       else
   1840 	case $ac_arg in
   1841 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1842 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1843 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1844 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1845 	    case "$ac_configure_args0 " in
   1846 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1847 	    esac
   1848 	    ;;
   1849 	  -* ) ac_must_keep_next=true ;;
   1850 	esac
   1851       fi
   1852       as_fn_append ac_configure_args " '$ac_arg'"
   1853       ;;
   1854     esac
   1855   done
   1856 done
   1857 { ac_configure_args0=; unset ac_configure_args0;}
   1858 { ac_configure_args1=; unset ac_configure_args1;}
   1859 
   1860 # When interrupted or exit'd, cleanup temporary files, and complete
   1861 # config.log.  We remove comments because anyway the quotes in there
   1862 # would cause problems or look ugly.
   1863 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1864 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1865 trap 'exit_status=$?
   1866   # Sanitize IFS.
   1867   IFS=" ""	$as_nl"
   1868   # Save into config.log some information that might help in debugging.
   1869   {
   1870     echo
   1871 
   1872     printf "%s\n" "## ---------------- ##
   1873 ## Cache variables. ##
   1874 ## ---------------- ##"
   1875     echo
   1876     # The following way of writing the cache mishandles newlines in values,
   1877 (
   1878   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1879     eval ac_val=\$$ac_var
   1880     case $ac_val in #(
   1881     *${as_nl}*)
   1882       case $ac_var in #(
   1883       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1884 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1885       esac
   1886       case $ac_var in #(
   1887       _ | IFS | as_nl) ;; #(
   1888       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1889       *) { eval $ac_var=; unset $ac_var;} ;;
   1890       esac ;;
   1891     esac
   1892   done
   1893   (set) 2>&1 |
   1894     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1895     *${as_nl}ac_space=\ *)
   1896       sed -n \
   1897 	"s/'\''/'\''\\\\'\'''\''/g;
   1898 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1899       ;; #(
   1900     *)
   1901       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1902       ;;
   1903     esac |
   1904     sort
   1905 )
   1906     echo
   1907 
   1908     printf "%s\n" "## ----------------- ##
   1909 ## Output variables. ##
   1910 ## ----------------- ##"
   1911     echo
   1912     for ac_var in $ac_subst_vars
   1913     do
   1914       eval ac_val=\$$ac_var
   1915       case $ac_val in
   1916       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1917       esac
   1918       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1919     done | sort
   1920     echo
   1921 
   1922     if test -n "$ac_subst_files"; then
   1923       printf "%s\n" "## ------------------- ##
   1924 ## File substitutions. ##
   1925 ## ------------------- ##"
   1926       echo
   1927       for ac_var in $ac_subst_files
   1928       do
   1929 	eval ac_val=\$$ac_var
   1930 	case $ac_val in
   1931 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1932 	esac
   1933 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1934       done | sort
   1935       echo
   1936     fi
   1937 
   1938     if test -s confdefs.h; then
   1939       printf "%s\n" "## ----------- ##
   1940 ## confdefs.h. ##
   1941 ## ----------- ##"
   1942       echo
   1943       cat confdefs.h
   1944       echo
   1945     fi
   1946     test "$ac_signal" != 0 &&
   1947       printf "%s\n" "$as_me: caught signal $ac_signal"
   1948     printf "%s\n" "$as_me: exit $exit_status"
   1949   } >&5
   1950   rm -f core *.core core.conftest.* &&
   1951     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1952     exit $exit_status
   1953 ' 0
   1954 for ac_signal in 1 2 13 15; do
   1955   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1956 done
   1957 ac_signal=0
   1958 
   1959 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1960 rm -f -r conftest* confdefs.h
   1961 
   1962 printf "%s\n" "/* confdefs.h */" > confdefs.h
   1963 
   1964 # Predefined preprocessor variables.
   1965 
   1966 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   1967 
   1968 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   1969 
   1970 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   1971 
   1972 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   1973 
   1974 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   1975 
   1976 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   1977 
   1978 
   1979 # Let the site file select an alternate cache file if it wants to.
   1980 # Prefer an explicitly selected file to automatically selected ones.
   1981 if test -n "$CONFIG_SITE"; then
   1982   ac_site_files="$CONFIG_SITE"
   1983 elif test "x$prefix" != xNONE; then
   1984   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   1985 else
   1986   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1987 fi
   1988 
   1989 for ac_site_file in $ac_site_files
   1990 do
   1991   case $ac_site_file in #(
   1992   */*) :
   1993      ;; #(
   1994   *) :
   1995     ac_site_file=./$ac_site_file ;;
   1996 esac
   1997   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   1998     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1999 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2000     sed 's/^/| /' "$ac_site_file" >&5
   2001     . "$ac_site_file" \
   2002       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2003 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2004 as_fn_error $? "failed to load site script $ac_site_file
   2005 See 'config.log' for more details" "$LINENO" 5; }
   2006   fi
   2007 done
   2008 
   2009 if test -r "$cache_file"; then
   2010   # Some versions of bash will fail to source /dev/null (special files
   2011   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2012   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2013     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2014 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2015     case $cache_file in
   2016       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2017       *)                      . "./$cache_file";;
   2018     esac
   2019   fi
   2020 else
   2021   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2022 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2023   >$cache_file
   2024 fi
   2025 
   2026 # Test code for whether the C compiler supports C89 (global declarations)
   2027 ac_c_conftest_c89_globals='
   2028 /* Does the compiler advertise C89 conformance?
   2029    Do not test the value of __STDC__, because some compilers set it to 0
   2030    while being otherwise adequately conformant. */
   2031 #if !defined __STDC__
   2032 # error "Compiler does not advertise C89 conformance"
   2033 #endif
   2034 
   2035 #include <stddef.h>
   2036 #include <stdarg.h>
   2037 struct stat;
   2038 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2039 struct buf { int x; };
   2040 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2041 static char *e (char **p, int i)
   2042 {
   2043   return p[i];
   2044 }
   2045 static char *f (char * (*g) (char **, int), char **p, ...)
   2046 {
   2047   char *s;
   2048   va_list v;
   2049   va_start (v,p);
   2050   s = g (p, va_arg (v,int));
   2051   va_end (v);
   2052   return s;
   2053 }
   2054 
   2055 /* C89 style stringification. */
   2056 #define noexpand_stringify(a) #a
   2057 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2058 
   2059 /* C89 style token pasting.  Exercises some of the corner cases that
   2060    e.g. old MSVC gets wrong, but not very hard. */
   2061 #define noexpand_concat(a,b) a##b
   2062 #define expand_concat(a,b) noexpand_concat(a,b)
   2063 extern int vA;
   2064 extern int vbee;
   2065 #define aye A
   2066 #define bee B
   2067 int *pvA = &expand_concat(v,aye);
   2068 int *pvbee = &noexpand_concat(v,bee);
   2069 
   2070 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2071    function prototypes and stuff, but not \xHH hex character constants.
   2072    These do not provoke an error unfortunately, instead are silently treated
   2073    as an "x".  The following induces an error, until -std is added to get
   2074    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2075    array size at least.  It is necessary to write \x00 == 0 to get something
   2076    that is true only with -std.  */
   2077 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2078 
   2079 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2080    inside strings and character constants.  */
   2081 #define FOO(x) '\''x'\''
   2082 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2083 
   2084 int test (int i, double x);
   2085 struct s1 {int (*f) (int a);};
   2086 struct s2 {int (*f) (double a);};
   2087 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2088                int, int);'
   2089 
   2090 # Test code for whether the C compiler supports C89 (body of main).
   2091 ac_c_conftest_c89_main='
   2092 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2093 '
   2094 
   2095 # Test code for whether the C compiler supports C99 (global declarations)
   2096 ac_c_conftest_c99_globals='
   2097 /* Does the compiler advertise C99 conformance? */
   2098 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2099 # error "Compiler does not advertise C99 conformance"
   2100 #endif
   2101 
   2102 // See if C++-style comments work.
   2103 
   2104 #include <stdbool.h>
   2105 extern int puts (const char *);
   2106 extern int printf (const char *, ...);
   2107 extern int dprintf (int, const char *, ...);
   2108 extern void *malloc (size_t);
   2109 extern void free (void *);
   2110 
   2111 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2112 // dprintf is used instead of fprintf to avoid needing to declare
   2113 // FILE and stderr.
   2114 #define debug(...) dprintf (2, __VA_ARGS__)
   2115 #define showlist(...) puts (#__VA_ARGS__)
   2116 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2117 static void
   2118 test_varargs_macros (void)
   2119 {
   2120   int x = 1234;
   2121   int y = 5678;
   2122   debug ("Flag");
   2123   debug ("X = %d\n", x);
   2124   showlist (The first, second, and third items.);
   2125   report (x>y, "x is %d but y is %d", x, y);
   2126 }
   2127 
   2128 // Check long long types.
   2129 #define BIG64 18446744073709551615ull
   2130 #define BIG32 4294967295ul
   2131 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2132 #if !BIG_OK
   2133   #error "your preprocessor is broken"
   2134 #endif
   2135 #if BIG_OK
   2136 #else
   2137   #error "your preprocessor is broken"
   2138 #endif
   2139 static long long int bignum = -9223372036854775807LL;
   2140 static unsigned long long int ubignum = BIG64;
   2141 
   2142 struct incomplete_array
   2143 {
   2144   int datasize;
   2145   double data[];
   2146 };
   2147 
   2148 struct named_init {
   2149   int number;
   2150   const wchar_t *name;
   2151   double average;
   2152 };
   2153 
   2154 typedef const char *ccp;
   2155 
   2156 static inline int
   2157 test_restrict (ccp restrict text)
   2158 {
   2159   // Iterate through items via the restricted pointer.
   2160   // Also check for declarations in for loops.
   2161   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2162     continue;
   2163   return 0;
   2164 }
   2165 
   2166 // Check varargs and va_copy.
   2167 static bool
   2168 test_varargs (const char *format, ...)
   2169 {
   2170   va_list args;
   2171   va_start (args, format);
   2172   va_list args_copy;
   2173   va_copy (args_copy, args);
   2174 
   2175   const char *str = "";
   2176   int number = 0;
   2177   float fnumber = 0;
   2178 
   2179   while (*format)
   2180     {
   2181       switch (*format++)
   2182 	{
   2183 	case '\''s'\'': // string
   2184 	  str = va_arg (args_copy, const char *);
   2185 	  break;
   2186 	case '\''d'\'': // int
   2187 	  number = va_arg (args_copy, int);
   2188 	  break;
   2189 	case '\''f'\'': // float
   2190 	  fnumber = va_arg (args_copy, double);
   2191 	  break;
   2192 	default:
   2193 	  break;
   2194 	}
   2195     }
   2196   va_end (args_copy);
   2197   va_end (args);
   2198 
   2199   return *str && number && fnumber;
   2200 }
   2201 '
   2202 
   2203 # Test code for whether the C compiler supports C99 (body of main).
   2204 ac_c_conftest_c99_main='
   2205   // Check bool.
   2206   _Bool success = false;
   2207   success |= (argc != 0);
   2208 
   2209   // Check restrict.
   2210   if (test_restrict ("String literal") == 0)
   2211     success = true;
   2212   char *restrict newvar = "Another string";
   2213 
   2214   // Check varargs.
   2215   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2216   test_varargs_macros ();
   2217 
   2218   // Check flexible array members.
   2219   struct incomplete_array *ia =
   2220     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2221   ia->datasize = 10;
   2222   for (int i = 0; i < ia->datasize; ++i)
   2223     ia->data[i] = i * 1.234;
   2224   // Work around memory leak warnings.
   2225   free (ia);
   2226 
   2227   // Check named initializers.
   2228   struct named_init ni = {
   2229     .number = 34,
   2230     .name = L"Test wide string",
   2231     .average = 543.34343,
   2232   };
   2233 
   2234   ni.number = 58;
   2235 
   2236   int dynamic_array[ni.number];
   2237   dynamic_array[0] = argv[0][0];
   2238   dynamic_array[ni.number - 1] = 543;
   2239 
   2240   // work around unused variable warnings
   2241   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2242 	 || dynamic_array[ni.number - 1] != 543);
   2243 '
   2244 
   2245 # Test code for whether the C compiler supports C11 (global declarations)
   2246 ac_c_conftest_c11_globals='
   2247 /* Does the compiler advertise C11 conformance? */
   2248 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2249 # error "Compiler does not advertise C11 conformance"
   2250 #endif
   2251 
   2252 // Check _Alignas.
   2253 char _Alignas (double) aligned_as_double;
   2254 char _Alignas (0) no_special_alignment;
   2255 extern char aligned_as_int;
   2256 char _Alignas (0) _Alignas (int) aligned_as_int;
   2257 
   2258 // Check _Alignof.
   2259 enum
   2260 {
   2261   int_alignment = _Alignof (int),
   2262   int_array_alignment = _Alignof (int[100]),
   2263   char_alignment = _Alignof (char)
   2264 };
   2265 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2266 
   2267 // Check _Noreturn.
   2268 int _Noreturn does_not_return (void) { for (;;) continue; }
   2269 
   2270 // Check _Static_assert.
   2271 struct test_static_assert
   2272 {
   2273   int x;
   2274   _Static_assert (sizeof (int) <= sizeof (long int),
   2275                   "_Static_assert does not work in struct");
   2276   long int y;
   2277 };
   2278 
   2279 // Check UTF-8 literals.
   2280 #define u8 syntax error!
   2281 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2282 
   2283 // Check duplicate typedefs.
   2284 typedef long *long_ptr;
   2285 typedef long int *long_ptr;
   2286 typedef long_ptr long_ptr;
   2287 
   2288 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2289 struct anonymous
   2290 {
   2291   union {
   2292     struct { int i; int j; };
   2293     struct { int k; long int l; } w;
   2294   };
   2295   int m;
   2296 } v1;
   2297 '
   2298 
   2299 # Test code for whether the C compiler supports C11 (body of main).
   2300 ac_c_conftest_c11_main='
   2301   _Static_assert ((offsetof (struct anonymous, i)
   2302 		   == offsetof (struct anonymous, w.k)),
   2303 		  "Anonymous union alignment botch");
   2304   v1.i = 2;
   2305   v1.w.k = 5;
   2306   ok |= v1.i != 5;
   2307 '
   2308 
   2309 # Test code for whether the C compiler supports C11 (complete).
   2310 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2311 ${ac_c_conftest_c99_globals}
   2312 ${ac_c_conftest_c11_globals}
   2313 
   2314 int
   2315 main (int argc, char **argv)
   2316 {
   2317   int ok = 0;
   2318   ${ac_c_conftest_c89_main}
   2319   ${ac_c_conftest_c99_main}
   2320   ${ac_c_conftest_c11_main}
   2321   return ok;
   2322 }
   2323 "
   2324 
   2325 # Test code for whether the C compiler supports C99 (complete).
   2326 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2327 ${ac_c_conftest_c99_globals}
   2328 
   2329 int
   2330 main (int argc, char **argv)
   2331 {
   2332   int ok = 0;
   2333   ${ac_c_conftest_c89_main}
   2334   ${ac_c_conftest_c99_main}
   2335   return ok;
   2336 }
   2337 "
   2338 
   2339 # Test code for whether the C compiler supports C89 (complete).
   2340 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2341 
   2342 int
   2343 main (int argc, char **argv)
   2344 {
   2345   int ok = 0;
   2346   ${ac_c_conftest_c89_main}
   2347   return ok;
   2348 }
   2349 "
   2350 
   2351 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2352 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2353 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2354 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2355 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2356 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2357 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2358 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2359 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2360 
   2361 # Auxiliary files required by this configure script.
   2362 ac_aux_files="config.guess config.sub compile missing install-sh"
   2363 
   2364 # Locations in which to look for auxiliary files.
   2365 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2366 
   2367 # Search for a directory containing all of the required auxiliary files,
   2368 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2369 # If we don't find one directory that contains all the files we need,
   2370 # we report the set of missing files from the *first* directory in
   2371 # $ac_aux_dir_candidates and give up.
   2372 ac_missing_aux_files=""
   2373 ac_first_candidate=:
   2374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2376 as_found=false
   2377 for as_dir in $ac_aux_dir_candidates
   2378 do
   2379   IFS=$as_save_IFS
   2380   case $as_dir in #(((
   2381     '') as_dir=./ ;;
   2382     */) ;;
   2383     *) as_dir=$as_dir/ ;;
   2384   esac
   2385   as_found=:
   2386 
   2387   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2388   ac_aux_dir_found=yes
   2389   ac_install_sh=
   2390   for ac_aux in $ac_aux_files
   2391   do
   2392     # As a special case, if "install-sh" is required, that requirement
   2393     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2394     # and $ac_install_sh is set appropriately for whichever one is found.
   2395     if test x"$ac_aux" = x"install-sh"
   2396     then
   2397       if test -f "${as_dir}install-sh"; then
   2398         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2399         ac_install_sh="${as_dir}install-sh -c"
   2400       elif test -f "${as_dir}install.sh"; then
   2401         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2402         ac_install_sh="${as_dir}install.sh -c"
   2403       elif test -f "${as_dir}shtool"; then
   2404         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2405         ac_install_sh="${as_dir}shtool install -c"
   2406       else
   2407         ac_aux_dir_found=no
   2408         if $ac_first_candidate; then
   2409           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2410         else
   2411           break
   2412         fi
   2413       fi
   2414     else
   2415       if test -f "${as_dir}${ac_aux}"; then
   2416         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2417       else
   2418         ac_aux_dir_found=no
   2419         if $ac_first_candidate; then
   2420           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2421         else
   2422           break
   2423         fi
   2424       fi
   2425     fi
   2426   done
   2427   if test "$ac_aux_dir_found" = yes; then
   2428     ac_aux_dir="$as_dir"
   2429     break
   2430   fi
   2431   ac_first_candidate=false
   2432 
   2433   as_found=false
   2434 done
   2435 IFS=$as_save_IFS
   2436 if $as_found
   2437 then :
   2438 
   2439 else case e in #(
   2440   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2441 esac
   2442 fi
   2443 
   2444 
   2445 # These three variables are undocumented and unsupported,
   2446 # and are intended to be withdrawn in a future Autoconf release.
   2447 # They can cause serious problems if a builder's source tree is in a directory
   2448 # whose full name contains unusual characters.
   2449 if test -f "${ac_aux_dir}config.guess"; then
   2450   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2451 fi
   2452 if test -f "${ac_aux_dir}config.sub"; then
   2453   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2454 fi
   2455 if test -f "$ac_aux_dir/configure"; then
   2456   ac_configure="$SHELL ${ac_aux_dir}configure"
   2457 fi
   2458 
   2459 # Check that the precious variables saved in the cache have kept the same
   2460 # value.
   2461 ac_cache_corrupted=false
   2462 for ac_var in $ac_precious_vars; do
   2463   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2464   eval ac_new_set=\$ac_env_${ac_var}_set
   2465   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2466   eval ac_new_val=\$ac_env_${ac_var}_value
   2467   case $ac_old_set,$ac_new_set in
   2468     set,)
   2469       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2470 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2471       ac_cache_corrupted=: ;;
   2472     ,set)
   2473       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2474 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2475       ac_cache_corrupted=: ;;
   2476     ,);;
   2477     *)
   2478       if test "x$ac_old_val" != "x$ac_new_val"; then
   2479 	# differences in whitespace do not lead to failure.
   2480 	ac_old_val_w=`echo x $ac_old_val`
   2481 	ac_new_val_w=`echo x $ac_new_val`
   2482 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2483 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2484 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2485 	  ac_cache_corrupted=:
   2486 	else
   2487 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2488 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2489 	  eval $ac_var=\$ac_old_val
   2490 	fi
   2491 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2492 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2493 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2494 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2495       fi;;
   2496   esac
   2497   # Pass precious variables to config.status.
   2498   if test "$ac_new_set" = set; then
   2499     case $ac_new_val in
   2500     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2501     *) ac_arg=$ac_var=$ac_new_val ;;
   2502     esac
   2503     case " $ac_configure_args " in
   2504       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2505       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2506     esac
   2507   fi
   2508 done
   2509 if $ac_cache_corrupted; then
   2510   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2511 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2512   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2513 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2514   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2515 	    and start over" "$LINENO" 5
   2516 fi
   2517 ## -------------------- ##
   2518 ## Main body of script. ##
   2519 ## -------------------- ##
   2520 
   2521 ac_ext=c
   2522 ac_cpp='$CPP $CPPFLAGS'
   2523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2526 
   2527 
   2528 
   2529 ac_config_headers="$ac_config_headers config.h"
   2530 
   2531 
   2532 # Initialize Automake
   2533 am__api_version='1.18'
   2534 
   2535 
   2536 
   2537   # Find a good install program.  We prefer a C program (faster),
   2538 # so one script is as good as another.  But avoid the broken or
   2539 # incompatible versions:
   2540 # SysV /etc/install, /usr/sbin/install
   2541 # SunOS /usr/etc/install
   2542 # IRIX /sbin/install
   2543 # AIX /bin/install
   2544 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2545 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2546 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2547 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2548 # OS/2's system install, which has a completely different semantic
   2549 # ./install, which can be erroneously created by make from ./install.sh.
   2550 # Reject install programs that cannot install multiple files.
   2551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2552 printf %s "checking for a BSD-compatible install... " >&6; }
   2553 if test -z "$INSTALL"; then
   2554 if test ${ac_cv_path_install+y}
   2555 then :
   2556   printf %s "(cached) " >&6
   2557 else case e in #(
   2558   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2559 for as_dir in $PATH
   2560 do
   2561   IFS=$as_save_IFS
   2562   case $as_dir in #(((
   2563     '') as_dir=./ ;;
   2564     */) ;;
   2565     *) as_dir=$as_dir/ ;;
   2566   esac
   2567     # Account for fact that we put trailing slashes in our PATH walk.
   2568 case $as_dir in #((
   2569   ./ | /[cC]/* | \
   2570   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2571   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2572   /usr/ucb/* ) ;;
   2573   *)
   2574     # OSF1 and SCO ODT 3.0 have their own names for install.
   2575     # Don't use installbsd from OSF since it installs stuff as root
   2576     # by default.
   2577     for ac_prog in ginstall scoinst install; do
   2578       for ac_exec_ext in '' $ac_executable_extensions; do
   2579 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2580 	  if test $ac_prog = install &&
   2581 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2582 	    # AIX install.  It has an incompatible calling convention.
   2583 	    :
   2584 	  elif test $ac_prog = install &&
   2585 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2586 	    # program-specific install script used by HP pwplus--don't use.
   2587 	    :
   2588 	  else
   2589 	    rm -rf conftest.one conftest.two conftest.dir
   2590 	    echo one > conftest.one
   2591 	    echo two > conftest.two
   2592 	    mkdir conftest.dir
   2593 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2594 	      test -s conftest.one && test -s conftest.two &&
   2595 	      test -s conftest.dir/conftest.one &&
   2596 	      test -s conftest.dir/conftest.two
   2597 	    then
   2598 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2599 	      break 3
   2600 	    fi
   2601 	  fi
   2602 	fi
   2603       done
   2604     done
   2605     ;;
   2606 esac
   2607 
   2608   done
   2609 IFS=$as_save_IFS
   2610 
   2611 rm -rf conftest.one conftest.two conftest.dir
   2612  ;;
   2613 esac
   2614 fi
   2615   if test ${ac_cv_path_install+y}; then
   2616     INSTALL=$ac_cv_path_install
   2617   else
   2618     # As a last resort, use the slow shell script.  Don't cache a
   2619     # value for INSTALL within a source directory, because that will
   2620     # break other packages using the cache if that directory is
   2621     # removed, or if the value is a relative name.
   2622     INSTALL=$ac_install_sh
   2623   fi
   2624 fi
   2625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2626 printf "%s\n" "$INSTALL" >&6; }
   2627 
   2628 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2629 # It thinks the first close brace ends the variable substitution.
   2630 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2631 
   2632 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2633 
   2634 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2635 
   2636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   2637 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   2638 if test ${am_cv_sleep_fractional_seconds+y}
   2639 then :
   2640   printf %s "(cached) " >&6
   2641 else case e in #(
   2642   e) if sleep 0.001 2>/dev/null
   2643 then :
   2644   am_cv_sleep_fractional_seconds=yes
   2645 else case e in #(
   2646   e) am_cv_sleep_fractional_seconds=no ;;
   2647 esac
   2648 fi
   2649  ;;
   2650 esac
   2651 fi
   2652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   2653 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   2654 
   2655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   2656 printf %s "checking filesystem timestamp resolution... " >&6; }
   2657 if test ${am_cv_filesystem_timestamp_resolution+y}
   2658 then :
   2659   printf %s "(cached) " >&6
   2660 else case e in #(
   2661   e) # Default to the worst case.
   2662 am_cv_filesystem_timestamp_resolution=2
   2663 
   2664 # Only try to go finer than 1 sec if sleep can do it.
   2665 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   2666 # - 1 sec is not much of a win compared to 2 sec, and
   2667 # - it takes 2 seconds to perform the test whether 1 sec works.
   2668 #
   2669 # Instead, just use the default 2s on platforms that have 1s resolution,
   2670 # accept the extra 1s delay when using $sleep in the Automake tests, in
   2671 # exchange for not incurring the 2s delay for running the test for all
   2672 # packages.
   2673 #
   2674 am_try_resolutions=
   2675 if test "$am_cv_sleep_fractional_seconds" = yes; then
   2676   # Even a millisecond often causes a bunch of false positives,
   2677   # so just try a hundredth of a second. The time saved between .001 and
   2678   # .01 is not terribly consequential.
   2679   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   2680 fi
   2681 
   2682 # In order to catch current-generation FAT out, we must *modify* files
   2683 # that already exist; the *creation* timestamp is finer.  Use names
   2684 # that make ls -t sort them differently when they have equal
   2685 # timestamps than when they have distinct timestamps, keeping
   2686 # in mind that ls -t prints the *newest* file first.
   2687 rm -f conftest.ts?
   2688 : > conftest.ts1
   2689 : > conftest.ts2
   2690 : > conftest.ts3
   2691 
   2692 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   2693 # clobber the current shell's arguments. (Outer-level square brackets
   2694 # are removed by m4; they're present so that m4 does not expand
   2695 # <dollar><star>; be careful, easy to get confused.)
   2696 if (
   2697      set X `ls -t conftest.ts[12]` &&
   2698      {
   2699        test "$*" != "X conftest.ts1 conftest.ts2" ||
   2700        test "$*" != "X conftest.ts2 conftest.ts1";
   2701      }
   2702 ); then :; else
   2703   # If neither matched, then we have a broken ls.  This can happen
   2704   # if, for instance, CONFIG_SHELL is bash and it inherits a
   2705   # broken ls alias from the environment.  This has actually
   2706   # happened.  Such a system could not be considered "sane".
   2707   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   2708   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2709 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2710 as_fn_error $? "ls -t produces unexpected output.
   2711 Make sure there is not a broken ls alias in your environment.
   2712 See 'config.log' for more details" "$LINENO" 5; }
   2713 fi
   2714 
   2715 for am_try_res in $am_try_resolutions; do
   2716   # Any one fine-grained sleep might happen to cross the boundary
   2717   # between two values of a coarser actual resolution, but if we do
   2718   # two fine-grained sleeps in a row, at least one of them will fall
   2719   # entirely within a coarse interval.
   2720   echo alpha > conftest.ts1
   2721   sleep $am_try_res
   2722   echo beta > conftest.ts2
   2723   sleep $am_try_res
   2724   echo gamma > conftest.ts3
   2725 
   2726   # We assume that 'ls -t' will make use of high-resolution
   2727   # timestamps if the operating system supports them at all.
   2728   if (set X `ls -t conftest.ts?` &&
   2729       test "$2" = conftest.ts3 &&
   2730       test "$3" = conftest.ts2 &&
   2731       test "$4" = conftest.ts1); then
   2732     #
   2733     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   2734     # because we don't need to test make.
   2735     make_ok=true
   2736     if test $am_try_res != 1; then
   2737       # But if we've succeeded so far with a subsecond resolution, we
   2738       # have one more thing to check: make. It can happen that
   2739       # everything else supports the subsecond mtimes, but make doesn't;
   2740       # notably on macOS, which ships make 3.81 from 2006 (the last one
   2741       # released under GPLv2). https://bugs.gnu.org/68808
   2742       #
   2743       # We test $MAKE if it is defined in the environment, else "make".
   2744       # It might get overridden later, but our hope is that in practice
   2745       # it does not matter: it is the system "make" which is (by far)
   2746       # the most likely to be broken, whereas if the user overrides it,
   2747       # probably they did so with a better, or at least not worse, make.
   2748       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   2749       #
   2750       # Create a Makefile (real tab character here):
   2751       rm -f conftest.mk
   2752       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   2753       echo '	touch conftest.ts2' >>conftest.mk
   2754       #
   2755       # Now, running
   2756       #   touch conftest.ts1; touch conftest.ts2; make
   2757       # should touch ts1 because ts2 is newer. This could happen by luck,
   2758       # but most often, it will fail if make's support is insufficient. So
   2759       # test for several consecutive successes.
   2760       #
   2761       # (We reuse conftest.ts[12] because we still want to modify existing
   2762       # files, not create new ones, per above.)
   2763       n=0
   2764       make=${MAKE-make}
   2765       until test $n -eq 3; do
   2766         echo one > conftest.ts1
   2767         sleep $am_try_res
   2768         echo two > conftest.ts2 # ts2 should now be newer than ts1
   2769         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   2770           make_ok=false
   2771           break # out of $n loop
   2772         fi
   2773         n=`expr $n + 1`
   2774       done
   2775     fi
   2776     #
   2777     if $make_ok; then
   2778       # Everything we know to check worked out, so call this resolution good.
   2779       am_cv_filesystem_timestamp_resolution=$am_try_res
   2780       break # out of $am_try_res loop
   2781     fi
   2782     # Otherwise, we'll go on to check the next resolution.
   2783   fi
   2784 done
   2785 rm -f conftest.ts?
   2786 # (end _am_filesystem_timestamp_resolution)
   2787  ;;
   2788 esac
   2789 fi
   2790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   2791 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   2792 
   2793 # This check should not be cached, as it may vary across builds of
   2794 # different projects.
   2795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2796 printf %s "checking whether build environment is sane... " >&6; }
   2797 # Reject unsafe characters in $srcdir or the absolute working directory
   2798 # name.  Accept space and tab only in the latter.
   2799 am_lf='
   2800 '
   2801 case `pwd` in
   2802   *[\\\"\#\$\&\'\`$am_lf]*)
   2803     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2804 printf "%s\n" "no" >&6; }
   2805     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2806 esac
   2807 case $srcdir in
   2808   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2809     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2810 printf "%s\n" "no" >&6; }
   2811     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2812 esac
   2813 
   2814 # Do 'set' in a subshell so we don't clobber the current shell's
   2815 # arguments.  Must try -L first in case configure is actually a
   2816 # symlink; some systems play weird games with the mod time of symlinks
   2817 # (eg FreeBSD returns the mod time of the symlink's containing
   2818 # directory).
   2819 am_build_env_is_sane=no
   2820 am_has_slept=no
   2821 rm -f conftest.file
   2822 for am_try in 1 2; do
   2823   echo "timestamp, slept: $am_has_slept" > conftest.file
   2824   if (
   2825     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2826     if test "$*" = "X"; then
   2827       # -L didn't work.
   2828       set X `ls -t "$srcdir/configure" conftest.file`
   2829     fi
   2830     test "$2" = conftest.file
   2831   ); then
   2832     am_build_env_is_sane=yes
   2833     break
   2834   fi
   2835   # Just in case.
   2836   sleep "$am_cv_filesystem_timestamp_resolution"
   2837   am_has_slept=yes
   2838 done
   2839 
   2840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   2841 printf "%s\n" "$am_build_env_is_sane" >&6; }
   2842 if test "$am_build_env_is_sane" = no; then
   2843   as_fn_error $? "newly created file is older than distributed files!
   2844 Check your system clock" "$LINENO" 5
   2845 fi
   2846 
   2847 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2848 # generated files are strictly newer.
   2849 am_sleep_pid=
   2850 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   2851 then :
   2852 
   2853 else case e in #(
   2854   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   2855   am_sleep_pid=$!
   2856  ;;
   2857 esac
   2858 fi
   2859 
   2860 rm -f conftest.file
   2861 
   2862 test "$program_prefix" != NONE &&
   2863   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2864 # Use a double $ so make ignores it.
   2865 test "$program_suffix" != NONE &&
   2866   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2867 # Double any \ or $.
   2868 # By default was 's,x,x', remove it if useless.
   2869 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2870 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2871 
   2872 
   2873 # Expand $ac_aux_dir to an absolute path.
   2874 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2875 
   2876 
   2877   if test x"${MISSING+set}" != xset; then
   2878   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2879 fi
   2880 # Use eval to expand $SHELL
   2881 if eval "$MISSING --is-lightweight"; then
   2882   am_missing_run="$MISSING "
   2883 else
   2884   am_missing_run=
   2885   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2886 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2887 fi
   2888 
   2889 if test x"${install_sh+set}" != xset; then
   2890   case $am_aux_dir in
   2891   *\ * | *\	*)
   2892     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2893   *)
   2894     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2895   esac
   2896 fi
   2897 
   2898 # Installed binaries are usually stripped using 'strip' when the user
   2899 # run "make install-strip".  However 'strip' might not be the right
   2900 # tool to use in cross-compilation environments, therefore Automake
   2901 # will honor the 'STRIP' environment variable to overrule this program.
   2902 if test "$cross_compiling" != no; then
   2903   if test -n "$ac_tool_prefix"; then
   2904   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2905 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2907 printf %s "checking for $ac_word... " >&6; }
   2908 if test ${ac_cv_prog_STRIP+y}
   2909 then :
   2910   printf %s "(cached) " >&6
   2911 else case e in #(
   2912   e) if test -n "$STRIP"; then
   2913   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2914 else
   2915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2916 for as_dir in $PATH
   2917 do
   2918   IFS=$as_save_IFS
   2919   case $as_dir in #(((
   2920     '') as_dir=./ ;;
   2921     */) ;;
   2922     *) as_dir=$as_dir/ ;;
   2923   esac
   2924     for ac_exec_ext in '' $ac_executable_extensions; do
   2925   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2926     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2927     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2928     break 2
   2929   fi
   2930 done
   2931   done
   2932 IFS=$as_save_IFS
   2933 
   2934 fi ;;
   2935 esac
   2936 fi
   2937 STRIP=$ac_cv_prog_STRIP
   2938 if test -n "$STRIP"; then
   2939   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2940 printf "%s\n" "$STRIP" >&6; }
   2941 else
   2942   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2943 printf "%s\n" "no" >&6; }
   2944 fi
   2945 
   2946 
   2947 fi
   2948 if test -z "$ac_cv_prog_STRIP"; then
   2949   ac_ct_STRIP=$STRIP
   2950   # Extract the first word of "strip", so it can be a program name with args.
   2951 set dummy strip; ac_word=$2
   2952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2953 printf %s "checking for $ac_word... " >&6; }
   2954 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2955 then :
   2956   printf %s "(cached) " >&6
   2957 else case e in #(
   2958   e) if test -n "$ac_ct_STRIP"; then
   2959   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2960 else
   2961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2962 for as_dir in $PATH
   2963 do
   2964   IFS=$as_save_IFS
   2965   case $as_dir in #(((
   2966     '') as_dir=./ ;;
   2967     */) ;;
   2968     *) as_dir=$as_dir/ ;;
   2969   esac
   2970     for ac_exec_ext in '' $ac_executable_extensions; do
   2971   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2972     ac_cv_prog_ac_ct_STRIP="strip"
   2973     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2974     break 2
   2975   fi
   2976 done
   2977   done
   2978 IFS=$as_save_IFS
   2979 
   2980 fi ;;
   2981 esac
   2982 fi
   2983 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2984 if test -n "$ac_ct_STRIP"; then
   2985   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2986 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2987 else
   2988   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2989 printf "%s\n" "no" >&6; }
   2990 fi
   2991 
   2992   if test "x$ac_ct_STRIP" = x; then
   2993     STRIP=":"
   2994   else
   2995     case $cross_compiling:$ac_tool_warned in
   2996 yes:)
   2997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2998 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2999 ac_tool_warned=yes ;;
   3000 esac
   3001     STRIP=$ac_ct_STRIP
   3002   fi
   3003 else
   3004   STRIP="$ac_cv_prog_STRIP"
   3005 fi
   3006 
   3007 fi
   3008 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3009 
   3010 
   3011   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3012 printf %s "checking for a race-free mkdir -p... " >&6; }
   3013 if test -z "$MKDIR_P"; then
   3014   if test ${ac_cv_path_mkdir+y}
   3015 then :
   3016   printf %s "(cached) " >&6
   3017 else case e in #(
   3018   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3019 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3020 do
   3021   IFS=$as_save_IFS
   3022   case $as_dir in #(((
   3023     '') as_dir=./ ;;
   3024     */) ;;
   3025     *) as_dir=$as_dir/ ;;
   3026   esac
   3027     for ac_prog in mkdir gmkdir; do
   3028 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3029 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3030 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3031 	     'mkdir ('*'coreutils) '* | \
   3032 	     *'BusyBox '* | \
   3033 	     'mkdir (fileutils) '4.1*)
   3034 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3035 	       break 3;;
   3036 	   esac
   3037 	 done
   3038        done
   3039   done
   3040 IFS=$as_save_IFS
   3041  ;;
   3042 esac
   3043 fi
   3044 
   3045   test -d ./--version && rmdir ./--version
   3046   if test ${ac_cv_path_mkdir+y}; then
   3047     MKDIR_P="$ac_cv_path_mkdir -p"
   3048   else
   3049     # As a last resort, use plain mkdir -p,
   3050     # in the hope it doesn't have the bugs of ancient mkdir.
   3051     MKDIR_P='mkdir -p'
   3052   fi
   3053 fi
   3054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3055 printf "%s\n" "$MKDIR_P" >&6; }
   3056 
   3057 for ac_prog in gawk mawk nawk awk
   3058 do
   3059   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3060 set dummy $ac_prog; ac_word=$2
   3061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3062 printf %s "checking for $ac_word... " >&6; }
   3063 if test ${ac_cv_prog_AWK+y}
   3064 then :
   3065   printf %s "(cached) " >&6
   3066 else case e in #(
   3067   e) if test -n "$AWK"; then
   3068   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3069 else
   3070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3071 for as_dir in $PATH
   3072 do
   3073   IFS=$as_save_IFS
   3074   case $as_dir in #(((
   3075     '') as_dir=./ ;;
   3076     */) ;;
   3077     *) as_dir=$as_dir/ ;;
   3078   esac
   3079     for ac_exec_ext in '' $ac_executable_extensions; do
   3080   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3081     ac_cv_prog_AWK="$ac_prog"
   3082     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3083     break 2
   3084   fi
   3085 done
   3086   done
   3087 IFS=$as_save_IFS
   3088 
   3089 fi ;;
   3090 esac
   3091 fi
   3092 AWK=$ac_cv_prog_AWK
   3093 if test -n "$AWK"; then
   3094   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3095 printf "%s\n" "$AWK" >&6; }
   3096 else
   3097   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3098 printf "%s\n" "no" >&6; }
   3099 fi
   3100 
   3101 
   3102   test -n "$AWK" && break
   3103 done
   3104 
   3105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3106 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3107 set x ${MAKE-make}
   3108 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3109 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3110 then :
   3111   printf %s "(cached) " >&6
   3112 else case e in #(
   3113   e) cat >conftest.make <<\_ACEOF
   3114 SHELL = /bin/sh
   3115 all:
   3116 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3117 _ACEOF
   3118 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3119 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3120   *@@@%%%=?*=@@@%%%*)
   3121     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3122   *)
   3123     eval ac_cv_prog_make_${ac_make}_set=no;;
   3124 esac
   3125 rm -f conftest.make ;;
   3126 esac
   3127 fi
   3128 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3129   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3130 printf "%s\n" "yes" >&6; }
   3131   SET_MAKE=
   3132 else
   3133   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3134 printf "%s\n" "no" >&6; }
   3135   SET_MAKE="MAKE=${MAKE-make}"
   3136 fi
   3137 
   3138 rm -rf .tst 2>/dev/null
   3139 mkdir .tst 2>/dev/null
   3140 if test -d .tst; then
   3141   am__leading_dot=.
   3142 else
   3143   am__leading_dot=_
   3144 fi
   3145 rmdir .tst 2>/dev/null
   3146 
   3147 AM_DEFAULT_VERBOSITY=1
   3148 # Check whether --enable-silent-rules was given.
   3149 if test ${enable_silent_rules+y}
   3150 then :
   3151   enableval=$enable_silent_rules;
   3152 fi
   3153 
   3154 am_make=${MAKE-make}
   3155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3156 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3157 if test ${am_cv_make_support_nested_variables+y}
   3158 then :
   3159   printf %s "(cached) " >&6
   3160 else case e in #(
   3161   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3162 BAR0=false
   3163 BAR1=true
   3164 V=1
   3165 am__doit:
   3166 	@$(TRUE)
   3167 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3168   am_cv_make_support_nested_variables=yes
   3169 else
   3170   am_cv_make_support_nested_variables=no
   3171 fi ;;
   3172 esac
   3173 fi
   3174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3175 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3176 AM_BACKSLASH='\'
   3177 
   3178 am__rm_f_notfound=
   3179 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3180 then :
   3181 
   3182 else case e in #(
   3183   e) am__rm_f_notfound='""' ;;
   3184 esac
   3185 fi
   3186 
   3187 
   3188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3189 printf %s "checking xargs -n works... " >&6; }
   3190 if test ${am_cv_xargs_n_works+y}
   3191 then :
   3192   printf %s "(cached) " >&6
   3193 else case e in #(
   3194   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3195 3"
   3196 then :
   3197   am_cv_xargs_n_works=yes
   3198 else case e in #(
   3199   e) am_cv_xargs_n_works=no ;;
   3200 esac
   3201 fi ;;
   3202 esac
   3203 fi
   3204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3205 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   3206 if test "$am_cv_xargs_n_works" = yes
   3207 then :
   3208   am__xargs_n='xargs -n'
   3209 else case e in #(
   3210   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3211  ;;
   3212 esac
   3213 fi
   3214 
   3215 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3216   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3217   # is not polluted with repeated "-I."
   3218   am__isrc=' -I$(srcdir)'
   3219   # test to see if srcdir already configured
   3220   if test -f $srcdir/config.status; then
   3221     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3222   fi
   3223 fi
   3224 
   3225 # test whether we have cygpath
   3226 if test -z "$CYGPATH_W"; then
   3227   if (cygpath --version) >/dev/null 2>/dev/null; then
   3228     CYGPATH_W='cygpath -w'
   3229   else
   3230     CYGPATH_W=echo
   3231   fi
   3232 fi
   3233 
   3234 
   3235 # Define the identity of the package.
   3236  PACKAGE='xfd'
   3237  VERSION='1.1.5'
   3238 
   3239 
   3240 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3241 
   3242 
   3243 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3244 
   3245 # Some tools Automake needs.
   3246 
   3247 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3248 
   3249 
   3250 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3251 
   3252 
   3253 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3254 
   3255 
   3256 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3257 
   3258 
   3259 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3260 
   3261 # For better backward compatibility.  To be removed once Automake 1.9.x
   3262 # dies out for good.  For more background, see:
   3263 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3264 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3265 mkdir_p='$(MKDIR_P)'
   3266 
   3267 # We need awk for the "check" target (and possibly the TAP driver).  The
   3268 # system "awk" is bad on some platforms.
   3269 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3270 # in the wild :-(  We should find a proper way to deprecate it ...
   3271 AMTAR='$${TAR-tar}'
   3272 
   3273 
   3274 # We'll loop over all known methods to create a tar archive until one works.
   3275 _am_tools='gnutar plaintar pax cpio none'
   3276 
   3277 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   3278       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   3279       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   3280       # and bug#13588).
   3281       am_max_uid=2097151 # 2^21 - 1
   3282       am_max_gid=$am_max_uid
   3283       # The $UID and $GID variables are not portable, so we need to resort
   3284       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   3285       # below are definitely unexpected, so allow the users to see them
   3286       # (that is, avoid stderr redirection).
   3287       am_uid=`id -u || echo unknown`
   3288       am_gid=`id -g || echo unknown`
   3289       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   3290 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   3291       if test x$am_uid = xunknown; then
   3292         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
   3293 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
   3294       elif test $am_uid -le $am_max_uid; then
   3295         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3296 printf "%s\n" "yes" >&6; }
   3297       else
   3298         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3299 printf "%s\n" "no" >&6; }
   3300         _am_tools=none
   3301       fi
   3302       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   3303 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   3304       if test x$gm_gid = xunknown; then
   3305         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
   3306 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
   3307       elif test $am_gid -le $am_max_gid; then
   3308         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3309 printf "%s\n" "yes" >&6; }
   3310       else
   3311         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3312 printf "%s\n" "no" >&6; }
   3313         _am_tools=none
   3314       fi
   3315 
   3316   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   3317 printf %s "checking how to create a ustar tar archive... " >&6; }
   3318 
   3319   # Go ahead even if we have the value already cached.  We do so because we
   3320   # need to set the values for the 'am__tar' and 'am__untar' variables.
   3321   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   3322 
   3323   for _am_tool in $_am_tools; do
   3324     case $_am_tool in
   3325     gnutar)
   3326       for _am_tar in tar gnutar gtar; do
   3327         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   3328    ($_am_tar --version) >&5 2>&5
   3329    ac_status=$?
   3330    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3331    (exit $ac_status); } && break
   3332       done
   3333       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   3334       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   3335       am__untar="$_am_tar -xf -"
   3336       ;;
   3337     plaintar)
   3338       # Must skip GNU tar: if it does not support --format= it doesn't create
   3339       # ustar tarball either.
   3340       (tar --version) >/dev/null 2>&1 && continue
   3341       am__tar='tar chf - "$$tardir"'
   3342       am__tar_='tar chf - "$tardir"'
   3343       am__untar='tar xf -'
   3344       ;;
   3345     pax)
   3346       am__tar='pax -L -x ustar -w "$$tardir"'
   3347       am__tar_='pax -L -x ustar -w "$tardir"'
   3348       am__untar='pax -r'
   3349       ;;
   3350     cpio)
   3351       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   3352       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   3353       am__untar='cpio -i -H ustar -d'
   3354       ;;
   3355     none)
   3356       am__tar=false
   3357       am__tar_=false
   3358       am__untar=false
   3359       ;;
   3360     esac
   3361 
   3362     # If the value was cached, stop now.  We just wanted to have am__tar
   3363     # and am__untar set.
   3364     test -n "${am_cv_prog_tar_ustar}" && break
   3365 
   3366     # tar/untar a dummy directory, and stop if the command works.
   3367     rm -rf conftest.dir
   3368     mkdir conftest.dir
   3369     echo GrepMe > conftest.dir/file
   3370     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   3371    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   3372    ac_status=$?
   3373    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3374    (exit $ac_status); }
   3375     rm -rf conftest.dir
   3376     if test -s conftest.tar; then
   3377       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   3378    ($am__untar <conftest.tar) >&5 2>&5
   3379    ac_status=$?
   3380    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3381    (exit $ac_status); }
   3382       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   3383    (cat conftest.dir/file) >&5 2>&5
   3384    ac_status=$?
   3385    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3386    (exit $ac_status); }
   3387       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   3388     fi
   3389   done
   3390   rm -rf conftest.dir
   3391 
   3392   if test ${am_cv_prog_tar_ustar+y}
   3393 then :
   3394   printf %s "(cached) " >&6
   3395 else case e in #(
   3396   e) am_cv_prog_tar_ustar=$_am_tool ;;
   3397 esac
   3398 fi
   3399 
   3400   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   3401 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
   3402 
   3403 
   3404 
   3405 
   3406 
   3407 # Variables for tags utilities; see am/tags.am
   3408 if test -z "$CTAGS"; then
   3409   CTAGS=ctags
   3410 fi
   3411 
   3412 if test -z "$ETAGS"; then
   3413   ETAGS=etags
   3414 fi
   3415 
   3416 if test -z "$CSCOPE"; then
   3417   CSCOPE=cscope
   3418 fi
   3419 
   3420 
   3421 
   3422 
   3423 
   3424 
   3425 
   3426 
   3427 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3428 
   3429 
   3430 
   3431 
   3432 
   3433 
   3434 
   3435 
   3436 
   3437 
   3438 
   3439 
   3440 
   3441 
   3442 
   3443 
   3444 
   3445 
   3446 
   3447 
   3448 DEPDIR="${am__leading_dot}deps"
   3449 
   3450 ac_config_commands="$ac_config_commands depfiles"
   3451 
   3452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3453 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3454 cat > confinc.mk << 'END'
   3455 am__doit:
   3456 	@echo this is the am__doit target >confinc.out
   3457 .PHONY: am__doit
   3458 END
   3459 am__include="#"
   3460 am__quote=
   3461 # BSD make does it like this.
   3462 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3463 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3464 echo 'include confinc.mk # ignored' > confmf.GNU
   3465 _am_result=no
   3466 for s in GNU BSD; do
   3467   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3468    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3469    ac_status=$?
   3470    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3471    (exit $ac_status); }
   3472   case $?:`cat confinc.out 2>/dev/null` in #(
   3473   '0:this is the am__doit target') :
   3474     case $s in #(
   3475   BSD) :
   3476     am__include='.include' am__quote='"' ;; #(
   3477   *) :
   3478     am__include='include' am__quote='' ;;
   3479 esac ;; #(
   3480   *) :
   3481      ;;
   3482 esac
   3483   if test "$am__include" != "#"; then
   3484     _am_result="yes ($s style)"
   3485     break
   3486   fi
   3487 done
   3488 rm -f confinc.* confmf.*
   3489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3490 printf "%s\n" "${_am_result}" >&6; }
   3491 
   3492 # Check whether --enable-dependency-tracking was given.
   3493 if test ${enable_dependency_tracking+y}
   3494 then :
   3495   enableval=$enable_dependency_tracking;
   3496 fi
   3497 
   3498 if test "x$enable_dependency_tracking" != xno; then
   3499   am_depcomp="$ac_aux_dir/depcomp"
   3500   AMDEPBACKSLASH='\'
   3501   am__nodep='_no'
   3502 fi
   3503  if test "x$enable_dependency_tracking" != xno; then
   3504   AMDEP_TRUE=
   3505   AMDEP_FALSE='#'
   3506 else
   3507   AMDEP_TRUE='#'
   3508   AMDEP_FALSE=
   3509 fi
   3510 
   3511 
   3512 ac_ext=c
   3513 ac_cpp='$CPP $CPPFLAGS'
   3514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3517 if test -n "$ac_tool_prefix"; then
   3518   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3519 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3521 printf %s "checking for $ac_word... " >&6; }
   3522 if test ${ac_cv_prog_CC+y}
   3523 then :
   3524   printf %s "(cached) " >&6
   3525 else case e in #(
   3526   e) if test -n "$CC"; then
   3527   ac_cv_prog_CC="$CC" # Let the user override the test.
   3528 else
   3529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3530 for as_dir in $PATH
   3531 do
   3532   IFS=$as_save_IFS
   3533   case $as_dir in #(((
   3534     '') as_dir=./ ;;
   3535     */) ;;
   3536     *) as_dir=$as_dir/ ;;
   3537   esac
   3538     for ac_exec_ext in '' $ac_executable_extensions; do
   3539   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3540     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3541     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3542     break 2
   3543   fi
   3544 done
   3545   done
   3546 IFS=$as_save_IFS
   3547 
   3548 fi ;;
   3549 esac
   3550 fi
   3551 CC=$ac_cv_prog_CC
   3552 if test -n "$CC"; then
   3553   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3554 printf "%s\n" "$CC" >&6; }
   3555 else
   3556   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3557 printf "%s\n" "no" >&6; }
   3558 fi
   3559 
   3560 
   3561 fi
   3562 if test -z "$ac_cv_prog_CC"; then
   3563   ac_ct_CC=$CC
   3564   # Extract the first word of "gcc", so it can be a program name with args.
   3565 set dummy gcc; ac_word=$2
   3566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3567 printf %s "checking for $ac_word... " >&6; }
   3568 if test ${ac_cv_prog_ac_ct_CC+y}
   3569 then :
   3570   printf %s "(cached) " >&6
   3571 else case e in #(
   3572   e) if test -n "$ac_ct_CC"; then
   3573   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3574 else
   3575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3576 for as_dir in $PATH
   3577 do
   3578   IFS=$as_save_IFS
   3579   case $as_dir in #(((
   3580     '') as_dir=./ ;;
   3581     */) ;;
   3582     *) as_dir=$as_dir/ ;;
   3583   esac
   3584     for ac_exec_ext in '' $ac_executable_extensions; do
   3585   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3586     ac_cv_prog_ac_ct_CC="gcc"
   3587     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3588     break 2
   3589   fi
   3590 done
   3591   done
   3592 IFS=$as_save_IFS
   3593 
   3594 fi ;;
   3595 esac
   3596 fi
   3597 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3598 if test -n "$ac_ct_CC"; then
   3599   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3600 printf "%s\n" "$ac_ct_CC" >&6; }
   3601 else
   3602   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3603 printf "%s\n" "no" >&6; }
   3604 fi
   3605 
   3606   if test "x$ac_ct_CC" = x; then
   3607     CC=""
   3608   else
   3609     case $cross_compiling:$ac_tool_warned in
   3610 yes:)
   3611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3612 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3613 ac_tool_warned=yes ;;
   3614 esac
   3615     CC=$ac_ct_CC
   3616   fi
   3617 else
   3618   CC="$ac_cv_prog_CC"
   3619 fi
   3620 
   3621 if test -z "$CC"; then
   3622           if test -n "$ac_tool_prefix"; then
   3623     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3624 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3626 printf %s "checking for $ac_word... " >&6; }
   3627 if test ${ac_cv_prog_CC+y}
   3628 then :
   3629   printf %s "(cached) " >&6
   3630 else case e in #(
   3631   e) if test -n "$CC"; then
   3632   ac_cv_prog_CC="$CC" # Let the user override the test.
   3633 else
   3634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3635 for as_dir in $PATH
   3636 do
   3637   IFS=$as_save_IFS
   3638   case $as_dir in #(((
   3639     '') as_dir=./ ;;
   3640     */) ;;
   3641     *) as_dir=$as_dir/ ;;
   3642   esac
   3643     for ac_exec_ext in '' $ac_executable_extensions; do
   3644   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3645     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3646     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3647     break 2
   3648   fi
   3649 done
   3650   done
   3651 IFS=$as_save_IFS
   3652 
   3653 fi ;;
   3654 esac
   3655 fi
   3656 CC=$ac_cv_prog_CC
   3657 if test -n "$CC"; then
   3658   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3659 printf "%s\n" "$CC" >&6; }
   3660 else
   3661   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3662 printf "%s\n" "no" >&6; }
   3663 fi
   3664 
   3665 
   3666   fi
   3667 fi
   3668 if test -z "$CC"; then
   3669   # Extract the first word of "cc", so it can be a program name with args.
   3670 set dummy cc; ac_word=$2
   3671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3672 printf %s "checking for $ac_word... " >&6; }
   3673 if test ${ac_cv_prog_CC+y}
   3674 then :
   3675   printf %s "(cached) " >&6
   3676 else case e in #(
   3677   e) if test -n "$CC"; then
   3678   ac_cv_prog_CC="$CC" # Let the user override the test.
   3679 else
   3680   ac_prog_rejected=no
   3681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3682 for as_dir in $PATH
   3683 do
   3684   IFS=$as_save_IFS
   3685   case $as_dir in #(((
   3686     '') as_dir=./ ;;
   3687     */) ;;
   3688     *) as_dir=$as_dir/ ;;
   3689   esac
   3690     for ac_exec_ext in '' $ac_executable_extensions; do
   3691   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3692     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3693        ac_prog_rejected=yes
   3694        continue
   3695      fi
   3696     ac_cv_prog_CC="cc"
   3697     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3698     break 2
   3699   fi
   3700 done
   3701   done
   3702 IFS=$as_save_IFS
   3703 
   3704 if test $ac_prog_rejected = yes; then
   3705   # We found a bogon in the path, so make sure we never use it.
   3706   set dummy $ac_cv_prog_CC
   3707   shift
   3708   if test $# != 0; then
   3709     # We chose a different compiler from the bogus one.
   3710     # However, it has the same basename, so the bogon will be chosen
   3711     # first if we set CC to just the basename; use the full file name.
   3712     shift
   3713     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3714   fi
   3715 fi
   3716 fi ;;
   3717 esac
   3718 fi
   3719 CC=$ac_cv_prog_CC
   3720 if test -n "$CC"; then
   3721   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3722 printf "%s\n" "$CC" >&6; }
   3723 else
   3724   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3725 printf "%s\n" "no" >&6; }
   3726 fi
   3727 
   3728 
   3729 fi
   3730 if test -z "$CC"; then
   3731   if test -n "$ac_tool_prefix"; then
   3732   for ac_prog in cl.exe
   3733   do
   3734     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3735 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3737 printf %s "checking for $ac_word... " >&6; }
   3738 if test ${ac_cv_prog_CC+y}
   3739 then :
   3740   printf %s "(cached) " >&6
   3741 else case e in #(
   3742   e) if test -n "$CC"; then
   3743   ac_cv_prog_CC="$CC" # Let the user override the test.
   3744 else
   3745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3746 for as_dir in $PATH
   3747 do
   3748   IFS=$as_save_IFS
   3749   case $as_dir in #(((
   3750     '') as_dir=./ ;;
   3751     */) ;;
   3752     *) as_dir=$as_dir/ ;;
   3753   esac
   3754     for ac_exec_ext in '' $ac_executable_extensions; do
   3755   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3756     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3757     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3758     break 2
   3759   fi
   3760 done
   3761   done
   3762 IFS=$as_save_IFS
   3763 
   3764 fi ;;
   3765 esac
   3766 fi
   3767 CC=$ac_cv_prog_CC
   3768 if test -n "$CC"; then
   3769   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3770 printf "%s\n" "$CC" >&6; }
   3771 else
   3772   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3773 printf "%s\n" "no" >&6; }
   3774 fi
   3775 
   3776 
   3777     test -n "$CC" && break
   3778   done
   3779 fi
   3780 if test -z "$CC"; then
   3781   ac_ct_CC=$CC
   3782   for ac_prog in cl.exe
   3783 do
   3784   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3785 set dummy $ac_prog; ac_word=$2
   3786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3787 printf %s "checking for $ac_word... " >&6; }
   3788 if test ${ac_cv_prog_ac_ct_CC+y}
   3789 then :
   3790   printf %s "(cached) " >&6
   3791 else case e in #(
   3792   e) if test -n "$ac_ct_CC"; then
   3793   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3794 else
   3795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3796 for as_dir in $PATH
   3797 do
   3798   IFS=$as_save_IFS
   3799   case $as_dir in #(((
   3800     '') as_dir=./ ;;
   3801     */) ;;
   3802     *) as_dir=$as_dir/ ;;
   3803   esac
   3804     for ac_exec_ext in '' $ac_executable_extensions; do
   3805   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3806     ac_cv_prog_ac_ct_CC="$ac_prog"
   3807     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3808     break 2
   3809   fi
   3810 done
   3811   done
   3812 IFS=$as_save_IFS
   3813 
   3814 fi ;;
   3815 esac
   3816 fi
   3817 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3818 if test -n "$ac_ct_CC"; then
   3819   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3820 printf "%s\n" "$ac_ct_CC" >&6; }
   3821 else
   3822   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3823 printf "%s\n" "no" >&6; }
   3824 fi
   3825 
   3826 
   3827   test -n "$ac_ct_CC" && break
   3828 done
   3829 
   3830   if test "x$ac_ct_CC" = x; then
   3831     CC=""
   3832   else
   3833     case $cross_compiling:$ac_tool_warned in
   3834 yes:)
   3835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3836 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3837 ac_tool_warned=yes ;;
   3838 esac
   3839     CC=$ac_ct_CC
   3840   fi
   3841 fi
   3842 
   3843 fi
   3844 if test -z "$CC"; then
   3845   if test -n "$ac_tool_prefix"; then
   3846   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3847 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3849 printf %s "checking for $ac_word... " >&6; }
   3850 if test ${ac_cv_prog_CC+y}
   3851 then :
   3852   printf %s "(cached) " >&6
   3853 else case e in #(
   3854   e) if test -n "$CC"; then
   3855   ac_cv_prog_CC="$CC" # Let the user override the test.
   3856 else
   3857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3858 for as_dir in $PATH
   3859 do
   3860   IFS=$as_save_IFS
   3861   case $as_dir in #(((
   3862     '') as_dir=./ ;;
   3863     */) ;;
   3864     *) as_dir=$as_dir/ ;;
   3865   esac
   3866     for ac_exec_ext in '' $ac_executable_extensions; do
   3867   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3868     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3869     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3870     break 2
   3871   fi
   3872 done
   3873   done
   3874 IFS=$as_save_IFS
   3875 
   3876 fi ;;
   3877 esac
   3878 fi
   3879 CC=$ac_cv_prog_CC
   3880 if test -n "$CC"; then
   3881   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3882 printf "%s\n" "$CC" >&6; }
   3883 else
   3884   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3885 printf "%s\n" "no" >&6; }
   3886 fi
   3887 
   3888 
   3889 fi
   3890 if test -z "$ac_cv_prog_CC"; then
   3891   ac_ct_CC=$CC
   3892   # Extract the first word of "clang", so it can be a program name with args.
   3893 set dummy clang; ac_word=$2
   3894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3895 printf %s "checking for $ac_word... " >&6; }
   3896 if test ${ac_cv_prog_ac_ct_CC+y}
   3897 then :
   3898   printf %s "(cached) " >&6
   3899 else case e in #(
   3900   e) if test -n "$ac_ct_CC"; then
   3901   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3902 else
   3903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3904 for as_dir in $PATH
   3905 do
   3906   IFS=$as_save_IFS
   3907   case $as_dir in #(((
   3908     '') as_dir=./ ;;
   3909     */) ;;
   3910     *) as_dir=$as_dir/ ;;
   3911   esac
   3912     for ac_exec_ext in '' $ac_executable_extensions; do
   3913   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3914     ac_cv_prog_ac_ct_CC="clang"
   3915     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3916     break 2
   3917   fi
   3918 done
   3919   done
   3920 IFS=$as_save_IFS
   3921 
   3922 fi ;;
   3923 esac
   3924 fi
   3925 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3926 if test -n "$ac_ct_CC"; then
   3927   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3928 printf "%s\n" "$ac_ct_CC" >&6; }
   3929 else
   3930   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3931 printf "%s\n" "no" >&6; }
   3932 fi
   3933 
   3934   if test "x$ac_ct_CC" = x; then
   3935     CC=""
   3936   else
   3937     case $cross_compiling:$ac_tool_warned in
   3938 yes:)
   3939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3940 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3941 ac_tool_warned=yes ;;
   3942 esac
   3943     CC=$ac_ct_CC
   3944   fi
   3945 else
   3946   CC="$ac_cv_prog_CC"
   3947 fi
   3948 
   3949 fi
   3950 
   3951 
   3952 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3953 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3954 as_fn_error $? "no acceptable C compiler found in \$PATH
   3955 See 'config.log' for more details" "$LINENO" 5; }
   3956 
   3957 # Provide some information about the compiler.
   3958 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3959 set X $ac_compile
   3960 ac_compiler=$2
   3961 for ac_option in --version -v -V -qversion -version; do
   3962   { { ac_try="$ac_compiler $ac_option >&5"
   3963 case "(($ac_try" in
   3964   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3965   *) ac_try_echo=$ac_try;;
   3966 esac
   3967 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3968 printf "%s\n" "$ac_try_echo"; } >&5
   3969   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3970   ac_status=$?
   3971   if test -s conftest.err; then
   3972     sed '10a\
   3973 ... rest of stderr output deleted ...
   3974          10q' conftest.err >conftest.er1
   3975     cat conftest.er1 >&5
   3976   fi
   3977   rm -f conftest.er1 conftest.err
   3978   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3979   test $ac_status = 0; }
   3980 done
   3981 
   3982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3983 /* end confdefs.h.  */
   3984 
   3985 int
   3986 main (void)
   3987 {
   3988 
   3989   ;
   3990   return 0;
   3991 }
   3992 _ACEOF
   3993 ac_clean_files_save=$ac_clean_files
   3994 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3995 # Try to create an executable without -o first, disregard a.out.
   3996 # It will help us diagnose broken compilers, and finding out an intuition
   3997 # of exeext.
   3998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3999 printf %s "checking whether the C compiler works... " >&6; }
   4000 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4001 
   4002 # The possible output files:
   4003 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4004 
   4005 ac_rmfiles=
   4006 for ac_file in $ac_files
   4007 do
   4008   case $ac_file in
   4009     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4010     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4011   esac
   4012 done
   4013 rm -f $ac_rmfiles
   4014 
   4015 if { { ac_try="$ac_link_default"
   4016 case "(($ac_try" in
   4017   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4018   *) ac_try_echo=$ac_try;;
   4019 esac
   4020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4021 printf "%s\n" "$ac_try_echo"; } >&5
   4022   (eval "$ac_link_default") 2>&5
   4023   ac_status=$?
   4024   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4025   test $ac_status = 0; }
   4026 then :
   4027   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   4028 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   4029 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4030 # so that the user can short-circuit this test for compilers unknown to
   4031 # Autoconf.
   4032 for ac_file in $ac_files ''
   4033 do
   4034   test -f "$ac_file" || continue
   4035   case $ac_file in
   4036     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4037 	;;
   4038     [ab].out )
   4039 	# We found the default executable, but exeext='' is most
   4040 	# certainly right.
   4041 	break;;
   4042     *.* )
   4043 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4044 	then :; else
   4045 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4046 	fi
   4047 	# We set ac_cv_exeext here because the later test for it is not
   4048 	# safe: cross compilers may not add the suffix if given an '-o'
   4049 	# argument, so we may need to know it at that point already.
   4050 	# Even if this section looks crufty: it has the advantage of
   4051 	# actually working.
   4052 	break;;
   4053     * )
   4054 	break;;
   4055   esac
   4056 done
   4057 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4058 
   4059 else case e in #(
   4060   e) ac_file='' ;;
   4061 esac
   4062 fi
   4063 if test -z "$ac_file"
   4064 then :
   4065   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4066 printf "%s\n" "no" >&6; }
   4067 printf "%s\n" "$as_me: failed program was:" >&5
   4068 sed 's/^/| /' conftest.$ac_ext >&5
   4069 
   4070 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4071 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4072 as_fn_error 77 "C compiler cannot create executables
   4073 See 'config.log' for more details" "$LINENO" 5; }
   4074 else case e in #(
   4075   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4076 printf "%s\n" "yes" >&6; } ;;
   4077 esac
   4078 fi
   4079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4080 printf %s "checking for C compiler default output file name... " >&6; }
   4081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4082 printf "%s\n" "$ac_file" >&6; }
   4083 ac_exeext=$ac_cv_exeext
   4084 
   4085 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4086 ac_clean_files=$ac_clean_files_save
   4087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4088 printf %s "checking for suffix of executables... " >&6; }
   4089 if { { ac_try="$ac_link"
   4090 case "(($ac_try" in
   4091   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4092   *) ac_try_echo=$ac_try;;
   4093 esac
   4094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4095 printf "%s\n" "$ac_try_echo"; } >&5
   4096   (eval "$ac_link") 2>&5
   4097   ac_status=$?
   4098   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4099   test $ac_status = 0; }
   4100 then :
   4101   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   4102 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   4103 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   4104 # 'rm'.
   4105 for ac_file in conftest.exe conftest conftest.*; do
   4106   test -f "$ac_file" || continue
   4107   case $ac_file in
   4108     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4109     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4110 	  break;;
   4111     * ) break;;
   4112   esac
   4113 done
   4114 else case e in #(
   4115   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4116 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4117 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4118 See 'config.log' for more details" "$LINENO" 5; } ;;
   4119 esac
   4120 fi
   4121 rm -f conftest conftest$ac_cv_exeext
   4122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4123 printf "%s\n" "$ac_cv_exeext" >&6; }
   4124 
   4125 rm -f conftest.$ac_ext
   4126 EXEEXT=$ac_cv_exeext
   4127 ac_exeext=$EXEEXT
   4128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4129 /* end confdefs.h.  */
   4130 #include <stdio.h>
   4131 int
   4132 main (void)
   4133 {
   4134 FILE *f = fopen ("conftest.out", "w");
   4135  if (!f)
   4136   return 1;
   4137  return ferror (f) || fclose (f) != 0;
   4138 
   4139   ;
   4140   return 0;
   4141 }
   4142 _ACEOF
   4143 ac_clean_files="$ac_clean_files conftest.out"
   4144 # Check that the compiler produces executables we can run.  If not, either
   4145 # the compiler is broken, or we cross compile.
   4146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4147 printf %s "checking whether we are cross compiling... " >&6; }
   4148 if test "$cross_compiling" != yes; then
   4149   { { ac_try="$ac_link"
   4150 case "(($ac_try" in
   4151   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4152   *) ac_try_echo=$ac_try;;
   4153 esac
   4154 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4155 printf "%s\n" "$ac_try_echo"; } >&5
   4156   (eval "$ac_link") 2>&5
   4157   ac_status=$?
   4158   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4159   test $ac_status = 0; }
   4160   if { ac_try='./conftest$ac_cv_exeext'
   4161   { { case "(($ac_try" in
   4162   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4163   *) ac_try_echo=$ac_try;;
   4164 esac
   4165 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4166 printf "%s\n" "$ac_try_echo"; } >&5
   4167   (eval "$ac_try") 2>&5
   4168   ac_status=$?
   4169   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4170   test $ac_status = 0; }; }; then
   4171     cross_compiling=no
   4172   else
   4173     if test "$cross_compiling" = maybe; then
   4174 	cross_compiling=yes
   4175     else
   4176 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4177 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4178 as_fn_error 77 "cannot run C compiled programs.
   4179 If you meant to cross compile, use '--host'.
   4180 See 'config.log' for more details" "$LINENO" 5; }
   4181     fi
   4182   fi
   4183 fi
   4184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4185 printf "%s\n" "$cross_compiling" >&6; }
   4186 
   4187 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4188   conftest.o conftest.obj conftest.out
   4189 ac_clean_files=$ac_clean_files_save
   4190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4191 printf %s "checking for suffix of object files... " >&6; }
   4192 if test ${ac_cv_objext+y}
   4193 then :
   4194   printf %s "(cached) " >&6
   4195 else case e in #(
   4196   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4197 /* end confdefs.h.  */
   4198 
   4199 int
   4200 main (void)
   4201 {
   4202 
   4203   ;
   4204   return 0;
   4205 }
   4206 _ACEOF
   4207 rm -f conftest.o conftest.obj
   4208 if { { ac_try="$ac_compile"
   4209 case "(($ac_try" in
   4210   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4211   *) ac_try_echo=$ac_try;;
   4212 esac
   4213 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4214 printf "%s\n" "$ac_try_echo"; } >&5
   4215   (eval "$ac_compile") 2>&5
   4216   ac_status=$?
   4217   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4218   test $ac_status = 0; }
   4219 then :
   4220   for ac_file in conftest.o conftest.obj conftest.*; do
   4221   test -f "$ac_file" || continue;
   4222   case $ac_file in
   4223     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4224     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4225        break;;
   4226   esac
   4227 done
   4228 else case e in #(
   4229   e) printf "%s\n" "$as_me: failed program was:" >&5
   4230 sed 's/^/| /' conftest.$ac_ext >&5
   4231 
   4232 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4233 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4234 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4235 See 'config.log' for more details" "$LINENO" 5; } ;;
   4236 esac
   4237 fi
   4238 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4239 esac
   4240 fi
   4241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4242 printf "%s\n" "$ac_cv_objext" >&6; }
   4243 OBJEXT=$ac_cv_objext
   4244 ac_objext=$OBJEXT
   4245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4246 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4247 if test ${ac_cv_c_compiler_gnu+y}
   4248 then :
   4249   printf %s "(cached) " >&6
   4250 else case e in #(
   4251   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4252 /* end confdefs.h.  */
   4253 
   4254 int
   4255 main (void)
   4256 {
   4257 #ifndef __GNUC__
   4258        choke me
   4259 #endif
   4260 
   4261   ;
   4262   return 0;
   4263 }
   4264 _ACEOF
   4265 if ac_fn_c_try_compile "$LINENO"
   4266 then :
   4267   ac_compiler_gnu=yes
   4268 else case e in #(
   4269   e) ac_compiler_gnu=no ;;
   4270 esac
   4271 fi
   4272 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4273 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4274  ;;
   4275 esac
   4276 fi
   4277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4278 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4280 
   4281 if test $ac_compiler_gnu = yes; then
   4282   GCC=yes
   4283 else
   4284   GCC=
   4285 fi
   4286 ac_test_CFLAGS=${CFLAGS+y}
   4287 ac_save_CFLAGS=$CFLAGS
   4288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4289 printf %s "checking whether $CC accepts -g... " >&6; }
   4290 if test ${ac_cv_prog_cc_g+y}
   4291 then :
   4292   printf %s "(cached) " >&6
   4293 else case e in #(
   4294   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4295    ac_c_werror_flag=yes
   4296    ac_cv_prog_cc_g=no
   4297    CFLAGS="-g"
   4298    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4299 /* end confdefs.h.  */
   4300 
   4301 int
   4302 main (void)
   4303 {
   4304 
   4305   ;
   4306   return 0;
   4307 }
   4308 _ACEOF
   4309 if ac_fn_c_try_compile "$LINENO"
   4310 then :
   4311   ac_cv_prog_cc_g=yes
   4312 else case e in #(
   4313   e) CFLAGS=""
   4314       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4315 /* end confdefs.h.  */
   4316 
   4317 int
   4318 main (void)
   4319 {
   4320 
   4321   ;
   4322   return 0;
   4323 }
   4324 _ACEOF
   4325 if ac_fn_c_try_compile "$LINENO"
   4326 then :
   4327 
   4328 else case e in #(
   4329   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4330 	 CFLAGS="-g"
   4331 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4332 /* end confdefs.h.  */
   4333 
   4334 int
   4335 main (void)
   4336 {
   4337 
   4338   ;
   4339   return 0;
   4340 }
   4341 _ACEOF
   4342 if ac_fn_c_try_compile "$LINENO"
   4343 then :
   4344   ac_cv_prog_cc_g=yes
   4345 fi
   4346 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4347 esac
   4348 fi
   4349 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4350 esac
   4351 fi
   4352 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4353    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4354 esac
   4355 fi
   4356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4357 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4358 if test $ac_test_CFLAGS; then
   4359   CFLAGS=$ac_save_CFLAGS
   4360 elif test $ac_cv_prog_cc_g = yes; then
   4361   if test "$GCC" = yes; then
   4362     CFLAGS="-g -O2"
   4363   else
   4364     CFLAGS="-g"
   4365   fi
   4366 else
   4367   if test "$GCC" = yes; then
   4368     CFLAGS="-O2"
   4369   else
   4370     CFLAGS=
   4371   fi
   4372 fi
   4373 ac_prog_cc_stdc=no
   4374 if test x$ac_prog_cc_stdc = xno
   4375 then :
   4376   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4377 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4378 if test ${ac_cv_prog_cc_c11+y}
   4379 then :
   4380   printf %s "(cached) " >&6
   4381 else case e in #(
   4382   e) ac_cv_prog_cc_c11=no
   4383 ac_save_CC=$CC
   4384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4385 /* end confdefs.h.  */
   4386 $ac_c_conftest_c11_program
   4387 _ACEOF
   4388 for ac_arg in '' -std=gnu11
   4389 do
   4390   CC="$ac_save_CC $ac_arg"
   4391   if ac_fn_c_try_compile "$LINENO"
   4392 then :
   4393   ac_cv_prog_cc_c11=$ac_arg
   4394 fi
   4395 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4396   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4397 done
   4398 rm -f conftest.$ac_ext
   4399 CC=$ac_save_CC ;;
   4400 esac
   4401 fi
   4402 
   4403 if test "x$ac_cv_prog_cc_c11" = xno
   4404 then :
   4405   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4406 printf "%s\n" "unsupported" >&6; }
   4407 else case e in #(
   4408   e) if test "x$ac_cv_prog_cc_c11" = x
   4409 then :
   4410   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4411 printf "%s\n" "none needed" >&6; }
   4412 else case e in #(
   4413   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4414 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4415      CC="$CC $ac_cv_prog_cc_c11" ;;
   4416 esac
   4417 fi
   4418   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4419   ac_prog_cc_stdc=c11 ;;
   4420 esac
   4421 fi
   4422 fi
   4423 if test x$ac_prog_cc_stdc = xno
   4424 then :
   4425   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4426 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4427 if test ${ac_cv_prog_cc_c99+y}
   4428 then :
   4429   printf %s "(cached) " >&6
   4430 else case e in #(
   4431   e) ac_cv_prog_cc_c99=no
   4432 ac_save_CC=$CC
   4433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4434 /* end confdefs.h.  */
   4435 $ac_c_conftest_c99_program
   4436 _ACEOF
   4437 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4438 do
   4439   CC="$ac_save_CC $ac_arg"
   4440   if ac_fn_c_try_compile "$LINENO"
   4441 then :
   4442   ac_cv_prog_cc_c99=$ac_arg
   4443 fi
   4444 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4445   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4446 done
   4447 rm -f conftest.$ac_ext
   4448 CC=$ac_save_CC ;;
   4449 esac
   4450 fi
   4451 
   4452 if test "x$ac_cv_prog_cc_c99" = xno
   4453 then :
   4454   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4455 printf "%s\n" "unsupported" >&6; }
   4456 else case e in #(
   4457   e) if test "x$ac_cv_prog_cc_c99" = x
   4458 then :
   4459   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4460 printf "%s\n" "none needed" >&6; }
   4461 else case e in #(
   4462   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4463 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4464      CC="$CC $ac_cv_prog_cc_c99" ;;
   4465 esac
   4466 fi
   4467   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4468   ac_prog_cc_stdc=c99 ;;
   4469 esac
   4470 fi
   4471 fi
   4472 if test x$ac_prog_cc_stdc = xno
   4473 then :
   4474   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4475 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4476 if test ${ac_cv_prog_cc_c89+y}
   4477 then :
   4478   printf %s "(cached) " >&6
   4479 else case e in #(
   4480   e) ac_cv_prog_cc_c89=no
   4481 ac_save_CC=$CC
   4482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4483 /* end confdefs.h.  */
   4484 $ac_c_conftest_c89_program
   4485 _ACEOF
   4486 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4487 do
   4488   CC="$ac_save_CC $ac_arg"
   4489   if ac_fn_c_try_compile "$LINENO"
   4490 then :
   4491   ac_cv_prog_cc_c89=$ac_arg
   4492 fi
   4493 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4494   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4495 done
   4496 rm -f conftest.$ac_ext
   4497 CC=$ac_save_CC ;;
   4498 esac
   4499 fi
   4500 
   4501 if test "x$ac_cv_prog_cc_c89" = xno
   4502 then :
   4503   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4504 printf "%s\n" "unsupported" >&6; }
   4505 else case e in #(
   4506   e) if test "x$ac_cv_prog_cc_c89" = x
   4507 then :
   4508   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4509 printf "%s\n" "none needed" >&6; }
   4510 else case e in #(
   4511   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4512 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4513      CC="$CC $ac_cv_prog_cc_c89" ;;
   4514 esac
   4515 fi
   4516   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4517   ac_prog_cc_stdc=c89 ;;
   4518 esac
   4519 fi
   4520 fi
   4521 
   4522 ac_ext=c
   4523 ac_cpp='$CPP $CPPFLAGS'
   4524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4527 
   4528 
   4529   ac_ext=c
   4530 ac_cpp='$CPP $CPPFLAGS'
   4531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4535 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4536 if test ${am_cv_prog_cc_c_o+y}
   4537 then :
   4538   printf %s "(cached) " >&6
   4539 else case e in #(
   4540   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4541 /* end confdefs.h.  */
   4542 
   4543 int
   4544 main (void)
   4545 {
   4546 
   4547   ;
   4548   return 0;
   4549 }
   4550 _ACEOF
   4551   # Make sure it works both with $CC and with simple cc.
   4552   # Following AC_PROG_CC_C_O, we do the test twice because some
   4553   # compilers refuse to overwrite an existing .o file with -o,
   4554   # though they will create one.
   4555   am_cv_prog_cc_c_o=yes
   4556   for am_i in 1 2; do
   4557     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4558    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4559    ac_status=$?
   4560    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4561    (exit $ac_status); } \
   4562          && test -f conftest2.$ac_objext; then
   4563       : OK
   4564     else
   4565       am_cv_prog_cc_c_o=no
   4566       break
   4567     fi
   4568   done
   4569   # aligned with autoconf, so not including core; see bug#72225.
   4570   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   4571     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   4572     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   4573   unset am_i ;;
   4574 esac
   4575 fi
   4576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4577 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4578 if test "$am_cv_prog_cc_c_o" != yes; then
   4579    # Losing compiler, so override with the script.
   4580    # FIXME: It is wrong to rewrite CC.
   4581    # But if we don't then we get into trouble of one sort or another.
   4582    # A longer-term fix would be to have automake use am__CC in this case,
   4583    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4584    CC="$am_aux_dir/compile $CC"
   4585 fi
   4586 ac_ext=c
   4587 ac_cpp='$CPP $CPPFLAGS'
   4588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4591 
   4592 
   4593 depcc="$CC"   am_compiler_list=
   4594 
   4595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4596 printf %s "checking dependency style of $depcc... " >&6; }
   4597 if test ${am_cv_CC_dependencies_compiler_type+y}
   4598 then :
   4599   printf %s "(cached) " >&6
   4600 else case e in #(
   4601   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4602   # We make a subdir and do the tests there.  Otherwise we can end up
   4603   # making bogus files that we don't know about and never remove.  For
   4604   # instance it was reported that on HP-UX the gcc test will end up
   4605   # making a dummy file named 'D' -- because '-MD' means "put the output
   4606   # in D".
   4607   rm -rf conftest.dir
   4608   mkdir conftest.dir
   4609   # Copy depcomp to subdir because otherwise we won't find it if we're
   4610   # using a relative directory.
   4611   cp "$am_depcomp" conftest.dir
   4612   cd conftest.dir
   4613   # We will build objects and dependencies in a subdirectory because
   4614   # it helps to detect inapplicable dependency modes.  For instance
   4615   # both Tru64's cc and ICC support -MD to output dependencies as a
   4616   # side effect of compilation, but ICC will put the dependencies in
   4617   # the current directory while Tru64 will put them in the object
   4618   # directory.
   4619   mkdir sub
   4620 
   4621   am_cv_CC_dependencies_compiler_type=none
   4622   if test "$am_compiler_list" = ""; then
   4623      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4624   fi
   4625   am__universal=false
   4626   case " $depcc " in #(
   4627      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4628      esac
   4629 
   4630   for depmode in $am_compiler_list; do
   4631     # Setup a source with many dependencies, because some compilers
   4632     # like to wrap large dependency lists on column 80 (with \), and
   4633     # we should not choose a depcomp mode which is confused by this.
   4634     #
   4635     # We need to recreate these files for each test, as the compiler may
   4636     # overwrite some of them when testing with obscure command lines.
   4637     # This happens at least with the AIX C compiler.
   4638     : > sub/conftest.c
   4639     for i in 1 2 3 4 5 6; do
   4640       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4641       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4642       # Solaris 10 /bin/sh.
   4643       echo '/* dummy */' > sub/conftst$i.h
   4644     done
   4645     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4646 
   4647     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4648     # mode.  It turns out that the SunPro C++ compiler does not properly
   4649     # handle '-M -o', and we need to detect this.  Also, some Intel
   4650     # versions had trouble with output in subdirs.
   4651     am__obj=sub/conftest.${OBJEXT-o}
   4652     am__minus_obj="-o $am__obj"
   4653     case $depmode in
   4654     gcc)
   4655       # This depmode causes a compiler race in universal mode.
   4656       test "$am__universal" = false || continue
   4657       ;;
   4658     nosideeffect)
   4659       # After this tag, mechanisms are not by side-effect, so they'll
   4660       # only be used when explicitly requested.
   4661       if test "x$enable_dependency_tracking" = xyes; then
   4662 	continue
   4663       else
   4664 	break
   4665       fi
   4666       ;;
   4667     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4668       # This compiler won't grok '-c -o', but also, the minuso test has
   4669       # not run yet.  These depmodes are late enough in the game, and
   4670       # so weak that their functioning should not be impacted.
   4671       am__obj=conftest.${OBJEXT-o}
   4672       am__minus_obj=
   4673       ;;
   4674     none) break ;;
   4675     esac
   4676     if depmode=$depmode \
   4677        source=sub/conftest.c object=$am__obj \
   4678        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4679        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4680          >/dev/null 2>conftest.err &&
   4681        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4682        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4683        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4684        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4685       # icc doesn't choke on unknown options, it will just issue warnings
   4686       # or remarks (even with -Werror).  So we grep stderr for any message
   4687       # that says an option was ignored or not supported.
   4688       # When given -MP, icc 7.0 and 7.1 complain thus:
   4689       #   icc: Command line warning: ignoring option '-M'; no argument required
   4690       # The diagnosis changed in icc 8.0:
   4691       #   icc: Command line remark: option '-MP' not supported
   4692       if (grep 'ignoring option' conftest.err ||
   4693           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4694         am_cv_CC_dependencies_compiler_type=$depmode
   4695         break
   4696       fi
   4697     fi
   4698   done
   4699 
   4700   cd ..
   4701   rm -rf conftest.dir
   4702 else
   4703   am_cv_CC_dependencies_compiler_type=none
   4704 fi
   4705  ;;
   4706 esac
   4707 fi
   4708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4709 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4710 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4711 
   4712  if
   4713   test "x$enable_dependency_tracking" != xno \
   4714   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4715   am__fastdepCC_TRUE=
   4716   am__fastdepCC_FALSE='#'
   4717 else
   4718   am__fastdepCC_TRUE='#'
   4719   am__fastdepCC_FALSE=
   4720 fi
   4721 
   4722 
   4723 
   4724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4725 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4726 if test ${ac_cv_c_undeclared_builtin_options+y}
   4727 then :
   4728   printf %s "(cached) " >&6
   4729 else case e in #(
   4730   e) ac_save_CFLAGS=$CFLAGS
   4731    ac_cv_c_undeclared_builtin_options='cannot detect'
   4732    for ac_arg in '' -fno-builtin; do
   4733      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4734      # This test program should *not* compile successfully.
   4735      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4736 /* end confdefs.h.  */
   4737 
   4738 int
   4739 main (void)
   4740 {
   4741 (void) strchr;
   4742   ;
   4743   return 0;
   4744 }
   4745 _ACEOF
   4746 if ac_fn_c_try_compile "$LINENO"
   4747 then :
   4748 
   4749 else case e in #(
   4750   e) # This test program should compile successfully.
   4751         # No library function is consistently available on
   4752         # freestanding implementations, so test against a dummy
   4753         # declaration.  Include always-available headers on the
   4754         # off chance that they somehow elicit warnings.
   4755         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4756 /* end confdefs.h.  */
   4757 #include <float.h>
   4758 #include <limits.h>
   4759 #include <stdarg.h>
   4760 #include <stddef.h>
   4761 extern void ac_decl (int, char *);
   4762 
   4763 int
   4764 main (void)
   4765 {
   4766 (void) ac_decl (0, (char *) 0);
   4767   (void) ac_decl;
   4768 
   4769   ;
   4770   return 0;
   4771 }
   4772 _ACEOF
   4773 if ac_fn_c_try_compile "$LINENO"
   4774 then :
   4775   if test x"$ac_arg" = x
   4776 then :
   4777   ac_cv_c_undeclared_builtin_options='none needed'
   4778 else case e in #(
   4779   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4780 esac
   4781 fi
   4782           break
   4783 fi
   4784 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4785 esac
   4786 fi
   4787 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4788     done
   4789     CFLAGS=$ac_save_CFLAGS
   4790    ;;
   4791 esac
   4792 fi
   4793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4794 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4795   case $ac_cv_c_undeclared_builtin_options in #(
   4796   'cannot detect') :
   4797     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4798 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4799 as_fn_error $? "cannot make $CC report undeclared builtins
   4800 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4801   'none needed') :
   4802     ac_c_undeclared_builtin_options='' ;; #(
   4803   *) :
   4804     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4805 esac
   4806 
   4807 ac_header= ac_cache=
   4808 for ac_item in $ac_header_c_list
   4809 do
   4810   if test $ac_cache; then
   4811     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4812     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4813       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4814     fi
   4815     ac_header= ac_cache=
   4816   elif test $ac_header; then
   4817     ac_cache=$ac_item
   4818   else
   4819     ac_header=$ac_item
   4820   fi
   4821 done
   4822 
   4823 
   4824 
   4825 
   4826 
   4827 
   4828 
   4829 
   4830 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4831 then :
   4832 
   4833 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4834 
   4835 fi
   4836 
   4837 
   4838 
   4839 
   4840 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4841 if test "x$ac_cv_have_decl___clang__" = xyes
   4842 then :
   4843   CLANGCC="yes"
   4844 else case e in #(
   4845   e) CLANGCC="no" ;;
   4846 esac
   4847 fi
   4848 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4849 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4850 then :
   4851   INTELCC="yes"
   4852 else case e in #(
   4853   e) INTELCC="no" ;;
   4854 esac
   4855 fi
   4856 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4857 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4858 then :
   4859   SUNCC="yes"
   4860 else case e in #(
   4861   e) SUNCC="no" ;;
   4862 esac
   4863 fi
   4864 
   4865 
   4866 
   4867 
   4868 
   4869 
   4870 
   4871 
   4872 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4873 	if test -n "$ac_tool_prefix"; then
   4874   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4875 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4877 printf %s "checking for $ac_word... " >&6; }
   4878 if test ${ac_cv_path_PKG_CONFIG+y}
   4879 then :
   4880   printf %s "(cached) " >&6
   4881 else case e in #(
   4882   e) case $PKG_CONFIG in
   4883   [\\/]* | ?:[\\/]*)
   4884   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4885   ;;
   4886   *)
   4887   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4888 for as_dir in $PATH
   4889 do
   4890   IFS=$as_save_IFS
   4891   case $as_dir in #(((
   4892     '') as_dir=./ ;;
   4893     */) ;;
   4894     *) as_dir=$as_dir/ ;;
   4895   esac
   4896     for ac_exec_ext in '' $ac_executable_extensions; do
   4897   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4898     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4899     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4900     break 2
   4901   fi
   4902 done
   4903   done
   4904 IFS=$as_save_IFS
   4905 
   4906   ;;
   4907 esac ;;
   4908 esac
   4909 fi
   4910 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4911 if test -n "$PKG_CONFIG"; then
   4912   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4913 printf "%s\n" "$PKG_CONFIG" >&6; }
   4914 else
   4915   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4916 printf "%s\n" "no" >&6; }
   4917 fi
   4918 
   4919 
   4920 fi
   4921 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4922   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4923   # Extract the first word of "pkg-config", so it can be a program name with args.
   4924 set dummy pkg-config; ac_word=$2
   4925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4926 printf %s "checking for $ac_word... " >&6; }
   4927 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4928 then :
   4929   printf %s "(cached) " >&6
   4930 else case e in #(
   4931   e) case $ac_pt_PKG_CONFIG in
   4932   [\\/]* | ?:[\\/]*)
   4933   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4934   ;;
   4935   *)
   4936   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4937 for as_dir in $PATH
   4938 do
   4939   IFS=$as_save_IFS
   4940   case $as_dir in #(((
   4941     '') as_dir=./ ;;
   4942     */) ;;
   4943     *) as_dir=$as_dir/ ;;
   4944   esac
   4945     for ac_exec_ext in '' $ac_executable_extensions; do
   4946   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4947     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4948     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4949     break 2
   4950   fi
   4951 done
   4952   done
   4953 IFS=$as_save_IFS
   4954 
   4955   ;;
   4956 esac ;;
   4957 esac
   4958 fi
   4959 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4960 if test -n "$ac_pt_PKG_CONFIG"; then
   4961   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4962 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4963 else
   4964   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4965 printf "%s\n" "no" >&6; }
   4966 fi
   4967 
   4968   if test "x$ac_pt_PKG_CONFIG" = x; then
   4969     PKG_CONFIG=""
   4970   else
   4971     case $cross_compiling:$ac_tool_warned in
   4972 yes:)
   4973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4974 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4975 ac_tool_warned=yes ;;
   4976 esac
   4977     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4978   fi
   4979 else
   4980   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4981 fi
   4982 
   4983 fi
   4984 if test -n "$PKG_CONFIG"; then
   4985 	_pkg_min_version=0.9.0
   4986 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4987 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4988 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4989 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4990 printf "%s\n" "yes" >&6; }
   4991 	else
   4992 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4993 printf "%s\n" "no" >&6; }
   4994 		PKG_CONFIG=""
   4995 	fi
   4996 fi
   4997 
   4998 
   4999   # Make sure we can run config.sub.
   5000 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   5001   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   5002 
   5003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5004 printf %s "checking build system type... " >&6; }
   5005 if test ${ac_cv_build+y}
   5006 then :
   5007   printf %s "(cached) " >&6
   5008 else case e in #(
   5009   e) ac_build_alias=$build_alias
   5010 test "x$ac_build_alias" = x &&
   5011   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   5012 test "x$ac_build_alias" = x &&
   5013   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5014 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   5015   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   5016  ;;
   5017 esac
   5018 fi
   5019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5020 printf "%s\n" "$ac_cv_build" >&6; }
   5021 case $ac_cv_build in
   5022 *-*-*) ;;
   5023 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5024 esac
   5025 build=$ac_cv_build
   5026 ac_save_IFS=$IFS; IFS='-'
   5027 set x $ac_cv_build
   5028 shift
   5029 build_cpu=$1
   5030 build_vendor=$2
   5031 shift; shift
   5032 # Remember, the first character of IFS is used to create $*,
   5033 # except with old shells:
   5034 build_os=$*
   5035 IFS=$ac_save_IFS
   5036 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   5037 
   5038 
   5039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5040 printf %s "checking host system type... " >&6; }
   5041 if test ${ac_cv_host+y}
   5042 then :
   5043   printf %s "(cached) " >&6
   5044 else case e in #(
   5045   e) if test "x$host_alias" = x; then
   5046   ac_cv_host=$ac_cv_build
   5047 else
   5048   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   5049     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   5050 fi
   5051  ;;
   5052 esac
   5053 fi
   5054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5055 printf "%s\n" "$ac_cv_host" >&6; }
   5056 case $ac_cv_host in
   5057 *-*-*) ;;
   5058 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5059 esac
   5060 host=$ac_cv_host
   5061 ac_save_IFS=$IFS; IFS='-'
   5062 set x $ac_cv_host
   5063 shift
   5064 host_cpu=$1
   5065 host_vendor=$2
   5066 shift; shift
   5067 # Remember, the first character of IFS is used to create $*,
   5068 # except with old shells:
   5069 host_os=$*
   5070 IFS=$ac_save_IFS
   5071 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5072 
   5073 
   5074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5075 printf %s "checking for a sed that does not truncate output... " >&6; }
   5076 if test ${ac_cv_path_SED+y}
   5077 then :
   5078   printf %s "(cached) " >&6
   5079 else case e in #(
   5080   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5081      for ac_i in 1 2 3 4 5 6 7; do
   5082        ac_script="$ac_script$as_nl$ac_script"
   5083      done
   5084      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5085      { ac_script=; unset ac_script;}
   5086      if test -z "$SED"; then
   5087   ac_path_SED_found=false
   5088   # Loop through the user's path and test for each of PROGNAME-LIST
   5089   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5090 for as_dir in $PATH
   5091 do
   5092   IFS=$as_save_IFS
   5093   case $as_dir in #(((
   5094     '') as_dir=./ ;;
   5095     */) ;;
   5096     *) as_dir=$as_dir/ ;;
   5097   esac
   5098     for ac_prog in sed gsed
   5099    do
   5100     for ac_exec_ext in '' $ac_executable_extensions; do
   5101       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5102       as_fn_executable_p "$ac_path_SED" || continue
   5103 # Check for GNU ac_path_SED and select it if it is found.
   5104   # Check for GNU $ac_path_SED
   5105 case `"$ac_path_SED" --version 2>&1` in #(
   5106 *GNU*)
   5107   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5108 #(
   5109 *)
   5110   ac_count=0
   5111   printf %s 0123456789 >"conftest.in"
   5112   while :
   5113   do
   5114     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5115     mv "conftest.tmp" "conftest.in"
   5116     cp "conftest.in" "conftest.nl"
   5117     printf "%s\n" '' >> "conftest.nl"
   5118     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5119     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5120     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5121     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5122       # Best one so far, save it but keep looking for a better one
   5123       ac_cv_path_SED="$ac_path_SED"
   5124       ac_path_SED_max=$ac_count
   5125     fi
   5126     # 10*(2^10) chars as input seems more than enough
   5127     test $ac_count -gt 10 && break
   5128   done
   5129   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5130 esac
   5131 
   5132       $ac_path_SED_found && break 3
   5133     done
   5134   done
   5135   done
   5136 IFS=$as_save_IFS
   5137   if test -z "$ac_cv_path_SED"; then
   5138     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5139   fi
   5140 else
   5141   ac_cv_path_SED=$SED
   5142 fi
   5143  ;;
   5144 esac
   5145 fi
   5146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5147 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5148  SED="$ac_cv_path_SED"
   5149   rm -f conftest.sed
   5150 
   5151 
   5152 
   5153 
   5154 
   5155 
   5156 # Check whether --enable-selective-werror was given.
   5157 if test ${enable_selective_werror+y}
   5158 then :
   5159   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5160 else case e in #(
   5161   e) SELECTIVE_WERROR=yes ;;
   5162 esac
   5163 fi
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5170 if test "x$SUNCC" = "xyes"; then
   5171     BASE_CFLAGS="-v"
   5172 else
   5173     BASE_CFLAGS=""
   5174 fi
   5175 
   5176 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5177 
   5178 
   5179 
   5180 
   5181 
   5182 
   5183 
   5184 
   5185 
   5186 
   5187 
   5188 
   5189 
   5190 xorg_testset_save_CFLAGS="$CFLAGS"
   5191 
   5192 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5193 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5194 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5195 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5196 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5197 then :
   5198   printf %s "(cached) " >&6
   5199 else case e in #(
   5200   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5201 /* end confdefs.h.  */
   5202 int i;
   5203 _ACEOF
   5204 if ac_fn_c_try_compile "$LINENO"
   5205 then :
   5206   xorg_cv_cc_flag_unknown_warning_option=yes
   5207 else case e in #(
   5208   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5209 esac
   5210 fi
   5211 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5212 esac
   5213 fi
   5214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5215 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5216 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5217 	CFLAGS="$xorg_testset_save_CFLAGS"
   5218 fi
   5219 
   5220 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5221 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5222 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5223 	fi
   5224 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5225 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5226 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5227 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5228 then :
   5229   printf %s "(cached) " >&6
   5230 else case e in #(
   5231   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5232 /* end confdefs.h.  */
   5233 int i;
   5234 _ACEOF
   5235 if ac_fn_c_try_compile "$LINENO"
   5236 then :
   5237   xorg_cv_cc_flag_unused_command_line_argument=yes
   5238 else case e in #(
   5239   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5240 esac
   5241 fi
   5242 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5243 esac
   5244 fi
   5245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5246 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5247 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5248 	CFLAGS="$xorg_testset_save_CFLAGS"
   5249 fi
   5250 
   5251 found="no"
   5252 
   5253 	if test $found = "no" ; then
   5254 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5255 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5256 		fi
   5257 
   5258 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5259 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5260 		fi
   5261 
   5262 		CFLAGS="$CFLAGS -Wall"
   5263 
   5264 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5265 printf %s "checking if $CC supports -Wall... " >&6; }
   5266 		cacheid=xorg_cv_cc_flag__Wall
   5267 		if eval test \${$cacheid+y}
   5268 then :
   5269   printf %s "(cached) " >&6
   5270 else case e in #(
   5271   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5272 /* end confdefs.h.  */
   5273 int i;
   5274 int
   5275 main (void)
   5276 {
   5277 
   5278   ;
   5279   return 0;
   5280 }
   5281 _ACEOF
   5282 if ac_fn_c_try_link "$LINENO"
   5283 then :
   5284   eval $cacheid=yes
   5285 else case e in #(
   5286   e) eval $cacheid=no ;;
   5287 esac
   5288 fi
   5289 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5290     conftest$ac_exeext conftest.$ac_ext ;;
   5291 esac
   5292 fi
   5293 
   5294 
   5295 		CFLAGS="$xorg_testset_save_CFLAGS"
   5296 
   5297 		eval supported=\$$cacheid
   5298 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5299 printf "%s\n" "$supported" >&6; }
   5300 		if test "$supported" = "yes" ; then
   5301 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5302 			found="yes"
   5303 		fi
   5304 	fi
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 
   5319 
   5320 xorg_testset_save_CFLAGS="$CFLAGS"
   5321 
   5322 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5323 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5324 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5325 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5326 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5327 then :
   5328   printf %s "(cached) " >&6
   5329 else case e in #(
   5330   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5331 /* end confdefs.h.  */
   5332 int i;
   5333 _ACEOF
   5334 if ac_fn_c_try_compile "$LINENO"
   5335 then :
   5336   xorg_cv_cc_flag_unknown_warning_option=yes
   5337 else case e in #(
   5338   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5339 esac
   5340 fi
   5341 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5342 esac
   5343 fi
   5344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5345 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5346 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5347 	CFLAGS="$xorg_testset_save_CFLAGS"
   5348 fi
   5349 
   5350 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5351 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5352 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5353 	fi
   5354 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5355 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5356 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5357 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5358 then :
   5359   printf %s "(cached) " >&6
   5360 else case e in #(
   5361   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5362 /* end confdefs.h.  */
   5363 int i;
   5364 _ACEOF
   5365 if ac_fn_c_try_compile "$LINENO"
   5366 then :
   5367   xorg_cv_cc_flag_unused_command_line_argument=yes
   5368 else case e in #(
   5369   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5370 esac
   5371 fi
   5372 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5373 esac
   5374 fi
   5375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5376 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5377 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5378 	CFLAGS="$xorg_testset_save_CFLAGS"
   5379 fi
   5380 
   5381 found="no"
   5382 
   5383 	if test $found = "no" ; then
   5384 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5385 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5386 		fi
   5387 
   5388 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5389 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5390 		fi
   5391 
   5392 		CFLAGS="$CFLAGS -Wpointer-arith"
   5393 
   5394 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5395 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5396 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5397 		if eval test \${$cacheid+y}
   5398 then :
   5399   printf %s "(cached) " >&6
   5400 else case e in #(
   5401   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5402 /* end confdefs.h.  */
   5403 int i;
   5404 int
   5405 main (void)
   5406 {
   5407 
   5408   ;
   5409   return 0;
   5410 }
   5411 _ACEOF
   5412 if ac_fn_c_try_link "$LINENO"
   5413 then :
   5414   eval $cacheid=yes
   5415 else case e in #(
   5416   e) eval $cacheid=no ;;
   5417 esac
   5418 fi
   5419 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5420     conftest$ac_exeext conftest.$ac_ext ;;
   5421 esac
   5422 fi
   5423 
   5424 
   5425 		CFLAGS="$xorg_testset_save_CFLAGS"
   5426 
   5427 		eval supported=\$$cacheid
   5428 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5429 printf "%s\n" "$supported" >&6; }
   5430 		if test "$supported" = "yes" ; then
   5431 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5432 			found="yes"
   5433 		fi
   5434 	fi
   5435 
   5436 
   5437 
   5438 
   5439 
   5440 
   5441 
   5442 
   5443 
   5444 
   5445 
   5446 
   5447 
   5448 
   5449 
   5450 xorg_testset_save_CFLAGS="$CFLAGS"
   5451 
   5452 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5453 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5454 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5455 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5456 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5457 then :
   5458   printf %s "(cached) " >&6
   5459 else case e in #(
   5460   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5461 /* end confdefs.h.  */
   5462 int i;
   5463 _ACEOF
   5464 if ac_fn_c_try_compile "$LINENO"
   5465 then :
   5466   xorg_cv_cc_flag_unknown_warning_option=yes
   5467 else case e in #(
   5468   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5469 esac
   5470 fi
   5471 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5472 esac
   5473 fi
   5474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5475 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5476 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5477 	CFLAGS="$xorg_testset_save_CFLAGS"
   5478 fi
   5479 
   5480 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5481 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5482 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5483 	fi
   5484 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5485 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5486 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5487 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5488 then :
   5489   printf %s "(cached) " >&6
   5490 else case e in #(
   5491   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5492 /* end confdefs.h.  */
   5493 int i;
   5494 _ACEOF
   5495 if ac_fn_c_try_compile "$LINENO"
   5496 then :
   5497   xorg_cv_cc_flag_unused_command_line_argument=yes
   5498 else case e in #(
   5499   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5500 esac
   5501 fi
   5502 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5503 esac
   5504 fi
   5505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5506 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5507 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5508 	CFLAGS="$xorg_testset_save_CFLAGS"
   5509 fi
   5510 
   5511 found="no"
   5512 
   5513 	if test $found = "no" ; then
   5514 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5515 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5516 		fi
   5517 
   5518 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5519 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5520 		fi
   5521 
   5522 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5523 
   5524 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5525 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5526 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5527 		if eval test \${$cacheid+y}
   5528 then :
   5529   printf %s "(cached) " >&6
   5530 else case e in #(
   5531   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5532 /* end confdefs.h.  */
   5533 int i;
   5534 int
   5535 main (void)
   5536 {
   5537 
   5538   ;
   5539   return 0;
   5540 }
   5541 _ACEOF
   5542 if ac_fn_c_try_link "$LINENO"
   5543 then :
   5544   eval $cacheid=yes
   5545 else case e in #(
   5546   e) eval $cacheid=no ;;
   5547 esac
   5548 fi
   5549 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5550     conftest$ac_exeext conftest.$ac_ext ;;
   5551 esac
   5552 fi
   5553 
   5554 
   5555 		CFLAGS="$xorg_testset_save_CFLAGS"
   5556 
   5557 		eval supported=\$$cacheid
   5558 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5559 printf "%s\n" "$supported" >&6; }
   5560 		if test "$supported" = "yes" ; then
   5561 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5562 			found="yes"
   5563 		fi
   5564 	fi
   5565 
   5566 
   5567 
   5568 
   5569 
   5570 
   5571 
   5572 
   5573 
   5574 
   5575 
   5576 
   5577 
   5578 
   5579 
   5580 xorg_testset_save_CFLAGS="$CFLAGS"
   5581 
   5582 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5583 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5584 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5585 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5586 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5587 then :
   5588   printf %s "(cached) " >&6
   5589 else case e in #(
   5590   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5591 /* end confdefs.h.  */
   5592 int i;
   5593 _ACEOF
   5594 if ac_fn_c_try_compile "$LINENO"
   5595 then :
   5596   xorg_cv_cc_flag_unknown_warning_option=yes
   5597 else case e in #(
   5598   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5599 esac
   5600 fi
   5601 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5602 esac
   5603 fi
   5604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5605 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5606 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5607 	CFLAGS="$xorg_testset_save_CFLAGS"
   5608 fi
   5609 
   5610 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5611 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5612 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5613 	fi
   5614 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5615 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5616 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5617 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5618 then :
   5619   printf %s "(cached) " >&6
   5620 else case e in #(
   5621   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5622 /* end confdefs.h.  */
   5623 int i;
   5624 _ACEOF
   5625 if ac_fn_c_try_compile "$LINENO"
   5626 then :
   5627   xorg_cv_cc_flag_unused_command_line_argument=yes
   5628 else case e in #(
   5629   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5630 esac
   5631 fi
   5632 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5633 esac
   5634 fi
   5635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5636 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5637 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5638 	CFLAGS="$xorg_testset_save_CFLAGS"
   5639 fi
   5640 
   5641 found="no"
   5642 
   5643 	if test $found = "no" ; then
   5644 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5645 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5646 		fi
   5647 
   5648 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5649 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5650 		fi
   5651 
   5652 		CFLAGS="$CFLAGS -Wformat=2"
   5653 
   5654 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5655 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5656 		cacheid=xorg_cv_cc_flag__Wformat_2
   5657 		if eval test \${$cacheid+y}
   5658 then :
   5659   printf %s "(cached) " >&6
   5660 else case e in #(
   5661   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5662 /* end confdefs.h.  */
   5663 int i;
   5664 int
   5665 main (void)
   5666 {
   5667 
   5668   ;
   5669   return 0;
   5670 }
   5671 _ACEOF
   5672 if ac_fn_c_try_link "$LINENO"
   5673 then :
   5674   eval $cacheid=yes
   5675 else case e in #(
   5676   e) eval $cacheid=no ;;
   5677 esac
   5678 fi
   5679 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5680     conftest$ac_exeext conftest.$ac_ext ;;
   5681 esac
   5682 fi
   5683 
   5684 
   5685 		CFLAGS="$xorg_testset_save_CFLAGS"
   5686 
   5687 		eval supported=\$$cacheid
   5688 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5689 printf "%s\n" "$supported" >&6; }
   5690 		if test "$supported" = "yes" ; then
   5691 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5692 			found="yes"
   5693 		fi
   5694 	fi
   5695 
   5696 	if test $found = "no" ; then
   5697 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5698 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5699 		fi
   5700 
   5701 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5702 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5703 		fi
   5704 
   5705 		CFLAGS="$CFLAGS -Wformat"
   5706 
   5707 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5708 printf %s "checking if $CC supports -Wformat... " >&6; }
   5709 		cacheid=xorg_cv_cc_flag__Wformat
   5710 		if eval test \${$cacheid+y}
   5711 then :
   5712   printf %s "(cached) " >&6
   5713 else case e in #(
   5714   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5715 /* end confdefs.h.  */
   5716 int i;
   5717 int
   5718 main (void)
   5719 {
   5720 
   5721   ;
   5722   return 0;
   5723 }
   5724 _ACEOF
   5725 if ac_fn_c_try_link "$LINENO"
   5726 then :
   5727   eval $cacheid=yes
   5728 else case e in #(
   5729   e) eval $cacheid=no ;;
   5730 esac
   5731 fi
   5732 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5733     conftest$ac_exeext conftest.$ac_ext ;;
   5734 esac
   5735 fi
   5736 
   5737 
   5738 		CFLAGS="$xorg_testset_save_CFLAGS"
   5739 
   5740 		eval supported=\$$cacheid
   5741 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5742 printf "%s\n" "$supported" >&6; }
   5743 		if test "$supported" = "yes" ; then
   5744 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5745 			found="yes"
   5746 		fi
   5747 	fi
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 xorg_testset_save_CFLAGS="$CFLAGS"
   5766 
   5767 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5768 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5769 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5770 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5771 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5772 then :
   5773   printf %s "(cached) " >&6
   5774 else case e in #(
   5775   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5776 /* end confdefs.h.  */
   5777 int i;
   5778 _ACEOF
   5779 if ac_fn_c_try_compile "$LINENO"
   5780 then :
   5781   xorg_cv_cc_flag_unknown_warning_option=yes
   5782 else case e in #(
   5783   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5784 esac
   5785 fi
   5786 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5787 esac
   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 case e in #(
   5806   e) 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 case e in #(
   5814   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5815 esac
   5816 fi
   5817 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5818 esac
   5819 fi
   5820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5821 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5822 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5823 	CFLAGS="$xorg_testset_save_CFLAGS"
   5824 fi
   5825 
   5826 found="no"
   5827 
   5828 	if test $found = "no" ; then
   5829 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5830 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5831 		fi
   5832 
   5833 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5834 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5835 		fi
   5836 
   5837 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5838 
   5839 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5840 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5841 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5842 		if eval test \${$cacheid+y}
   5843 then :
   5844   printf %s "(cached) " >&6
   5845 else case e in #(
   5846   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5847 /* end confdefs.h.  */
   5848 int i;
   5849 int
   5850 main (void)
   5851 {
   5852 
   5853   ;
   5854   return 0;
   5855 }
   5856 _ACEOF
   5857 if ac_fn_c_try_link "$LINENO"
   5858 then :
   5859   eval $cacheid=yes
   5860 else case e in #(
   5861   e) eval $cacheid=no ;;
   5862 esac
   5863 fi
   5864 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5865     conftest$ac_exeext conftest.$ac_ext ;;
   5866 esac
   5867 fi
   5868 
   5869 
   5870 		CFLAGS="$xorg_testset_save_CFLAGS"
   5871 
   5872 		eval supported=\$$cacheid
   5873 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5874 printf "%s\n" "$supported" >&6; }
   5875 		if test "$supported" = "yes" ; then
   5876 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5877 			found="yes"
   5878 		fi
   5879 	fi
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 
   5889 
   5890 
   5891 
   5892 
   5893 
   5894 
   5895 xorg_testset_save_CFLAGS="$CFLAGS"
   5896 
   5897 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5898 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5899 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5900 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5901 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5902 then :
   5903   printf %s "(cached) " >&6
   5904 else case e in #(
   5905   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5906 /* end confdefs.h.  */
   5907 int i;
   5908 _ACEOF
   5909 if ac_fn_c_try_compile "$LINENO"
   5910 then :
   5911   xorg_cv_cc_flag_unknown_warning_option=yes
   5912 else case e in #(
   5913   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5914 esac
   5915 fi
   5916 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5917 esac
   5918 fi
   5919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5920 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5921 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5922 	CFLAGS="$xorg_testset_save_CFLAGS"
   5923 fi
   5924 
   5925 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5926 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5927 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5928 	fi
   5929 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5930 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5931 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5932 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5933 then :
   5934   printf %s "(cached) " >&6
   5935 else case e in #(
   5936   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5937 /* end confdefs.h.  */
   5938 int i;
   5939 _ACEOF
   5940 if ac_fn_c_try_compile "$LINENO"
   5941 then :
   5942   xorg_cv_cc_flag_unused_command_line_argument=yes
   5943 else case e in #(
   5944   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5945 esac
   5946 fi
   5947 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5948 esac
   5949 fi
   5950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5951 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5952 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5953 	CFLAGS="$xorg_testset_save_CFLAGS"
   5954 fi
   5955 
   5956 found="no"
   5957 
   5958 	if test $found = "no" ; then
   5959 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5960 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5961 		fi
   5962 
   5963 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5964 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5965 		fi
   5966 
   5967 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5968 
   5969 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5970 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5971 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5972 		if eval test \${$cacheid+y}
   5973 then :
   5974   printf %s "(cached) " >&6
   5975 else case e in #(
   5976   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5977 /* end confdefs.h.  */
   5978 int i;
   5979 int
   5980 main (void)
   5981 {
   5982 
   5983   ;
   5984   return 0;
   5985 }
   5986 _ACEOF
   5987 if ac_fn_c_try_link "$LINENO"
   5988 then :
   5989   eval $cacheid=yes
   5990 else case e in #(
   5991   e) eval $cacheid=no ;;
   5992 esac
   5993 fi
   5994 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5995     conftest$ac_exeext conftest.$ac_ext ;;
   5996 esac
   5997 fi
   5998 
   5999 
   6000 		CFLAGS="$xorg_testset_save_CFLAGS"
   6001 
   6002 		eval supported=\$$cacheid
   6003 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6004 printf "%s\n" "$supported" >&6; }
   6005 		if test "$supported" = "yes" ; then
   6006 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   6007 			found="yes"
   6008 		fi
   6009 	fi
   6010 
   6011 
   6012 
   6013 
   6014 
   6015 
   6016 
   6017 
   6018 
   6019 
   6020 
   6021 
   6022 
   6023 
   6024 
   6025 xorg_testset_save_CFLAGS="$CFLAGS"
   6026 
   6027 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6028 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6029 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6030 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6031 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6032 then :
   6033   printf %s "(cached) " >&6
   6034 else case e in #(
   6035   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6036 /* end confdefs.h.  */
   6037 int i;
   6038 _ACEOF
   6039 if ac_fn_c_try_compile "$LINENO"
   6040 then :
   6041   xorg_cv_cc_flag_unknown_warning_option=yes
   6042 else case e in #(
   6043   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6044 esac
   6045 fi
   6046 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6047 esac
   6048 fi
   6049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6050 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6051 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6052 	CFLAGS="$xorg_testset_save_CFLAGS"
   6053 fi
   6054 
   6055 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6056 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6057 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6058 	fi
   6059 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6060 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6061 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6062 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6063 then :
   6064   printf %s "(cached) " >&6
   6065 else case e in #(
   6066   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6067 /* end confdefs.h.  */
   6068 int i;
   6069 _ACEOF
   6070 if ac_fn_c_try_compile "$LINENO"
   6071 then :
   6072   xorg_cv_cc_flag_unused_command_line_argument=yes
   6073 else case e in #(
   6074   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6075 esac
   6076 fi
   6077 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6078 esac
   6079 fi
   6080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6081 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6082 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6083 	CFLAGS="$xorg_testset_save_CFLAGS"
   6084 fi
   6085 
   6086 found="no"
   6087 
   6088 	if test $found = "no" ; then
   6089 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6090 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6091 		fi
   6092 
   6093 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6094 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6095 		fi
   6096 
   6097 		CFLAGS="$CFLAGS -Wnested-externs"
   6098 
   6099 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   6100 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   6101 		cacheid=xorg_cv_cc_flag__Wnested_externs
   6102 		if eval test \${$cacheid+y}
   6103 then :
   6104   printf %s "(cached) " >&6
   6105 else case e in #(
   6106   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6107 /* end confdefs.h.  */
   6108 int i;
   6109 int
   6110 main (void)
   6111 {
   6112 
   6113   ;
   6114   return 0;
   6115 }
   6116 _ACEOF
   6117 if ac_fn_c_try_link "$LINENO"
   6118 then :
   6119   eval $cacheid=yes
   6120 else case e in #(
   6121   e) eval $cacheid=no ;;
   6122 esac
   6123 fi
   6124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6125     conftest$ac_exeext conftest.$ac_ext ;;
   6126 esac
   6127 fi
   6128 
   6129 
   6130 		CFLAGS="$xorg_testset_save_CFLAGS"
   6131 
   6132 		eval supported=\$$cacheid
   6133 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6134 printf "%s\n" "$supported" >&6; }
   6135 		if test "$supported" = "yes" ; then
   6136 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6137 			found="yes"
   6138 		fi
   6139 	fi
   6140 
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 
   6147 
   6148 
   6149 
   6150 
   6151 
   6152 
   6153 
   6154 
   6155 xorg_testset_save_CFLAGS="$CFLAGS"
   6156 
   6157 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6158 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6159 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6160 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6161 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6162 then :
   6163   printf %s "(cached) " >&6
   6164 else case e in #(
   6165   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6166 /* end confdefs.h.  */
   6167 int i;
   6168 _ACEOF
   6169 if ac_fn_c_try_compile "$LINENO"
   6170 then :
   6171   xorg_cv_cc_flag_unknown_warning_option=yes
   6172 else case e in #(
   6173   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6174 esac
   6175 fi
   6176 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6177 esac
   6178 fi
   6179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6180 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6181 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6182 	CFLAGS="$xorg_testset_save_CFLAGS"
   6183 fi
   6184 
   6185 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6186 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6187 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6188 	fi
   6189 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6190 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6191 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6192 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6193 then :
   6194   printf %s "(cached) " >&6
   6195 else case e in #(
   6196   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6197 /* end confdefs.h.  */
   6198 int i;
   6199 _ACEOF
   6200 if ac_fn_c_try_compile "$LINENO"
   6201 then :
   6202   xorg_cv_cc_flag_unused_command_line_argument=yes
   6203 else case e in #(
   6204   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6205 esac
   6206 fi
   6207 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6208 esac
   6209 fi
   6210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6211 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6212 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6213 	CFLAGS="$xorg_testset_save_CFLAGS"
   6214 fi
   6215 
   6216 found="no"
   6217 
   6218 	if test $found = "no" ; then
   6219 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6220 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6221 		fi
   6222 
   6223 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6224 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6225 		fi
   6226 
   6227 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6228 
   6229 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6230 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6231 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6232 		if eval test \${$cacheid+y}
   6233 then :
   6234   printf %s "(cached) " >&6
   6235 else case e in #(
   6236   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6237 /* end confdefs.h.  */
   6238 int i;
   6239 int
   6240 main (void)
   6241 {
   6242 
   6243   ;
   6244   return 0;
   6245 }
   6246 _ACEOF
   6247 if ac_fn_c_try_link "$LINENO"
   6248 then :
   6249   eval $cacheid=yes
   6250 else case e in #(
   6251   e) eval $cacheid=no ;;
   6252 esac
   6253 fi
   6254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6255     conftest$ac_exeext conftest.$ac_ext ;;
   6256 esac
   6257 fi
   6258 
   6259 
   6260 		CFLAGS="$xorg_testset_save_CFLAGS"
   6261 
   6262 		eval supported=\$$cacheid
   6263 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6264 printf "%s\n" "$supported" >&6; }
   6265 		if test "$supported" = "yes" ; then
   6266 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6267 			found="yes"
   6268 		fi
   6269 	fi
   6270 
   6271 
   6272 
   6273 
   6274 
   6275 
   6276 
   6277 
   6278 
   6279 
   6280 
   6281 
   6282 
   6283 
   6284 
   6285 xorg_testset_save_CFLAGS="$CFLAGS"
   6286 
   6287 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6288 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6289 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6290 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6291 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6292 then :
   6293   printf %s "(cached) " >&6
   6294 else case e in #(
   6295   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6296 /* end confdefs.h.  */
   6297 int i;
   6298 _ACEOF
   6299 if ac_fn_c_try_compile "$LINENO"
   6300 then :
   6301   xorg_cv_cc_flag_unknown_warning_option=yes
   6302 else case e in #(
   6303   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6304 esac
   6305 fi
   6306 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6307 esac
   6308 fi
   6309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6310 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6311 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6312 	CFLAGS="$xorg_testset_save_CFLAGS"
   6313 fi
   6314 
   6315 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6316 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6317 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6318 	fi
   6319 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6320 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6321 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6322 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6323 then :
   6324   printf %s "(cached) " >&6
   6325 else case e in #(
   6326   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6327 /* end confdefs.h.  */
   6328 int i;
   6329 _ACEOF
   6330 if ac_fn_c_try_compile "$LINENO"
   6331 then :
   6332   xorg_cv_cc_flag_unused_command_line_argument=yes
   6333 else case e in #(
   6334   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6335 esac
   6336 fi
   6337 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6338 esac
   6339 fi
   6340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6341 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6342 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6343 	CFLAGS="$xorg_testset_save_CFLAGS"
   6344 fi
   6345 
   6346 found="no"
   6347 
   6348 	if test $found = "no" ; then
   6349 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6350 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6351 		fi
   6352 
   6353 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6354 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6355 		fi
   6356 
   6357 		CFLAGS="$CFLAGS -Wold-style-definition"
   6358 
   6359 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6360 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6361 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6362 		if eval test \${$cacheid+y}
   6363 then :
   6364   printf %s "(cached) " >&6
   6365 else case e in #(
   6366   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6367 /* end confdefs.h.  */
   6368 int i;
   6369 int
   6370 main (void)
   6371 {
   6372 
   6373   ;
   6374   return 0;
   6375 }
   6376 _ACEOF
   6377 if ac_fn_c_try_link "$LINENO"
   6378 then :
   6379   eval $cacheid=yes
   6380 else case e in #(
   6381   e) eval $cacheid=no ;;
   6382 esac
   6383 fi
   6384 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6385     conftest$ac_exeext conftest.$ac_ext ;;
   6386 esac
   6387 fi
   6388 
   6389 
   6390 		CFLAGS="$xorg_testset_save_CFLAGS"
   6391 
   6392 		eval supported=\$$cacheid
   6393 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6394 printf "%s\n" "$supported" >&6; }
   6395 		if test "$supported" = "yes" ; then
   6396 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6397 			found="yes"
   6398 		fi
   6399 	fi
   6400 
   6401 	if test $found = "no" ; then
   6402 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6403 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6404 		fi
   6405 
   6406 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6407 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6408 		fi
   6409 
   6410 		CFLAGS="$CFLAGS -fd"
   6411 
   6412 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6413 printf %s "checking if $CC supports -fd... " >&6; }
   6414 		cacheid=xorg_cv_cc_flag__fd
   6415 		if eval test \${$cacheid+y}
   6416 then :
   6417   printf %s "(cached) " >&6
   6418 else case e in #(
   6419   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6420 /* end confdefs.h.  */
   6421 int i;
   6422 int
   6423 main (void)
   6424 {
   6425 
   6426   ;
   6427   return 0;
   6428 }
   6429 _ACEOF
   6430 if ac_fn_c_try_link "$LINENO"
   6431 then :
   6432   eval $cacheid=yes
   6433 else case e in #(
   6434   e) eval $cacheid=no ;;
   6435 esac
   6436 fi
   6437 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6438     conftest$ac_exeext conftest.$ac_ext ;;
   6439 esac
   6440 fi
   6441 
   6442 
   6443 		CFLAGS="$xorg_testset_save_CFLAGS"
   6444 
   6445 		eval supported=\$$cacheid
   6446 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6447 printf "%s\n" "$supported" >&6; }
   6448 		if test "$supported" = "yes" ; then
   6449 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6450 			found="yes"
   6451 		fi
   6452 	fi
   6453 
   6454 
   6455 
   6456 
   6457 
   6458 # This chunk adds additional warnings that could catch undesired effects.
   6459 
   6460 
   6461 
   6462 
   6463 
   6464 
   6465 
   6466 
   6467 
   6468 
   6469 
   6470 
   6471 
   6472 xorg_testset_save_CFLAGS="$CFLAGS"
   6473 
   6474 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6475 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6476 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6477 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6478 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6479 then :
   6480   printf %s "(cached) " >&6
   6481 else case e in #(
   6482   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6483 /* end confdefs.h.  */
   6484 int i;
   6485 _ACEOF
   6486 if ac_fn_c_try_compile "$LINENO"
   6487 then :
   6488   xorg_cv_cc_flag_unknown_warning_option=yes
   6489 else case e in #(
   6490   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6491 esac
   6492 fi
   6493 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6494 esac
   6495 fi
   6496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6497 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6498 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6499 	CFLAGS="$xorg_testset_save_CFLAGS"
   6500 fi
   6501 
   6502 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6503 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6504 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6505 	fi
   6506 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6507 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6508 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6509 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6510 then :
   6511   printf %s "(cached) " >&6
   6512 else case e in #(
   6513   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6514 /* end confdefs.h.  */
   6515 int i;
   6516 _ACEOF
   6517 if ac_fn_c_try_compile "$LINENO"
   6518 then :
   6519   xorg_cv_cc_flag_unused_command_line_argument=yes
   6520 else case e in #(
   6521   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6522 esac
   6523 fi
   6524 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6525 esac
   6526 fi
   6527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6528 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6529 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6530 	CFLAGS="$xorg_testset_save_CFLAGS"
   6531 fi
   6532 
   6533 found="no"
   6534 
   6535 	if test $found = "no" ; then
   6536 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6537 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6538 		fi
   6539 
   6540 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6541 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6542 		fi
   6543 
   6544 		CFLAGS="$CFLAGS -Wunused"
   6545 
   6546 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6547 printf %s "checking if $CC supports -Wunused... " >&6; }
   6548 		cacheid=xorg_cv_cc_flag__Wunused
   6549 		if eval test \${$cacheid+y}
   6550 then :
   6551   printf %s "(cached) " >&6
   6552 else case e in #(
   6553   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6554 /* end confdefs.h.  */
   6555 int i;
   6556 int
   6557 main (void)
   6558 {
   6559 
   6560   ;
   6561   return 0;
   6562 }
   6563 _ACEOF
   6564 if ac_fn_c_try_link "$LINENO"
   6565 then :
   6566   eval $cacheid=yes
   6567 else case e in #(
   6568   e) eval $cacheid=no ;;
   6569 esac
   6570 fi
   6571 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6572     conftest$ac_exeext conftest.$ac_ext ;;
   6573 esac
   6574 fi
   6575 
   6576 
   6577 		CFLAGS="$xorg_testset_save_CFLAGS"
   6578 
   6579 		eval supported=\$$cacheid
   6580 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6581 printf "%s\n" "$supported" >&6; }
   6582 		if test "$supported" = "yes" ; then
   6583 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6584 			found="yes"
   6585 		fi
   6586 	fi
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 
   6596 
   6597 
   6598 
   6599 
   6600 
   6601 
   6602 xorg_testset_save_CFLAGS="$CFLAGS"
   6603 
   6604 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6605 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6606 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6607 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6608 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6609 then :
   6610   printf %s "(cached) " >&6
   6611 else case e in #(
   6612   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6613 /* end confdefs.h.  */
   6614 int i;
   6615 _ACEOF
   6616 if ac_fn_c_try_compile "$LINENO"
   6617 then :
   6618   xorg_cv_cc_flag_unknown_warning_option=yes
   6619 else case e in #(
   6620   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6621 esac
   6622 fi
   6623 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6624 esac
   6625 fi
   6626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6627 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6628 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6629 	CFLAGS="$xorg_testset_save_CFLAGS"
   6630 fi
   6631 
   6632 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6633 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6634 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6635 	fi
   6636 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6637 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6638 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6639 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6640 then :
   6641   printf %s "(cached) " >&6
   6642 else case e in #(
   6643   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6644 /* end confdefs.h.  */
   6645 int i;
   6646 _ACEOF
   6647 if ac_fn_c_try_compile "$LINENO"
   6648 then :
   6649   xorg_cv_cc_flag_unused_command_line_argument=yes
   6650 else case e in #(
   6651   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6652 esac
   6653 fi
   6654 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6655 esac
   6656 fi
   6657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6658 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6659 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6660 	CFLAGS="$xorg_testset_save_CFLAGS"
   6661 fi
   6662 
   6663 found="no"
   6664 
   6665 	if test $found = "no" ; then
   6666 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6667 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6668 		fi
   6669 
   6670 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6671 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6672 		fi
   6673 
   6674 		CFLAGS="$CFLAGS -Wuninitialized"
   6675 
   6676 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6677 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6678 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6679 		if eval test \${$cacheid+y}
   6680 then :
   6681   printf %s "(cached) " >&6
   6682 else case e in #(
   6683   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6684 /* end confdefs.h.  */
   6685 int i;
   6686 int
   6687 main (void)
   6688 {
   6689 
   6690   ;
   6691   return 0;
   6692 }
   6693 _ACEOF
   6694 if ac_fn_c_try_link "$LINENO"
   6695 then :
   6696   eval $cacheid=yes
   6697 else case e in #(
   6698   e) eval $cacheid=no ;;
   6699 esac
   6700 fi
   6701 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6702     conftest$ac_exeext conftest.$ac_ext ;;
   6703 esac
   6704 fi
   6705 
   6706 
   6707 		CFLAGS="$xorg_testset_save_CFLAGS"
   6708 
   6709 		eval supported=\$$cacheid
   6710 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6711 printf "%s\n" "$supported" >&6; }
   6712 		if test "$supported" = "yes" ; then
   6713 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6714 			found="yes"
   6715 		fi
   6716 	fi
   6717 
   6718 
   6719 
   6720 
   6721 
   6722 
   6723 
   6724 
   6725 
   6726 
   6727 
   6728 
   6729 
   6730 
   6731 
   6732 xorg_testset_save_CFLAGS="$CFLAGS"
   6733 
   6734 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6735 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6736 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6737 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6738 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6739 then :
   6740   printf %s "(cached) " >&6
   6741 else case e in #(
   6742   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6743 /* end confdefs.h.  */
   6744 int i;
   6745 _ACEOF
   6746 if ac_fn_c_try_compile "$LINENO"
   6747 then :
   6748   xorg_cv_cc_flag_unknown_warning_option=yes
   6749 else case e in #(
   6750   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6751 esac
   6752 fi
   6753 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6754 esac
   6755 fi
   6756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6757 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6758 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6759 	CFLAGS="$xorg_testset_save_CFLAGS"
   6760 fi
   6761 
   6762 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6763 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6764 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6765 	fi
   6766 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6767 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6768 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6769 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6770 then :
   6771   printf %s "(cached) " >&6
   6772 else case e in #(
   6773   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6774 /* end confdefs.h.  */
   6775 int i;
   6776 _ACEOF
   6777 if ac_fn_c_try_compile "$LINENO"
   6778 then :
   6779   xorg_cv_cc_flag_unused_command_line_argument=yes
   6780 else case e in #(
   6781   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6782 esac
   6783 fi
   6784 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6785 esac
   6786 fi
   6787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6788 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6789 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6790 	CFLAGS="$xorg_testset_save_CFLAGS"
   6791 fi
   6792 
   6793 found="no"
   6794 
   6795 	if test $found = "no" ; then
   6796 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6797 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6798 		fi
   6799 
   6800 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6801 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6802 		fi
   6803 
   6804 		CFLAGS="$CFLAGS -Wshadow"
   6805 
   6806 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6807 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6808 		cacheid=xorg_cv_cc_flag__Wshadow
   6809 		if eval test \${$cacheid+y}
   6810 then :
   6811   printf %s "(cached) " >&6
   6812 else case e in #(
   6813   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6814 /* end confdefs.h.  */
   6815 int i;
   6816 int
   6817 main (void)
   6818 {
   6819 
   6820   ;
   6821   return 0;
   6822 }
   6823 _ACEOF
   6824 if ac_fn_c_try_link "$LINENO"
   6825 then :
   6826   eval $cacheid=yes
   6827 else case e in #(
   6828   e) eval $cacheid=no ;;
   6829 esac
   6830 fi
   6831 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6832     conftest$ac_exeext conftest.$ac_ext ;;
   6833 esac
   6834 fi
   6835 
   6836 
   6837 		CFLAGS="$xorg_testset_save_CFLAGS"
   6838 
   6839 		eval supported=\$$cacheid
   6840 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6841 printf "%s\n" "$supported" >&6; }
   6842 		if test "$supported" = "yes" ; then
   6843 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6844 			found="yes"
   6845 		fi
   6846 	fi
   6847 
   6848 
   6849 
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 
   6861 
   6862 xorg_testset_save_CFLAGS="$CFLAGS"
   6863 
   6864 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6865 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6866 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6867 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6868 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6869 then :
   6870   printf %s "(cached) " >&6
   6871 else case e in #(
   6872   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6873 /* end confdefs.h.  */
   6874 int i;
   6875 _ACEOF
   6876 if ac_fn_c_try_compile "$LINENO"
   6877 then :
   6878   xorg_cv_cc_flag_unknown_warning_option=yes
   6879 else case e in #(
   6880   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6881 esac
   6882 fi
   6883 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6884 esac
   6885 fi
   6886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6887 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6888 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6889 	CFLAGS="$xorg_testset_save_CFLAGS"
   6890 fi
   6891 
   6892 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6893 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6894 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6895 	fi
   6896 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6897 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6898 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6899 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6900 then :
   6901   printf %s "(cached) " >&6
   6902 else case e in #(
   6903   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6904 /* end confdefs.h.  */
   6905 int i;
   6906 _ACEOF
   6907 if ac_fn_c_try_compile "$LINENO"
   6908 then :
   6909   xorg_cv_cc_flag_unused_command_line_argument=yes
   6910 else case e in #(
   6911   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6912 esac
   6913 fi
   6914 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6915 esac
   6916 fi
   6917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6918 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6919 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6920 	CFLAGS="$xorg_testset_save_CFLAGS"
   6921 fi
   6922 
   6923 found="no"
   6924 
   6925 	if test $found = "no" ; then
   6926 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6927 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6928 		fi
   6929 
   6930 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6931 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6932 		fi
   6933 
   6934 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6935 
   6936 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6937 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6938 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6939 		if eval test \${$cacheid+y}
   6940 then :
   6941   printf %s "(cached) " >&6
   6942 else case e in #(
   6943   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6944 /* end confdefs.h.  */
   6945 int i;
   6946 int
   6947 main (void)
   6948 {
   6949 
   6950   ;
   6951   return 0;
   6952 }
   6953 _ACEOF
   6954 if ac_fn_c_try_link "$LINENO"
   6955 then :
   6956   eval $cacheid=yes
   6957 else case e in #(
   6958   e) eval $cacheid=no ;;
   6959 esac
   6960 fi
   6961 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6962     conftest$ac_exeext conftest.$ac_ext ;;
   6963 esac
   6964 fi
   6965 
   6966 
   6967 		CFLAGS="$xorg_testset_save_CFLAGS"
   6968 
   6969 		eval supported=\$$cacheid
   6970 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6971 printf "%s\n" "$supported" >&6; }
   6972 		if test "$supported" = "yes" ; then
   6973 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6974 			found="yes"
   6975 		fi
   6976 	fi
   6977 
   6978 
   6979 
   6980 
   6981 
   6982 
   6983 
   6984 
   6985 
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 xorg_testset_save_CFLAGS="$CFLAGS"
   6993 
   6994 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6995 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6996 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6997 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6998 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6999 then :
   7000   printf %s "(cached) " >&6
   7001 else case e in #(
   7002   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7003 /* end confdefs.h.  */
   7004 int i;
   7005 _ACEOF
   7006 if ac_fn_c_try_compile "$LINENO"
   7007 then :
   7008   xorg_cv_cc_flag_unknown_warning_option=yes
   7009 else case e in #(
   7010   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7011 esac
   7012 fi
   7013 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7014 esac
   7015 fi
   7016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7017 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7018 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7019 	CFLAGS="$xorg_testset_save_CFLAGS"
   7020 fi
   7021 
   7022 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7023 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7024 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7025 	fi
   7026 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7027 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7028 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7029 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7030 then :
   7031   printf %s "(cached) " >&6
   7032 else case e in #(
   7033   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7034 /* end confdefs.h.  */
   7035 int i;
   7036 _ACEOF
   7037 if ac_fn_c_try_compile "$LINENO"
   7038 then :
   7039   xorg_cv_cc_flag_unused_command_line_argument=yes
   7040 else case e in #(
   7041   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7042 esac
   7043 fi
   7044 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7045 esac
   7046 fi
   7047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7048 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7049 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7050 	CFLAGS="$xorg_testset_save_CFLAGS"
   7051 fi
   7052 
   7053 found="no"
   7054 
   7055 	if test $found = "no" ; then
   7056 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7057 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7058 		fi
   7059 
   7060 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7061 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7062 		fi
   7063 
   7064 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7065 
   7066 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7067 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7068 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7069 		if eval test \${$cacheid+y}
   7070 then :
   7071   printf %s "(cached) " >&6
   7072 else case e in #(
   7073   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7074 /* end confdefs.h.  */
   7075 int i;
   7076 int
   7077 main (void)
   7078 {
   7079 
   7080   ;
   7081   return 0;
   7082 }
   7083 _ACEOF
   7084 if ac_fn_c_try_link "$LINENO"
   7085 then :
   7086   eval $cacheid=yes
   7087 else case e in #(
   7088   e) eval $cacheid=no ;;
   7089 esac
   7090 fi
   7091 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7092     conftest$ac_exeext conftest.$ac_ext ;;
   7093 esac
   7094 fi
   7095 
   7096 
   7097 		CFLAGS="$xorg_testset_save_CFLAGS"
   7098 
   7099 		eval supported=\$$cacheid
   7100 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7101 printf "%s\n" "$supported" >&6; }
   7102 		if test "$supported" = "yes" ; then
   7103 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7104 			found="yes"
   7105 		fi
   7106 	fi
   7107 
   7108 
   7109 
   7110 
   7111 
   7112 
   7113 
   7114 
   7115 
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 
   7122 xorg_testset_save_CFLAGS="$CFLAGS"
   7123 
   7124 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7125 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7126 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7127 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7128 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7129 then :
   7130   printf %s "(cached) " >&6
   7131 else case e in #(
   7132   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7133 /* end confdefs.h.  */
   7134 int i;
   7135 _ACEOF
   7136 if ac_fn_c_try_compile "$LINENO"
   7137 then :
   7138   xorg_cv_cc_flag_unknown_warning_option=yes
   7139 else case e in #(
   7140   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7141 esac
   7142 fi
   7143 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7144 esac
   7145 fi
   7146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7147 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7148 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7149 	CFLAGS="$xorg_testset_save_CFLAGS"
   7150 fi
   7151 
   7152 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7153 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7154 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7155 	fi
   7156 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7157 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7158 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7159 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7160 then :
   7161   printf %s "(cached) " >&6
   7162 else case e in #(
   7163   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7164 /* end confdefs.h.  */
   7165 int i;
   7166 _ACEOF
   7167 if ac_fn_c_try_compile "$LINENO"
   7168 then :
   7169   xorg_cv_cc_flag_unused_command_line_argument=yes
   7170 else case e in #(
   7171   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7172 esac
   7173 fi
   7174 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7175 esac
   7176 fi
   7177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7178 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7179 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7180 	CFLAGS="$xorg_testset_save_CFLAGS"
   7181 fi
   7182 
   7183 found="no"
   7184 
   7185 	if test $found = "no" ; then
   7186 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7187 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7188 		fi
   7189 
   7190 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7191 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7192 		fi
   7193 
   7194 		CFLAGS="$CFLAGS -Wredundant-decls"
   7195 
   7196 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7197 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7198 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7199 		if eval test \${$cacheid+y}
   7200 then :
   7201   printf %s "(cached) " >&6
   7202 else case e in #(
   7203   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7204 /* end confdefs.h.  */
   7205 int i;
   7206 int
   7207 main (void)
   7208 {
   7209 
   7210   ;
   7211   return 0;
   7212 }
   7213 _ACEOF
   7214 if ac_fn_c_try_link "$LINENO"
   7215 then :
   7216   eval $cacheid=yes
   7217 else case e in #(
   7218   e) eval $cacheid=no ;;
   7219 esac
   7220 fi
   7221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7222     conftest$ac_exeext conftest.$ac_ext ;;
   7223 esac
   7224 fi
   7225 
   7226 
   7227 		CFLAGS="$xorg_testset_save_CFLAGS"
   7228 
   7229 		eval supported=\$$cacheid
   7230 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7231 printf "%s\n" "$supported" >&6; }
   7232 		if test "$supported" = "yes" ; then
   7233 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7234 			found="yes"
   7235 		fi
   7236 	fi
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 
   7244 
   7245 
   7246 
   7247 
   7248 
   7249 
   7250 
   7251 
   7252 xorg_testset_save_CFLAGS="$CFLAGS"
   7253 
   7254 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7255 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7256 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7257 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7258 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7259 then :
   7260   printf %s "(cached) " >&6
   7261 else case e in #(
   7262   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7263 /* end confdefs.h.  */
   7264 int i;
   7265 _ACEOF
   7266 if ac_fn_c_try_compile "$LINENO"
   7267 then :
   7268   xorg_cv_cc_flag_unknown_warning_option=yes
   7269 else case e in #(
   7270   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7271 esac
   7272 fi
   7273 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7274 esac
   7275 fi
   7276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7277 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7278 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7279 	CFLAGS="$xorg_testset_save_CFLAGS"
   7280 fi
   7281 
   7282 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7283 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7284 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7285 	fi
   7286 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7287 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7288 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7289 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7290 then :
   7291   printf %s "(cached) " >&6
   7292 else case e in #(
   7293   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7294 /* end confdefs.h.  */
   7295 int i;
   7296 _ACEOF
   7297 if ac_fn_c_try_compile "$LINENO"
   7298 then :
   7299   xorg_cv_cc_flag_unused_command_line_argument=yes
   7300 else case e in #(
   7301   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7302 esac
   7303 fi
   7304 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7305 esac
   7306 fi
   7307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7308 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7309 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7310 	CFLAGS="$xorg_testset_save_CFLAGS"
   7311 fi
   7312 
   7313 found="no"
   7314 
   7315 	if test $found = "no" ; then
   7316 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7317 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7318 		fi
   7319 
   7320 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7321 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7322 		fi
   7323 
   7324 		CFLAGS="$CFLAGS -Wlogical-op"
   7325 
   7326 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7327 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7328 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7329 		if eval test \${$cacheid+y}
   7330 then :
   7331   printf %s "(cached) " >&6
   7332 else case e in #(
   7333   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7334 /* end confdefs.h.  */
   7335 int i;
   7336 int
   7337 main (void)
   7338 {
   7339 
   7340   ;
   7341   return 0;
   7342 }
   7343 _ACEOF
   7344 if ac_fn_c_try_link "$LINENO"
   7345 then :
   7346   eval $cacheid=yes
   7347 else case e in #(
   7348   e) eval $cacheid=no ;;
   7349 esac
   7350 fi
   7351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7352     conftest$ac_exeext conftest.$ac_ext ;;
   7353 esac
   7354 fi
   7355 
   7356 
   7357 		CFLAGS="$xorg_testset_save_CFLAGS"
   7358 
   7359 		eval supported=\$$cacheid
   7360 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7361 printf "%s\n" "$supported" >&6; }
   7362 		if test "$supported" = "yes" ; then
   7363 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7364 			found="yes"
   7365 		fi
   7366 	fi
   7367 
   7368 
   7369 
   7370 # These are currently disabled because they are noisy.  They will be enabled
   7371 # in the future once the codebase is sufficiently modernized to silence
   7372 # them.  For now, I don't want them to drown out the other warnings.
   7373 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7374 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7375 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7376 
   7377 # Turn some warnings into errors, so we don't accidentally get successful builds
   7378 # when there are problems that should be fixed.
   7379 
   7380 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7381 
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 
   7393 
   7394 xorg_testset_save_CFLAGS="$CFLAGS"
   7395 
   7396 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7397 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7398 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7399 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7400 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7401 then :
   7402   printf %s "(cached) " >&6
   7403 else case e in #(
   7404   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7405 /* end confdefs.h.  */
   7406 int i;
   7407 _ACEOF
   7408 if ac_fn_c_try_compile "$LINENO"
   7409 then :
   7410   xorg_cv_cc_flag_unknown_warning_option=yes
   7411 else case e in #(
   7412   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7413 esac
   7414 fi
   7415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7416 esac
   7417 fi
   7418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7419 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7420 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7421 	CFLAGS="$xorg_testset_save_CFLAGS"
   7422 fi
   7423 
   7424 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7425 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7426 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7427 	fi
   7428 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7429 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7430 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7431 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7432 then :
   7433   printf %s "(cached) " >&6
   7434 else case e in #(
   7435   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7436 /* end confdefs.h.  */
   7437 int i;
   7438 _ACEOF
   7439 if ac_fn_c_try_compile "$LINENO"
   7440 then :
   7441   xorg_cv_cc_flag_unused_command_line_argument=yes
   7442 else case e in #(
   7443   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7444 esac
   7445 fi
   7446 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7447 esac
   7448 fi
   7449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7450 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7451 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7452 	CFLAGS="$xorg_testset_save_CFLAGS"
   7453 fi
   7454 
   7455 found="no"
   7456 
   7457 	if test $found = "no" ; then
   7458 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7459 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7460 		fi
   7461 
   7462 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7463 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7464 		fi
   7465 
   7466 		CFLAGS="$CFLAGS -Werror=implicit"
   7467 
   7468 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7469 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7470 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7471 		if eval test \${$cacheid+y}
   7472 then :
   7473   printf %s "(cached) " >&6
   7474 else case e in #(
   7475   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7476 /* end confdefs.h.  */
   7477 int i;
   7478 int
   7479 main (void)
   7480 {
   7481 
   7482   ;
   7483   return 0;
   7484 }
   7485 _ACEOF
   7486 if ac_fn_c_try_link "$LINENO"
   7487 then :
   7488   eval $cacheid=yes
   7489 else case e in #(
   7490   e) eval $cacheid=no ;;
   7491 esac
   7492 fi
   7493 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7494     conftest$ac_exeext conftest.$ac_ext ;;
   7495 esac
   7496 fi
   7497 
   7498 
   7499 		CFLAGS="$xorg_testset_save_CFLAGS"
   7500 
   7501 		eval supported=\$$cacheid
   7502 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7503 printf "%s\n" "$supported" >&6; }
   7504 		if test "$supported" = "yes" ; then
   7505 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7506 			found="yes"
   7507 		fi
   7508 	fi
   7509 
   7510 	if test $found = "no" ; then
   7511 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7512 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7513 		fi
   7514 
   7515 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7516 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7517 		fi
   7518 
   7519 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7520 
   7521 		{ 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
   7522 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7523 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7524 		if eval test \${$cacheid+y}
   7525 then :
   7526   printf %s "(cached) " >&6
   7527 else case e in #(
   7528   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7529 /* end confdefs.h.  */
   7530 int i;
   7531 int
   7532 main (void)
   7533 {
   7534 
   7535   ;
   7536   return 0;
   7537 }
   7538 _ACEOF
   7539 if ac_fn_c_try_link "$LINENO"
   7540 then :
   7541   eval $cacheid=yes
   7542 else case e in #(
   7543   e) eval $cacheid=no ;;
   7544 esac
   7545 fi
   7546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7547     conftest$ac_exeext conftest.$ac_ext ;;
   7548 esac
   7549 fi
   7550 
   7551 
   7552 		CFLAGS="$xorg_testset_save_CFLAGS"
   7553 
   7554 		eval supported=\$$cacheid
   7555 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7556 printf "%s\n" "$supported" >&6; }
   7557 		if test "$supported" = "yes" ; then
   7558 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7559 			found="yes"
   7560 		fi
   7561 	fi
   7562 
   7563 
   7564 
   7565 
   7566 
   7567 
   7568 
   7569 
   7570 
   7571 
   7572 
   7573 
   7574 
   7575 
   7576 
   7577 xorg_testset_save_CFLAGS="$CFLAGS"
   7578 
   7579 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7580 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7581 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7582 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7583 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7584 then :
   7585   printf %s "(cached) " >&6
   7586 else case e in #(
   7587   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7588 /* end confdefs.h.  */
   7589 int i;
   7590 _ACEOF
   7591 if ac_fn_c_try_compile "$LINENO"
   7592 then :
   7593   xorg_cv_cc_flag_unknown_warning_option=yes
   7594 else case e in #(
   7595   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7596 esac
   7597 fi
   7598 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7599 esac
   7600 fi
   7601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7602 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7603 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7604 	CFLAGS="$xorg_testset_save_CFLAGS"
   7605 fi
   7606 
   7607 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7608 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7609 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7610 	fi
   7611 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7612 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7613 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7614 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7615 then :
   7616   printf %s "(cached) " >&6
   7617 else case e in #(
   7618   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7619 /* end confdefs.h.  */
   7620 int i;
   7621 _ACEOF
   7622 if ac_fn_c_try_compile "$LINENO"
   7623 then :
   7624   xorg_cv_cc_flag_unused_command_line_argument=yes
   7625 else case e in #(
   7626   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7627 esac
   7628 fi
   7629 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7630 esac
   7631 fi
   7632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7633 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7634 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7635 	CFLAGS="$xorg_testset_save_CFLAGS"
   7636 fi
   7637 
   7638 found="no"
   7639 
   7640 	if test $found = "no" ; then
   7641 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7642 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7643 		fi
   7644 
   7645 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7646 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7647 		fi
   7648 
   7649 		CFLAGS="$CFLAGS -Werror=nonnull"
   7650 
   7651 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7652 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7653 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7654 		if eval test \${$cacheid+y}
   7655 then :
   7656   printf %s "(cached) " >&6
   7657 else case e in #(
   7658   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7659 /* end confdefs.h.  */
   7660 int i;
   7661 int
   7662 main (void)
   7663 {
   7664 
   7665   ;
   7666   return 0;
   7667 }
   7668 _ACEOF
   7669 if ac_fn_c_try_link "$LINENO"
   7670 then :
   7671   eval $cacheid=yes
   7672 else case e in #(
   7673   e) eval $cacheid=no ;;
   7674 esac
   7675 fi
   7676 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7677     conftest$ac_exeext conftest.$ac_ext ;;
   7678 esac
   7679 fi
   7680 
   7681 
   7682 		CFLAGS="$xorg_testset_save_CFLAGS"
   7683 
   7684 		eval supported=\$$cacheid
   7685 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7686 printf "%s\n" "$supported" >&6; }
   7687 		if test "$supported" = "yes" ; then
   7688 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7689 			found="yes"
   7690 		fi
   7691 	fi
   7692 
   7693 
   7694 
   7695 
   7696 
   7697 
   7698 
   7699 
   7700 
   7701 
   7702 
   7703 
   7704 
   7705 
   7706 
   7707 xorg_testset_save_CFLAGS="$CFLAGS"
   7708 
   7709 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7710 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7711 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7712 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7713 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7714 then :
   7715   printf %s "(cached) " >&6
   7716 else case e in #(
   7717   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7718 /* end confdefs.h.  */
   7719 int i;
   7720 _ACEOF
   7721 if ac_fn_c_try_compile "$LINENO"
   7722 then :
   7723   xorg_cv_cc_flag_unknown_warning_option=yes
   7724 else case e in #(
   7725   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7726 esac
   7727 fi
   7728 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7729 esac
   7730 fi
   7731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7732 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7733 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7734 	CFLAGS="$xorg_testset_save_CFLAGS"
   7735 fi
   7736 
   7737 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7738 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7739 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7740 	fi
   7741 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7742 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7743 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7744 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7745 then :
   7746   printf %s "(cached) " >&6
   7747 else case e in #(
   7748   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7749 /* end confdefs.h.  */
   7750 int i;
   7751 _ACEOF
   7752 if ac_fn_c_try_compile "$LINENO"
   7753 then :
   7754   xorg_cv_cc_flag_unused_command_line_argument=yes
   7755 else case e in #(
   7756   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7757 esac
   7758 fi
   7759 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7760 esac
   7761 fi
   7762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7763 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7764 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7765 	CFLAGS="$xorg_testset_save_CFLAGS"
   7766 fi
   7767 
   7768 found="no"
   7769 
   7770 	if test $found = "no" ; then
   7771 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7772 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7773 		fi
   7774 
   7775 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7776 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7777 		fi
   7778 
   7779 		CFLAGS="$CFLAGS -Werror=init-self"
   7780 
   7781 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7782 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7783 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7784 		if eval test \${$cacheid+y}
   7785 then :
   7786   printf %s "(cached) " >&6
   7787 else case e in #(
   7788   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7789 /* end confdefs.h.  */
   7790 int i;
   7791 int
   7792 main (void)
   7793 {
   7794 
   7795   ;
   7796   return 0;
   7797 }
   7798 _ACEOF
   7799 if ac_fn_c_try_link "$LINENO"
   7800 then :
   7801   eval $cacheid=yes
   7802 else case e in #(
   7803   e) eval $cacheid=no ;;
   7804 esac
   7805 fi
   7806 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7807     conftest$ac_exeext conftest.$ac_ext ;;
   7808 esac
   7809 fi
   7810 
   7811 
   7812 		CFLAGS="$xorg_testset_save_CFLAGS"
   7813 
   7814 		eval supported=\$$cacheid
   7815 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7816 printf "%s\n" "$supported" >&6; }
   7817 		if test "$supported" = "yes" ; then
   7818 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7819 			found="yes"
   7820 		fi
   7821 	fi
   7822 
   7823 
   7824 
   7825 
   7826 
   7827 
   7828 
   7829 
   7830 
   7831 
   7832 
   7833 
   7834 
   7835 
   7836 
   7837 xorg_testset_save_CFLAGS="$CFLAGS"
   7838 
   7839 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7840 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7841 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7842 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7843 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7844 then :
   7845   printf %s "(cached) " >&6
   7846 else case e in #(
   7847   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7848 /* end confdefs.h.  */
   7849 int i;
   7850 _ACEOF
   7851 if ac_fn_c_try_compile "$LINENO"
   7852 then :
   7853   xorg_cv_cc_flag_unknown_warning_option=yes
   7854 else case e in #(
   7855   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7856 esac
   7857 fi
   7858 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7859 esac
   7860 fi
   7861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7862 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7863 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7864 	CFLAGS="$xorg_testset_save_CFLAGS"
   7865 fi
   7866 
   7867 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7868 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7869 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7870 	fi
   7871 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7872 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7873 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7874 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7875 then :
   7876   printf %s "(cached) " >&6
   7877 else case e in #(
   7878   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7879 /* end confdefs.h.  */
   7880 int i;
   7881 _ACEOF
   7882 if ac_fn_c_try_compile "$LINENO"
   7883 then :
   7884   xorg_cv_cc_flag_unused_command_line_argument=yes
   7885 else case e in #(
   7886   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7887 esac
   7888 fi
   7889 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7890 esac
   7891 fi
   7892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7893 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7894 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7895 	CFLAGS="$xorg_testset_save_CFLAGS"
   7896 fi
   7897 
   7898 found="no"
   7899 
   7900 	if test $found = "no" ; then
   7901 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7902 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7903 		fi
   7904 
   7905 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7906 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7907 		fi
   7908 
   7909 		CFLAGS="$CFLAGS -Werror=main"
   7910 
   7911 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7912 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7913 		cacheid=xorg_cv_cc_flag__Werror_main
   7914 		if eval test \${$cacheid+y}
   7915 then :
   7916   printf %s "(cached) " >&6
   7917 else case e in #(
   7918   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7919 /* end confdefs.h.  */
   7920 int i;
   7921 int
   7922 main (void)
   7923 {
   7924 
   7925   ;
   7926   return 0;
   7927 }
   7928 _ACEOF
   7929 if ac_fn_c_try_link "$LINENO"
   7930 then :
   7931   eval $cacheid=yes
   7932 else case e in #(
   7933   e) eval $cacheid=no ;;
   7934 esac
   7935 fi
   7936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7937     conftest$ac_exeext conftest.$ac_ext ;;
   7938 esac
   7939 fi
   7940 
   7941 
   7942 		CFLAGS="$xorg_testset_save_CFLAGS"
   7943 
   7944 		eval supported=\$$cacheid
   7945 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7946 printf "%s\n" "$supported" >&6; }
   7947 		if test "$supported" = "yes" ; then
   7948 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7949 			found="yes"
   7950 		fi
   7951 	fi
   7952 
   7953 
   7954 
   7955 
   7956 
   7957 
   7958 
   7959 
   7960 
   7961 
   7962 
   7963 
   7964 
   7965 
   7966 
   7967 xorg_testset_save_CFLAGS="$CFLAGS"
   7968 
   7969 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7970 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7971 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7972 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7973 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7974 then :
   7975   printf %s "(cached) " >&6
   7976 else case e in #(
   7977   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7978 /* end confdefs.h.  */
   7979 int i;
   7980 _ACEOF
   7981 if ac_fn_c_try_compile "$LINENO"
   7982 then :
   7983   xorg_cv_cc_flag_unknown_warning_option=yes
   7984 else case e in #(
   7985   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7986 esac
   7987 fi
   7988 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7989 esac
   7990 fi
   7991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7992 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7993 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7994 	CFLAGS="$xorg_testset_save_CFLAGS"
   7995 fi
   7996 
   7997 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7998 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7999 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8000 	fi
   8001 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8002 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8003 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8004 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8005 then :
   8006   printf %s "(cached) " >&6
   8007 else case e in #(
   8008   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8009 /* end confdefs.h.  */
   8010 int i;
   8011 _ACEOF
   8012 if ac_fn_c_try_compile "$LINENO"
   8013 then :
   8014   xorg_cv_cc_flag_unused_command_line_argument=yes
   8015 else case e in #(
   8016   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8017 esac
   8018 fi
   8019 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8020 esac
   8021 fi
   8022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8023 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8024 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8025 	CFLAGS="$xorg_testset_save_CFLAGS"
   8026 fi
   8027 
   8028 found="no"
   8029 
   8030 	if test $found = "no" ; then
   8031 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8032 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8033 		fi
   8034 
   8035 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8036 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8037 		fi
   8038 
   8039 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8040 
   8041 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8042 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8043 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8044 		if eval test \${$cacheid+y}
   8045 then :
   8046   printf %s "(cached) " >&6
   8047 else case e in #(
   8048   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8049 /* end confdefs.h.  */
   8050 int i;
   8051 int
   8052 main (void)
   8053 {
   8054 
   8055   ;
   8056   return 0;
   8057 }
   8058 _ACEOF
   8059 if ac_fn_c_try_link "$LINENO"
   8060 then :
   8061   eval $cacheid=yes
   8062 else case e in #(
   8063   e) eval $cacheid=no ;;
   8064 esac
   8065 fi
   8066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8067     conftest$ac_exeext conftest.$ac_ext ;;
   8068 esac
   8069 fi
   8070 
   8071 
   8072 		CFLAGS="$xorg_testset_save_CFLAGS"
   8073 
   8074 		eval supported=\$$cacheid
   8075 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8076 printf "%s\n" "$supported" >&6; }
   8077 		if test "$supported" = "yes" ; then
   8078 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8079 			found="yes"
   8080 		fi
   8081 	fi
   8082 
   8083 
   8084 
   8085 
   8086 
   8087 
   8088 
   8089 
   8090 
   8091 
   8092 
   8093 
   8094 
   8095 
   8096 
   8097 xorg_testset_save_CFLAGS="$CFLAGS"
   8098 
   8099 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8100 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8101 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8102 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8103 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8104 then :
   8105   printf %s "(cached) " >&6
   8106 else case e in #(
   8107   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8108 /* end confdefs.h.  */
   8109 int i;
   8110 _ACEOF
   8111 if ac_fn_c_try_compile "$LINENO"
   8112 then :
   8113   xorg_cv_cc_flag_unknown_warning_option=yes
   8114 else case e in #(
   8115   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8116 esac
   8117 fi
   8118 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8119 esac
   8120 fi
   8121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8122 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8123 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8124 	CFLAGS="$xorg_testset_save_CFLAGS"
   8125 fi
   8126 
   8127 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8128 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8129 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8130 	fi
   8131 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8132 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8133 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8134 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8135 then :
   8136   printf %s "(cached) " >&6
   8137 else case e in #(
   8138   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8139 /* end confdefs.h.  */
   8140 int i;
   8141 _ACEOF
   8142 if ac_fn_c_try_compile "$LINENO"
   8143 then :
   8144   xorg_cv_cc_flag_unused_command_line_argument=yes
   8145 else case e in #(
   8146   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8147 esac
   8148 fi
   8149 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8150 esac
   8151 fi
   8152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8153 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8154 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8155 	CFLAGS="$xorg_testset_save_CFLAGS"
   8156 fi
   8157 
   8158 found="no"
   8159 
   8160 	if test $found = "no" ; then
   8161 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8162 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8163 		fi
   8164 
   8165 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8166 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8167 		fi
   8168 
   8169 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8170 
   8171 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8172 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8173 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8174 		if eval test \${$cacheid+y}
   8175 then :
   8176   printf %s "(cached) " >&6
   8177 else case e in #(
   8178   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8179 /* end confdefs.h.  */
   8180 int i;
   8181 int
   8182 main (void)
   8183 {
   8184 
   8185   ;
   8186   return 0;
   8187 }
   8188 _ACEOF
   8189 if ac_fn_c_try_link "$LINENO"
   8190 then :
   8191   eval $cacheid=yes
   8192 else case e in #(
   8193   e) eval $cacheid=no ;;
   8194 esac
   8195 fi
   8196 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8197     conftest$ac_exeext conftest.$ac_ext ;;
   8198 esac
   8199 fi
   8200 
   8201 
   8202 		CFLAGS="$xorg_testset_save_CFLAGS"
   8203 
   8204 		eval supported=\$$cacheid
   8205 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8206 printf "%s\n" "$supported" >&6; }
   8207 		if test "$supported" = "yes" ; then
   8208 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8209 			found="yes"
   8210 		fi
   8211 	fi
   8212 
   8213 
   8214 
   8215 
   8216 
   8217 
   8218 
   8219 
   8220 
   8221 
   8222 
   8223 
   8224 
   8225 
   8226 
   8227 xorg_testset_save_CFLAGS="$CFLAGS"
   8228 
   8229 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8230 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8231 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8232 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8233 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8234 then :
   8235   printf %s "(cached) " >&6
   8236 else case e in #(
   8237   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8238 /* end confdefs.h.  */
   8239 int i;
   8240 _ACEOF
   8241 if ac_fn_c_try_compile "$LINENO"
   8242 then :
   8243   xorg_cv_cc_flag_unknown_warning_option=yes
   8244 else case e in #(
   8245   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8246 esac
   8247 fi
   8248 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8249 esac
   8250 fi
   8251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8252 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8253 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8254 	CFLAGS="$xorg_testset_save_CFLAGS"
   8255 fi
   8256 
   8257 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8258 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8259 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8260 	fi
   8261 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8262 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8263 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8264 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8265 then :
   8266   printf %s "(cached) " >&6
   8267 else case e in #(
   8268   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8269 /* end confdefs.h.  */
   8270 int i;
   8271 _ACEOF
   8272 if ac_fn_c_try_compile "$LINENO"
   8273 then :
   8274   xorg_cv_cc_flag_unused_command_line_argument=yes
   8275 else case e in #(
   8276   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8277 esac
   8278 fi
   8279 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8280 esac
   8281 fi
   8282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8283 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8284 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8285 	CFLAGS="$xorg_testset_save_CFLAGS"
   8286 fi
   8287 
   8288 found="no"
   8289 
   8290 	if test $found = "no" ; then
   8291 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8292 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8293 		fi
   8294 
   8295 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8296 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8297 		fi
   8298 
   8299 		CFLAGS="$CFLAGS -Werror=return-type"
   8300 
   8301 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8302 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8303 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8304 		if eval test \${$cacheid+y}
   8305 then :
   8306   printf %s "(cached) " >&6
   8307 else case e in #(
   8308   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8309 /* end confdefs.h.  */
   8310 int i;
   8311 int
   8312 main (void)
   8313 {
   8314 
   8315   ;
   8316   return 0;
   8317 }
   8318 _ACEOF
   8319 if ac_fn_c_try_link "$LINENO"
   8320 then :
   8321   eval $cacheid=yes
   8322 else case e in #(
   8323   e) eval $cacheid=no ;;
   8324 esac
   8325 fi
   8326 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8327     conftest$ac_exeext conftest.$ac_ext ;;
   8328 esac
   8329 fi
   8330 
   8331 
   8332 		CFLAGS="$xorg_testset_save_CFLAGS"
   8333 
   8334 		eval supported=\$$cacheid
   8335 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8336 printf "%s\n" "$supported" >&6; }
   8337 		if test "$supported" = "yes" ; then
   8338 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8339 			found="yes"
   8340 		fi
   8341 	fi
   8342 
   8343 	if test $found = "no" ; then
   8344 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8345 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8346 		fi
   8347 
   8348 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8349 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8350 		fi
   8351 
   8352 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8353 
   8354 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8355 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8356 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8357 		if eval test \${$cacheid+y}
   8358 then :
   8359   printf %s "(cached) " >&6
   8360 else case e in #(
   8361   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8362 /* end confdefs.h.  */
   8363 int i;
   8364 int
   8365 main (void)
   8366 {
   8367 
   8368   ;
   8369   return 0;
   8370 }
   8371 _ACEOF
   8372 if ac_fn_c_try_link "$LINENO"
   8373 then :
   8374   eval $cacheid=yes
   8375 else case e in #(
   8376   e) eval $cacheid=no ;;
   8377 esac
   8378 fi
   8379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8380     conftest$ac_exeext conftest.$ac_ext ;;
   8381 esac
   8382 fi
   8383 
   8384 
   8385 		CFLAGS="$xorg_testset_save_CFLAGS"
   8386 
   8387 		eval supported=\$$cacheid
   8388 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8389 printf "%s\n" "$supported" >&6; }
   8390 		if test "$supported" = "yes" ; then
   8391 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8392 			found="yes"
   8393 		fi
   8394 	fi
   8395 
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 
   8410 xorg_testset_save_CFLAGS="$CFLAGS"
   8411 
   8412 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8413 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8414 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8415 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8416 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8417 then :
   8418   printf %s "(cached) " >&6
   8419 else case e in #(
   8420   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8421 /* end confdefs.h.  */
   8422 int i;
   8423 _ACEOF
   8424 if ac_fn_c_try_compile "$LINENO"
   8425 then :
   8426   xorg_cv_cc_flag_unknown_warning_option=yes
   8427 else case e in #(
   8428   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8429 esac
   8430 fi
   8431 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8432 esac
   8433 fi
   8434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8435 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8436 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8437 	CFLAGS="$xorg_testset_save_CFLAGS"
   8438 fi
   8439 
   8440 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8441 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8442 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8443 	fi
   8444 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8445 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8446 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8447 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8448 then :
   8449   printf %s "(cached) " >&6
   8450 else case e in #(
   8451   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8452 /* end confdefs.h.  */
   8453 int i;
   8454 _ACEOF
   8455 if ac_fn_c_try_compile "$LINENO"
   8456 then :
   8457   xorg_cv_cc_flag_unused_command_line_argument=yes
   8458 else case e in #(
   8459   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8460 esac
   8461 fi
   8462 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8463 esac
   8464 fi
   8465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8466 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8467 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8468 	CFLAGS="$xorg_testset_save_CFLAGS"
   8469 fi
   8470 
   8471 found="no"
   8472 
   8473 	if test $found = "no" ; then
   8474 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8475 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8476 		fi
   8477 
   8478 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8479 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8480 		fi
   8481 
   8482 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8483 
   8484 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8485 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8486 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8487 		if eval test \${$cacheid+y}
   8488 then :
   8489   printf %s "(cached) " >&6
   8490 else case e in #(
   8491   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8492 /* end confdefs.h.  */
   8493 int i;
   8494 int
   8495 main (void)
   8496 {
   8497 
   8498   ;
   8499   return 0;
   8500 }
   8501 _ACEOF
   8502 if ac_fn_c_try_link "$LINENO"
   8503 then :
   8504   eval $cacheid=yes
   8505 else case e in #(
   8506   e) eval $cacheid=no ;;
   8507 esac
   8508 fi
   8509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8510     conftest$ac_exeext conftest.$ac_ext ;;
   8511 esac
   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=trigraphs"
   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 case e in #(
   8550   e) 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 case e in #(
   8558   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8559 esac
   8560 fi
   8561 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8562 esac
   8563 fi
   8564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8565 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8566 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8567 	CFLAGS="$xorg_testset_save_CFLAGS"
   8568 fi
   8569 
   8570 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8571 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8572 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8573 	fi
   8574 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8575 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8576 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8577 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8578 then :
   8579   printf %s "(cached) " >&6
   8580 else case e in #(
   8581   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8582 /* end confdefs.h.  */
   8583 int i;
   8584 _ACEOF
   8585 if ac_fn_c_try_compile "$LINENO"
   8586 then :
   8587   xorg_cv_cc_flag_unused_command_line_argument=yes
   8588 else case e in #(
   8589   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8590 esac
   8591 fi
   8592 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8593 esac
   8594 fi
   8595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8596 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8597 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8598 	CFLAGS="$xorg_testset_save_CFLAGS"
   8599 fi
   8600 
   8601 found="no"
   8602 
   8603 	if test $found = "no" ; then
   8604 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8605 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8606 		fi
   8607 
   8608 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8609 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8610 		fi
   8611 
   8612 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8613 
   8614 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8615 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8616 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8617 		if eval test \${$cacheid+y}
   8618 then :
   8619   printf %s "(cached) " >&6
   8620 else case e in #(
   8621   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8622 /* end confdefs.h.  */
   8623 int i;
   8624 int
   8625 main (void)
   8626 {
   8627 
   8628   ;
   8629   return 0;
   8630 }
   8631 _ACEOF
   8632 if ac_fn_c_try_link "$LINENO"
   8633 then :
   8634   eval $cacheid=yes
   8635 else case e in #(
   8636   e) eval $cacheid=no ;;
   8637 esac
   8638 fi
   8639 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8640     conftest$ac_exeext conftest.$ac_ext ;;
   8641 esac
   8642 fi
   8643 
   8644 
   8645 		CFLAGS="$xorg_testset_save_CFLAGS"
   8646 
   8647 		eval supported=\$$cacheid
   8648 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8649 printf "%s\n" "$supported" >&6; }
   8650 		if test "$supported" = "yes" ; then
   8651 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8652 			found="yes"
   8653 		fi
   8654 	fi
   8655 
   8656 
   8657 
   8658 
   8659 
   8660 
   8661 
   8662 
   8663 
   8664 
   8665 
   8666 
   8667 
   8668 
   8669 
   8670 xorg_testset_save_CFLAGS="$CFLAGS"
   8671 
   8672 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8673 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8674 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8675 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8676 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8677 then :
   8678   printf %s "(cached) " >&6
   8679 else case e in #(
   8680   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8681 /* end confdefs.h.  */
   8682 int i;
   8683 _ACEOF
   8684 if ac_fn_c_try_compile "$LINENO"
   8685 then :
   8686   xorg_cv_cc_flag_unknown_warning_option=yes
   8687 else case e in #(
   8688   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8689 esac
   8690 fi
   8691 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8692 esac
   8693 fi
   8694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8695 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8696 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8697 	CFLAGS="$xorg_testset_save_CFLAGS"
   8698 fi
   8699 
   8700 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8701 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8702 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8703 	fi
   8704 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8705 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8706 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8707 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8708 then :
   8709   printf %s "(cached) " >&6
   8710 else case e in #(
   8711   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8712 /* end confdefs.h.  */
   8713 int i;
   8714 _ACEOF
   8715 if ac_fn_c_try_compile "$LINENO"
   8716 then :
   8717   xorg_cv_cc_flag_unused_command_line_argument=yes
   8718 else case e in #(
   8719   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8720 esac
   8721 fi
   8722 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8723 esac
   8724 fi
   8725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8726 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8727 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8728 	CFLAGS="$xorg_testset_save_CFLAGS"
   8729 fi
   8730 
   8731 found="no"
   8732 
   8733 	if test $found = "no" ; then
   8734 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8735 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8736 		fi
   8737 
   8738 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8739 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8740 		fi
   8741 
   8742 		CFLAGS="$CFLAGS -Werror=write-strings"
   8743 
   8744 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8745 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8746 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8747 		if eval test \${$cacheid+y}
   8748 then :
   8749   printf %s "(cached) " >&6
   8750 else case e in #(
   8751   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8752 /* end confdefs.h.  */
   8753 int i;
   8754 int
   8755 main (void)
   8756 {
   8757 
   8758   ;
   8759   return 0;
   8760 }
   8761 _ACEOF
   8762 if ac_fn_c_try_link "$LINENO"
   8763 then :
   8764   eval $cacheid=yes
   8765 else case e in #(
   8766   e) eval $cacheid=no ;;
   8767 esac
   8768 fi
   8769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8770     conftest$ac_exeext conftest.$ac_ext ;;
   8771 esac
   8772 fi
   8773 
   8774 
   8775 		CFLAGS="$xorg_testset_save_CFLAGS"
   8776 
   8777 		eval supported=\$$cacheid
   8778 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8779 printf "%s\n" "$supported" >&6; }
   8780 		if test "$supported" = "yes" ; then
   8781 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8782 			found="yes"
   8783 		fi
   8784 	fi
   8785 
   8786 
   8787 
   8788 
   8789 
   8790 
   8791 
   8792 
   8793 
   8794 
   8795 
   8796 
   8797 
   8798 
   8799 
   8800 xorg_testset_save_CFLAGS="$CFLAGS"
   8801 
   8802 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8803 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8804 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8805 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8806 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8807 then :
   8808   printf %s "(cached) " >&6
   8809 else case e in #(
   8810   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8811 /* end confdefs.h.  */
   8812 int i;
   8813 _ACEOF
   8814 if ac_fn_c_try_compile "$LINENO"
   8815 then :
   8816   xorg_cv_cc_flag_unknown_warning_option=yes
   8817 else case e in #(
   8818   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8819 esac
   8820 fi
   8821 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8822 esac
   8823 fi
   8824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8825 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8826 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8827 	CFLAGS="$xorg_testset_save_CFLAGS"
   8828 fi
   8829 
   8830 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8831 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8832 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8833 	fi
   8834 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8835 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8836 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8837 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8838 then :
   8839   printf %s "(cached) " >&6
   8840 else case e in #(
   8841   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8842 /* end confdefs.h.  */
   8843 int i;
   8844 _ACEOF
   8845 if ac_fn_c_try_compile "$LINENO"
   8846 then :
   8847   xorg_cv_cc_flag_unused_command_line_argument=yes
   8848 else case e in #(
   8849   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8850 esac
   8851 fi
   8852 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8853 esac
   8854 fi
   8855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8856 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8857 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8858 	CFLAGS="$xorg_testset_save_CFLAGS"
   8859 fi
   8860 
   8861 found="no"
   8862 
   8863 	if test $found = "no" ; then
   8864 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8865 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8866 		fi
   8867 
   8868 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8869 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8870 		fi
   8871 
   8872 		CFLAGS="$CFLAGS -Werror=address"
   8873 
   8874 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8875 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8876 		cacheid=xorg_cv_cc_flag__Werror_address
   8877 		if eval test \${$cacheid+y}
   8878 then :
   8879   printf %s "(cached) " >&6
   8880 else case e in #(
   8881   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8882 /* end confdefs.h.  */
   8883 int i;
   8884 int
   8885 main (void)
   8886 {
   8887 
   8888   ;
   8889   return 0;
   8890 }
   8891 _ACEOF
   8892 if ac_fn_c_try_link "$LINENO"
   8893 then :
   8894   eval $cacheid=yes
   8895 else case e in #(
   8896   e) eval $cacheid=no ;;
   8897 esac
   8898 fi
   8899 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8900     conftest$ac_exeext conftest.$ac_ext ;;
   8901 esac
   8902 fi
   8903 
   8904 
   8905 		CFLAGS="$xorg_testset_save_CFLAGS"
   8906 
   8907 		eval supported=\$$cacheid
   8908 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8909 printf "%s\n" "$supported" >&6; }
   8910 		if test "$supported" = "yes" ; then
   8911 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8912 			found="yes"
   8913 		fi
   8914 	fi
   8915 
   8916 
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 
   8924 
   8925 
   8926 
   8927 
   8928 
   8929 
   8930 xorg_testset_save_CFLAGS="$CFLAGS"
   8931 
   8932 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8933 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8934 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8935 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8936 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8937 then :
   8938   printf %s "(cached) " >&6
   8939 else case e in #(
   8940   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8941 /* end confdefs.h.  */
   8942 int i;
   8943 _ACEOF
   8944 if ac_fn_c_try_compile "$LINENO"
   8945 then :
   8946   xorg_cv_cc_flag_unknown_warning_option=yes
   8947 else case e in #(
   8948   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8949 esac
   8950 fi
   8951 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8952 esac
   8953 fi
   8954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8955 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8956 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8957 	CFLAGS="$xorg_testset_save_CFLAGS"
   8958 fi
   8959 
   8960 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8961 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8962 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8963 	fi
   8964 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8965 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8966 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8967 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8968 then :
   8969   printf %s "(cached) " >&6
   8970 else case e in #(
   8971   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8972 /* end confdefs.h.  */
   8973 int i;
   8974 _ACEOF
   8975 if ac_fn_c_try_compile "$LINENO"
   8976 then :
   8977   xorg_cv_cc_flag_unused_command_line_argument=yes
   8978 else case e in #(
   8979   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8980 esac
   8981 fi
   8982 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8983 esac
   8984 fi
   8985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8986 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8987 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8988 	CFLAGS="$xorg_testset_save_CFLAGS"
   8989 fi
   8990 
   8991 found="no"
   8992 
   8993 	if test $found = "no" ; then
   8994 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8995 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8996 		fi
   8997 
   8998 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8999 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9000 		fi
   9001 
   9002 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   9003 
   9004 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   9005 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   9006 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   9007 		if eval test \${$cacheid+y}
   9008 then :
   9009   printf %s "(cached) " >&6
   9010 else case e in #(
   9011   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9012 /* end confdefs.h.  */
   9013 int i;
   9014 int
   9015 main (void)
   9016 {
   9017 
   9018   ;
   9019   return 0;
   9020 }
   9021 _ACEOF
   9022 if ac_fn_c_try_link "$LINENO"
   9023 then :
   9024   eval $cacheid=yes
   9025 else case e in #(
   9026   e) eval $cacheid=no ;;
   9027 esac
   9028 fi
   9029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9030     conftest$ac_exeext conftest.$ac_ext ;;
   9031 esac
   9032 fi
   9033 
   9034 
   9035 		CFLAGS="$xorg_testset_save_CFLAGS"
   9036 
   9037 		eval supported=\$$cacheid
   9038 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9039 printf "%s\n" "$supported" >&6; }
   9040 		if test "$supported" = "yes" ; then
   9041 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9042 			found="yes"
   9043 		fi
   9044 	fi
   9045 
   9046 	if test $found = "no" ; then
   9047 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9048 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9049 		fi
   9050 
   9051 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9052 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9053 		fi
   9054 
   9055 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9056 
   9057 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9058 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9059 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9060 		if eval test \${$cacheid+y}
   9061 then :
   9062   printf %s "(cached) " >&6
   9063 else case e in #(
   9064   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9065 /* end confdefs.h.  */
   9066 int i;
   9067 int
   9068 main (void)
   9069 {
   9070 
   9071   ;
   9072   return 0;
   9073 }
   9074 _ACEOF
   9075 if ac_fn_c_try_link "$LINENO"
   9076 then :
   9077   eval $cacheid=yes
   9078 else case e in #(
   9079   e) eval $cacheid=no ;;
   9080 esac
   9081 fi
   9082 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9083     conftest$ac_exeext conftest.$ac_ext ;;
   9084 esac
   9085 fi
   9086 
   9087 
   9088 		CFLAGS="$xorg_testset_save_CFLAGS"
   9089 
   9090 		eval supported=\$$cacheid
   9091 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9092 printf "%s\n" "$supported" >&6; }
   9093 		if test "$supported" = "yes" ; then
   9094 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9095 			found="yes"
   9096 		fi
   9097 	fi
   9098 
   9099 
   9100 
   9101 
   9102 
   9103 
   9104 
   9105 
   9106 
   9107 
   9108 
   9109 
   9110 
   9111 
   9112 
   9113 xorg_testset_save_CFLAGS="$CFLAGS"
   9114 
   9115 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9116 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9117 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9118 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9119 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9120 then :
   9121   printf %s "(cached) " >&6
   9122 else case e in #(
   9123   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9124 /* end confdefs.h.  */
   9125 int i;
   9126 _ACEOF
   9127 if ac_fn_c_try_compile "$LINENO"
   9128 then :
   9129   xorg_cv_cc_flag_unknown_warning_option=yes
   9130 else case e in #(
   9131   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9132 esac
   9133 fi
   9134 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9135 esac
   9136 fi
   9137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9138 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9139 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9140 	CFLAGS="$xorg_testset_save_CFLAGS"
   9141 fi
   9142 
   9143 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9144 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9145 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9146 	fi
   9147 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9148 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9149 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9150 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9151 then :
   9152   printf %s "(cached) " >&6
   9153 else case e in #(
   9154   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9155 /* end confdefs.h.  */
   9156 int i;
   9157 _ACEOF
   9158 if ac_fn_c_try_compile "$LINENO"
   9159 then :
   9160   xorg_cv_cc_flag_unused_command_line_argument=yes
   9161 else case e in #(
   9162   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9163 esac
   9164 fi
   9165 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9166 esac
   9167 fi
   9168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9169 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9170 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9171 	CFLAGS="$xorg_testset_save_CFLAGS"
   9172 fi
   9173 
   9174 found="no"
   9175 
   9176 	if test $found = "no" ; then
   9177 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9178 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9179 		fi
   9180 
   9181 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9182 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9183 		fi
   9184 
   9185 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9186 
   9187 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9188 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9189 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9190 		if eval test \${$cacheid+y}
   9191 then :
   9192   printf %s "(cached) " >&6
   9193 else case e in #(
   9194   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9195 /* end confdefs.h.  */
   9196 int i;
   9197 int
   9198 main (void)
   9199 {
   9200 
   9201   ;
   9202   return 0;
   9203 }
   9204 _ACEOF
   9205 if ac_fn_c_try_link "$LINENO"
   9206 then :
   9207   eval $cacheid=yes
   9208 else case e in #(
   9209   e) eval $cacheid=no ;;
   9210 esac
   9211 fi
   9212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9213     conftest$ac_exeext conftest.$ac_ext ;;
   9214 esac
   9215 fi
   9216 
   9217 
   9218 		CFLAGS="$xorg_testset_save_CFLAGS"
   9219 
   9220 		eval supported=\$$cacheid
   9221 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9222 printf "%s\n" "$supported" >&6; }
   9223 		if test "$supported" = "yes" ; then
   9224 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9225 			found="yes"
   9226 		fi
   9227 	fi
   9228 
   9229  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9230 else
   9231 { 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
   9232 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;}
   9233 
   9234 
   9235 
   9236 
   9237 
   9238 
   9239 
   9240 
   9241 
   9242 
   9243 
   9244 
   9245 
   9246 xorg_testset_save_CFLAGS="$CFLAGS"
   9247 
   9248 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9249 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9250 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9251 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9252 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9253 then :
   9254   printf %s "(cached) " >&6
   9255 else case e in #(
   9256   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9257 /* end confdefs.h.  */
   9258 int i;
   9259 _ACEOF
   9260 if ac_fn_c_try_compile "$LINENO"
   9261 then :
   9262   xorg_cv_cc_flag_unknown_warning_option=yes
   9263 else case e in #(
   9264   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9265 esac
   9266 fi
   9267 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9268 esac
   9269 fi
   9270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9271 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9272 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9273 	CFLAGS="$xorg_testset_save_CFLAGS"
   9274 fi
   9275 
   9276 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9277 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9278 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9279 	fi
   9280 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9281 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9282 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9283 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9284 then :
   9285   printf %s "(cached) " >&6
   9286 else case e in #(
   9287   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9288 /* end confdefs.h.  */
   9289 int i;
   9290 _ACEOF
   9291 if ac_fn_c_try_compile "$LINENO"
   9292 then :
   9293   xorg_cv_cc_flag_unused_command_line_argument=yes
   9294 else case e in #(
   9295   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9296 esac
   9297 fi
   9298 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9299 esac
   9300 fi
   9301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9302 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9303 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9304 	CFLAGS="$xorg_testset_save_CFLAGS"
   9305 fi
   9306 
   9307 found="no"
   9308 
   9309 	if test $found = "no" ; then
   9310 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9311 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9312 		fi
   9313 
   9314 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9315 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9316 		fi
   9317 
   9318 		CFLAGS="$CFLAGS -Wimplicit"
   9319 
   9320 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9321 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9322 		cacheid=xorg_cv_cc_flag__Wimplicit
   9323 		if eval test \${$cacheid+y}
   9324 then :
   9325   printf %s "(cached) " >&6
   9326 else case e in #(
   9327   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9328 /* end confdefs.h.  */
   9329 int i;
   9330 int
   9331 main (void)
   9332 {
   9333 
   9334   ;
   9335   return 0;
   9336 }
   9337 _ACEOF
   9338 if ac_fn_c_try_link "$LINENO"
   9339 then :
   9340   eval $cacheid=yes
   9341 else case e in #(
   9342   e) eval $cacheid=no ;;
   9343 esac
   9344 fi
   9345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9346     conftest$ac_exeext conftest.$ac_ext ;;
   9347 esac
   9348 fi
   9349 
   9350 
   9351 		CFLAGS="$xorg_testset_save_CFLAGS"
   9352 
   9353 		eval supported=\$$cacheid
   9354 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9355 printf "%s\n" "$supported" >&6; }
   9356 		if test "$supported" = "yes" ; then
   9357 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9358 			found="yes"
   9359 		fi
   9360 	fi
   9361 
   9362 
   9363 
   9364 
   9365 
   9366 
   9367 
   9368 
   9369 
   9370 
   9371 
   9372 
   9373 
   9374 
   9375 
   9376 xorg_testset_save_CFLAGS="$CFLAGS"
   9377 
   9378 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9379 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9380 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9381 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9382 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9383 then :
   9384   printf %s "(cached) " >&6
   9385 else case e in #(
   9386   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9387 /* end confdefs.h.  */
   9388 int i;
   9389 _ACEOF
   9390 if ac_fn_c_try_compile "$LINENO"
   9391 then :
   9392   xorg_cv_cc_flag_unknown_warning_option=yes
   9393 else case e in #(
   9394   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9395 esac
   9396 fi
   9397 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9398 esac
   9399 fi
   9400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9401 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9402 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9403 	CFLAGS="$xorg_testset_save_CFLAGS"
   9404 fi
   9405 
   9406 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9407 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9408 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9409 	fi
   9410 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9411 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9412 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9413 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9414 then :
   9415   printf %s "(cached) " >&6
   9416 else case e in #(
   9417   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9418 /* end confdefs.h.  */
   9419 int i;
   9420 _ACEOF
   9421 if ac_fn_c_try_compile "$LINENO"
   9422 then :
   9423   xorg_cv_cc_flag_unused_command_line_argument=yes
   9424 else case e in #(
   9425   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9426 esac
   9427 fi
   9428 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9429 esac
   9430 fi
   9431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9432 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9433 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9434 	CFLAGS="$xorg_testset_save_CFLAGS"
   9435 fi
   9436 
   9437 found="no"
   9438 
   9439 	if test $found = "no" ; then
   9440 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9441 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9442 		fi
   9443 
   9444 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9445 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9446 		fi
   9447 
   9448 		CFLAGS="$CFLAGS -Wnonnull"
   9449 
   9450 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9451 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9452 		cacheid=xorg_cv_cc_flag__Wnonnull
   9453 		if eval test \${$cacheid+y}
   9454 then :
   9455   printf %s "(cached) " >&6
   9456 else case e in #(
   9457   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9458 /* end confdefs.h.  */
   9459 int i;
   9460 int
   9461 main (void)
   9462 {
   9463 
   9464   ;
   9465   return 0;
   9466 }
   9467 _ACEOF
   9468 if ac_fn_c_try_link "$LINENO"
   9469 then :
   9470   eval $cacheid=yes
   9471 else case e in #(
   9472   e) eval $cacheid=no ;;
   9473 esac
   9474 fi
   9475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9476     conftest$ac_exeext conftest.$ac_ext ;;
   9477 esac
   9478 fi
   9479 
   9480 
   9481 		CFLAGS="$xorg_testset_save_CFLAGS"
   9482 
   9483 		eval supported=\$$cacheid
   9484 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9485 printf "%s\n" "$supported" >&6; }
   9486 		if test "$supported" = "yes" ; then
   9487 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9488 			found="yes"
   9489 		fi
   9490 	fi
   9491 
   9492 
   9493 
   9494 
   9495 
   9496 
   9497 
   9498 
   9499 
   9500 
   9501 
   9502 
   9503 
   9504 
   9505 
   9506 xorg_testset_save_CFLAGS="$CFLAGS"
   9507 
   9508 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9509 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9510 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9511 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9512 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9513 then :
   9514   printf %s "(cached) " >&6
   9515 else case e in #(
   9516   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9517 /* end confdefs.h.  */
   9518 int i;
   9519 _ACEOF
   9520 if ac_fn_c_try_compile "$LINENO"
   9521 then :
   9522   xorg_cv_cc_flag_unknown_warning_option=yes
   9523 else case e in #(
   9524   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9525 esac
   9526 fi
   9527 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9528 esac
   9529 fi
   9530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9531 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9532 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9533 	CFLAGS="$xorg_testset_save_CFLAGS"
   9534 fi
   9535 
   9536 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9537 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9538 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9539 	fi
   9540 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9541 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9542 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9543 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9544 then :
   9545   printf %s "(cached) " >&6
   9546 else case e in #(
   9547   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9548 /* end confdefs.h.  */
   9549 int i;
   9550 _ACEOF
   9551 if ac_fn_c_try_compile "$LINENO"
   9552 then :
   9553   xorg_cv_cc_flag_unused_command_line_argument=yes
   9554 else case e in #(
   9555   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9556 esac
   9557 fi
   9558 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9559 esac
   9560 fi
   9561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9562 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9563 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9564 	CFLAGS="$xorg_testset_save_CFLAGS"
   9565 fi
   9566 
   9567 found="no"
   9568 
   9569 	if test $found = "no" ; then
   9570 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9571 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9572 		fi
   9573 
   9574 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9575 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9576 		fi
   9577 
   9578 		CFLAGS="$CFLAGS -Winit-self"
   9579 
   9580 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9581 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9582 		cacheid=xorg_cv_cc_flag__Winit_self
   9583 		if eval test \${$cacheid+y}
   9584 then :
   9585   printf %s "(cached) " >&6
   9586 else case e in #(
   9587   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9588 /* end confdefs.h.  */
   9589 int i;
   9590 int
   9591 main (void)
   9592 {
   9593 
   9594   ;
   9595   return 0;
   9596 }
   9597 _ACEOF
   9598 if ac_fn_c_try_link "$LINENO"
   9599 then :
   9600   eval $cacheid=yes
   9601 else case e in #(
   9602   e) eval $cacheid=no ;;
   9603 esac
   9604 fi
   9605 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9606     conftest$ac_exeext conftest.$ac_ext ;;
   9607 esac
   9608 fi
   9609 
   9610 
   9611 		CFLAGS="$xorg_testset_save_CFLAGS"
   9612 
   9613 		eval supported=\$$cacheid
   9614 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9615 printf "%s\n" "$supported" >&6; }
   9616 		if test "$supported" = "yes" ; then
   9617 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9618 			found="yes"
   9619 		fi
   9620 	fi
   9621 
   9622 
   9623 
   9624 
   9625 
   9626 
   9627 
   9628 
   9629 
   9630 
   9631 
   9632 
   9633 
   9634 
   9635 
   9636 xorg_testset_save_CFLAGS="$CFLAGS"
   9637 
   9638 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9639 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9640 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9641 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9642 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9643 then :
   9644   printf %s "(cached) " >&6
   9645 else case e in #(
   9646   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9647 /* end confdefs.h.  */
   9648 int i;
   9649 _ACEOF
   9650 if ac_fn_c_try_compile "$LINENO"
   9651 then :
   9652   xorg_cv_cc_flag_unknown_warning_option=yes
   9653 else case e in #(
   9654   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9655 esac
   9656 fi
   9657 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9658 esac
   9659 fi
   9660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9661 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9662 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9663 	CFLAGS="$xorg_testset_save_CFLAGS"
   9664 fi
   9665 
   9666 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9667 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9668 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9669 	fi
   9670 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9671 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9672 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9673 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9674 then :
   9675   printf %s "(cached) " >&6
   9676 else case e in #(
   9677   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9678 /* end confdefs.h.  */
   9679 int i;
   9680 _ACEOF
   9681 if ac_fn_c_try_compile "$LINENO"
   9682 then :
   9683   xorg_cv_cc_flag_unused_command_line_argument=yes
   9684 else case e in #(
   9685   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9686 esac
   9687 fi
   9688 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9689 esac
   9690 fi
   9691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9692 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9693 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9694 	CFLAGS="$xorg_testset_save_CFLAGS"
   9695 fi
   9696 
   9697 found="no"
   9698 
   9699 	if test $found = "no" ; then
   9700 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9701 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9702 		fi
   9703 
   9704 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9705 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9706 		fi
   9707 
   9708 		CFLAGS="$CFLAGS -Wmain"
   9709 
   9710 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9711 printf %s "checking if $CC supports -Wmain... " >&6; }
   9712 		cacheid=xorg_cv_cc_flag__Wmain
   9713 		if eval test \${$cacheid+y}
   9714 then :
   9715   printf %s "(cached) " >&6
   9716 else case e in #(
   9717   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9718 /* end confdefs.h.  */
   9719 int i;
   9720 int
   9721 main (void)
   9722 {
   9723 
   9724   ;
   9725   return 0;
   9726 }
   9727 _ACEOF
   9728 if ac_fn_c_try_link "$LINENO"
   9729 then :
   9730   eval $cacheid=yes
   9731 else case e in #(
   9732   e) eval $cacheid=no ;;
   9733 esac
   9734 fi
   9735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9736     conftest$ac_exeext conftest.$ac_ext ;;
   9737 esac
   9738 fi
   9739 
   9740 
   9741 		CFLAGS="$xorg_testset_save_CFLAGS"
   9742 
   9743 		eval supported=\$$cacheid
   9744 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9745 printf "%s\n" "$supported" >&6; }
   9746 		if test "$supported" = "yes" ; then
   9747 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9748 			found="yes"
   9749 		fi
   9750 	fi
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 xorg_testset_save_CFLAGS="$CFLAGS"
   9767 
   9768 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9769 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9770 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9771 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9772 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9773 then :
   9774   printf %s "(cached) " >&6
   9775 else case e in #(
   9776   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9777 /* end confdefs.h.  */
   9778 int i;
   9779 _ACEOF
   9780 if ac_fn_c_try_compile "$LINENO"
   9781 then :
   9782   xorg_cv_cc_flag_unknown_warning_option=yes
   9783 else case e in #(
   9784   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9785 esac
   9786 fi
   9787 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9788 esac
   9789 fi
   9790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9791 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9792 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9793 	CFLAGS="$xorg_testset_save_CFLAGS"
   9794 fi
   9795 
   9796 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9797 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9798 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9799 	fi
   9800 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9801 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9802 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9803 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9804 then :
   9805   printf %s "(cached) " >&6
   9806 else case e in #(
   9807   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9808 /* end confdefs.h.  */
   9809 int i;
   9810 _ACEOF
   9811 if ac_fn_c_try_compile "$LINENO"
   9812 then :
   9813   xorg_cv_cc_flag_unused_command_line_argument=yes
   9814 else case e in #(
   9815   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9816 esac
   9817 fi
   9818 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9819 esac
   9820 fi
   9821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9822 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9823 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9824 	CFLAGS="$xorg_testset_save_CFLAGS"
   9825 fi
   9826 
   9827 found="no"
   9828 
   9829 	if test $found = "no" ; then
   9830 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9831 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9832 		fi
   9833 
   9834 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9835 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9836 		fi
   9837 
   9838 		CFLAGS="$CFLAGS -Wmissing-braces"
   9839 
   9840 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9841 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9842 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9843 		if eval test \${$cacheid+y}
   9844 then :
   9845   printf %s "(cached) " >&6
   9846 else case e in #(
   9847   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9848 /* end confdefs.h.  */
   9849 int i;
   9850 int
   9851 main (void)
   9852 {
   9853 
   9854   ;
   9855   return 0;
   9856 }
   9857 _ACEOF
   9858 if ac_fn_c_try_link "$LINENO"
   9859 then :
   9860   eval $cacheid=yes
   9861 else case e in #(
   9862   e) eval $cacheid=no ;;
   9863 esac
   9864 fi
   9865 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9866     conftest$ac_exeext conftest.$ac_ext ;;
   9867 esac
   9868 fi
   9869 
   9870 
   9871 		CFLAGS="$xorg_testset_save_CFLAGS"
   9872 
   9873 		eval supported=\$$cacheid
   9874 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9875 printf "%s\n" "$supported" >&6; }
   9876 		if test "$supported" = "yes" ; then
   9877 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9878 			found="yes"
   9879 		fi
   9880 	fi
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 xorg_testset_save_CFLAGS="$CFLAGS"
   9897 
   9898 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9899 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9900 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9901 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9902 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9903 then :
   9904   printf %s "(cached) " >&6
   9905 else case e in #(
   9906   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9907 /* end confdefs.h.  */
   9908 int i;
   9909 _ACEOF
   9910 if ac_fn_c_try_compile "$LINENO"
   9911 then :
   9912   xorg_cv_cc_flag_unknown_warning_option=yes
   9913 else case e in #(
   9914   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9915 esac
   9916 fi
   9917 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9918 esac
   9919 fi
   9920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9921 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9922 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9923 	CFLAGS="$xorg_testset_save_CFLAGS"
   9924 fi
   9925 
   9926 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9927 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9928 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9929 	fi
   9930 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9931 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9932 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9933 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9934 then :
   9935   printf %s "(cached) " >&6
   9936 else case e in #(
   9937   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9938 /* end confdefs.h.  */
   9939 int i;
   9940 _ACEOF
   9941 if ac_fn_c_try_compile "$LINENO"
   9942 then :
   9943   xorg_cv_cc_flag_unused_command_line_argument=yes
   9944 else case e in #(
   9945   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9946 esac
   9947 fi
   9948 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9949 esac
   9950 fi
   9951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9952 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9953 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9954 	CFLAGS="$xorg_testset_save_CFLAGS"
   9955 fi
   9956 
   9957 found="no"
   9958 
   9959 	if test $found = "no" ; then
   9960 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9961 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9962 		fi
   9963 
   9964 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9965 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9966 		fi
   9967 
   9968 		CFLAGS="$CFLAGS -Wsequence-point"
   9969 
   9970 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9971 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9972 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9973 		if eval test \${$cacheid+y}
   9974 then :
   9975   printf %s "(cached) " >&6
   9976 else case e in #(
   9977   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9978 /* end confdefs.h.  */
   9979 int i;
   9980 int
   9981 main (void)
   9982 {
   9983 
   9984   ;
   9985   return 0;
   9986 }
   9987 _ACEOF
   9988 if ac_fn_c_try_link "$LINENO"
   9989 then :
   9990   eval $cacheid=yes
   9991 else case e in #(
   9992   e) eval $cacheid=no ;;
   9993 esac
   9994 fi
   9995 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9996     conftest$ac_exeext conftest.$ac_ext ;;
   9997 esac
   9998 fi
   9999 
   10000 
   10001 		CFLAGS="$xorg_testset_save_CFLAGS"
   10002 
   10003 		eval supported=\$$cacheid
   10004 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10005 printf "%s\n" "$supported" >&6; }
   10006 		if test "$supported" = "yes" ; then
   10007 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   10008 			found="yes"
   10009 		fi
   10010 	fi
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 xorg_testset_save_CFLAGS="$CFLAGS"
   10027 
   10028 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10029 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10030 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10031 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10032 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10033 then :
   10034   printf %s "(cached) " >&6
   10035 else case e in #(
   10036   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10037 /* end confdefs.h.  */
   10038 int i;
   10039 _ACEOF
   10040 if ac_fn_c_try_compile "$LINENO"
   10041 then :
   10042   xorg_cv_cc_flag_unknown_warning_option=yes
   10043 else case e in #(
   10044   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10045 esac
   10046 fi
   10047 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10048 esac
   10049 fi
   10050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10051 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10052 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10053 	CFLAGS="$xorg_testset_save_CFLAGS"
   10054 fi
   10055 
   10056 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10057 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10058 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10059 	fi
   10060 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10061 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10062 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10063 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10064 then :
   10065   printf %s "(cached) " >&6
   10066 else case e in #(
   10067   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10068 /* end confdefs.h.  */
   10069 int i;
   10070 _ACEOF
   10071 if ac_fn_c_try_compile "$LINENO"
   10072 then :
   10073   xorg_cv_cc_flag_unused_command_line_argument=yes
   10074 else case e in #(
   10075   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10076 esac
   10077 fi
   10078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10079 esac
   10080 fi
   10081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10082 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10083 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10084 	CFLAGS="$xorg_testset_save_CFLAGS"
   10085 fi
   10086 
   10087 found="no"
   10088 
   10089 	if test $found = "no" ; then
   10090 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10091 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10092 		fi
   10093 
   10094 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10095 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10096 		fi
   10097 
   10098 		CFLAGS="$CFLAGS -Wreturn-type"
   10099 
   10100 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10101 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10102 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10103 		if eval test \${$cacheid+y}
   10104 then :
   10105   printf %s "(cached) " >&6
   10106 else case e in #(
   10107   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10108 /* end confdefs.h.  */
   10109 int i;
   10110 int
   10111 main (void)
   10112 {
   10113 
   10114   ;
   10115   return 0;
   10116 }
   10117 _ACEOF
   10118 if ac_fn_c_try_link "$LINENO"
   10119 then :
   10120   eval $cacheid=yes
   10121 else case e in #(
   10122   e) eval $cacheid=no ;;
   10123 esac
   10124 fi
   10125 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10126     conftest$ac_exeext conftest.$ac_ext ;;
   10127 esac
   10128 fi
   10129 
   10130 
   10131 		CFLAGS="$xorg_testset_save_CFLAGS"
   10132 
   10133 		eval supported=\$$cacheid
   10134 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10135 printf "%s\n" "$supported" >&6; }
   10136 		if test "$supported" = "yes" ; then
   10137 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10138 			found="yes"
   10139 		fi
   10140 	fi
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 
   10147 
   10148 
   10149 
   10150 
   10151 
   10152 
   10153 
   10154 
   10155 
   10156 xorg_testset_save_CFLAGS="$CFLAGS"
   10157 
   10158 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10159 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10160 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10161 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10162 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10163 then :
   10164   printf %s "(cached) " >&6
   10165 else case e in #(
   10166   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10167 /* end confdefs.h.  */
   10168 int i;
   10169 _ACEOF
   10170 if ac_fn_c_try_compile "$LINENO"
   10171 then :
   10172   xorg_cv_cc_flag_unknown_warning_option=yes
   10173 else case e in #(
   10174   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10175 esac
   10176 fi
   10177 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10178 esac
   10179 fi
   10180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10181 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10182 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10183 	CFLAGS="$xorg_testset_save_CFLAGS"
   10184 fi
   10185 
   10186 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10187 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10188 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10189 	fi
   10190 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10191 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10192 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10193 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10194 then :
   10195   printf %s "(cached) " >&6
   10196 else case e in #(
   10197   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10198 /* end confdefs.h.  */
   10199 int i;
   10200 _ACEOF
   10201 if ac_fn_c_try_compile "$LINENO"
   10202 then :
   10203   xorg_cv_cc_flag_unused_command_line_argument=yes
   10204 else case e in #(
   10205   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10206 esac
   10207 fi
   10208 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10209 esac
   10210 fi
   10211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10212 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10213 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10214 	CFLAGS="$xorg_testset_save_CFLAGS"
   10215 fi
   10216 
   10217 found="no"
   10218 
   10219 	if test $found = "no" ; then
   10220 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10221 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10222 		fi
   10223 
   10224 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10225 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10226 		fi
   10227 
   10228 		CFLAGS="$CFLAGS -Wtrigraphs"
   10229 
   10230 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10231 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10232 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10233 		if eval test \${$cacheid+y}
   10234 then :
   10235   printf %s "(cached) " >&6
   10236 else case e in #(
   10237   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10238 /* end confdefs.h.  */
   10239 int i;
   10240 int
   10241 main (void)
   10242 {
   10243 
   10244   ;
   10245   return 0;
   10246 }
   10247 _ACEOF
   10248 if ac_fn_c_try_link "$LINENO"
   10249 then :
   10250   eval $cacheid=yes
   10251 else case e in #(
   10252   e) eval $cacheid=no ;;
   10253 esac
   10254 fi
   10255 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10256     conftest$ac_exeext conftest.$ac_ext ;;
   10257 esac
   10258 fi
   10259 
   10260 
   10261 		CFLAGS="$xorg_testset_save_CFLAGS"
   10262 
   10263 		eval supported=\$$cacheid
   10264 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10265 printf "%s\n" "$supported" >&6; }
   10266 		if test "$supported" = "yes" ; then
   10267 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10268 			found="yes"
   10269 		fi
   10270 	fi
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 
   10285 
   10286 xorg_testset_save_CFLAGS="$CFLAGS"
   10287 
   10288 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10289 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10290 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10291 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10292 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10293 then :
   10294   printf %s "(cached) " >&6
   10295 else case e in #(
   10296   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10297 /* end confdefs.h.  */
   10298 int i;
   10299 _ACEOF
   10300 if ac_fn_c_try_compile "$LINENO"
   10301 then :
   10302   xorg_cv_cc_flag_unknown_warning_option=yes
   10303 else case e in #(
   10304   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10305 esac
   10306 fi
   10307 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10308 esac
   10309 fi
   10310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10311 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10312 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10313 	CFLAGS="$xorg_testset_save_CFLAGS"
   10314 fi
   10315 
   10316 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10317 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10318 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10319 	fi
   10320 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10321 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10322 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10323 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10324 then :
   10325   printf %s "(cached) " >&6
   10326 else case e in #(
   10327   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10328 /* end confdefs.h.  */
   10329 int i;
   10330 _ACEOF
   10331 if ac_fn_c_try_compile "$LINENO"
   10332 then :
   10333   xorg_cv_cc_flag_unused_command_line_argument=yes
   10334 else case e in #(
   10335   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10336 esac
   10337 fi
   10338 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10339 esac
   10340 fi
   10341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10342 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10343 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10344 	CFLAGS="$xorg_testset_save_CFLAGS"
   10345 fi
   10346 
   10347 found="no"
   10348 
   10349 	if test $found = "no" ; then
   10350 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10351 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10352 		fi
   10353 
   10354 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10355 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10356 		fi
   10357 
   10358 		CFLAGS="$CFLAGS -Warray-bounds"
   10359 
   10360 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10361 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10362 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10363 		if eval test \${$cacheid+y}
   10364 then :
   10365   printf %s "(cached) " >&6
   10366 else case e in #(
   10367   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10368 /* end confdefs.h.  */
   10369 int i;
   10370 int
   10371 main (void)
   10372 {
   10373 
   10374   ;
   10375   return 0;
   10376 }
   10377 _ACEOF
   10378 if ac_fn_c_try_link "$LINENO"
   10379 then :
   10380   eval $cacheid=yes
   10381 else case e in #(
   10382   e) eval $cacheid=no ;;
   10383 esac
   10384 fi
   10385 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10386     conftest$ac_exeext conftest.$ac_ext ;;
   10387 esac
   10388 fi
   10389 
   10390 
   10391 		CFLAGS="$xorg_testset_save_CFLAGS"
   10392 
   10393 		eval supported=\$$cacheid
   10394 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10395 printf "%s\n" "$supported" >&6; }
   10396 		if test "$supported" = "yes" ; then
   10397 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10398 			found="yes"
   10399 		fi
   10400 	fi
   10401 
   10402 
   10403 
   10404 
   10405 
   10406 
   10407 
   10408 
   10409 
   10410 
   10411 
   10412 
   10413 
   10414 
   10415 
   10416 xorg_testset_save_CFLAGS="$CFLAGS"
   10417 
   10418 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10419 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10420 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10421 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10422 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10423 then :
   10424   printf %s "(cached) " >&6
   10425 else case e in #(
   10426   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10427 /* end confdefs.h.  */
   10428 int i;
   10429 _ACEOF
   10430 if ac_fn_c_try_compile "$LINENO"
   10431 then :
   10432   xorg_cv_cc_flag_unknown_warning_option=yes
   10433 else case e in #(
   10434   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10435 esac
   10436 fi
   10437 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10438 esac
   10439 fi
   10440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10441 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10442 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10443 	CFLAGS="$xorg_testset_save_CFLAGS"
   10444 fi
   10445 
   10446 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10447 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10448 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10449 	fi
   10450 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10451 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10452 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10453 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10454 then :
   10455   printf %s "(cached) " >&6
   10456 else case e in #(
   10457   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10458 /* end confdefs.h.  */
   10459 int i;
   10460 _ACEOF
   10461 if ac_fn_c_try_compile "$LINENO"
   10462 then :
   10463   xorg_cv_cc_flag_unused_command_line_argument=yes
   10464 else case e in #(
   10465   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10466 esac
   10467 fi
   10468 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10469 esac
   10470 fi
   10471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10472 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10473 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10474 	CFLAGS="$xorg_testset_save_CFLAGS"
   10475 fi
   10476 
   10477 found="no"
   10478 
   10479 	if test $found = "no" ; then
   10480 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10481 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10482 		fi
   10483 
   10484 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10485 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10486 		fi
   10487 
   10488 		CFLAGS="$CFLAGS -Wwrite-strings"
   10489 
   10490 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10491 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10492 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10493 		if eval test \${$cacheid+y}
   10494 then :
   10495   printf %s "(cached) " >&6
   10496 else case e in #(
   10497   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10498 /* end confdefs.h.  */
   10499 int i;
   10500 int
   10501 main (void)
   10502 {
   10503 
   10504   ;
   10505   return 0;
   10506 }
   10507 _ACEOF
   10508 if ac_fn_c_try_link "$LINENO"
   10509 then :
   10510   eval $cacheid=yes
   10511 else case e in #(
   10512   e) eval $cacheid=no ;;
   10513 esac
   10514 fi
   10515 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10516     conftest$ac_exeext conftest.$ac_ext ;;
   10517 esac
   10518 fi
   10519 
   10520 
   10521 		CFLAGS="$xorg_testset_save_CFLAGS"
   10522 
   10523 		eval supported=\$$cacheid
   10524 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10525 printf "%s\n" "$supported" >&6; }
   10526 		if test "$supported" = "yes" ; then
   10527 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10528 			found="yes"
   10529 		fi
   10530 	fi
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 
   10539 
   10540 
   10541 
   10542 
   10543 
   10544 
   10545 
   10546 xorg_testset_save_CFLAGS="$CFLAGS"
   10547 
   10548 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10549 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10550 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10551 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10552 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10553 then :
   10554   printf %s "(cached) " >&6
   10555 else case e in #(
   10556   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10557 /* end confdefs.h.  */
   10558 int i;
   10559 _ACEOF
   10560 if ac_fn_c_try_compile "$LINENO"
   10561 then :
   10562   xorg_cv_cc_flag_unknown_warning_option=yes
   10563 else case e in #(
   10564   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10565 esac
   10566 fi
   10567 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10568 esac
   10569 fi
   10570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10571 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10572 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10573 	CFLAGS="$xorg_testset_save_CFLAGS"
   10574 fi
   10575 
   10576 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10577 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10578 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10579 	fi
   10580 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10581 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10582 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10583 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10584 then :
   10585   printf %s "(cached) " >&6
   10586 else case e in #(
   10587   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10588 /* end confdefs.h.  */
   10589 int i;
   10590 _ACEOF
   10591 if ac_fn_c_try_compile "$LINENO"
   10592 then :
   10593   xorg_cv_cc_flag_unused_command_line_argument=yes
   10594 else case e in #(
   10595   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10596 esac
   10597 fi
   10598 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10599 esac
   10600 fi
   10601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10602 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10603 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10604 	CFLAGS="$xorg_testset_save_CFLAGS"
   10605 fi
   10606 
   10607 found="no"
   10608 
   10609 	if test $found = "no" ; then
   10610 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10611 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10612 		fi
   10613 
   10614 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10615 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10616 		fi
   10617 
   10618 		CFLAGS="$CFLAGS -Waddress"
   10619 
   10620 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10621 printf %s "checking if $CC supports -Waddress... " >&6; }
   10622 		cacheid=xorg_cv_cc_flag__Waddress
   10623 		if eval test \${$cacheid+y}
   10624 then :
   10625   printf %s "(cached) " >&6
   10626 else case e in #(
   10627   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10628 /* end confdefs.h.  */
   10629 int i;
   10630 int
   10631 main (void)
   10632 {
   10633 
   10634   ;
   10635   return 0;
   10636 }
   10637 _ACEOF
   10638 if ac_fn_c_try_link "$LINENO"
   10639 then :
   10640   eval $cacheid=yes
   10641 else case e in #(
   10642   e) eval $cacheid=no ;;
   10643 esac
   10644 fi
   10645 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10646     conftest$ac_exeext conftest.$ac_ext ;;
   10647 esac
   10648 fi
   10649 
   10650 
   10651 		CFLAGS="$xorg_testset_save_CFLAGS"
   10652 
   10653 		eval supported=\$$cacheid
   10654 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10655 printf "%s\n" "$supported" >&6; }
   10656 		if test "$supported" = "yes" ; then
   10657 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10658 			found="yes"
   10659 		fi
   10660 	fi
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 
   10669 
   10670 
   10671 
   10672 
   10673 
   10674 
   10675 
   10676 xorg_testset_save_CFLAGS="$CFLAGS"
   10677 
   10678 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10679 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10680 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10681 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10682 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10683 then :
   10684   printf %s "(cached) " >&6
   10685 else case e in #(
   10686   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10687 /* end confdefs.h.  */
   10688 int i;
   10689 _ACEOF
   10690 if ac_fn_c_try_compile "$LINENO"
   10691 then :
   10692   xorg_cv_cc_flag_unknown_warning_option=yes
   10693 else case e in #(
   10694   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10695 esac
   10696 fi
   10697 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10698 esac
   10699 fi
   10700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10701 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10702 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10703 	CFLAGS="$xorg_testset_save_CFLAGS"
   10704 fi
   10705 
   10706 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10707 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10708 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10709 	fi
   10710 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10711 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10712 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10713 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10714 then :
   10715   printf %s "(cached) " >&6
   10716 else case e in #(
   10717   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10718 /* end confdefs.h.  */
   10719 int i;
   10720 _ACEOF
   10721 if ac_fn_c_try_compile "$LINENO"
   10722 then :
   10723   xorg_cv_cc_flag_unused_command_line_argument=yes
   10724 else case e in #(
   10725   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10726 esac
   10727 fi
   10728 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10729 esac
   10730 fi
   10731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10732 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10733 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10734 	CFLAGS="$xorg_testset_save_CFLAGS"
   10735 fi
   10736 
   10737 found="no"
   10738 
   10739 	if test $found = "no" ; then
   10740 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10741 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10742 		fi
   10743 
   10744 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10745 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10746 		fi
   10747 
   10748 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10749 
   10750 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10751 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10752 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10753 		if eval test \${$cacheid+y}
   10754 then :
   10755   printf %s "(cached) " >&6
   10756 else case e in #(
   10757   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10758 /* end confdefs.h.  */
   10759 int i;
   10760 int
   10761 main (void)
   10762 {
   10763 
   10764   ;
   10765   return 0;
   10766 }
   10767 _ACEOF
   10768 if ac_fn_c_try_link "$LINENO"
   10769 then :
   10770   eval $cacheid=yes
   10771 else case e in #(
   10772   e) eval $cacheid=no ;;
   10773 esac
   10774 fi
   10775 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10776     conftest$ac_exeext conftest.$ac_ext ;;
   10777 esac
   10778 fi
   10779 
   10780 
   10781 		CFLAGS="$xorg_testset_save_CFLAGS"
   10782 
   10783 		eval supported=\$$cacheid
   10784 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10785 printf "%s\n" "$supported" >&6; }
   10786 		if test "$supported" = "yes" ; then
   10787 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10788 			found="yes"
   10789 		fi
   10790 	fi
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 
   10800 
   10801 
   10802 
   10803 
   10804 
   10805 
   10806 xorg_testset_save_CFLAGS="$CFLAGS"
   10807 
   10808 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10809 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10810 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10811 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10812 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10813 then :
   10814   printf %s "(cached) " >&6
   10815 else case e in #(
   10816   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10817 /* end confdefs.h.  */
   10818 int i;
   10819 _ACEOF
   10820 if ac_fn_c_try_compile "$LINENO"
   10821 then :
   10822   xorg_cv_cc_flag_unknown_warning_option=yes
   10823 else case e in #(
   10824   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10825 esac
   10826 fi
   10827 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10828 esac
   10829 fi
   10830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10831 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10832 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10833 	CFLAGS="$xorg_testset_save_CFLAGS"
   10834 fi
   10835 
   10836 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10837 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10838 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10839 	fi
   10840 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10841 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10842 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10843 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10844 then :
   10845   printf %s "(cached) " >&6
   10846 else case e in #(
   10847   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10848 /* end confdefs.h.  */
   10849 int i;
   10850 _ACEOF
   10851 if ac_fn_c_try_compile "$LINENO"
   10852 then :
   10853   xorg_cv_cc_flag_unused_command_line_argument=yes
   10854 else case e in #(
   10855   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10856 esac
   10857 fi
   10858 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10859 esac
   10860 fi
   10861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10862 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10863 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10864 	CFLAGS="$xorg_testset_save_CFLAGS"
   10865 fi
   10866 
   10867 found="no"
   10868 
   10869 	if test $found = "no" ; then
   10870 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10871 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10872 		fi
   10873 
   10874 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10875 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10876 		fi
   10877 
   10878 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10879 
   10880 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10881 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10882 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10883 		if eval test \${$cacheid+y}
   10884 then :
   10885   printf %s "(cached) " >&6
   10886 else case e in #(
   10887   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10888 /* end confdefs.h.  */
   10889 int i;
   10890 int
   10891 main (void)
   10892 {
   10893 
   10894   ;
   10895   return 0;
   10896 }
   10897 _ACEOF
   10898 if ac_fn_c_try_link "$LINENO"
   10899 then :
   10900   eval $cacheid=yes
   10901 else case e in #(
   10902   e) eval $cacheid=no ;;
   10903 esac
   10904 fi
   10905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10906     conftest$ac_exeext conftest.$ac_ext ;;
   10907 esac
   10908 fi
   10909 
   10910 
   10911 		CFLAGS="$xorg_testset_save_CFLAGS"
   10912 
   10913 		eval supported=\$$cacheid
   10914 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10915 printf "%s\n" "$supported" >&6; }
   10916 		if test "$supported" = "yes" ; then
   10917 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10918 			found="yes"
   10919 		fi
   10920 	fi
   10921 
   10922 
   10923 fi
   10924 
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 		CWARNFLAGS="$BASE_CFLAGS"
   10932 		if  test "x$GCC" = xyes ; then
   10933 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10934 		fi
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 
   10943 # Check whether --enable-strict-compilation was given.
   10944 if test ${enable_strict_compilation+y}
   10945 then :
   10946   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10947 else case e in #(
   10948   e) STRICT_COMPILE=no ;;
   10949 esac
   10950 fi
   10951 
   10952 
   10953 
   10954 
   10955 
   10956 
   10957 STRICT_CFLAGS=""
   10958 
   10959 
   10960 
   10961 
   10962 
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 
   10971 xorg_testset_save_CFLAGS="$CFLAGS"
   10972 
   10973 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10974 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10975 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10976 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10977 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10978 then :
   10979   printf %s "(cached) " >&6
   10980 else case e in #(
   10981   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10982 /* end confdefs.h.  */
   10983 int i;
   10984 _ACEOF
   10985 if ac_fn_c_try_compile "$LINENO"
   10986 then :
   10987   xorg_cv_cc_flag_unknown_warning_option=yes
   10988 else case e in #(
   10989   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10990 esac
   10991 fi
   10992 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10993 esac
   10994 fi
   10995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10996 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10997 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10998 	CFLAGS="$xorg_testset_save_CFLAGS"
   10999 fi
   11000 
   11001 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11002 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11003 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11004 	fi
   11005 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11006 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11007 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11008 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11009 then :
   11010   printf %s "(cached) " >&6
   11011 else case e in #(
   11012   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11013 /* end confdefs.h.  */
   11014 int i;
   11015 _ACEOF
   11016 if ac_fn_c_try_compile "$LINENO"
   11017 then :
   11018   xorg_cv_cc_flag_unused_command_line_argument=yes
   11019 else case e in #(
   11020   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11021 esac
   11022 fi
   11023 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11024 esac
   11025 fi
   11026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11027 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11028 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11029 	CFLAGS="$xorg_testset_save_CFLAGS"
   11030 fi
   11031 
   11032 found="no"
   11033 
   11034 	if test $found = "no" ; then
   11035 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11036 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11037 		fi
   11038 
   11039 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11040 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11041 		fi
   11042 
   11043 		CFLAGS="$CFLAGS -pedantic"
   11044 
   11045 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11046 printf %s "checking if $CC supports -pedantic... " >&6; }
   11047 		cacheid=xorg_cv_cc_flag__pedantic
   11048 		if eval test \${$cacheid+y}
   11049 then :
   11050   printf %s "(cached) " >&6
   11051 else case e in #(
   11052   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11053 /* end confdefs.h.  */
   11054 int i;
   11055 int
   11056 main (void)
   11057 {
   11058 
   11059   ;
   11060   return 0;
   11061 }
   11062 _ACEOF
   11063 if ac_fn_c_try_link "$LINENO"
   11064 then :
   11065   eval $cacheid=yes
   11066 else case e in #(
   11067   e) eval $cacheid=no ;;
   11068 esac
   11069 fi
   11070 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11071     conftest$ac_exeext conftest.$ac_ext ;;
   11072 esac
   11073 fi
   11074 
   11075 
   11076 		CFLAGS="$xorg_testset_save_CFLAGS"
   11077 
   11078 		eval supported=\$$cacheid
   11079 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11080 printf "%s\n" "$supported" >&6; }
   11081 		if test "$supported" = "yes" ; then
   11082 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11083 			found="yes"
   11084 		fi
   11085 	fi
   11086 
   11087 
   11088 
   11089 
   11090 
   11091 
   11092 
   11093 
   11094 
   11095 
   11096 
   11097 
   11098 
   11099 
   11100 
   11101 xorg_testset_save_CFLAGS="$CFLAGS"
   11102 
   11103 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11104 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11105 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11106 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11107 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11108 then :
   11109   printf %s "(cached) " >&6
   11110 else case e in #(
   11111   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11112 /* end confdefs.h.  */
   11113 int i;
   11114 _ACEOF
   11115 if ac_fn_c_try_compile "$LINENO"
   11116 then :
   11117   xorg_cv_cc_flag_unknown_warning_option=yes
   11118 else case e in #(
   11119   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11120 esac
   11121 fi
   11122 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11123 esac
   11124 fi
   11125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11126 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11127 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11128 	CFLAGS="$xorg_testset_save_CFLAGS"
   11129 fi
   11130 
   11131 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11132 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11133 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11134 	fi
   11135 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11136 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11137 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11138 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11139 then :
   11140   printf %s "(cached) " >&6
   11141 else case e in #(
   11142   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11143 /* end confdefs.h.  */
   11144 int i;
   11145 _ACEOF
   11146 if ac_fn_c_try_compile "$LINENO"
   11147 then :
   11148   xorg_cv_cc_flag_unused_command_line_argument=yes
   11149 else case e in #(
   11150   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11151 esac
   11152 fi
   11153 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11154 esac
   11155 fi
   11156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11157 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11158 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11159 	CFLAGS="$xorg_testset_save_CFLAGS"
   11160 fi
   11161 
   11162 found="no"
   11163 
   11164 	if test $found = "no" ; then
   11165 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11166 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11167 		fi
   11168 
   11169 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11170 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11171 		fi
   11172 
   11173 		CFLAGS="$CFLAGS -Werror"
   11174 
   11175 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11176 printf %s "checking if $CC supports -Werror... " >&6; }
   11177 		cacheid=xorg_cv_cc_flag__Werror
   11178 		if eval test \${$cacheid+y}
   11179 then :
   11180   printf %s "(cached) " >&6
   11181 else case e in #(
   11182   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11183 /* end confdefs.h.  */
   11184 int i;
   11185 int
   11186 main (void)
   11187 {
   11188 
   11189   ;
   11190   return 0;
   11191 }
   11192 _ACEOF
   11193 if ac_fn_c_try_link "$LINENO"
   11194 then :
   11195   eval $cacheid=yes
   11196 else case e in #(
   11197   e) eval $cacheid=no ;;
   11198 esac
   11199 fi
   11200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11201     conftest$ac_exeext conftest.$ac_ext ;;
   11202 esac
   11203 fi
   11204 
   11205 
   11206 		CFLAGS="$xorg_testset_save_CFLAGS"
   11207 
   11208 		eval supported=\$$cacheid
   11209 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11210 printf "%s\n" "$supported" >&6; }
   11211 		if test "$supported" = "yes" ; then
   11212 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11213 			found="yes"
   11214 		fi
   11215 	fi
   11216 
   11217 	if test $found = "no" ; then
   11218 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11219 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11220 		fi
   11221 
   11222 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11223 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11224 		fi
   11225 
   11226 		CFLAGS="$CFLAGS -errwarn"
   11227 
   11228 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11229 printf %s "checking if $CC supports -errwarn... " >&6; }
   11230 		cacheid=xorg_cv_cc_flag__errwarn
   11231 		if eval test \${$cacheid+y}
   11232 then :
   11233   printf %s "(cached) " >&6
   11234 else case e in #(
   11235   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11236 /* end confdefs.h.  */
   11237 int i;
   11238 int
   11239 main (void)
   11240 {
   11241 
   11242   ;
   11243   return 0;
   11244 }
   11245 _ACEOF
   11246 if ac_fn_c_try_link "$LINENO"
   11247 then :
   11248   eval $cacheid=yes
   11249 else case e in #(
   11250   e) eval $cacheid=no ;;
   11251 esac
   11252 fi
   11253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11254     conftest$ac_exeext conftest.$ac_ext ;;
   11255 esac
   11256 fi
   11257 
   11258 
   11259 		CFLAGS="$xorg_testset_save_CFLAGS"
   11260 
   11261 		eval supported=\$$cacheid
   11262 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11263 printf "%s\n" "$supported" >&6; }
   11264 		if test "$supported" = "yes" ; then
   11265 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11266 			found="yes"
   11267 		fi
   11268 	fi
   11269 
   11270 
   11271 
   11272 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11273 # activate it with -Werror, so we add it here explicitly.
   11274 
   11275 
   11276 
   11277 
   11278 
   11279 
   11280 
   11281 
   11282 
   11283 
   11284 
   11285 
   11286 
   11287 xorg_testset_save_CFLAGS="$CFLAGS"
   11288 
   11289 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11290 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11291 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11292 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11293 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11294 then :
   11295   printf %s "(cached) " >&6
   11296 else case e in #(
   11297   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11298 /* end confdefs.h.  */
   11299 int i;
   11300 _ACEOF
   11301 if ac_fn_c_try_compile "$LINENO"
   11302 then :
   11303   xorg_cv_cc_flag_unknown_warning_option=yes
   11304 else case e in #(
   11305   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11306 esac
   11307 fi
   11308 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11309 esac
   11310 fi
   11311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11312 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11313 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11314 	CFLAGS="$xorg_testset_save_CFLAGS"
   11315 fi
   11316 
   11317 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11318 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11319 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11320 	fi
   11321 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11322 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11323 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11324 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11325 then :
   11326   printf %s "(cached) " >&6
   11327 else case e in #(
   11328   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11329 /* end confdefs.h.  */
   11330 int i;
   11331 _ACEOF
   11332 if ac_fn_c_try_compile "$LINENO"
   11333 then :
   11334   xorg_cv_cc_flag_unused_command_line_argument=yes
   11335 else case e in #(
   11336   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11337 esac
   11338 fi
   11339 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11340 esac
   11341 fi
   11342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11343 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11344 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11345 	CFLAGS="$xorg_testset_save_CFLAGS"
   11346 fi
   11347 
   11348 found="no"
   11349 
   11350 	if test $found = "no" ; then
   11351 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11352 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11353 		fi
   11354 
   11355 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11356 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11357 		fi
   11358 
   11359 		CFLAGS="$CFLAGS -Werror=attributes"
   11360 
   11361 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11362 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11363 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11364 		if eval test \${$cacheid+y}
   11365 then :
   11366   printf %s "(cached) " >&6
   11367 else case e in #(
   11368   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11369 /* end confdefs.h.  */
   11370 int i;
   11371 int
   11372 main (void)
   11373 {
   11374 
   11375   ;
   11376   return 0;
   11377 }
   11378 _ACEOF
   11379 if ac_fn_c_try_link "$LINENO"
   11380 then :
   11381   eval $cacheid=yes
   11382 else case e in #(
   11383   e) eval $cacheid=no ;;
   11384 esac
   11385 fi
   11386 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11387     conftest$ac_exeext conftest.$ac_ext ;;
   11388 esac
   11389 fi
   11390 
   11391 
   11392 		CFLAGS="$xorg_testset_save_CFLAGS"
   11393 
   11394 		eval supported=\$$cacheid
   11395 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11396 printf "%s\n" "$supported" >&6; }
   11397 		if test "$supported" = "yes" ; then
   11398 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11399 			found="yes"
   11400 		fi
   11401 	fi
   11402 
   11403 
   11404 
   11405 if test "x$STRICT_COMPILE" = "xyes"; then
   11406     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11407     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11408 fi
   11409 
   11410 
   11411 
   11412 
   11413 
   11414 
   11415 
   11416 
   11417 cat >>confdefs.h <<_ACEOF
   11418 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11419 _ACEOF
   11420 
   11421 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11422 	if test "x$PVM" = "x"; then
   11423 		PVM="0"
   11424 	fi
   11425 
   11426 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11427 
   11428 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11429 	if test "x$PVP" = "x"; then
   11430 		PVP="0"
   11431 	fi
   11432 
   11433 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11434 
   11435 
   11436 
   11437 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11438 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11439 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11440 touch \$(top_srcdir)/ChangeLog; \
   11441 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11442 
   11443 
   11444 
   11445 
   11446 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11447 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11448 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11449 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11450 touch \$(top_srcdir)/INSTALL; \
   11451 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11452 
   11453 
   11454 
   11455 
   11456 
   11457 
   11458 case $host_os in
   11459     solaris*)
   11460         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11461         # check for a man page file found in later versions that use
   11462         # traditional section numbers instead
   11463         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11464 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11465 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11466 then :
   11467   printf %s "(cached) " >&6
   11468 else case e in #(
   11469   e) test "$cross_compiling" = yes &&
   11470   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11471 if test -r "/usr/share/man/man7/attributes.7"; then
   11472   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11473 else
   11474   ac_cv_file__usr_share_man_man7_attributes_7=no
   11475 fi ;;
   11476 esac
   11477 fi
   11478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11479 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11480 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11481 then :
   11482   SYSV_MAN_SECTIONS=false
   11483 else case e in #(
   11484   e) SYSV_MAN_SECTIONS=true ;;
   11485 esac
   11486 fi
   11487 
   11488         ;;
   11489     *) SYSV_MAN_SECTIONS=false ;;
   11490 esac
   11491 
   11492 if test x$APP_MAN_SUFFIX = x    ; then
   11493     APP_MAN_SUFFIX=1
   11494 fi
   11495 if test x$APP_MAN_DIR = x    ; then
   11496     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11497 fi
   11498 
   11499 if test x$LIB_MAN_SUFFIX = x    ; then
   11500     LIB_MAN_SUFFIX=3
   11501 fi
   11502 if test x$LIB_MAN_DIR = x    ; then
   11503     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11504 fi
   11505 
   11506 if test x$FILE_MAN_SUFFIX = x    ; then
   11507     case $SYSV_MAN_SECTIONS in
   11508 	true)				FILE_MAN_SUFFIX=4  ;;
   11509 	*)				FILE_MAN_SUFFIX=5  ;;
   11510     esac
   11511 fi
   11512 if test x$FILE_MAN_DIR = x    ; then
   11513     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11514 fi
   11515 
   11516 if test x$MISC_MAN_SUFFIX = x    ; then
   11517     case $SYSV_MAN_SECTIONS in
   11518 	true)				MISC_MAN_SUFFIX=5  ;;
   11519 	*)				MISC_MAN_SUFFIX=7  ;;
   11520     esac
   11521 fi
   11522 if test x$MISC_MAN_DIR = x    ; then
   11523     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11524 fi
   11525 
   11526 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11527     case $SYSV_MAN_SECTIONS in
   11528 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11529 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11530     esac
   11531 fi
   11532 if test x$DRIVER_MAN_DIR = x    ; then
   11533     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11534 fi
   11535 
   11536 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11537     case $SYSV_MAN_SECTIONS in
   11538 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11539 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11540     esac
   11541 fi
   11542 if test x$ADMIN_MAN_DIR = x    ; then
   11543     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11544 fi
   11545 
   11546 
   11547 
   11548 
   11549 
   11550 
   11551 
   11552 
   11553 
   11554 
   11555 
   11556 
   11557 
   11558 
   11559 
   11560 XORG_MAN_PAGE="X Version 11"
   11561 
   11562 MAN_SUBSTS="\
   11563 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11564 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11565 	-e 's|__xservername__|Xorg|g' \
   11566 	-e 's|__xconfigfile__|xorg.conf|g' \
   11567 	-e 's|__projectroot__|\$(prefix)|g' \
   11568 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11569 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11570 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11571 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11572 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11573 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11574 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11575 
   11576 
   11577 
   11578 
   11579 AM_DEFAULT_VERBOSITY=0
   11580 
   11581 
   11582 
   11583 
   11584 
   11585 # Internationalization & localization support
   11586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
   11587 printf %s "checking for library containing gettext... " >&6; }
   11588 if test ${ac_cv_search_gettext+y}
   11589 then :
   11590   printf %s "(cached) " >&6
   11591 else case e in #(
   11592   e) ac_func_search_save_LIBS=$LIBS
   11593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11594 /* end confdefs.h.  */
   11595 
   11596 /* Override any GCC internal prototype to avoid an error.
   11597    Use char because int might match the return type of a GCC
   11598    builtin and then its argument prototype would still apply.
   11599    The 'extern "C"' is for builds by C++ compilers;
   11600    although this is not generally supported in C code supporting it here
   11601    has little cost and some practical benefit (sr 110532).  */
   11602 #ifdef __cplusplus
   11603 extern "C"
   11604 #endif
   11605 char gettext (void);
   11606 int
   11607 main (void)
   11608 {
   11609 return gettext ();
   11610   ;
   11611   return 0;
   11612 }
   11613 _ACEOF
   11614 for ac_lib in '' intl
   11615 do
   11616   if test -z "$ac_lib"; then
   11617     ac_res="none required"
   11618   else
   11619     ac_res=-l$ac_lib
   11620     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11621   fi
   11622   if ac_fn_c_try_link "$LINENO"
   11623 then :
   11624   ac_cv_search_gettext=$ac_res
   11625 fi
   11626 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11627     conftest$ac_exeext
   11628   if test ${ac_cv_search_gettext+y}
   11629 then :
   11630   break
   11631 fi
   11632 done
   11633 if test ${ac_cv_search_gettext+y}
   11634 then :
   11635 
   11636 else case e in #(
   11637   e) ac_cv_search_gettext=no ;;
   11638 esac
   11639 fi
   11640 rm conftest.$ac_ext
   11641 LIBS=$ac_func_search_save_LIBS ;;
   11642 esac
   11643 fi
   11644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
   11645 printf "%s\n" "$ac_cv_search_gettext" >&6; }
   11646 ac_res=$ac_cv_search_gettext
   11647 if test "$ac_res" != no
   11648 then :
   11649   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11650   USE_GETTEXT="yes"
   11651 else case e in #(
   11652   e) USE_GETTEXT="no" ;;
   11653 esac
   11654 fi
   11655 
   11656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where to install localized messages" >&5
   11657 printf %s "checking where to install localized messages... " >&6; }
   11658 
   11659 # Check whether --with-localedir was given.
   11660 if test ${with_localedir+y}
   11661 then :
   11662   withval=$with_localedir; LOCALEDIR=${withval}
   11663 else case e in #(
   11664   e) LOCALEDIR=${datadir}/locale ;;
   11665 esac
   11666 fi
   11667 
   11668 
   11669 if test "x$LOCALEDIR" = "xno" -o "x$USE_GETTEXT" = "xno" ; then
   11670         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: nowhere" >&5
   11671 printf "%s\n" "nowhere" >&6; }
   11672         USE_GETTEXT="no"
   11673 else
   11674         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LOCALEDIR" >&5
   11675 printf "%s\n" "$LOCALEDIR" >&6; }
   11676 fi
   11677 
   11678 if test "x$USE_GETTEXT" = "xyes" ; then
   11679 
   11680 printf "%s\n" "#define USE_GETTEXT 1" >>confdefs.h
   11681 
   11682 fi
   11683  if test "x$USE_GETTEXT" = "xyes"; then
   11684   USE_GETTEXT_TRUE=
   11685   USE_GETTEXT_FALSE='#'
   11686 else
   11687   USE_GETTEXT_TRUE='#'
   11688   USE_GETTEXT_FALSE=
   11689 fi
   11690 
   11691 
   11692 # Optional dependencies
   11693 
   11694 # Check whether --with-xkb was given.
   11695 if test ${with_xkb+y}
   11696 then :
   11697   withval=$with_xkb; use_xkb="$withval"
   11698 else case e in #(
   11699   e) use_xkb="yes" ;;
   11700 esac
   11701 fi
   11702 
   11703 if test x$use_xkb != xno ; then
   11704         XKBMODULE="xkbfile"
   11705 
   11706 printf "%s\n" "#define XKB 1" >>confdefs.h
   11707 
   11708 fi
   11709 
   11710 # Checks for pkg-config packages
   11711 
   11712 pkg_failed=no
   11713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XFD" >&5
   11714 printf %s "checking for XFD... " >&6; }
   11715 
   11716 if test -n "$XFD_CFLAGS"; then
   11717     pkg_cv_XFD_CFLAGS="$XFD_CFLAGS"
   11718  elif test -n "$PKG_CONFIG"; then
   11719     if test -n "$PKG_CONFIG" && \
   11720     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 fontconfig xft xrender xmu xproto >= 7.0.25 \${XKBMODULE}\""; } >&5
   11721   ($PKG_CONFIG --exists --print-errors "xaw7 fontconfig xft xrender xmu xproto >= 7.0.25 ${XKBMODULE}") 2>&5
   11722   ac_status=$?
   11723   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11724   test $ac_status = 0; }; then
   11725   pkg_cv_XFD_CFLAGS=`$PKG_CONFIG --cflags "xaw7 fontconfig xft xrender xmu xproto >= 7.0.25 ${XKBMODULE}" 2>/dev/null`
   11726 		      test "x$?" != "x0" && pkg_failed=yes
   11727 else
   11728   pkg_failed=yes
   11729 fi
   11730  else
   11731     pkg_failed=untried
   11732 fi
   11733 if test -n "$XFD_LIBS"; then
   11734     pkg_cv_XFD_LIBS="$XFD_LIBS"
   11735  elif test -n "$PKG_CONFIG"; then
   11736     if test -n "$PKG_CONFIG" && \
   11737     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 fontconfig xft xrender xmu xproto >= 7.0.25 \${XKBMODULE}\""; } >&5
   11738   ($PKG_CONFIG --exists --print-errors "xaw7 fontconfig xft xrender xmu xproto >= 7.0.25 ${XKBMODULE}") 2>&5
   11739   ac_status=$?
   11740   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11741   test $ac_status = 0; }; then
   11742   pkg_cv_XFD_LIBS=`$PKG_CONFIG --libs "xaw7 fontconfig xft xrender xmu xproto >= 7.0.25 ${XKBMODULE}" 2>/dev/null`
   11743 		      test "x$?" != "x0" && pkg_failed=yes
   11744 else
   11745   pkg_failed=yes
   11746 fi
   11747  else
   11748     pkg_failed=untried
   11749 fi
   11750 
   11751 
   11752 
   11753 if test $pkg_failed = yes; then
   11754    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11755 printf "%s\n" "no" >&6; }
   11756 
   11757 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11758         _pkg_short_errors_supported=yes
   11759 else
   11760         _pkg_short_errors_supported=no
   11761 fi
   11762         if test $_pkg_short_errors_supported = yes; then
   11763 	        XFD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7 fontconfig xft xrender xmu xproto >= 7.0.25 ${XKBMODULE}" 2>&1`
   11764         else
   11765 	        XFD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7 fontconfig xft xrender xmu xproto >= 7.0.25 ${XKBMODULE}" 2>&1`
   11766         fi
   11767 	# Put the nasty error message in config.log where it belongs
   11768 	echo "$XFD_PKG_ERRORS" >&5
   11769 
   11770 	as_fn_error $? "Package requirements (xaw7 fontconfig xft xrender xmu xproto >= 7.0.25 ${XKBMODULE}) were not met:
   11771 
   11772 $XFD_PKG_ERRORS
   11773 
   11774 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11775 installed software in a non-standard prefix.
   11776 
   11777 Alternatively, you may set the environment variables XFD_CFLAGS
   11778 and XFD_LIBS to avoid the need to call pkg-config.
   11779 See the pkg-config man page for more details." "$LINENO" 5
   11780 elif test $pkg_failed = untried; then
   11781      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11782 printf "%s\n" "no" >&6; }
   11783 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11784 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   11785 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11786 is in your PATH or set the PKG_CONFIG environment variable to the full
   11787 path to pkg-config.
   11788 
   11789 Alternatively, you may set the environment variables XFD_CFLAGS
   11790 and XFD_LIBS to avoid the need to call pkg-config.
   11791 See the pkg-config man page for more details.
   11792 
   11793 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11794 See 'config.log' for more details" "$LINENO" 5; }
   11795 else
   11796 	XFD_CFLAGS=$pkg_cv_XFD_CFLAGS
   11797 	XFD_LIBS=$pkg_cv_XFD_LIBS
   11798         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11799 printf "%s\n" "yes" >&6; }
   11800 
   11801 fi
   11802 
   11803 
   11804 pkg_failed=no
   11805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   11806 printf %s "checking for APPDEFS... " >&6; }
   11807 
   11808 if test -n "$APPDEFS_CFLAGS"; then
   11809     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   11810  elif test -n "$PKG_CONFIG"; then
   11811     if test -n "$PKG_CONFIG" && \
   11812     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   11813   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   11814   ac_status=$?
   11815   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11816   test $ac_status = 0; }; then
   11817   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   11818 		      test "x$?" != "x0" && pkg_failed=yes
   11819 else
   11820   pkg_failed=yes
   11821 fi
   11822  else
   11823     pkg_failed=untried
   11824 fi
   11825 if test -n "$APPDEFS_LIBS"; then
   11826     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   11827  elif test -n "$PKG_CONFIG"; then
   11828     if test -n "$PKG_CONFIG" && \
   11829     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   11830   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   11831   ac_status=$?
   11832   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11833   test $ac_status = 0; }; then
   11834   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   11835 		      test "x$?" != "x0" && pkg_failed=yes
   11836 else
   11837   pkg_failed=yes
   11838 fi
   11839  else
   11840     pkg_failed=untried
   11841 fi
   11842 
   11843 
   11844 
   11845 if test $pkg_failed = yes; then
   11846    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11847 printf "%s\n" "no" >&6; }
   11848 
   11849 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11850         _pkg_short_errors_supported=yes
   11851 else
   11852         _pkg_short_errors_supported=no
   11853 fi
   11854         if test $_pkg_short_errors_supported = yes; then
   11855 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xt" 2>&1`
   11856         else
   11857 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xt" 2>&1`
   11858         fi
   11859 	# Put the nasty error message in config.log where it belongs
   11860 	echo "$APPDEFS_PKG_ERRORS" >&5
   11861 
   11862 	as_fn_error $? "Package requirements (xt) were not met:
   11863 
   11864 $APPDEFS_PKG_ERRORS
   11865 
   11866 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11867 installed software in a non-standard prefix.
   11868 
   11869 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   11870 and APPDEFS_LIBS to avoid the need to call pkg-config.
   11871 See the pkg-config man page for more details." "$LINENO" 5
   11872 elif test $pkg_failed = untried; then
   11873      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11874 printf "%s\n" "no" >&6; }
   11875 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11876 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   11877 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11878 is in your PATH or set the PKG_CONFIG environment variable to the full
   11879 path to pkg-config.
   11880 
   11881 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   11882 and APPDEFS_LIBS to avoid the need to call pkg-config.
   11883 See the pkg-config man page for more details.
   11884 
   11885 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11886 See 'config.log' for more details" "$LINENO" 5; }
   11887 else
   11888 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   11889 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   11890         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11891 printf "%s\n" "yes" >&6; }
   11892 
   11893 fi
   11894 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   11895 
   11896 # Check whether --with-appdefaultdir was given.
   11897 if test ${with_appdefaultdir+y}
   11898 then :
   11899   withval=$with_appdefaultdir; appdefaultdir="$withval"
   11900 else case e in #(
   11901   e) appdefaultdir="${xt_appdefaultdir}" ;;
   11902 esac
   11903 fi
   11904 
   11905 
   11906 
   11907 
   11908 ac_config_files="$ac_config_files Makefile man/Makefile"
   11909 
   11910 cat >confcache <<\_ACEOF
   11911 # This file is a shell script that caches the results of configure
   11912 # tests run on this system so they can be shared between configure
   11913 # scripts and configure runs, see configure's option --config-cache.
   11914 # It is not useful on other systems.  If it contains results you don't
   11915 # want to keep, you may remove or edit it.
   11916 #
   11917 # config.status only pays attention to the cache file if you give it
   11918 # the --recheck option to rerun configure.
   11919 #
   11920 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   11921 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   11922 # following values.
   11923 
   11924 _ACEOF
   11925 
   11926 # The following way of writing the cache mishandles newlines in values,
   11927 # but we know of no workaround that is simple, portable, and efficient.
   11928 # So, we kill variables containing newlines.
   11929 # Ultrix sh set writes to stderr and can't be redirected directly,
   11930 # and sets the high bit in the cache file unless we assign to the vars.
   11931 (
   11932   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11933     eval ac_val=\$$ac_var
   11934     case $ac_val in #(
   11935     *${as_nl}*)
   11936       case $ac_var in #(
   11937       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11938 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11939       esac
   11940       case $ac_var in #(
   11941       _ | IFS | as_nl) ;; #(
   11942       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11943       *) { eval $ac_var=; unset $ac_var;} ;;
   11944       esac ;;
   11945     esac
   11946   done
   11947 
   11948   (set) 2>&1 |
   11949     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11950     *${as_nl}ac_space=\ *)
   11951       # 'set' does not quote correctly, so add quotes: double-quote
   11952       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11953       sed -n \
   11954 	"s/'/'\\\\''/g;
   11955 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11956       ;; #(
   11957     *)
   11958       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   11959       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11960       ;;
   11961     esac |
   11962     sort
   11963 ) |
   11964   sed '
   11965      /^ac_cv_env_/b end
   11966      t clear
   11967      :clear
   11968      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11969      t end
   11970      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11971      :end' >>confcache
   11972 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11973   if test -w "$cache_file"; then
   11974     if test "x$cache_file" != "x/dev/null"; then
   11975       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11976 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11977       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11978 	cat confcache >"$cache_file"
   11979       else
   11980         case $cache_file in #(
   11981         */* | ?:*)
   11982 	  mv -f confcache "$cache_file"$$ &&
   11983 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11984         *)
   11985 	  mv -f confcache "$cache_file" ;;
   11986 	esac
   11987       fi
   11988     fi
   11989   else
   11990     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11991 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11992   fi
   11993 fi
   11994 rm -f confcache
   11995 
   11996 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11997 # Let make expand exec_prefix.
   11998 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11999 
   12000 DEFS=-DHAVE_CONFIG_H
   12001 
   12002 ac_libobjs=
   12003 ac_ltlibobjs=
   12004 U=
   12005 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12006   # 1. Remove the extension, and $U if already installed.
   12007   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12008   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   12009   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12010   #    will be set to the directory where LIBOBJS objects are built.
   12011   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12012   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12013 done
   12014 LIBOBJS=$ac_libobjs
   12015 
   12016 LTLIBOBJS=$ac_ltlibobjs
   12017 
   12018 
   12019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   12020 printf %s "checking that generated files are newer than configure... " >&6; }
   12021    if test -n "$am_sleep_pid"; then
   12022      # Hide warnings about reused PIDs.
   12023      wait $am_sleep_pid 2>/dev/null
   12024    fi
   12025    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   12026 printf "%s\n" "done" >&6; }
   12027 case $enable_silent_rules in # (((
   12028   yes) AM_DEFAULT_VERBOSITY=0;;
   12029    no) AM_DEFAULT_VERBOSITY=1;;
   12030 esac
   12031 if test $am_cv_make_support_nested_variables = yes; then
   12032     AM_V='$(V)'
   12033   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   12034 else
   12035   AM_V=$AM_DEFAULT_VERBOSITY
   12036   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   12037 fi
   12038 
   12039  if test -n "$EXEEXT"; then
   12040   am__EXEEXT_TRUE=
   12041   am__EXEEXT_FALSE='#'
   12042 else
   12043   am__EXEEXT_TRUE='#'
   12044   am__EXEEXT_FALSE=
   12045 fi
   12046 
   12047 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12048   as_fn_error $? "conditional \"AMDEP\" was never defined.
   12049 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12050 fi
   12051 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12052   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12053 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12054 fi
   12055 if test -z "${USE_GETTEXT_TRUE}" && test -z "${USE_GETTEXT_FALSE}"; then
   12056   as_fn_error $? "conditional \"USE_GETTEXT\" was never defined.
   12057 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12058 fi
   12059 
   12060 : "${CONFIG_STATUS=./config.status}"
   12061 ac_write_fail=0
   12062 ac_clean_files_save=$ac_clean_files
   12063 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12065 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   12066 as_write_fail=0
   12067 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   12068 #! $SHELL
   12069 # Generated by $as_me.
   12070 # Run this file to recreate the current configuration.
   12071 # Compiler output produced by configure, useful for debugging
   12072 # configure, is in config.log if it exists.
   12073 
   12074 debug=false
   12075 ac_cs_recheck=false
   12076 ac_cs_silent=false
   12077 
   12078 SHELL=\${CONFIG_SHELL-$SHELL}
   12079 export SHELL
   12080 _ASEOF
   12081 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12082 ## -------------------- ##
   12083 ## M4sh Initialization. ##
   12084 ## -------------------- ##
   12085 
   12086 # Be more Bourne compatible
   12087 DUALCASE=1; export DUALCASE # for MKS sh
   12088 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   12089 then :
   12090   emulate sh
   12091   NULLCMD=:
   12092   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12093   # is contrary to our usage.  Disable this feature.
   12094   alias -g '${1+"$@"}'='"$@"'
   12095   setopt NO_GLOB_SUBST
   12096 else case e in #(
   12097   e) case `(set -o) 2>/dev/null` in #(
   12098   *posix*) :
   12099     set -o posix ;; #(
   12100   *) :
   12101      ;;
   12102 esac ;;
   12103 esac
   12104 fi
   12105 
   12106 
   12107 
   12108 # Reset variables that may have inherited troublesome values from
   12109 # the environment.
   12110 
   12111 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   12112 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   12113 # side effect of setting IFS to empty, thus disabling word splitting.)
   12114 # Quoting is to prevent editors from complaining about space-tab.
   12115 as_nl='
   12116 '
   12117 export as_nl
   12118 IFS=" ""	$as_nl"
   12119 
   12120 PS1='$ '
   12121 PS2='> '
   12122 PS4='+ '
   12123 
   12124 # Ensure predictable behavior from utilities with locale-dependent output.
   12125 LC_ALL=C
   12126 export LC_ALL
   12127 LANGUAGE=C
   12128 export LANGUAGE
   12129 
   12130 # We cannot yet rely on "unset" to work, but we need these variables
   12131 # to be unset--not just set to an empty or harmless value--now, to
   12132 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   12133 # also avoids known problems related to "unset" and subshell syntax
   12134 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   12135 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   12136 do eval test \${$as_var+y} \
   12137   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12138 done
   12139 
   12140 # Ensure that fds 0, 1, and 2 are open.
   12141 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   12142 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   12143 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   12144 
   12145 # The user is always right.
   12146 if ${PATH_SEPARATOR+false} :; then
   12147   PATH_SEPARATOR=:
   12148   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12149     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12150       PATH_SEPARATOR=';'
   12151   }
   12152 fi
   12153 
   12154 
   12155 # Find who we are.  Look in the path if we contain no directory separator.
   12156 as_myself=
   12157 case $0 in #((
   12158   *[\\/]* ) as_myself=$0 ;;
   12159   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12160 for as_dir in $PATH
   12161 do
   12162   IFS=$as_save_IFS
   12163   case $as_dir in #(((
   12164     '') as_dir=./ ;;
   12165     */) ;;
   12166     *) as_dir=$as_dir/ ;;
   12167   esac
   12168     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   12169   done
   12170 IFS=$as_save_IFS
   12171 
   12172      ;;
   12173 esac
   12174 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   12175 # in which case we are not to be found in the path.
   12176 if test "x$as_myself" = x; then
   12177   as_myself=$0
   12178 fi
   12179 if test ! -f "$as_myself"; then
   12180   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12181   exit 1
   12182 fi
   12183 
   12184 
   12185 
   12186 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12187 # ----------------------------------------
   12188 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12189 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12190 # script with STATUS, using 1 if that was 0.
   12191 as_fn_error ()
   12192 {
   12193   as_status=$1; test $as_status -eq 0 && as_status=1
   12194   if test "$4"; then
   12195     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12196     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12197   fi
   12198   printf "%s\n" "$as_me: error: $2" >&2
   12199   as_fn_exit $as_status
   12200 } # as_fn_error
   12201 
   12202 
   12203 # as_fn_set_status STATUS
   12204 # -----------------------
   12205 # Set $? to STATUS, without forking.
   12206 as_fn_set_status ()
   12207 {
   12208   return $1
   12209 } # as_fn_set_status
   12210 
   12211 # as_fn_exit STATUS
   12212 # -----------------
   12213 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12214 as_fn_exit ()
   12215 {
   12216   set +e
   12217   as_fn_set_status $1
   12218   exit $1
   12219 } # as_fn_exit
   12220 
   12221 # as_fn_unset VAR
   12222 # ---------------
   12223 # Portably unset VAR.
   12224 as_fn_unset ()
   12225 {
   12226   { eval $1=; unset $1;}
   12227 }
   12228 as_unset=as_fn_unset
   12229 
   12230 # as_fn_append VAR VALUE
   12231 # ----------------------
   12232 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12233 # advantage of any shell optimizations that allow amortized linear growth over
   12234 # repeated appends, instead of the typical quadratic growth present in naive
   12235 # implementations.
   12236 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   12237 then :
   12238   eval 'as_fn_append ()
   12239   {
   12240     eval $1+=\$2
   12241   }'
   12242 else case e in #(
   12243   e) as_fn_append ()
   12244   {
   12245     eval $1=\$$1\$2
   12246   } ;;
   12247 esac
   12248 fi # as_fn_append
   12249 
   12250 # as_fn_arith ARG...
   12251 # ------------------
   12252 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12253 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12254 # must be portable across $(()) and expr.
   12255 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   12256 then :
   12257   eval 'as_fn_arith ()
   12258   {
   12259     as_val=$(( $* ))
   12260   }'
   12261 else case e in #(
   12262   e) as_fn_arith ()
   12263   {
   12264     as_val=`expr "$@" || test $? -eq 1`
   12265   } ;;
   12266 esac
   12267 fi # as_fn_arith
   12268 
   12269 
   12270 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12271    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12272   as_expr=expr
   12273 else
   12274   as_expr=false
   12275 fi
   12276 
   12277 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12278   as_basename=basename
   12279 else
   12280   as_basename=false
   12281 fi
   12282 
   12283 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12284   as_dirname=dirname
   12285 else
   12286   as_dirname=false
   12287 fi
   12288 
   12289 as_me=`$as_basename -- "$0" ||
   12290 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12291 	 X"$0" : 'X\(//\)$' \| \
   12292 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12293 printf "%s\n" X/"$0" |
   12294     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12295 	    s//\1/
   12296 	    q
   12297 	  }
   12298 	  /^X\/\(\/\/\)$/{
   12299 	    s//\1/
   12300 	    q
   12301 	  }
   12302 	  /^X\/\(\/\).*/{
   12303 	    s//\1/
   12304 	    q
   12305 	  }
   12306 	  s/.*/./; q'`
   12307 
   12308 # Avoid depending upon Character Ranges.
   12309 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12310 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12311 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12312 as_cr_digits='0123456789'
   12313 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12314 
   12315 
   12316 # Determine whether it's possible to make 'echo' print without a newline.
   12317 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   12318 # for compatibility with existing Makefiles.
   12319 ECHO_C= ECHO_N= ECHO_T=
   12320 case `echo -n x` in #(((((
   12321 -n*)
   12322   case `echo 'xy\c'` in
   12323   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12324   xy)  ECHO_C='\c';;
   12325   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12326        ECHO_T='	';;
   12327   esac;;
   12328 *)
   12329   ECHO_N='-n';;
   12330 esac
   12331 
   12332 # For backward compatibility with old third-party macros, we provide
   12333 # the shell variables $as_echo and $as_echo_n.  New code should use
   12334 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   12335 as_echo='printf %s\n'
   12336 as_echo_n='printf %s'
   12337 
   12338 rm -f conf$$ conf$$.exe conf$$.file
   12339 if test -d conf$$.dir; then
   12340   rm -f conf$$.dir/conf$$.file
   12341 else
   12342   rm -f conf$$.dir
   12343   mkdir conf$$.dir 2>/dev/null
   12344 fi
   12345 if (echo >conf$$.file) 2>/dev/null; then
   12346   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12347     as_ln_s='ln -s'
   12348     # ... but there are two gotchas:
   12349     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   12350     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   12351     # In both cases, we have to default to 'cp -pR'.
   12352     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12353       as_ln_s='cp -pR'
   12354   elif ln conf$$.file conf$$ 2>/dev/null; then
   12355     as_ln_s=ln
   12356   else
   12357     as_ln_s='cp -pR'
   12358   fi
   12359 else
   12360   as_ln_s='cp -pR'
   12361 fi
   12362 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12363 rmdir conf$$.dir 2>/dev/null
   12364 
   12365 
   12366 # as_fn_mkdir_p
   12367 # -------------
   12368 # Create "$as_dir" as a directory, including parents if necessary.
   12369 as_fn_mkdir_p ()
   12370 {
   12371 
   12372   case $as_dir in #(
   12373   -*) as_dir=./$as_dir;;
   12374   esac
   12375   test -d "$as_dir" || eval $as_mkdir_p || {
   12376     as_dirs=
   12377     while :; do
   12378       case $as_dir in #(
   12379       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12380       *) as_qdir=$as_dir;;
   12381       esac
   12382       as_dirs="'$as_qdir' $as_dirs"
   12383       as_dir=`$as_dirname -- "$as_dir" ||
   12384 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12385 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12386 	 X"$as_dir" : 'X\(//\)$' \| \
   12387 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12388 printf "%s\n" X"$as_dir" |
   12389     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12390 	    s//\1/
   12391 	    q
   12392 	  }
   12393 	  /^X\(\/\/\)[^/].*/{
   12394 	    s//\1/
   12395 	    q
   12396 	  }
   12397 	  /^X\(\/\/\)$/{
   12398 	    s//\1/
   12399 	    q
   12400 	  }
   12401 	  /^X\(\/\).*/{
   12402 	    s//\1/
   12403 	    q
   12404 	  }
   12405 	  s/.*/./; q'`
   12406       test -d "$as_dir" && break
   12407     done
   12408     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12409   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12410 
   12411 
   12412 } # as_fn_mkdir_p
   12413 if mkdir -p . 2>/dev/null; then
   12414   as_mkdir_p='mkdir -p "$as_dir"'
   12415 else
   12416   test -d ./-p && rmdir ./-p
   12417   as_mkdir_p=false
   12418 fi
   12419 
   12420 
   12421 # as_fn_executable_p FILE
   12422 # -----------------------
   12423 # Test if FILE is an executable regular file.
   12424 as_fn_executable_p ()
   12425 {
   12426   test -f "$1" && test -x "$1"
   12427 } # as_fn_executable_p
   12428 as_test_x='test -x'
   12429 as_executable_p=as_fn_executable_p
   12430 
   12431 # Sed expression to map a string onto a valid CPP name.
   12432 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   12433 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   12434 
   12435 # Sed expression to map a string onto a valid variable name.
   12436 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   12437 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   12438 
   12439 
   12440 exec 6>&1
   12441 ## ----------------------------------- ##
   12442 ## Main body of $CONFIG_STATUS script. ##
   12443 ## ----------------------------------- ##
   12444 _ASEOF
   12445 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12446 
   12447 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12448 # Save the log message, to keep $0 and so on meaningful, and to
   12449 # report actual input values of CONFIG_FILES etc. instead of their
   12450 # values after options handling.
   12451 ac_log="
   12452 This file was extended by xfd $as_me 1.1.5, which was
   12453 generated by GNU Autoconf 2.72.  Invocation command line was
   12454 
   12455   CONFIG_FILES    = $CONFIG_FILES
   12456   CONFIG_HEADERS  = $CONFIG_HEADERS
   12457   CONFIG_LINKS    = $CONFIG_LINKS
   12458   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12459   $ $0 $@
   12460 
   12461 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12462 "
   12463 
   12464 _ACEOF
   12465 
   12466 case $ac_config_files in *"
   12467 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12468 esac
   12469 
   12470 case $ac_config_headers in *"
   12471 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12472 esac
   12473 
   12474 
   12475 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12476 # Files that config.status was made for.
   12477 config_files="$ac_config_files"
   12478 config_headers="$ac_config_headers"
   12479 config_commands="$ac_config_commands"
   12480 
   12481 _ACEOF
   12482 
   12483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12484 ac_cs_usage="\
   12485 '$as_me' instantiates files and other configuration actions
   12486 from templates according to the current configuration.  Unless the files
   12487 and actions are specified as TAGs, all are instantiated by default.
   12488 
   12489 Usage: $0 [OPTION]... [TAG]...
   12490 
   12491   -h, --help       print this help, then exit
   12492   -V, --version    print version number and configuration settings, then exit
   12493       --config     print configuration, then exit
   12494   -q, --quiet, --silent
   12495                    do not print progress messages
   12496   -d, --debug      don't remove temporary files
   12497       --recheck    update $as_me by reconfiguring in the same conditions
   12498       --file=FILE[:TEMPLATE]
   12499                    instantiate the configuration file FILE
   12500       --header=FILE[:TEMPLATE]
   12501                    instantiate the configuration header FILE
   12502 
   12503 Configuration files:
   12504 $config_files
   12505 
   12506 Configuration headers:
   12507 $config_headers
   12508 
   12509 Configuration commands:
   12510 $config_commands
   12511 
   12512 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xfd/-/issues>."
   12513 
   12514 _ACEOF
   12515 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12516 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12518 ac_cs_config='$ac_cs_config_escaped'
   12519 ac_cs_version="\\
   12520 xfd config.status 1.1.5
   12521 configured by $0, generated by GNU Autoconf 2.72,
   12522   with options \\"\$ac_cs_config\\"
   12523 
   12524 Copyright (C) 2023 Free Software Foundation, Inc.
   12525 This config.status script is free software; the Free Software Foundation
   12526 gives unlimited permission to copy, distribute and modify it."
   12527 
   12528 ac_pwd='$ac_pwd'
   12529 srcdir='$srcdir'
   12530 INSTALL='$INSTALL'
   12531 MKDIR_P='$MKDIR_P'
   12532 AWK='$AWK'
   12533 test -n "\$AWK" || AWK=awk
   12534 _ACEOF
   12535 
   12536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12537 # The default lists apply if the user does not specify any file.
   12538 ac_need_defaults=:
   12539 while test $# != 0
   12540 do
   12541   case $1 in
   12542   --*=?*)
   12543     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12544     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12545     ac_shift=:
   12546     ;;
   12547   --*=)
   12548     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12549     ac_optarg=
   12550     ac_shift=:
   12551     ;;
   12552   *)
   12553     ac_option=$1
   12554     ac_optarg=$2
   12555     ac_shift=shift
   12556     ;;
   12557   esac
   12558 
   12559   case $ac_option in
   12560   # Handling of the options.
   12561   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12562     ac_cs_recheck=: ;;
   12563   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12564     printf "%s\n" "$ac_cs_version"; exit ;;
   12565   --config | --confi | --conf | --con | --co | --c )
   12566     printf "%s\n" "$ac_cs_config"; exit ;;
   12567   --debug | --debu | --deb | --de | --d | -d )
   12568     debug=: ;;
   12569   --file | --fil | --fi | --f )
   12570     $ac_shift
   12571     case $ac_optarg in
   12572     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12573     '') as_fn_error $? "missing file argument" ;;
   12574     esac
   12575     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12576     ac_need_defaults=false;;
   12577   --header | --heade | --head | --hea )
   12578     $ac_shift
   12579     case $ac_optarg in
   12580     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12581     esac
   12582     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12583     ac_need_defaults=false;;
   12584   --he | --h)
   12585     # Conflict between --help and --header
   12586     as_fn_error $? "ambiguous option: '$1'
   12587 Try '$0 --help' for more information.";;
   12588   --help | --hel | -h )
   12589     printf "%s\n" "$ac_cs_usage"; exit ;;
   12590   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12591   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12592     ac_cs_silent=: ;;
   12593 
   12594   # This is an error.
   12595   -*) as_fn_error $? "unrecognized option: '$1'
   12596 Try '$0 --help' for more information." ;;
   12597 
   12598   *) as_fn_append ac_config_targets " $1"
   12599      ac_need_defaults=false ;;
   12600 
   12601   esac
   12602   shift
   12603 done
   12604 
   12605 ac_configure_extra_args=
   12606 
   12607 if $ac_cs_silent; then
   12608   exec 6>/dev/null
   12609   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12610 fi
   12611 
   12612 _ACEOF
   12613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12614 if \$ac_cs_recheck; then
   12615   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12616   shift
   12617   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12618   CONFIG_SHELL='$SHELL'
   12619   export CONFIG_SHELL
   12620   exec "\$@"
   12621 fi
   12622 
   12623 _ACEOF
   12624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12625 exec 5>>config.log
   12626 {
   12627   echo
   12628   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12629 ## Running $as_me. ##
   12630 _ASBOX
   12631   printf "%s\n" "$ac_log"
   12632 } >&5
   12633 
   12634 _ACEOF
   12635 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12636 #
   12637 # INIT-COMMANDS
   12638 #
   12639 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12640 
   12641 _ACEOF
   12642 
   12643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12644 
   12645 # Handling of arguments.
   12646 for ac_config_target in $ac_config_targets
   12647 do
   12648   case $ac_config_target in
   12649     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12650     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12651     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12652     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12653 
   12654   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   12655   esac
   12656 done
   12657 
   12658 
   12659 # If the user did not use the arguments to specify the items to instantiate,
   12660 # then the envvar interface is used.  Set only those that are not.
   12661 # We use the long form for the default assignment because of an extremely
   12662 # bizarre bug on SunOS 4.1.3.
   12663 if $ac_need_defaults; then
   12664   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12665   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12666   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12667 fi
   12668 
   12669 # Have a temporary directory for convenience.  Make it in the build tree
   12670 # simply because there is no reason against having it here, and in addition,
   12671 # creating and moving files from /tmp can sometimes cause problems.
   12672 # Hook for its removal unless debugging.
   12673 # Note that there is a small window in which the directory will not be cleaned:
   12674 # after its creation but before its name has been assigned to '$tmp'.
   12675 $debug ||
   12676 {
   12677   tmp= ac_tmp=
   12678   trap 'exit_status=$?
   12679   : "${ac_tmp:=$tmp}"
   12680   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12681 ' 0
   12682   trap 'as_fn_exit 1' 1 2 13 15
   12683 }
   12684 # Create a (secure) tmp directory for tmp files.
   12685 
   12686 {
   12687   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12688   test -d "$tmp"
   12689 }  ||
   12690 {
   12691   tmp=./conf$$-$RANDOM
   12692   (umask 077 && mkdir "$tmp")
   12693 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12694 ac_tmp=$tmp
   12695 
   12696 # Set up the scripts for CONFIG_FILES section.
   12697 # No need to generate them if there are no CONFIG_FILES.
   12698 # This happens for instance with './config.status config.h'.
   12699 if test -n "$CONFIG_FILES"; then
   12700 
   12701 
   12702 ac_cr=`echo X | tr X '\015'`
   12703 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12704 # But we know of no other shell where ac_cr would be empty at this
   12705 # point, so we can use a bashism as a fallback.
   12706 if test "x$ac_cr" = x; then
   12707   eval ac_cr=\$\'\\r\'
   12708 fi
   12709 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12710 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12711   ac_cs_awk_cr='\\r'
   12712 else
   12713   ac_cs_awk_cr=$ac_cr
   12714 fi
   12715 
   12716 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12717 _ACEOF
   12718 
   12719 
   12720 {
   12721   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12722   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12723   echo "_ACEOF"
   12724 } >conf$$subs.sh ||
   12725   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12726 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12727 ac_delim='%!_!# '
   12728 for ac_last_try in false false false false false :; do
   12729   . ./conf$$subs.sh ||
   12730     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12731 
   12732   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12733   if test $ac_delim_n = $ac_delim_num; then
   12734     break
   12735   elif $ac_last_try; then
   12736     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12737   else
   12738     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12739   fi
   12740 done
   12741 rm -f conf$$subs.sh
   12742 
   12743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12744 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12745 _ACEOF
   12746 sed -n '
   12747 h
   12748 s/^/S["/; s/!.*/"]=/
   12749 p
   12750 g
   12751 s/^[^!]*!//
   12752 :repl
   12753 t repl
   12754 s/'"$ac_delim"'$//
   12755 t delim
   12756 :nl
   12757 h
   12758 s/\(.\{148\}\)..*/\1/
   12759 t more1
   12760 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12761 p
   12762 n
   12763 b repl
   12764 :more1
   12765 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12766 p
   12767 g
   12768 s/.\{148\}//
   12769 t nl
   12770 :delim
   12771 h
   12772 s/\(.\{148\}\)..*/\1/
   12773 t more2
   12774 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12775 p
   12776 b
   12777 :more2
   12778 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12779 p
   12780 g
   12781 s/.\{148\}//
   12782 t delim
   12783 ' <conf$$subs.awk | sed '
   12784 /^[^""]/{
   12785   N
   12786   s/\n//
   12787 }
   12788 ' >>$CONFIG_STATUS || ac_write_fail=1
   12789 rm -f conf$$subs.awk
   12790 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12791 _ACAWK
   12792 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12793   for (key in S) S_is_set[key] = 1
   12794   FS = ""
   12795 
   12796 }
   12797 {
   12798   line = $ 0
   12799   nfields = split(line, field, "@")
   12800   substed = 0
   12801   len = length(field[1])
   12802   for (i = 2; i < nfields; i++) {
   12803     key = field[i]
   12804     keylen = length(key)
   12805     if (S_is_set[key]) {
   12806       value = S[key]
   12807       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12808       len += length(value) + length(field[++i])
   12809       substed = 1
   12810     } else
   12811       len += 1 + keylen
   12812   }
   12813 
   12814   print line
   12815 }
   12816 
   12817 _ACAWK
   12818 _ACEOF
   12819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12820 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12821   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12822 else
   12823   cat
   12824 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12825   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12826 _ACEOF
   12827 
   12828 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12829 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12830 # trailing colons and then remove the whole line if VPATH becomes empty
   12831 # (actually we leave an empty line to preserve line numbers).
   12832 if test "x$srcdir" = x.; then
   12833   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12834 h
   12835 s///
   12836 s/^/:/
   12837 s/[	 ]*$/:/
   12838 s/:\$(srcdir):/:/g
   12839 s/:\${srcdir}:/:/g
   12840 s/:@srcdir@:/:/g
   12841 s/^:*//
   12842 s/:*$//
   12843 x
   12844 s/\(=[	 ]*\).*/\1/
   12845 G
   12846 s/\n//
   12847 s/^[^=]*=[	 ]*$//
   12848 }'
   12849 fi
   12850 
   12851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12852 fi # test -n "$CONFIG_FILES"
   12853 
   12854 # Set up the scripts for CONFIG_HEADERS section.
   12855 # No need to generate them if there are no CONFIG_HEADERS.
   12856 # This happens for instance with './config.status Makefile'.
   12857 if test -n "$CONFIG_HEADERS"; then
   12858 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12859 BEGIN {
   12860 _ACEOF
   12861 
   12862 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   12863 # here-document in config.status, that substitutes the proper values into
   12864 # config.h.in to produce config.h.
   12865 
   12866 # Create a delimiter string that does not exist in confdefs.h, to ease
   12867 # handling of long lines.
   12868 ac_delim='%!_!# '
   12869 for ac_last_try in false false :; do
   12870   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12871   if test -z "$ac_tt"; then
   12872     break
   12873   elif $ac_last_try; then
   12874     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12875   else
   12876     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12877   fi
   12878 done
   12879 
   12880 # For the awk script, D is an array of macro values keyed by name,
   12881 # likewise P contains macro parameters if any.  Preserve backslash
   12882 # newline sequences.
   12883 
   12884 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12885 sed -n '
   12886 s/.\{148\}/&'"$ac_delim"'/g
   12887 t rset
   12888 :rset
   12889 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12890 t def
   12891 d
   12892 :def
   12893 s/\\$//
   12894 t bsnl
   12895 s/["\\]/\\&/g
   12896 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12897 D["\1"]=" \3"/p
   12898 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12899 d
   12900 :bsnl
   12901 s/["\\]/\\&/g
   12902 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12903 D["\1"]=" \3\\\\\\n"\\/p
   12904 t cont
   12905 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12906 t cont
   12907 d
   12908 :cont
   12909 n
   12910 s/.\{148\}/&'"$ac_delim"'/g
   12911 t clear
   12912 :clear
   12913 s/\\$//
   12914 t bsnlc
   12915 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12916 d
   12917 :bsnlc
   12918 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12919 b cont
   12920 ' <confdefs.h | sed '
   12921 s/'"$ac_delim"'/"\\\
   12922 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12923 
   12924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12925   for (key in D) D_is_set[key] = 1
   12926   FS = ""
   12927 }
   12928 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12929   line = \$ 0
   12930   split(line, arg, " ")
   12931   if (arg[1] == "#") {
   12932     defundef = arg[2]
   12933     mac1 = arg[3]
   12934   } else {
   12935     defundef = substr(arg[1], 2)
   12936     mac1 = arg[2]
   12937   }
   12938   split(mac1, mac2, "(") #)
   12939   macro = mac2[1]
   12940   prefix = substr(line, 1, index(line, defundef) - 1)
   12941   if (D_is_set[macro]) {
   12942     # Preserve the white space surrounding the "#".
   12943     print prefix "define", macro P[macro] D[macro]
   12944     next
   12945   } else {
   12946     # Replace #undef with comments.  This is necessary, for example,
   12947     # in the case of _POSIX_SOURCE, which is predefined and required
   12948     # on some systems where configure will not decide to define it.
   12949     if (defundef == "undef") {
   12950       print "/*", prefix defundef, macro, "*/"
   12951       next
   12952     }
   12953   }
   12954 }
   12955 { print }
   12956 _ACAWK
   12957 _ACEOF
   12958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12959   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12960 fi # test -n "$CONFIG_HEADERS"
   12961 
   12962 
   12963 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12964 shift
   12965 for ac_tag
   12966 do
   12967   case $ac_tag in
   12968   :[FHLC]) ac_mode=$ac_tag; continue;;
   12969   esac
   12970   case $ac_mode$ac_tag in
   12971   :[FHL]*:*);;
   12972   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   12973   :[FH]-) ac_tag=-:-;;
   12974   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12975   esac
   12976   ac_save_IFS=$IFS
   12977   IFS=:
   12978   set x $ac_tag
   12979   IFS=$ac_save_IFS
   12980   shift
   12981   ac_file=$1
   12982   shift
   12983 
   12984   case $ac_mode in
   12985   :L) ac_source=$1;;
   12986   :[FH])
   12987     ac_file_inputs=
   12988     for ac_f
   12989     do
   12990       case $ac_f in
   12991       -) ac_f="$ac_tmp/stdin";;
   12992       *) # Look for the file first in the build tree, then in the source tree
   12993 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12994 	 # because $ac_f cannot contain ':'.
   12995 	 test -f "$ac_f" ||
   12996 	   case $ac_f in
   12997 	   [\\/$]*) false;;
   12998 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12999 	   esac ||
   13000 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   13001       esac
   13002       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13003       as_fn_append ac_file_inputs " '$ac_f'"
   13004     done
   13005 
   13006     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   13007     # use $as_me), people would be surprised to read:
   13008     #    /* config.h.  Generated by config.status.  */
   13009     configure_input='Generated from '`
   13010 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13011 	`' by configure.'
   13012     if test x"$ac_file" != x-; then
   13013       configure_input="$ac_file.  $configure_input"
   13014       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13015 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   13016     fi
   13017     # Neutralize special characters interpreted by sed in replacement strings.
   13018     case $configure_input in #(
   13019     *\&* | *\|* | *\\* )
   13020        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   13021        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13022     *) ac_sed_conf_input=$configure_input;;
   13023     esac
   13024 
   13025     case $ac_tag in
   13026     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   13027       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   13028     esac
   13029     ;;
   13030   esac
   13031 
   13032   ac_dir=`$as_dirname -- "$ac_file" ||
   13033 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13034 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13035 	 X"$ac_file" : 'X\(//\)$' \| \
   13036 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13037 printf "%s\n" X"$ac_file" |
   13038     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13039 	    s//\1/
   13040 	    q
   13041 	  }
   13042 	  /^X\(\/\/\)[^/].*/{
   13043 	    s//\1/
   13044 	    q
   13045 	  }
   13046 	  /^X\(\/\/\)$/{
   13047 	    s//\1/
   13048 	    q
   13049 	  }
   13050 	  /^X\(\/\).*/{
   13051 	    s//\1/
   13052 	    q
   13053 	  }
   13054 	  s/.*/./; q'`
   13055   as_dir="$ac_dir"; as_fn_mkdir_p
   13056   ac_builddir=.
   13057 
   13058 case "$ac_dir" in
   13059 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13060 *)
   13061   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   13062   # A ".." for each directory in $ac_dir_suffix.
   13063   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13064   case $ac_top_builddir_sub in
   13065   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13066   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13067   esac ;;
   13068 esac
   13069 ac_abs_top_builddir=$ac_pwd
   13070 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13071 # for backward compatibility:
   13072 ac_top_builddir=$ac_top_build_prefix
   13073 
   13074 case $srcdir in
   13075   .)  # We are building in place.
   13076     ac_srcdir=.
   13077     ac_top_srcdir=$ac_top_builddir_sub
   13078     ac_abs_top_srcdir=$ac_pwd ;;
   13079   [\\/]* | ?:[\\/]* )  # Absolute name.
   13080     ac_srcdir=$srcdir$ac_dir_suffix;
   13081     ac_top_srcdir=$srcdir
   13082     ac_abs_top_srcdir=$srcdir ;;
   13083   *) # Relative name.
   13084     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13085     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13086     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13087 esac
   13088 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13089 
   13090 
   13091   case $ac_mode in
   13092   :F)
   13093   #
   13094   # CONFIG_FILE
   13095   #
   13096 
   13097   case $INSTALL in
   13098   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13099   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13100   esac
   13101   ac_MKDIR_P=$MKDIR_P
   13102   case $MKDIR_P in
   13103   [\\/$]* | ?:[\\/]* ) ;;
   13104   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13105   esac
   13106 _ACEOF
   13107 
   13108 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13109 # If the template does not know about datarootdir, expand it.
   13110 # FIXME: This hack should be removed a few years after 2.60.
   13111 ac_datarootdir_hack=; ac_datarootdir_seen=
   13112 ac_sed_dataroot='
   13113 /datarootdir/ {
   13114   p
   13115   q
   13116 }
   13117 /@datadir@/p
   13118 /@docdir@/p
   13119 /@infodir@/p
   13120 /@localedir@/p
   13121 /@mandir@/p'
   13122 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13123 *datarootdir*) ac_datarootdir_seen=yes;;
   13124 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13125   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13126 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13127 _ACEOF
   13128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13129   ac_datarootdir_hack='
   13130   s&@datadir@&$datadir&g
   13131   s&@docdir@&$docdir&g
   13132   s&@infodir@&$infodir&g
   13133   s&@localedir@&$localedir&g
   13134   s&@mandir@&$mandir&g
   13135   s&\\\${datarootdir}&$datarootdir&g' ;;
   13136 esac
   13137 _ACEOF
   13138 
   13139 # Neutralize VPATH when '$srcdir' = '.'.
   13140 # Shell code in configure.ac might set extrasub.
   13141 # FIXME: do we really want to maintain this feature?
   13142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13143 ac_sed_extra="$ac_vpsub
   13144 $extrasub
   13145 _ACEOF
   13146 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13147 :t
   13148 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13149 s|@configure_input@|$ac_sed_conf_input|;t t
   13150 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13151 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13152 s&@srcdir@&$ac_srcdir&;t t
   13153 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13154 s&@top_srcdir@&$ac_top_srcdir&;t t
   13155 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13156 s&@builddir@&$ac_builddir&;t t
   13157 s&@abs_builddir@&$ac_abs_builddir&;t t
   13158 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13159 s&@INSTALL@&$ac_INSTALL&;t t
   13160 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13161 $ac_datarootdir_hack
   13162 "
   13163 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13164   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13165 
   13166 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13167   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13168   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13169       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13170   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13171 which seems to be undefined.  Please make sure it is defined" >&5
   13172 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13173 which seems to be undefined.  Please make sure it is defined" >&2;}
   13174 
   13175   rm -f "$ac_tmp/stdin"
   13176   case $ac_file in
   13177   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13178   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13179   esac \
   13180   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13181  ;;
   13182   :H)
   13183   #
   13184   # CONFIG_HEADER
   13185   #
   13186   if test x"$ac_file" != x-; then
   13187     {
   13188       printf "%s\n" "/* $configure_input  */" >&1 \
   13189       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13190     } >"$ac_tmp/config.h" \
   13191       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13192     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13193       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13194 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   13195     else
   13196       rm -f "$ac_file"
   13197       mv "$ac_tmp/config.h" "$ac_file" \
   13198 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13199     fi
   13200   else
   13201     printf "%s\n" "/* $configure_input  */" >&1 \
   13202       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13203       || as_fn_error $? "could not create -" "$LINENO" 5
   13204   fi
   13205 # Compute "$ac_file"'s index in $config_headers.
   13206 _am_arg="$ac_file"
   13207 _am_stamp_count=1
   13208 for _am_header in $config_headers :; do
   13209   case $_am_header in
   13210     $_am_arg | $_am_arg:* )
   13211       break ;;
   13212     * )
   13213       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13214   esac
   13215 done
   13216 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13217 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13218 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13219 	 X"$_am_arg" : 'X\(//\)$' \| \
   13220 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13221 printf "%s\n" X"$_am_arg" |
   13222     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13223 	    s//\1/
   13224 	    q
   13225 	  }
   13226 	  /^X\(\/\/\)[^/].*/{
   13227 	    s//\1/
   13228 	    q
   13229 	  }
   13230 	  /^X\(\/\/\)$/{
   13231 	    s//\1/
   13232 	    q
   13233 	  }
   13234 	  /^X\(\/\).*/{
   13235 	    s//\1/
   13236 	    q
   13237 	  }
   13238 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13239  ;;
   13240 
   13241   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13242 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   13243  ;;
   13244   esac
   13245 
   13246 
   13247   case $ac_file$ac_mode in
   13248     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13249   # Older Autoconf quotes --file arguments for eval, but not when files
   13250   # are listed without --file.  Let's play safe and only enable the eval
   13251   # if we detect the quoting.
   13252   # TODO: see whether this extra hack can be removed once we start
   13253   # requiring Autoconf 2.70 or later.
   13254   case $CONFIG_FILES in #(
   13255   *\'*) :
   13256     eval set x "$CONFIG_FILES" ;; #(
   13257   *) :
   13258     set x $CONFIG_FILES ;; #(
   13259   *) :
   13260      ;;
   13261 esac
   13262   shift
   13263   # Used to flag and report bootstrapping failures.
   13264   am_rc=0
   13265   for am_mf
   13266   do
   13267     # Strip MF so we end up with the name of the file.
   13268     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   13269     # Check whether this is an Automake generated Makefile which includes
   13270     # dependency-tracking related rules and includes.
   13271     # Grep'ing the whole file directly is not great: AIX grep has a line
   13272     # limit of 2048, but all sed's we know have understand at least 4000.
   13273     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13274       || continue
   13275     am_dirpart=`$as_dirname -- "$am_mf" ||
   13276 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13277 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13278 	 X"$am_mf" : 'X\(//\)$' \| \
   13279 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13280 printf "%s\n" X"$am_mf" |
   13281     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13282 	    s//\1/
   13283 	    q
   13284 	  }
   13285 	  /^X\(\/\/\)[^/].*/{
   13286 	    s//\1/
   13287 	    q
   13288 	  }
   13289 	  /^X\(\/\/\)$/{
   13290 	    s//\1/
   13291 	    q
   13292 	  }
   13293 	  /^X\(\/\).*/{
   13294 	    s//\1/
   13295 	    q
   13296 	  }
   13297 	  s/.*/./; q'`
   13298     am_filepart=`$as_basename -- "$am_mf" ||
   13299 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13300 	 X"$am_mf" : 'X\(//\)$' \| \
   13301 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13302 printf "%s\n" X/"$am_mf" |
   13303     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13304 	    s//\1/
   13305 	    q
   13306 	  }
   13307 	  /^X\/\(\/\/\)$/{
   13308 	    s//\1/
   13309 	    q
   13310 	  }
   13311 	  /^X\/\(\/\).*/{
   13312 	    s//\1/
   13313 	    q
   13314 	  }
   13315 	  s/.*/./; q'`
   13316     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13317       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13318         | $MAKE -f - am--depfiles" >&5
   13319    (cd "$am_dirpart" \
   13320       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13321         | $MAKE -f - am--depfiles) >&5 2>&5
   13322    ac_status=$?
   13323    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13324    (exit $ac_status); } || am_rc=$?
   13325   done
   13326   if test $am_rc -ne 0; then
   13327     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13328 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13329 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13330     for automatic dependency tracking.  If GNU make was not used, consider
   13331     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13332     necessary).  You can also try re-running configure with the
   13333     '--disable-dependency-tracking' option to at least be able to build
   13334     the package (albeit without support for automatic dependency tracking).
   13335 See 'config.log' for more details" "$LINENO" 5; }
   13336   fi
   13337   { am_dirpart=; unset am_dirpart;}
   13338   { am_filepart=; unset am_filepart;}
   13339   { am_mf=; unset am_mf;}
   13340   { am_rc=; unset am_rc;}
   13341   rm -f conftest-deps.mk
   13342 }
   13343  ;;
   13344 
   13345   esac
   13346 done # for ac_tag
   13347 
   13348 
   13349 as_fn_exit 0
   13350 _ACEOF
   13351 ac_clean_files=$ac_clean_files_save
   13352 
   13353 test $ac_write_fail = 0 ||
   13354   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13355 
   13356 
   13357 # configure is writing to config.log, and then calls config.status.
   13358 # config.status does its own redirection, appending to config.log.
   13359 # Unfortunately, on DOS this fails, as config.log is still kept open
   13360 # by configure, so config.status won't be able to write to it; its
   13361 # output is simply discarded.  So we exec the FD to /dev/null,
   13362 # effectively closing config.log, so it can be properly (re)opened and
   13363 # appended to by config.status.  When coming back to configure, we
   13364 # need to make the FD available again.
   13365 if test "$no_create" != yes; then
   13366   ac_cs_success=:
   13367   ac_config_status_args=
   13368   test "$silent" = yes &&
   13369     ac_config_status_args="$ac_config_status_args --quiet"
   13370   exec 5>/dev/null
   13371   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13372   exec 5>>config.log
   13373   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13374   # would make configure fail if this is the last instruction.
   13375   $ac_cs_success || as_fn_exit 1
   13376 fi
   13377 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13378   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13379 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13380 fi
   13381 
   13382 
   13383