Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for xfs 1.2.1.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xfs/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 as_nop=:
     21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     22 then :
     23   emulate sh
     24   NULLCMD=:
     25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     26   # is contrary to our usage.  Disable this feature.
     27   alias -g '${1+"$@"}'='"$@"'
     28   setopt NO_GLOB_SUBST
     29 else $as_nop
     30   case `(set -o) 2>/dev/null` in #(
     31   *posix*) :
     32     set -o posix ;; #(
     33   *) :
     34      ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed `exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="as_nop=:
    144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    145 then :
    146   emulate sh
    147   NULLCMD=:
    148   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    149   # is contrary to our usage.  Disable this feature.
    150   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    151   setopt NO_GLOB_SUBST
    152 else \$as_nop
    153   case \`(set -o) 2>/dev/null\` in #(
    154   *posix*) :
    155     set -o posix ;; #(
    156   *) :
    157      ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else \$as_nop
    176   exitcode=1; echo positional parameters were not saved.
    177 fi
    178 test x\$exitcode = x0 || exit 1
    179 blah=\$(echo \$(echo blah))
    180 test x\"\$blah\" = xblah || exit 1
    181 test -x / || exit 1"
    182   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    183   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    184   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    185   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    186 test \$(( 1 + 1 )) = 2 || exit 1"
    187   if (eval "$as_required") 2>/dev/null
    188 then :
    189   as_have_required=yes
    190 else $as_nop
    191   as_have_required=no
    192 fi
    193   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    194 then :
    195 
    196 else $as_nop
    197   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    198 as_found=false
    199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    200 do
    201   IFS=$as_save_IFS
    202   case $as_dir in #(((
    203     '') as_dir=./ ;;
    204     */) ;;
    205     *) as_dir=$as_dir/ ;;
    206   esac
    207   as_found=:
    208   case $as_dir in #(
    209 	 /*)
    210 	   for as_base in sh bash ksh sh5; do
    211 	     # Try only shells that exist, to save several forks.
    212 	     as_shell=$as_dir$as_base
    213 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    214 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    215 then :
    216   CONFIG_SHELL=$as_shell as_have_required=yes
    217 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    218 then :
    219   break 2
    220 fi
    221 fi
    222 	   done;;
    223        esac
    224   as_found=false
    225 done
    226 IFS=$as_save_IFS
    227 if $as_found
    228 then :
    229 
    230 else $as_nop
    231   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    232 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    233 then :
    234   CONFIG_SHELL=$SHELL as_have_required=yes
    235 fi
    236 fi
    237 
    238 
    239       if test "x$CONFIG_SHELL" != x
    240 then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno
    263 then :
    264   printf "%s\n" "$0: This script requires a shell more modern than all"
    265   printf "%s\n" "$0: the shells that I found on your system."
    266   if test ${ZSH_VERSION+y} ; then
    267     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    268     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    269   else
    270     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    271 $0: https://gitlab.freedesktop.org/xorg/app/xfs/issues
    272 $0: about your system, including any error possibly output
    273 $0: before this message. Then install a modern shell, or
    274 $0: manually run the script under such a shell if you do
    275 $0: have one."
    276   fi
    277   exit 1
    278 fi
    279 fi
    280 fi
    281 SHELL=${CONFIG_SHELL-/bin/sh}
    282 export SHELL
    283 # Unset more variables known to interfere with behavior of common tools.
    284 CLICOLOR_FORCE= GREP_OPTIONS=
    285 unset CLICOLOR_FORCE GREP_OPTIONS
    286 
    287 ## --------------------- ##
    288 ## M4sh Shell Functions. ##
    289 ## --------------------- ##
    290 # as_fn_unset VAR
    291 # ---------------
    292 # Portably unset VAR.
    293 as_fn_unset ()
    294 {
    295   { eval $1=; unset $1;}
    296 }
    297 as_unset=as_fn_unset
    298 
    299 
    300 # as_fn_set_status STATUS
    301 # -----------------------
    302 # Set $? to STATUS, without forking.
    303 as_fn_set_status ()
    304 {
    305   return $1
    306 } # as_fn_set_status
    307 
    308 # as_fn_exit STATUS
    309 # -----------------
    310 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    311 as_fn_exit ()
    312 {
    313   set +e
    314   as_fn_set_status $1
    315   exit $1
    316 } # as_fn_exit
    317 # as_fn_nop
    318 # ---------
    319 # Do nothing but, unlike ":", preserve the value of $?.
    320 as_fn_nop ()
    321 {
    322   return $?
    323 }
    324 as_nop=as_fn_nop
    325 
    326 # as_fn_mkdir_p
    327 # -------------
    328 # Create "$as_dir" as a directory, including parents if necessary.
    329 as_fn_mkdir_p ()
    330 {
    331 
    332   case $as_dir in #(
    333   -*) as_dir=./$as_dir;;
    334   esac
    335   test -d "$as_dir" || eval $as_mkdir_p || {
    336     as_dirs=
    337     while :; do
    338       case $as_dir in #(
    339       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    340       *) as_qdir=$as_dir;;
    341       esac
    342       as_dirs="'$as_qdir' $as_dirs"
    343       as_dir=`$as_dirname -- "$as_dir" ||
    344 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    345 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    346 	 X"$as_dir" : 'X\(//\)$' \| \
    347 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    348 printf "%s\n" X"$as_dir" |
    349     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    350 	    s//\1/
    351 	    q
    352 	  }
    353 	  /^X\(\/\/\)[^/].*/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\/\)$/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\).*/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  s/.*/./; q'`
    366       test -d "$as_dir" && break
    367     done
    368     test -z "$as_dirs" || eval "mkdir $as_dirs"
    369   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    370 
    371 
    372 } # as_fn_mkdir_p
    373 
    374 # as_fn_executable_p FILE
    375 # -----------------------
    376 # Test if FILE is an executable regular file.
    377 as_fn_executable_p ()
    378 {
    379   test -f "$1" && test -x "$1"
    380 } # as_fn_executable_p
    381 # as_fn_append VAR VALUE
    382 # ----------------------
    383 # Append the text in VALUE to the end of the definition contained in VAR. Take
    384 # advantage of any shell optimizations that allow amortized linear growth over
    385 # repeated appends, instead of the typical quadratic growth present in naive
    386 # implementations.
    387 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    388 then :
    389   eval 'as_fn_append ()
    390   {
    391     eval $1+=\$2
    392   }'
    393 else $as_nop
    394   as_fn_append ()
    395   {
    396     eval $1=\$$1\$2
    397   }
    398 fi # as_fn_append
    399 
    400 # as_fn_arith ARG...
    401 # ------------------
    402 # Perform arithmetic evaluation on the ARGs, and store the result in the
    403 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    404 # must be portable across $(()) and expr.
    405 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    406 then :
    407   eval 'as_fn_arith ()
    408   {
    409     as_val=$(( $* ))
    410   }'
    411 else $as_nop
    412   as_fn_arith ()
    413   {
    414     as_val=`expr "$@" || test $? -eq 1`
    415   }
    416 fi # as_fn_arith
    417 
    418 # as_fn_nop
    419 # ---------
    420 # Do nothing but, unlike ":", preserve the value of $?.
    421 as_fn_nop ()
    422 {
    423   return $?
    424 }
    425 as_nop=as_fn_nop
    426 
    427 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    428 # ----------------------------------------
    429 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    430 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    431 # script with STATUS, using 1 if that was 0.
    432 as_fn_error ()
    433 {
    434   as_status=$1; test $as_status -eq 0 && as_status=1
    435   if test "$4"; then
    436     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    437     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    438   fi
    439   printf "%s\n" "$as_me: error: $2" >&2
    440   as_fn_exit $as_status
    441 } # as_fn_error
    442 
    443 if expr a : '\(a\)' >/dev/null 2>&1 &&
    444    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    445   as_expr=expr
    446 else
    447   as_expr=false
    448 fi
    449 
    450 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    451   as_basename=basename
    452 else
    453   as_basename=false
    454 fi
    455 
    456 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    457   as_dirname=dirname
    458 else
    459   as_dirname=false
    460 fi
    461 
    462 as_me=`$as_basename -- "$0" ||
    463 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    464 	 X"$0" : 'X\(//\)$' \| \
    465 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    466 printf "%s\n" X/"$0" |
    467     sed '/^.*\/\([^/][^/]*\)\/*$/{
    468 	    s//\1/
    469 	    q
    470 	  }
    471 	  /^X\/\(\/\/\)$/{
    472 	    s//\1/
    473 	    q
    474 	  }
    475 	  /^X\/\(\/\).*/{
    476 	    s//\1/
    477 	    q
    478 	  }
    479 	  s/.*/./; q'`
    480 
    481 # Avoid depending upon Character Ranges.
    482 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    483 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    484 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    485 as_cr_digits='0123456789'
    486 as_cr_alnum=$as_cr_Letters$as_cr_digits
    487 
    488 
    489   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    490   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    491   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    492   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    493   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    494   sed -n '
    495     p
    496     /[$]LINENO/=
    497   ' <$as_myself |
    498     sed '
    499       s/[$]LINENO.*/&-/
    500       t lineno
    501       b
    502       :lineno
    503       N
    504       :loop
    505       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    506       t loop
    507       s/-\n.*//
    508     ' >$as_me.lineno &&
    509   chmod +x "$as_me.lineno" ||
    510     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    511 
    512   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    513   # already done that, so ensure we don't try to do so again and fall
    514   # in an infinite loop.  This has already happened in practice.
    515   _as_can_reexec=no; export _as_can_reexec
    516   # Don't try to exec as it changes $[0], causing all sort of problems
    517   # (the dirname of $[0] is not the place where we might find the
    518   # original and so on.  Autoconf is especially sensitive to this).
    519   . "./$as_me.lineno"
    520   # Exit status is that of the last command.
    521   exit
    522 }
    523 
    524 
    525 # Determine whether it's possible to make 'echo' print without a newline.
    526 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    527 # for compatibility with existing Makefiles.
    528 ECHO_C= ECHO_N= ECHO_T=
    529 case `echo -n x` in #(((((
    530 -n*)
    531   case `echo 'xy\c'` in
    532   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    533   xy)  ECHO_C='\c';;
    534   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    535        ECHO_T='	';;
    536   esac;;
    537 *)
    538   ECHO_N='-n';;
    539 esac
    540 
    541 # For backward compatibility with old third-party macros, we provide
    542 # the shell variables $as_echo and $as_echo_n.  New code should use
    543 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    544 as_echo='printf %s\n'
    545 as_echo_n='printf %s'
    546 
    547 
    548 rm -f conf$$ conf$$.exe conf$$.file
    549 if test -d conf$$.dir; then
    550   rm -f conf$$.dir/conf$$.file
    551 else
    552   rm -f conf$$.dir
    553   mkdir conf$$.dir 2>/dev/null
    554 fi
    555 if (echo >conf$$.file) 2>/dev/null; then
    556   if ln -s conf$$.file conf$$ 2>/dev/null; then
    557     as_ln_s='ln -s'
    558     # ... but there are two gotchas:
    559     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    560     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    561     # In both cases, we have to default to `cp -pR'.
    562     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    563       as_ln_s='cp -pR'
    564   elif ln conf$$.file conf$$ 2>/dev/null; then
    565     as_ln_s=ln
    566   else
    567     as_ln_s='cp -pR'
    568   fi
    569 else
    570   as_ln_s='cp -pR'
    571 fi
    572 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    573 rmdir conf$$.dir 2>/dev/null
    574 
    575 if mkdir -p . 2>/dev/null; then
    576   as_mkdir_p='mkdir -p "$as_dir"'
    577 else
    578   test -d ./-p && rmdir ./-p
    579   as_mkdir_p=false
    580 fi
    581 
    582 as_test_x='test -x'
    583 as_executable_p=as_fn_executable_p
    584 
    585 # Sed expression to map a string onto a valid CPP name.
    586 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    587 
    588 # Sed expression to map a string onto a valid variable name.
    589 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    590 
    591 as_awk_strverscmp='
    592   # Use only awk features that work with 7th edition Unix awk (1978).
    593   # My, what an old awk you have, Mr. Solaris!
    594   END {
    595     while (length(v1) && length(v2)) {
    596       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    597       # Normally this is a single character, but if v1 and v2 contain digits,
    598       # compare them as integers and fractions as strverscmp does.
    599       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    600 	# Split v1 and v2 into their leading digit string components d1 and d2,
    601 	# and advance v1 and v2 past the leading digit strings.
    602 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    603 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    604 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    605 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    606 	if (d1 ~ /^0/) {
    607 	  if (d2 ~ /^0/) {
    608 	    # Compare two fractions.
    609 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    610 	      d1 = substr(d1, 2); len1--
    611 	      d2 = substr(d2, 2); len2--
    612 	    }
    613 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    614 	      # The two components differ in length, and the common prefix
    615 	      # contains only leading zeros.  Consider the longer to be less.
    616 	      d1 = -len1
    617 	      d2 = -len2
    618 	    } else {
    619 	      # Otherwise, compare as strings.
    620 	      d1 = "x" d1
    621 	      d2 = "x" d2
    622 	    }
    623 	  } else {
    624 	    # A fraction is less than an integer.
    625 	    exit 1
    626 	  }
    627 	} else {
    628 	  if (d2 ~ /^0/) {
    629 	    # An integer is greater than a fraction.
    630 	    exit 2
    631 	  } else {
    632 	    # Compare two integers.
    633 	    d1 += 0
    634 	    d2 += 0
    635 	  }
    636 	}
    637       } else {
    638 	# The normal case, without worrying about digits.
    639 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    640 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    641       }
    642       if (d1 < d2) exit 1
    643       if (d1 > d2) exit 2
    644     }
    645     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    646     # which mishandles some comparisons of empty strings to integers.
    647     if (length(v2)) exit 1
    648     if (length(v1)) exit 2
    649   }
    650 '
    651 
    652 test -n "$DJDIR" || exec 7<&0 </dev/null
    653 exec 6>&1
    654 
    655 # Name of the host.
    656 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    657 # so uname gets run too.
    658 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    659 
    660 #
    661 # Initializations.
    662 #
    663 ac_default_prefix=/usr/local
    664 ac_clean_files=
    665 ac_config_libobj_dir=.
    666 LIBOBJS=
    667 cross_compiling=no
    668 subdirs=
    669 MFLAGS=
    670 MAKEFLAGS=
    671 
    672 # Identity of this package.
    673 PACKAGE_NAME='xfs'
    674 PACKAGE_TARNAME='xfs'
    675 PACKAGE_VERSION='1.2.1'
    676 PACKAGE_STRING='xfs 1.2.1'
    677 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xfs/issues'
    678 PACKAGE_URL=''
    679 
    680 # Factoring default headers for most tests.
    681 ac_includes_default="\
    682 #include <stddef.h>
    683 #ifdef HAVE_STDIO_H
    684 # include <stdio.h>
    685 #endif
    686 #ifdef HAVE_STDLIB_H
    687 # include <stdlib.h>
    688 #endif
    689 #ifdef HAVE_STRING_H
    690 # include <string.h>
    691 #endif
    692 #ifdef HAVE_INTTYPES_H
    693 # include <inttypes.h>
    694 #endif
    695 #ifdef HAVE_STDINT_H
    696 # include <stdint.h>
    697 #endif
    698 #ifdef HAVE_STRINGS_H
    699 # include <strings.h>
    700 #endif
    701 #ifdef HAVE_SYS_TYPES_H
    702 # include <sys/types.h>
    703 #endif
    704 #ifdef HAVE_SYS_STAT_H
    705 # include <sys/stat.h>
    706 #endif
    707 #ifdef HAVE_UNISTD_H
    708 # include <unistd.h>
    709 #endif"
    710 
    711 ac_header_c_list=
    712 ac_subst_vars='am__EXEEXT_FALSE
    713 am__EXEEXT_TRUE
    714 LTLIBOBJS
    715 LIBOBJS
    716 XFS_LIBS
    717 XFS_CFLAGS
    718 FONTPATH
    719 FONT100DPIDIR
    720 FONT75DPIDIR
    721 FONTTYPE1DIR
    722 FONTTTFDIR
    723 FONTOTFDIR
    724 FONTMISCDIR
    725 FONTROOTDIR
    726 CONFIG_FILE_PATH
    727 CONFIG_FILE_DESC
    728 DEFAULT_CONFIG_FILE
    729 LINT_FALSE
    730 LINT_TRUE
    731 LINT_FLAGS
    732 LINT
    733 HAVE_STYLESHEETS_FALSE
    734 HAVE_STYLESHEETS_TRUE
    735 XSL_STYLESHEET
    736 STYLESHEET_SRCDIR
    737 XORG_SGML_PATH
    738 HAVE_FOP_FALSE
    739 HAVE_FOP_TRUE
    740 FOP
    741 HAVE_XMLTO_FALSE
    742 HAVE_XMLTO_TRUE
    743 HAVE_XMLTO_TEXT_FALSE
    744 HAVE_XMLTO_TEXT_TRUE
    745 XMLTO
    746 ENABLE_DEVEL_DOCS_FALSE
    747 ENABLE_DEVEL_DOCS_TRUE
    748 MAN_SUBSTS
    749 XORG_MAN_PAGE
    750 ADMIN_MAN_DIR
    751 DRIVER_MAN_DIR
    752 MISC_MAN_DIR
    753 FILE_MAN_DIR
    754 LIB_MAN_DIR
    755 APP_MAN_DIR
    756 ADMIN_MAN_SUFFIX
    757 DRIVER_MAN_SUFFIX
    758 MISC_MAN_SUFFIX
    759 FILE_MAN_SUFFIX
    760 LIB_MAN_SUFFIX
    761 APP_MAN_SUFFIX
    762 SED
    763 host_os
    764 host_vendor
    765 host_cpu
    766 host
    767 build_os
    768 build_vendor
    769 build_cpu
    770 build
    771 INSTALL_CMD
    772 PKG_CONFIG_LIBDIR
    773 PKG_CONFIG_PATH
    774 PKG_CONFIG
    775 CHANGELOG_CMD
    776 STRICT_CFLAGS
    777 CWARNFLAGS
    778 BASE_CFLAGS
    779 AM_BACKSLASH
    780 AM_DEFAULT_VERBOSITY
    781 AM_DEFAULT_V
    782 AM_V
    783 CSCOPE
    784 ETAGS
    785 CTAGS
    786 am__fastdepCC_FALSE
    787 am__fastdepCC_TRUE
    788 CCDEPMODE
    789 am__nodep
    790 AMDEPBACKSLASH
    791 AMDEP_FALSE
    792 AMDEP_TRUE
    793 am__include
    794 DEPDIR
    795 am__untar
    796 am__tar
    797 AMTAR
    798 am__leading_dot
    799 SET_MAKE
    800 AWK
    801 mkdir_p
    802 MKDIR_P
    803 INSTALL_STRIP_PROGRAM
    804 STRIP
    805 install_sh
    806 MAKEINFO
    807 AUTOHEADER
    808 AUTOMAKE
    809 AUTOCONF
    810 ACLOCAL
    811 VERSION
    812 PACKAGE
    813 CYGPATH_W
    814 am__isrc
    815 INSTALL_DATA
    816 INSTALL_SCRIPT
    817 INSTALL_PROGRAM
    818 OBJEXT
    819 EXEEXT
    820 ac_ct_CC
    821 CPPFLAGS
    822 LDFLAGS
    823 CFLAGS
    824 CC
    825 target_alias
    826 host_alias
    827 build_alias
    828 LIBS
    829 ECHO_T
    830 ECHO_N
    831 ECHO_C
    832 DEFS
    833 mandir
    834 localedir
    835 libdir
    836 psdir
    837 pdfdir
    838 dvidir
    839 htmldir
    840 infodir
    841 docdir
    842 oldincludedir
    843 includedir
    844 runstatedir
    845 localstatedir
    846 sharedstatedir
    847 sysconfdir
    848 datadir
    849 datarootdir
    850 libexecdir
    851 sbindir
    852 bindir
    853 program_transform_name
    854 prefix
    855 exec_prefix
    856 PACKAGE_URL
    857 PACKAGE_BUGREPORT
    858 PACKAGE_STRING
    859 PACKAGE_VERSION
    860 PACKAGE_TARNAME
    861 PACKAGE_NAME
    862 PATH_SEPARATOR
    863 SHELL
    864 am__quote'
    865 ac_subst_files=''
    866 ac_user_opts='
    867 enable_option_checking
    868 enable_dependency_tracking
    869 enable_silent_rules
    870 enable_selective_werror
    871 enable_strict_compilation
    872 enable_devel_docs
    873 with_xmlto
    874 with_fop
    875 with_lint
    876 with_default_config_file
    877 with_fontrootdir
    878 with_fontmiscdir
    879 with_fontotfdir
    880 with_fontttfdir
    881 with_fonttype1dir
    882 with_font75dpidir
    883 with_font100dpidir
    884 with_default_font_path
    885 enable_inetd
    886 enable_syslog
    887 enable_unix_transport
    888 enable_tcp_transport
    889 enable_ipv6
    890 enable_local_transport
    891 '
    892       ac_precious_vars='build_alias
    893 host_alias
    894 target_alias
    895 CC
    896 CFLAGS
    897 LDFLAGS
    898 LIBS
    899 CPPFLAGS
    900 PKG_CONFIG
    901 PKG_CONFIG_PATH
    902 PKG_CONFIG_LIBDIR
    903 XMLTO
    904 FOP
    905 LINT
    906 LINT_FLAGS
    907 XFS_CFLAGS
    908 XFS_LIBS'
    909 
    910 
    911 # Initialize some variables set by options.
    912 ac_init_help=
    913 ac_init_version=false
    914 ac_unrecognized_opts=
    915 ac_unrecognized_sep=
    916 # The variables have the same names as the options, with
    917 # dashes changed to underlines.
    918 cache_file=/dev/null
    919 exec_prefix=NONE
    920 no_create=
    921 no_recursion=
    922 prefix=NONE
    923 program_prefix=NONE
    924 program_suffix=NONE
    925 program_transform_name=s,x,x,
    926 silent=
    927 site=
    928 srcdir=
    929 verbose=
    930 x_includes=NONE
    931 x_libraries=NONE
    932 
    933 # Installation directory options.
    934 # These are left unexpanded so users can "make install exec_prefix=/foo"
    935 # and all the variables that are supposed to be based on exec_prefix
    936 # by default will actually change.
    937 # Use braces instead of parens because sh, perl, etc. also accept them.
    938 # (The list follows the same order as the GNU Coding Standards.)
    939 bindir='${exec_prefix}/bin'
    940 sbindir='${exec_prefix}/sbin'
    941 libexecdir='${exec_prefix}/libexec'
    942 datarootdir='${prefix}/share'
    943 datadir='${datarootdir}'
    944 sysconfdir='${prefix}/etc'
    945 sharedstatedir='${prefix}/com'
    946 localstatedir='${prefix}/var'
    947 runstatedir='${localstatedir}/run'
    948 includedir='${prefix}/include'
    949 oldincludedir='/usr/include'
    950 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    951 infodir='${datarootdir}/info'
    952 htmldir='${docdir}'
    953 dvidir='${docdir}'
    954 pdfdir='${docdir}'
    955 psdir='${docdir}'
    956 libdir='${exec_prefix}/lib'
    957 localedir='${datarootdir}/locale'
    958 mandir='${datarootdir}/man'
    959 
    960 ac_prev=
    961 ac_dashdash=
    962 for ac_option
    963 do
    964   # If the previous option needs an argument, assign it.
    965   if test -n "$ac_prev"; then
    966     eval $ac_prev=\$ac_option
    967     ac_prev=
    968     continue
    969   fi
    970 
    971   case $ac_option in
    972   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    973   *=)   ac_optarg= ;;
    974   *)    ac_optarg=yes ;;
    975   esac
    976 
    977   case $ac_dashdash$ac_option in
    978   --)
    979     ac_dashdash=yes ;;
    980 
    981   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    982     ac_prev=bindir ;;
    983   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    984     bindir=$ac_optarg ;;
    985 
    986   -build | --build | --buil | --bui | --bu)
    987     ac_prev=build_alias ;;
    988   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    989     build_alias=$ac_optarg ;;
    990 
    991   -cache-file | --cache-file | --cache-fil | --cache-fi \
    992   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    993     ac_prev=cache_file ;;
    994   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    995   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    996     cache_file=$ac_optarg ;;
    997 
    998   --config-cache | -C)
    999     cache_file=config.cache ;;
   1000 
   1001   -datadir | --datadir | --datadi | --datad)
   1002     ac_prev=datadir ;;
   1003   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1004     datadir=$ac_optarg ;;
   1005 
   1006   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1007   | --dataroo | --dataro | --datar)
   1008     ac_prev=datarootdir ;;
   1009   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1010   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1011     datarootdir=$ac_optarg ;;
   1012 
   1013   -disable-* | --disable-*)
   1014     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1015     # Reject names that are not valid shell variable names.
   1016     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1017       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1018     ac_useropt_orig=$ac_useropt
   1019     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1020     case $ac_user_opts in
   1021       *"
   1022 "enable_$ac_useropt"
   1023 "*) ;;
   1024       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1025 	 ac_unrecognized_sep=', ';;
   1026     esac
   1027     eval enable_$ac_useropt=no ;;
   1028 
   1029   -docdir | --docdir | --docdi | --doc | --do)
   1030     ac_prev=docdir ;;
   1031   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1032     docdir=$ac_optarg ;;
   1033 
   1034   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1035     ac_prev=dvidir ;;
   1036   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1037     dvidir=$ac_optarg ;;
   1038 
   1039   -enable-* | --enable-*)
   1040     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1041     # Reject names that are not valid shell variable names.
   1042     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1043       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1044     ac_useropt_orig=$ac_useropt
   1045     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1046     case $ac_user_opts in
   1047       *"
   1048 "enable_$ac_useropt"
   1049 "*) ;;
   1050       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1051 	 ac_unrecognized_sep=', ';;
   1052     esac
   1053     eval enable_$ac_useropt=\$ac_optarg ;;
   1054 
   1055   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1056   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1057   | --exec | --exe | --ex)
   1058     ac_prev=exec_prefix ;;
   1059   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1060   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1061   | --exec=* | --exe=* | --ex=*)
   1062     exec_prefix=$ac_optarg ;;
   1063 
   1064   -gas | --gas | --ga | --g)
   1065     # Obsolete; use --with-gas.
   1066     with_gas=yes ;;
   1067 
   1068   -help | --help | --hel | --he | -h)
   1069     ac_init_help=long ;;
   1070   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1071     ac_init_help=recursive ;;
   1072   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1073     ac_init_help=short ;;
   1074 
   1075   -host | --host | --hos | --ho)
   1076     ac_prev=host_alias ;;
   1077   -host=* | --host=* | --hos=* | --ho=*)
   1078     host_alias=$ac_optarg ;;
   1079 
   1080   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1081     ac_prev=htmldir ;;
   1082   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1083   | --ht=*)
   1084     htmldir=$ac_optarg ;;
   1085 
   1086   -includedir | --includedir | --includedi | --included | --include \
   1087   | --includ | --inclu | --incl | --inc)
   1088     ac_prev=includedir ;;
   1089   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1090   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1091     includedir=$ac_optarg ;;
   1092 
   1093   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1094     ac_prev=infodir ;;
   1095   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1096     infodir=$ac_optarg ;;
   1097 
   1098   -libdir | --libdir | --libdi | --libd)
   1099     ac_prev=libdir ;;
   1100   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1101     libdir=$ac_optarg ;;
   1102 
   1103   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1104   | --libexe | --libex | --libe)
   1105     ac_prev=libexecdir ;;
   1106   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1107   | --libexe=* | --libex=* | --libe=*)
   1108     libexecdir=$ac_optarg ;;
   1109 
   1110   -localedir | --localedir | --localedi | --localed | --locale)
   1111     ac_prev=localedir ;;
   1112   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1113     localedir=$ac_optarg ;;
   1114 
   1115   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1116   | --localstate | --localstat | --localsta | --localst | --locals)
   1117     ac_prev=localstatedir ;;
   1118   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1119   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1120     localstatedir=$ac_optarg ;;
   1121 
   1122   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1123     ac_prev=mandir ;;
   1124   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1125     mandir=$ac_optarg ;;
   1126 
   1127   -nfp | --nfp | --nf)
   1128     # Obsolete; use --without-fp.
   1129     with_fp=no ;;
   1130 
   1131   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1132   | --no-cr | --no-c | -n)
   1133     no_create=yes ;;
   1134 
   1135   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1136   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1137     no_recursion=yes ;;
   1138 
   1139   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1140   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1141   | --oldin | --oldi | --old | --ol | --o)
   1142     ac_prev=oldincludedir ;;
   1143   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1144   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1145   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1146     oldincludedir=$ac_optarg ;;
   1147 
   1148   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1149     ac_prev=prefix ;;
   1150   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1151     prefix=$ac_optarg ;;
   1152 
   1153   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1154   | --program-pre | --program-pr | --program-p)
   1155     ac_prev=program_prefix ;;
   1156   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1157   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1158     program_prefix=$ac_optarg ;;
   1159 
   1160   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1161   | --program-suf | --program-su | --program-s)
   1162     ac_prev=program_suffix ;;
   1163   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1164   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1165     program_suffix=$ac_optarg ;;
   1166 
   1167   -program-transform-name | --program-transform-name \
   1168   | --program-transform-nam | --program-transform-na \
   1169   | --program-transform-n | --program-transform- \
   1170   | --program-transform | --program-transfor \
   1171   | --program-transfo | --program-transf \
   1172   | --program-trans | --program-tran \
   1173   | --progr-tra | --program-tr | --program-t)
   1174     ac_prev=program_transform_name ;;
   1175   -program-transform-name=* | --program-transform-name=* \
   1176   | --program-transform-nam=* | --program-transform-na=* \
   1177   | --program-transform-n=* | --program-transform-=* \
   1178   | --program-transform=* | --program-transfor=* \
   1179   | --program-transfo=* | --program-transf=* \
   1180   | --program-trans=* | --program-tran=* \
   1181   | --progr-tra=* | --program-tr=* | --program-t=*)
   1182     program_transform_name=$ac_optarg ;;
   1183 
   1184   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1185     ac_prev=pdfdir ;;
   1186   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1187     pdfdir=$ac_optarg ;;
   1188 
   1189   -psdir | --psdir | --psdi | --psd | --ps)
   1190     ac_prev=psdir ;;
   1191   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1192     psdir=$ac_optarg ;;
   1193 
   1194   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1195   | -silent | --silent | --silen | --sile | --sil)
   1196     silent=yes ;;
   1197 
   1198   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1199   | --runstate | --runstat | --runsta | --runst | --runs \
   1200   | --run | --ru | --r)
   1201     ac_prev=runstatedir ;;
   1202   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1203   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1204   | --run=* | --ru=* | --r=*)
   1205     runstatedir=$ac_optarg ;;
   1206 
   1207   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1208     ac_prev=sbindir ;;
   1209   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1210   | --sbi=* | --sb=*)
   1211     sbindir=$ac_optarg ;;
   1212 
   1213   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1214   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1215   | --sharedst | --shareds | --shared | --share | --shar \
   1216   | --sha | --sh)
   1217     ac_prev=sharedstatedir ;;
   1218   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1219   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1220   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1221   | --sha=* | --sh=*)
   1222     sharedstatedir=$ac_optarg ;;
   1223 
   1224   -site | --site | --sit)
   1225     ac_prev=site ;;
   1226   -site=* | --site=* | --sit=*)
   1227     site=$ac_optarg ;;
   1228 
   1229   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1230     ac_prev=srcdir ;;
   1231   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1232     srcdir=$ac_optarg ;;
   1233 
   1234   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1235   | --syscon | --sysco | --sysc | --sys | --sy)
   1236     ac_prev=sysconfdir ;;
   1237   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1238   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1239     sysconfdir=$ac_optarg ;;
   1240 
   1241   -target | --target | --targe | --targ | --tar | --ta | --t)
   1242     ac_prev=target_alias ;;
   1243   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1244     target_alias=$ac_optarg ;;
   1245 
   1246   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1247     verbose=yes ;;
   1248 
   1249   -version | --version | --versio | --versi | --vers | -V)
   1250     ac_init_version=: ;;
   1251 
   1252   -with-* | --with-*)
   1253     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1254     # Reject names that are not valid shell variable names.
   1255     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1256       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1257     ac_useropt_orig=$ac_useropt
   1258     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1259     case $ac_user_opts in
   1260       *"
   1261 "with_$ac_useropt"
   1262 "*) ;;
   1263       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1264 	 ac_unrecognized_sep=', ';;
   1265     esac
   1266     eval with_$ac_useropt=\$ac_optarg ;;
   1267 
   1268   -without-* | --without-*)
   1269     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1270     # Reject names that are not valid shell variable names.
   1271     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1272       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1273     ac_useropt_orig=$ac_useropt
   1274     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1275     case $ac_user_opts in
   1276       *"
   1277 "with_$ac_useropt"
   1278 "*) ;;
   1279       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1280 	 ac_unrecognized_sep=', ';;
   1281     esac
   1282     eval with_$ac_useropt=no ;;
   1283 
   1284   --x)
   1285     # Obsolete; use --with-x.
   1286     with_x=yes ;;
   1287 
   1288   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1289   | --x-incl | --x-inc | --x-in | --x-i)
   1290     ac_prev=x_includes ;;
   1291   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1292   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1293     x_includes=$ac_optarg ;;
   1294 
   1295   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1296   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1297     ac_prev=x_libraries ;;
   1298   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1299   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1300     x_libraries=$ac_optarg ;;
   1301 
   1302   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1303 Try \`$0 --help' for more information"
   1304     ;;
   1305 
   1306   *=*)
   1307     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1308     # Reject names that are not valid shell variable names.
   1309     case $ac_envvar in #(
   1310       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1311       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1312     esac
   1313     eval $ac_envvar=\$ac_optarg
   1314     export $ac_envvar ;;
   1315 
   1316   *)
   1317     # FIXME: should be removed in autoconf 3.0.
   1318     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1319     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1320       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1321     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1322     ;;
   1323 
   1324   esac
   1325 done
   1326 
   1327 if test -n "$ac_prev"; then
   1328   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1329   as_fn_error $? "missing argument to $ac_option"
   1330 fi
   1331 
   1332 if test -n "$ac_unrecognized_opts"; then
   1333   case $enable_option_checking in
   1334     no) ;;
   1335     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1336     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1337   esac
   1338 fi
   1339 
   1340 # Check all directory arguments for consistency.
   1341 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1342 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1343 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1344 		libdir localedir mandir runstatedir
   1345 do
   1346   eval ac_val=\$$ac_var
   1347   # Remove trailing slashes.
   1348   case $ac_val in
   1349     */ )
   1350       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1351       eval $ac_var=\$ac_val;;
   1352   esac
   1353   # Be sure to have absolute directory names.
   1354   case $ac_val in
   1355     [\\/$]* | ?:[\\/]* )  continue;;
   1356     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1357   esac
   1358   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1359 done
   1360 
   1361 # There might be people who depend on the old broken behavior: `$host'
   1362 # used to hold the argument of --host etc.
   1363 # FIXME: To remove some day.
   1364 build=$build_alias
   1365 host=$host_alias
   1366 target=$target_alias
   1367 
   1368 # FIXME: To remove some day.
   1369 if test "x$host_alias" != x; then
   1370   if test "x$build_alias" = x; then
   1371     cross_compiling=maybe
   1372   elif test "x$build_alias" != "x$host_alias"; then
   1373     cross_compiling=yes
   1374   fi
   1375 fi
   1376 
   1377 ac_tool_prefix=
   1378 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1379 
   1380 test "$silent" = yes && exec 6>/dev/null
   1381 
   1382 
   1383 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1384 ac_ls_di=`ls -di .` &&
   1385 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1386   as_fn_error $? "working directory cannot be determined"
   1387 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1388   as_fn_error $? "pwd does not report name of working directory"
   1389 
   1390 
   1391 # Find the source files, if location was not specified.
   1392 if test -z "$srcdir"; then
   1393   ac_srcdir_defaulted=yes
   1394   # Try the directory containing this script, then the parent directory.
   1395   ac_confdir=`$as_dirname -- "$as_myself" ||
   1396 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1397 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1398 	 X"$as_myself" : 'X\(//\)$' \| \
   1399 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1400 printf "%s\n" X"$as_myself" |
   1401     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1402 	    s//\1/
   1403 	    q
   1404 	  }
   1405 	  /^X\(\/\/\)[^/].*/{
   1406 	    s//\1/
   1407 	    q
   1408 	  }
   1409 	  /^X\(\/\/\)$/{
   1410 	    s//\1/
   1411 	    q
   1412 	  }
   1413 	  /^X\(\/\).*/{
   1414 	    s//\1/
   1415 	    q
   1416 	  }
   1417 	  s/.*/./; q'`
   1418   srcdir=$ac_confdir
   1419   if test ! -r "$srcdir/$ac_unique_file"; then
   1420     srcdir=..
   1421   fi
   1422 else
   1423   ac_srcdir_defaulted=no
   1424 fi
   1425 if test ! -r "$srcdir/$ac_unique_file"; then
   1426   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1427   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1428 fi
   1429 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1430 ac_abs_confdir=`(
   1431 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1432 	pwd)`
   1433 # When building in place, set srcdir=.
   1434 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1435   srcdir=.
   1436 fi
   1437 # Remove unnecessary trailing slashes from srcdir.
   1438 # Double slashes in file names in object file debugging info
   1439 # mess up M-x gdb in Emacs.
   1440 case $srcdir in
   1441 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1442 esac
   1443 for ac_var in $ac_precious_vars; do
   1444   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1445   eval ac_env_${ac_var}_value=\$${ac_var}
   1446   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1447   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1448 done
   1449 
   1450 #
   1451 # Report the --help message.
   1452 #
   1453 if test "$ac_init_help" = "long"; then
   1454   # Omit some internal or obsolete options to make the list less imposing.
   1455   # This message is too long to be a string in the A/UX 3.1 sh.
   1456   cat <<_ACEOF
   1457 \`configure' configures xfs 1.2.1 to adapt to many kinds of systems.
   1458 
   1459 Usage: $0 [OPTION]... [VAR=VALUE]...
   1460 
   1461 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1462 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1463 
   1464 Defaults for the options are specified in brackets.
   1465 
   1466 Configuration:
   1467   -h, --help              display this help and exit
   1468       --help=short        display options specific to this package
   1469       --help=recursive    display the short help of all the included packages
   1470   -V, --version           display version information and exit
   1471   -q, --quiet, --silent   do not print \`checking ...' messages
   1472       --cache-file=FILE   cache test results in FILE [disabled]
   1473   -C, --config-cache      alias for \`--cache-file=config.cache'
   1474   -n, --no-create         do not create output files
   1475       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1476 
   1477 Installation directories:
   1478   --prefix=PREFIX         install architecture-independent files in PREFIX
   1479                           [$ac_default_prefix]
   1480   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1481                           [PREFIX]
   1482 
   1483 By default, \`make install' will install all the files in
   1484 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1485 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1486 for instance \`--prefix=\$HOME'.
   1487 
   1488 For better control, use the options below.
   1489 
   1490 Fine tuning of the installation directories:
   1491   --bindir=DIR            user executables [EPREFIX/bin]
   1492   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1493   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1494   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1495   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1496   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1497   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1498   --libdir=DIR            object code libraries [EPREFIX/lib]
   1499   --includedir=DIR        C header files [PREFIX/include]
   1500   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1501   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1502   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1503   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1504   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1505   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1506   --docdir=DIR            documentation root [DATAROOTDIR/doc/xfs]
   1507   --htmldir=DIR           html documentation [DOCDIR]
   1508   --dvidir=DIR            dvi documentation [DOCDIR]
   1509   --pdfdir=DIR            pdf documentation [DOCDIR]
   1510   --psdir=DIR             ps documentation [DOCDIR]
   1511 _ACEOF
   1512 
   1513   cat <<\_ACEOF
   1514 
   1515 Program names:
   1516   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1517   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1518   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1519 
   1520 System types:
   1521   --build=BUILD     configure for building on BUILD [guessed]
   1522   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1523 _ACEOF
   1524 fi
   1525 
   1526 if test -n "$ac_init_help"; then
   1527   case $ac_init_help in
   1528      short | recursive ) echo "Configuration of xfs 1.2.1:";;
   1529    esac
   1530   cat <<\_ACEOF
   1531 
   1532 Optional Features:
   1533   --disable-option-checking  ignore unrecognized --enable/--with options
   1534   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1535   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1536   --enable-dependency-tracking
   1537                           do not reject slow dependency extractors
   1538   --disable-dependency-tracking
   1539                           speeds up one-time build
   1540   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1541   --disable-silent-rules  verbose build output (undo: "make V=0")
   1542   --disable-selective-werror
   1543                           Turn off selective compiler errors. (default:
   1544                           enabled)
   1545   --enable-strict-compilation
   1546                           Enable all warnings from compiler and make them
   1547                           errors (default: disabled)
   1548   --enable-devel-docs     Enable building the developer documentation
   1549                           (default: yes)
   1550   --enable-inetd          Support -inetd flag for starting from inetd
   1551                           (default: enabled)
   1552   --enable-syslog         Support option for logging via syslog (default:
   1553                           enabled)
   1554   --enable-unix-transport Enable UNIX domain socket transport
   1555   --enable-tcp-transport  Enable TCP socket transport
   1556   --enable-ipv6           Enable IPv6 support
   1557   --enable-local-transport
   1558                           Enable os-specific local transport
   1559 
   1560 Optional Packages:
   1561   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1562   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1563   --with-xmlto            Use xmlto to regenerate documentation (default:
   1564                           auto)
   1565   --with-fop              Use fop to regenerate documentation (default: auto)
   1566   --with-lint             Use a lint-style source code checker (default:
   1567                           disabled)
   1568   --with-default-config-file=PATH
   1569                           comma-separated list of paths to look for config
   1570                           file when not specified (default:
   1571                           ${sysconfdir}/X11/fs/config)
   1572   --with-fontrootdir=DIR  Path to root directory for font files
   1573   --with-fontmiscdir=DIR  Path to misc files [FONTROOTDIR/misc]
   1574   --with-fontotfdir=DIR   Path to OTF files [FONTROOTDIR/OTF]
   1575   --with-fontttfdir=DIR   Path to TTF files [FONTROOTDIR/TTF]
   1576   --with-fonttype1dir=DIR Path to Type1 files [FONTROOTDIR/Type1]
   1577   --with-font75dpidir=DIR Path to 75dpi files [FONTROOTDIR/75dpi]
   1578   --with-font100dpidir=DIR
   1579                           Path to 100dpi files [FONTROOTDIR/100dpi]
   1580   --with-default-font-path=PATH
   1581                           Comma separated list of font dirs
   1582 
   1583 Some influential environment variables:
   1584   CC          C compiler command
   1585   CFLAGS      C compiler flags
   1586   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1587               nonstandard directory <lib dir>
   1588   LIBS        libraries to pass to the linker, e.g. -l<library>
   1589   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1590               you have headers in a nonstandard directory <include dir>
   1591   PKG_CONFIG  path to pkg-config utility
   1592   PKG_CONFIG_PATH
   1593               directories to add to pkg-config's search path
   1594   PKG_CONFIG_LIBDIR
   1595               path overriding pkg-config's built-in search path
   1596   XMLTO       Path to xmlto command
   1597   FOP         Path to fop command
   1598   LINT        Path to a lint-style command
   1599   LINT_FLAGS  Flags for the lint-style command
   1600   XFS_CFLAGS  C compiler flags for XFS, overriding pkg-config
   1601   XFS_LIBS    linker flags for XFS, overriding pkg-config
   1602 
   1603 Use these variables to override the choices made by `configure' or to help
   1604 it to find libraries and programs with nonstandard names/locations.
   1605 
   1606 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xfs/issues>.
   1607 _ACEOF
   1608 ac_status=$?
   1609 fi
   1610 
   1611 if test "$ac_init_help" = "recursive"; then
   1612   # If there are subdirs, report their specific --help.
   1613   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1614     test -d "$ac_dir" ||
   1615       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1616       continue
   1617     ac_builddir=.
   1618 
   1619 case "$ac_dir" in
   1620 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1621 *)
   1622   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1623   # A ".." for each directory in $ac_dir_suffix.
   1624   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1625   case $ac_top_builddir_sub in
   1626   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1627   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1628   esac ;;
   1629 esac
   1630 ac_abs_top_builddir=$ac_pwd
   1631 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1632 # for backward compatibility:
   1633 ac_top_builddir=$ac_top_build_prefix
   1634 
   1635 case $srcdir in
   1636   .)  # We are building in place.
   1637     ac_srcdir=.
   1638     ac_top_srcdir=$ac_top_builddir_sub
   1639     ac_abs_top_srcdir=$ac_pwd ;;
   1640   [\\/]* | ?:[\\/]* )  # Absolute name.
   1641     ac_srcdir=$srcdir$ac_dir_suffix;
   1642     ac_top_srcdir=$srcdir
   1643     ac_abs_top_srcdir=$srcdir ;;
   1644   *) # Relative name.
   1645     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1646     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1647     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1648 esac
   1649 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1650 
   1651     cd "$ac_dir" || { ac_status=$?; continue; }
   1652     # Check for configure.gnu first; this name is used for a wrapper for
   1653     # Metaconfig's "Configure" on case-insensitive file systems.
   1654     if test -f "$ac_srcdir/configure.gnu"; then
   1655       echo &&
   1656       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1657     elif test -f "$ac_srcdir/configure"; then
   1658       echo &&
   1659       $SHELL "$ac_srcdir/configure" --help=recursive
   1660     else
   1661       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1662     fi || ac_status=$?
   1663     cd "$ac_pwd" || { ac_status=$?; break; }
   1664   done
   1665 fi
   1666 
   1667 test -n "$ac_init_help" && exit $ac_status
   1668 if $ac_init_version; then
   1669   cat <<\_ACEOF
   1670 xfs configure 1.2.1
   1671 generated by GNU Autoconf 2.71
   1672 
   1673 Copyright (C) 2021 Free Software Foundation, Inc.
   1674 This configure script is free software; the Free Software Foundation
   1675 gives unlimited permission to copy, distribute and modify it.
   1676 _ACEOF
   1677   exit
   1678 fi
   1679 
   1680 ## ------------------------ ##
   1681 ## Autoconf initialization. ##
   1682 ## ------------------------ ##
   1683 
   1684 # ac_fn_c_try_compile LINENO
   1685 # --------------------------
   1686 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1687 ac_fn_c_try_compile ()
   1688 {
   1689   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1690   rm -f conftest.$ac_objext conftest.beam
   1691   if { { ac_try="$ac_compile"
   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_compile") 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_objext
   1710 then :
   1711   ac_retval=0
   1712 else $as_nop
   1713   printf "%s\n" "$as_me: failed program was:" >&5
   1714 sed 's/^/| /' conftest.$ac_ext >&5
   1715 
   1716 	ac_retval=1
   1717 fi
   1718   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1719   as_fn_set_status $ac_retval
   1720 
   1721 } # ac_fn_c_try_compile
   1722 
   1723 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1724 # -------------------------------------------------------
   1725 # Tests whether HEADER exists and can be compiled using the include files in
   1726 # INCLUDES, setting the cache variable VAR accordingly.
   1727 ac_fn_c_check_header_compile ()
   1728 {
   1729   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1730   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1731 printf %s "checking for $2... " >&6; }
   1732 if eval test \${$3+y}
   1733 then :
   1734   printf %s "(cached) " >&6
   1735 else $as_nop
   1736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1737 /* end confdefs.h.  */
   1738 $4
   1739 #include <$2>
   1740 _ACEOF
   1741 if ac_fn_c_try_compile "$LINENO"
   1742 then :
   1743   eval "$3=yes"
   1744 else $as_nop
   1745   eval "$3=no"
   1746 fi
   1747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1748 fi
   1749 eval ac_res=\$$3
   1750 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1751 printf "%s\n" "$ac_res" >&6; }
   1752   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1753 
   1754 } # ac_fn_c_check_header_compile
   1755 
   1756 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1757 # ------------------------------------------------------------------
   1758 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1759 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1760 ac_fn_check_decl ()
   1761 {
   1762   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1763   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1764   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1765 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1766 if eval test \${$3+y}
   1767 then :
   1768   printf %s "(cached) " >&6
   1769 else $as_nop
   1770   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1771   eval ac_save_FLAGS=\$$6
   1772   as_fn_append $6 " $5"
   1773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1774 /* end confdefs.h.  */
   1775 $4
   1776 int
   1777 main (void)
   1778 {
   1779 #ifndef $as_decl_name
   1780 #ifdef __cplusplus
   1781   (void) $as_decl_use;
   1782 #else
   1783   (void) $as_decl_name;
   1784 #endif
   1785 #endif
   1786 
   1787   ;
   1788   return 0;
   1789 }
   1790 _ACEOF
   1791 if ac_fn_c_try_compile "$LINENO"
   1792 then :
   1793   eval "$3=yes"
   1794 else $as_nop
   1795   eval "$3=no"
   1796 fi
   1797 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1798   eval $6=\$ac_save_FLAGS
   1799 
   1800 fi
   1801 eval ac_res=\$$3
   1802 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1803 printf "%s\n" "$ac_res" >&6; }
   1804   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1805 
   1806 } # ac_fn_check_decl
   1807 
   1808 # ac_fn_c_try_link LINENO
   1809 # -----------------------
   1810 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1811 ac_fn_c_try_link ()
   1812 {
   1813   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1814   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1815   if { { ac_try="$ac_link"
   1816 case "(($ac_try" in
   1817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1818   *) ac_try_echo=$ac_try;;
   1819 esac
   1820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1821 printf "%s\n" "$ac_try_echo"; } >&5
   1822   (eval "$ac_link") 2>conftest.err
   1823   ac_status=$?
   1824   if test -s conftest.err; then
   1825     grep -v '^ *+' conftest.err >conftest.er1
   1826     cat conftest.er1 >&5
   1827     mv -f conftest.er1 conftest.err
   1828   fi
   1829   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1830   test $ac_status = 0; } && {
   1831 	 test -z "$ac_c_werror_flag" ||
   1832 	 test ! -s conftest.err
   1833        } && test -s conftest$ac_exeext && {
   1834 	 test "$cross_compiling" = yes ||
   1835 	 test -x conftest$ac_exeext
   1836        }
   1837 then :
   1838   ac_retval=0
   1839 else $as_nop
   1840   printf "%s\n" "$as_me: failed program was:" >&5
   1841 sed 's/^/| /' conftest.$ac_ext >&5
   1842 
   1843 	ac_retval=1
   1844 fi
   1845   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1846   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1847   # interfere with the next link command; also delete a directory that is
   1848   # left behind by Apple's compiler.  We do this before executing the actions.
   1849   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1850   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1851   as_fn_set_status $ac_retval
   1852 
   1853 } # ac_fn_c_try_link
   1854 
   1855 # ac_fn_c_check_func LINENO FUNC VAR
   1856 # ----------------------------------
   1857 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1858 ac_fn_c_check_func ()
   1859 {
   1860   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1861   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1862 printf %s "checking for $2... " >&6; }
   1863 if eval test \${$3+y}
   1864 then :
   1865   printf %s "(cached) " >&6
   1866 else $as_nop
   1867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1868 /* end confdefs.h.  */
   1869 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1870    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1871 #define $2 innocuous_$2
   1872 
   1873 /* System header to define __stub macros and hopefully few prototypes,
   1874    which can conflict with char $2 (); below.  */
   1875 
   1876 #include <limits.h>
   1877 #undef $2
   1878 
   1879 /* Override any GCC internal prototype to avoid an error.
   1880    Use char because int might match the return type of a GCC
   1881    builtin and then its argument prototype would still apply.  */
   1882 #ifdef __cplusplus
   1883 extern "C"
   1884 #endif
   1885 char $2 ();
   1886 /* The GNU C library defines this for functions which it implements
   1887     to always fail with ENOSYS.  Some functions are actually named
   1888     something starting with __ and the normal name is an alias.  */
   1889 #if defined __stub_$2 || defined __stub___$2
   1890 choke me
   1891 #endif
   1892 
   1893 int
   1894 main (void)
   1895 {
   1896 return $2 ();
   1897   ;
   1898   return 0;
   1899 }
   1900 _ACEOF
   1901 if ac_fn_c_try_link "$LINENO"
   1902 then :
   1903   eval "$3=yes"
   1904 else $as_nop
   1905   eval "$3=no"
   1906 fi
   1907 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1908     conftest$ac_exeext conftest.$ac_ext
   1909 fi
   1910 eval ac_res=\$$3
   1911 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1912 printf "%s\n" "$ac_res" >&6; }
   1913   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1914 
   1915 } # ac_fn_c_check_func
   1916 
   1917 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   1918 # ----------------------------------------------------
   1919 # Tries to find if the field MEMBER exists in type AGGR, after including
   1920 # INCLUDES, setting cache variable VAR accordingly.
   1921 ac_fn_c_check_member ()
   1922 {
   1923   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1924   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   1925 printf %s "checking for $2.$3... " >&6; }
   1926 if eval test \${$4+y}
   1927 then :
   1928   printf %s "(cached) " >&6
   1929 else $as_nop
   1930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1931 /* end confdefs.h.  */
   1932 $5
   1933 int
   1934 main (void)
   1935 {
   1936 static $2 ac_aggr;
   1937 if (ac_aggr.$3)
   1938 return 0;
   1939   ;
   1940   return 0;
   1941 }
   1942 _ACEOF
   1943 if ac_fn_c_try_compile "$LINENO"
   1944 then :
   1945   eval "$4=yes"
   1946 else $as_nop
   1947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1948 /* end confdefs.h.  */
   1949 $5
   1950 int
   1951 main (void)
   1952 {
   1953 static $2 ac_aggr;
   1954 if (sizeof ac_aggr.$3)
   1955 return 0;
   1956   ;
   1957   return 0;
   1958 }
   1959 _ACEOF
   1960 if ac_fn_c_try_compile "$LINENO"
   1961 then :
   1962   eval "$4=yes"
   1963 else $as_nop
   1964   eval "$4=no"
   1965 fi
   1966 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1967 fi
   1968 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1969 fi
   1970 eval ac_res=\$$4
   1971 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1972 printf "%s\n" "$ac_res" >&6; }
   1973   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1974 
   1975 } # ac_fn_c_check_member
   1976 
   1977 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1978 # -------------------------------------------
   1979 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1980 # variable VAR accordingly.
   1981 ac_fn_c_check_type ()
   1982 {
   1983   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1984   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1985 printf %s "checking for $2... " >&6; }
   1986 if eval test \${$3+y}
   1987 then :
   1988   printf %s "(cached) " >&6
   1989 else $as_nop
   1990   eval "$3=no"
   1991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1992 /* end confdefs.h.  */
   1993 $4
   1994 int
   1995 main (void)
   1996 {
   1997 if (sizeof ($2))
   1998 	 return 0;
   1999   ;
   2000   return 0;
   2001 }
   2002 _ACEOF
   2003 if ac_fn_c_try_compile "$LINENO"
   2004 then :
   2005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2006 /* end confdefs.h.  */
   2007 $4
   2008 int
   2009 main (void)
   2010 {
   2011 if (sizeof (($2)))
   2012 	    return 0;
   2013   ;
   2014   return 0;
   2015 }
   2016 _ACEOF
   2017 if ac_fn_c_try_compile "$LINENO"
   2018 then :
   2019 
   2020 else $as_nop
   2021   eval "$3=yes"
   2022 fi
   2023 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2024 fi
   2025 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2026 fi
   2027 eval ac_res=\$$3
   2028 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2029 printf "%s\n" "$ac_res" >&6; }
   2030   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2031 
   2032 } # ac_fn_c_check_type
   2033 ac_configure_args_raw=
   2034 for ac_arg
   2035 do
   2036   case $ac_arg in
   2037   *\'*)
   2038     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2039   esac
   2040   as_fn_append ac_configure_args_raw " '$ac_arg'"
   2041 done
   2042 
   2043 case $ac_configure_args_raw in
   2044   *$as_nl*)
   2045     ac_safe_unquote= ;;
   2046   *)
   2047     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   2048     ac_unsafe_a="$ac_unsafe_z#~"
   2049     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   2050     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   2051 esac
   2052 
   2053 cat >config.log <<_ACEOF
   2054 This file contains any messages produced by compilers while
   2055 running configure, to aid debugging if configure makes a mistake.
   2056 
   2057 It was created by xfs $as_me 1.2.1, which was
   2058 generated by GNU Autoconf 2.71.  Invocation command line was
   2059 
   2060   $ $0$ac_configure_args_raw
   2061 
   2062 _ACEOF
   2063 exec 5>>config.log
   2064 {
   2065 cat <<_ASUNAME
   2066 ## --------- ##
   2067 ## Platform. ##
   2068 ## --------- ##
   2069 
   2070 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2071 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2072 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2073 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2074 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2075 
   2076 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2077 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2078 
   2079 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2080 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2081 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2082 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2083 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2084 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2085 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2086 
   2087 _ASUNAME
   2088 
   2089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2090 for as_dir in $PATH
   2091 do
   2092   IFS=$as_save_IFS
   2093   case $as_dir in #(((
   2094     '') as_dir=./ ;;
   2095     */) ;;
   2096     *) as_dir=$as_dir/ ;;
   2097   esac
   2098     printf "%s\n" "PATH: $as_dir"
   2099   done
   2100 IFS=$as_save_IFS
   2101 
   2102 } >&5
   2103 
   2104 cat >&5 <<_ACEOF
   2105 
   2106 
   2107 ## ----------- ##
   2108 ## Core tests. ##
   2109 ## ----------- ##
   2110 
   2111 _ACEOF
   2112 
   2113 
   2114 # Keep a trace of the command line.
   2115 # Strip out --no-create and --no-recursion so they do not pile up.
   2116 # Strip out --silent because we don't want to record it for future runs.
   2117 # Also quote any args containing shell meta-characters.
   2118 # Make two passes to allow for proper duplicate-argument suppression.
   2119 ac_configure_args=
   2120 ac_configure_args0=
   2121 ac_configure_args1=
   2122 ac_must_keep_next=false
   2123 for ac_pass in 1 2
   2124 do
   2125   for ac_arg
   2126   do
   2127     case $ac_arg in
   2128     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2129     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2130     | -silent | --silent | --silen | --sile | --sil)
   2131       continue ;;
   2132     *\'*)
   2133       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2134     esac
   2135     case $ac_pass in
   2136     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2137     2)
   2138       as_fn_append ac_configure_args1 " '$ac_arg'"
   2139       if test $ac_must_keep_next = true; then
   2140 	ac_must_keep_next=false # Got value, back to normal.
   2141       else
   2142 	case $ac_arg in
   2143 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2144 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2145 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2146 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2147 	    case "$ac_configure_args0 " in
   2148 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2149 	    esac
   2150 	    ;;
   2151 	  -* ) ac_must_keep_next=true ;;
   2152 	esac
   2153       fi
   2154       as_fn_append ac_configure_args " '$ac_arg'"
   2155       ;;
   2156     esac
   2157   done
   2158 done
   2159 { ac_configure_args0=; unset ac_configure_args0;}
   2160 { ac_configure_args1=; unset ac_configure_args1;}
   2161 
   2162 # When interrupted or exit'd, cleanup temporary files, and complete
   2163 # config.log.  We remove comments because anyway the quotes in there
   2164 # would cause problems or look ugly.
   2165 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2166 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2167 trap 'exit_status=$?
   2168   # Sanitize IFS.
   2169   IFS=" ""	$as_nl"
   2170   # Save into config.log some information that might help in debugging.
   2171   {
   2172     echo
   2173 
   2174     printf "%s\n" "## ---------------- ##
   2175 ## Cache variables. ##
   2176 ## ---------------- ##"
   2177     echo
   2178     # The following way of writing the cache mishandles newlines in values,
   2179 (
   2180   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2181     eval ac_val=\$$ac_var
   2182     case $ac_val in #(
   2183     *${as_nl}*)
   2184       case $ac_var in #(
   2185       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2186 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2187       esac
   2188       case $ac_var in #(
   2189       _ | IFS | as_nl) ;; #(
   2190       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2191       *) { eval $ac_var=; unset $ac_var;} ;;
   2192       esac ;;
   2193     esac
   2194   done
   2195   (set) 2>&1 |
   2196     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2197     *${as_nl}ac_space=\ *)
   2198       sed -n \
   2199 	"s/'\''/'\''\\\\'\'''\''/g;
   2200 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2201       ;; #(
   2202     *)
   2203       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2204       ;;
   2205     esac |
   2206     sort
   2207 )
   2208     echo
   2209 
   2210     printf "%s\n" "## ----------------- ##
   2211 ## Output variables. ##
   2212 ## ----------------- ##"
   2213     echo
   2214     for ac_var in $ac_subst_vars
   2215     do
   2216       eval ac_val=\$$ac_var
   2217       case $ac_val in
   2218       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2219       esac
   2220       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2221     done | sort
   2222     echo
   2223 
   2224     if test -n "$ac_subst_files"; then
   2225       printf "%s\n" "## ------------------- ##
   2226 ## File substitutions. ##
   2227 ## ------------------- ##"
   2228       echo
   2229       for ac_var in $ac_subst_files
   2230       do
   2231 	eval ac_val=\$$ac_var
   2232 	case $ac_val in
   2233 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2234 	esac
   2235 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2236       done | sort
   2237       echo
   2238     fi
   2239 
   2240     if test -s confdefs.h; then
   2241       printf "%s\n" "## ----------- ##
   2242 ## confdefs.h. ##
   2243 ## ----------- ##"
   2244       echo
   2245       cat confdefs.h
   2246       echo
   2247     fi
   2248     test "$ac_signal" != 0 &&
   2249       printf "%s\n" "$as_me: caught signal $ac_signal"
   2250     printf "%s\n" "$as_me: exit $exit_status"
   2251   } >&5
   2252   rm -f core *.core core.conftest.* &&
   2253     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2254     exit $exit_status
   2255 ' 0
   2256 for ac_signal in 1 2 13 15; do
   2257   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2258 done
   2259 ac_signal=0
   2260 
   2261 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2262 rm -f -r conftest* confdefs.h
   2263 
   2264 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2265 
   2266 # Predefined preprocessor variables.
   2267 
   2268 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2269 
   2270 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2271 
   2272 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2273 
   2274 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2275 
   2276 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2277 
   2278 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2279 
   2280 
   2281 # Let the site file select an alternate cache file if it wants to.
   2282 # Prefer an explicitly selected file to automatically selected ones.
   2283 if test -n "$CONFIG_SITE"; then
   2284   ac_site_files="$CONFIG_SITE"
   2285 elif test "x$prefix" != xNONE; then
   2286   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2287 else
   2288   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2289 fi
   2290 
   2291 for ac_site_file in $ac_site_files
   2292 do
   2293   case $ac_site_file in #(
   2294   */*) :
   2295      ;; #(
   2296   *) :
   2297     ac_site_file=./$ac_site_file ;;
   2298 esac
   2299   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2300     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2301 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2302     sed 's/^/| /' "$ac_site_file" >&5
   2303     . "$ac_site_file" \
   2304       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2305 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2306 as_fn_error $? "failed to load site script $ac_site_file
   2307 See \`config.log' for more details" "$LINENO" 5; }
   2308   fi
   2309 done
   2310 
   2311 if test -r "$cache_file"; then
   2312   # Some versions of bash will fail to source /dev/null (special files
   2313   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2314   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2315     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2316 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2317     case $cache_file in
   2318       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2319       *)                      . "./$cache_file";;
   2320     esac
   2321   fi
   2322 else
   2323   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2324 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2325   >$cache_file
   2326 fi
   2327 
   2328 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2329 # Test code for whether the C compiler supports C89 (global declarations)
   2330 ac_c_conftest_c89_globals='
   2331 /* Does the compiler advertise C89 conformance?
   2332    Do not test the value of __STDC__, because some compilers set it to 0
   2333    while being otherwise adequately conformant. */
   2334 #if !defined __STDC__
   2335 # error "Compiler does not advertise C89 conformance"
   2336 #endif
   2337 
   2338 #include <stddef.h>
   2339 #include <stdarg.h>
   2340 struct stat;
   2341 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2342 struct buf { int x; };
   2343 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2344 static char *e (p, i)
   2345      char **p;
   2346      int i;
   2347 {
   2348   return p[i];
   2349 }
   2350 static char *f (char * (*g) (char **, int), char **p, ...)
   2351 {
   2352   char *s;
   2353   va_list v;
   2354   va_start (v,p);
   2355   s = g (p, va_arg (v,int));
   2356   va_end (v);
   2357   return s;
   2358 }
   2359 
   2360 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2361    function prototypes and stuff, but not \xHH hex character constants.
   2362    These do not provoke an error unfortunately, instead are silently treated
   2363    as an "x".  The following induces an error, until -std is added to get
   2364    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2365    array size at least.  It is necessary to write \x00 == 0 to get something
   2366    that is true only with -std.  */
   2367 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2368 
   2369 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2370    inside strings and character constants.  */
   2371 #define FOO(x) '\''x'\''
   2372 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2373 
   2374 int test (int i, double x);
   2375 struct s1 {int (*f) (int a);};
   2376 struct s2 {int (*f) (double a);};
   2377 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2378                int, int);'
   2379 
   2380 # Test code for whether the C compiler supports C89 (body of main).
   2381 ac_c_conftest_c89_main='
   2382 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2383 '
   2384 
   2385 # Test code for whether the C compiler supports C99 (global declarations)
   2386 ac_c_conftest_c99_globals='
   2387 // Does the compiler advertise C99 conformance?
   2388 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2389 # error "Compiler does not advertise C99 conformance"
   2390 #endif
   2391 
   2392 #include <stdbool.h>
   2393 extern int puts (const char *);
   2394 extern int printf (const char *, ...);
   2395 extern int dprintf (int, const char *, ...);
   2396 extern void *malloc (size_t);
   2397 
   2398 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2399 // dprintf is used instead of fprintf to avoid needing to declare
   2400 // FILE and stderr.
   2401 #define debug(...) dprintf (2, __VA_ARGS__)
   2402 #define showlist(...) puts (#__VA_ARGS__)
   2403 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2404 static void
   2405 test_varargs_macros (void)
   2406 {
   2407   int x = 1234;
   2408   int y = 5678;
   2409   debug ("Flag");
   2410   debug ("X = %d\n", x);
   2411   showlist (The first, second, and third items.);
   2412   report (x>y, "x is %d but y is %d", x, y);
   2413 }
   2414 
   2415 // Check long long types.
   2416 #define BIG64 18446744073709551615ull
   2417 #define BIG32 4294967295ul
   2418 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2419 #if !BIG_OK
   2420   #error "your preprocessor is broken"
   2421 #endif
   2422 #if BIG_OK
   2423 #else
   2424   #error "your preprocessor is broken"
   2425 #endif
   2426 static long long int bignum = -9223372036854775807LL;
   2427 static unsigned long long int ubignum = BIG64;
   2428 
   2429 struct incomplete_array
   2430 {
   2431   int datasize;
   2432   double data[];
   2433 };
   2434 
   2435 struct named_init {
   2436   int number;
   2437   const wchar_t *name;
   2438   double average;
   2439 };
   2440 
   2441 typedef const char *ccp;
   2442 
   2443 static inline int
   2444 test_restrict (ccp restrict text)
   2445 {
   2446   // See if C++-style comments work.
   2447   // Iterate through items via the restricted pointer.
   2448   // Also check for declarations in for loops.
   2449   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2450     continue;
   2451   return 0;
   2452 }
   2453 
   2454 // Check varargs and va_copy.
   2455 static bool
   2456 test_varargs (const char *format, ...)
   2457 {
   2458   va_list args;
   2459   va_start (args, format);
   2460   va_list args_copy;
   2461   va_copy (args_copy, args);
   2462 
   2463   const char *str = "";
   2464   int number = 0;
   2465   float fnumber = 0;
   2466 
   2467   while (*format)
   2468     {
   2469       switch (*format++)
   2470 	{
   2471 	case '\''s'\'': // string
   2472 	  str = va_arg (args_copy, const char *);
   2473 	  break;
   2474 	case '\''d'\'': // int
   2475 	  number = va_arg (args_copy, int);
   2476 	  break;
   2477 	case '\''f'\'': // float
   2478 	  fnumber = va_arg (args_copy, double);
   2479 	  break;
   2480 	default:
   2481 	  break;
   2482 	}
   2483     }
   2484   va_end (args_copy);
   2485   va_end (args);
   2486 
   2487   return *str && number && fnumber;
   2488 }
   2489 '
   2490 
   2491 # Test code for whether the C compiler supports C99 (body of main).
   2492 ac_c_conftest_c99_main='
   2493   // Check bool.
   2494   _Bool success = false;
   2495   success |= (argc != 0);
   2496 
   2497   // Check restrict.
   2498   if (test_restrict ("String literal") == 0)
   2499     success = true;
   2500   char *restrict newvar = "Another string";
   2501 
   2502   // Check varargs.
   2503   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2504   test_varargs_macros ();
   2505 
   2506   // Check flexible array members.
   2507   struct incomplete_array *ia =
   2508     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2509   ia->datasize = 10;
   2510   for (int i = 0; i < ia->datasize; ++i)
   2511     ia->data[i] = i * 1.234;
   2512 
   2513   // Check named initializers.
   2514   struct named_init ni = {
   2515     .number = 34,
   2516     .name = L"Test wide string",
   2517     .average = 543.34343,
   2518   };
   2519 
   2520   ni.number = 58;
   2521 
   2522   int dynamic_array[ni.number];
   2523   dynamic_array[0] = argv[0][0];
   2524   dynamic_array[ni.number - 1] = 543;
   2525 
   2526   // work around unused variable warnings
   2527   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2528 	 || dynamic_array[ni.number - 1] != 543);
   2529 '
   2530 
   2531 # Test code for whether the C compiler supports C11 (global declarations)
   2532 ac_c_conftest_c11_globals='
   2533 // Does the compiler advertise C11 conformance?
   2534 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2535 # error "Compiler does not advertise C11 conformance"
   2536 #endif
   2537 
   2538 // Check _Alignas.
   2539 char _Alignas (double) aligned_as_double;
   2540 char _Alignas (0) no_special_alignment;
   2541 extern char aligned_as_int;
   2542 char _Alignas (0) _Alignas (int) aligned_as_int;
   2543 
   2544 // Check _Alignof.
   2545 enum
   2546 {
   2547   int_alignment = _Alignof (int),
   2548   int_array_alignment = _Alignof (int[100]),
   2549   char_alignment = _Alignof (char)
   2550 };
   2551 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2552 
   2553 // Check _Noreturn.
   2554 int _Noreturn does_not_return (void) { for (;;) continue; }
   2555 
   2556 // Check _Static_assert.
   2557 struct test_static_assert
   2558 {
   2559   int x;
   2560   _Static_assert (sizeof (int) <= sizeof (long int),
   2561                   "_Static_assert does not work in struct");
   2562   long int y;
   2563 };
   2564 
   2565 // Check UTF-8 literals.
   2566 #define u8 syntax error!
   2567 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2568 
   2569 // Check duplicate typedefs.
   2570 typedef long *long_ptr;
   2571 typedef long int *long_ptr;
   2572 typedef long_ptr long_ptr;
   2573 
   2574 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2575 struct anonymous
   2576 {
   2577   union {
   2578     struct { int i; int j; };
   2579     struct { int k; long int l; } w;
   2580   };
   2581   int m;
   2582 } v1;
   2583 '
   2584 
   2585 # Test code for whether the C compiler supports C11 (body of main).
   2586 ac_c_conftest_c11_main='
   2587   _Static_assert ((offsetof (struct anonymous, i)
   2588 		   == offsetof (struct anonymous, w.k)),
   2589 		  "Anonymous union alignment botch");
   2590   v1.i = 2;
   2591   v1.w.k = 5;
   2592   ok |= v1.i != 5;
   2593 '
   2594 
   2595 # Test code for whether the C compiler supports C11 (complete).
   2596 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2597 ${ac_c_conftest_c99_globals}
   2598 ${ac_c_conftest_c11_globals}
   2599 
   2600 int
   2601 main (int argc, char **argv)
   2602 {
   2603   int ok = 0;
   2604   ${ac_c_conftest_c89_main}
   2605   ${ac_c_conftest_c99_main}
   2606   ${ac_c_conftest_c11_main}
   2607   return ok;
   2608 }
   2609 "
   2610 
   2611 # Test code for whether the C compiler supports C99 (complete).
   2612 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2613 ${ac_c_conftest_c99_globals}
   2614 
   2615 int
   2616 main (int argc, char **argv)
   2617 {
   2618   int ok = 0;
   2619   ${ac_c_conftest_c89_main}
   2620   ${ac_c_conftest_c99_main}
   2621   return ok;
   2622 }
   2623 "
   2624 
   2625 # Test code for whether the C compiler supports C89 (complete).
   2626 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2627 
   2628 int
   2629 main (int argc, char **argv)
   2630 {
   2631   int ok = 0;
   2632   ${ac_c_conftest_c89_main}
   2633   return ok;
   2634 }
   2635 "
   2636 
   2637 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2638 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2639 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2640 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2641 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2642 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2643 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2644 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2645 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2646 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2647 
   2648 # Auxiliary files required by this configure script.
   2649 ac_aux_files="config.guess config.sub missing install-sh compile"
   2650 
   2651 # Locations in which to look for auxiliary files.
   2652 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2653 
   2654 # Search for a directory containing all of the required auxiliary files,
   2655 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2656 # If we don't find one directory that contains all the files we need,
   2657 # we report the set of missing files from the *first* directory in
   2658 # $ac_aux_dir_candidates and give up.
   2659 ac_missing_aux_files=""
   2660 ac_first_candidate=:
   2661 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2663 as_found=false
   2664 for as_dir in $ac_aux_dir_candidates
   2665 do
   2666   IFS=$as_save_IFS
   2667   case $as_dir in #(((
   2668     '') as_dir=./ ;;
   2669     */) ;;
   2670     *) as_dir=$as_dir/ ;;
   2671   esac
   2672   as_found=:
   2673 
   2674   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2675   ac_aux_dir_found=yes
   2676   ac_install_sh=
   2677   for ac_aux in $ac_aux_files
   2678   do
   2679     # As a special case, if "install-sh" is required, that requirement
   2680     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2681     # and $ac_install_sh is set appropriately for whichever one is found.
   2682     if test x"$ac_aux" = x"install-sh"
   2683     then
   2684       if test -f "${as_dir}install-sh"; then
   2685         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2686         ac_install_sh="${as_dir}install-sh -c"
   2687       elif test -f "${as_dir}install.sh"; then
   2688         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2689         ac_install_sh="${as_dir}install.sh -c"
   2690       elif test -f "${as_dir}shtool"; then
   2691         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2692         ac_install_sh="${as_dir}shtool install -c"
   2693       else
   2694         ac_aux_dir_found=no
   2695         if $ac_first_candidate; then
   2696           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2697         else
   2698           break
   2699         fi
   2700       fi
   2701     else
   2702       if test -f "${as_dir}${ac_aux}"; then
   2703         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2704       else
   2705         ac_aux_dir_found=no
   2706         if $ac_first_candidate; then
   2707           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2708         else
   2709           break
   2710         fi
   2711       fi
   2712     fi
   2713   done
   2714   if test "$ac_aux_dir_found" = yes; then
   2715     ac_aux_dir="$as_dir"
   2716     break
   2717   fi
   2718   ac_first_candidate=false
   2719 
   2720   as_found=false
   2721 done
   2722 IFS=$as_save_IFS
   2723 if $as_found
   2724 then :
   2725 
   2726 else $as_nop
   2727   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2728 fi
   2729 
   2730 
   2731 # These three variables are undocumented and unsupported,
   2732 # and are intended to be withdrawn in a future Autoconf release.
   2733 # They can cause serious problems if a builder's source tree is in a directory
   2734 # whose full name contains unusual characters.
   2735 if test -f "${ac_aux_dir}config.guess"; then
   2736   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2737 fi
   2738 if test -f "${ac_aux_dir}config.sub"; then
   2739   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2740 fi
   2741 if test -f "$ac_aux_dir/configure"; then
   2742   ac_configure="$SHELL ${ac_aux_dir}configure"
   2743 fi
   2744 
   2745 # Check that the precious variables saved in the cache have kept the same
   2746 # value.
   2747 ac_cache_corrupted=false
   2748 for ac_var in $ac_precious_vars; do
   2749   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2750   eval ac_new_set=\$ac_env_${ac_var}_set
   2751   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2752   eval ac_new_val=\$ac_env_${ac_var}_value
   2753   case $ac_old_set,$ac_new_set in
   2754     set,)
   2755       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2756 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2757       ac_cache_corrupted=: ;;
   2758     ,set)
   2759       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2760 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2761       ac_cache_corrupted=: ;;
   2762     ,);;
   2763     *)
   2764       if test "x$ac_old_val" != "x$ac_new_val"; then
   2765 	# differences in whitespace do not lead to failure.
   2766 	ac_old_val_w=`echo x $ac_old_val`
   2767 	ac_new_val_w=`echo x $ac_new_val`
   2768 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2769 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2770 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2771 	  ac_cache_corrupted=:
   2772 	else
   2773 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2774 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2775 	  eval $ac_var=\$ac_old_val
   2776 	fi
   2777 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2778 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2779 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2780 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2781       fi;;
   2782   esac
   2783   # Pass precious variables to config.status.
   2784   if test "$ac_new_set" = set; then
   2785     case $ac_new_val in
   2786     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2787     *) ac_arg=$ac_var=$ac_new_val ;;
   2788     esac
   2789     case " $ac_configure_args " in
   2790       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2791       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2792     esac
   2793   fi
   2794 done
   2795 if $ac_cache_corrupted; then
   2796   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2797 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2798   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2799 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2800   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2801 	    and start over" "$LINENO" 5
   2802 fi
   2803 ## -------------------- ##
   2804 ## Main body of script. ##
   2805 ## -------------------- ##
   2806 
   2807 ac_ext=c
   2808 ac_cpp='$CPP $CPPFLAGS'
   2809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2812 
   2813 
   2814 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   2815 # Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL)
   2816 
   2817 
   2818 
   2819 
   2820 
   2821 
   2822 
   2823 
   2824 
   2825 
   2826 
   2827 # Expand $ac_aux_dir to an absolute path.
   2828 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2829 
   2830 ac_ext=c
   2831 ac_cpp='$CPP $CPPFLAGS'
   2832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2835 if test -n "$ac_tool_prefix"; then
   2836   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2837 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2839 printf %s "checking for $ac_word... " >&6; }
   2840 if test ${ac_cv_prog_CC+y}
   2841 then :
   2842   printf %s "(cached) " >&6
   2843 else $as_nop
   2844   if test -n "$CC"; then
   2845   ac_cv_prog_CC="$CC" # Let the user override the test.
   2846 else
   2847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2848 for as_dir in $PATH
   2849 do
   2850   IFS=$as_save_IFS
   2851   case $as_dir in #(((
   2852     '') as_dir=./ ;;
   2853     */) ;;
   2854     *) as_dir=$as_dir/ ;;
   2855   esac
   2856     for ac_exec_ext in '' $ac_executable_extensions; do
   2857   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2858     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2859     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2860     break 2
   2861   fi
   2862 done
   2863   done
   2864 IFS=$as_save_IFS
   2865 
   2866 fi
   2867 fi
   2868 CC=$ac_cv_prog_CC
   2869 if test -n "$CC"; then
   2870   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2871 printf "%s\n" "$CC" >&6; }
   2872 else
   2873   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2874 printf "%s\n" "no" >&6; }
   2875 fi
   2876 
   2877 
   2878 fi
   2879 if test -z "$ac_cv_prog_CC"; then
   2880   ac_ct_CC=$CC
   2881   # Extract the first word of "gcc", so it can be a program name with args.
   2882 set dummy gcc; ac_word=$2
   2883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2884 printf %s "checking for $ac_word... " >&6; }
   2885 if test ${ac_cv_prog_ac_ct_CC+y}
   2886 then :
   2887   printf %s "(cached) " >&6
   2888 else $as_nop
   2889   if test -n "$ac_ct_CC"; then
   2890   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2891 else
   2892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2893 for as_dir in $PATH
   2894 do
   2895   IFS=$as_save_IFS
   2896   case $as_dir in #(((
   2897     '') as_dir=./ ;;
   2898     */) ;;
   2899     *) as_dir=$as_dir/ ;;
   2900   esac
   2901     for ac_exec_ext in '' $ac_executable_extensions; do
   2902   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2903     ac_cv_prog_ac_ct_CC="gcc"
   2904     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2905     break 2
   2906   fi
   2907 done
   2908   done
   2909 IFS=$as_save_IFS
   2910 
   2911 fi
   2912 fi
   2913 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2914 if test -n "$ac_ct_CC"; then
   2915   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2916 printf "%s\n" "$ac_ct_CC" >&6; }
   2917 else
   2918   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2919 printf "%s\n" "no" >&6; }
   2920 fi
   2921 
   2922   if test "x$ac_ct_CC" = x; then
   2923     CC=""
   2924   else
   2925     case $cross_compiling:$ac_tool_warned in
   2926 yes:)
   2927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2928 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2929 ac_tool_warned=yes ;;
   2930 esac
   2931     CC=$ac_ct_CC
   2932   fi
   2933 else
   2934   CC="$ac_cv_prog_CC"
   2935 fi
   2936 
   2937 if test -z "$CC"; then
   2938           if test -n "$ac_tool_prefix"; then
   2939     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2940 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2942 printf %s "checking for $ac_word... " >&6; }
   2943 if test ${ac_cv_prog_CC+y}
   2944 then :
   2945   printf %s "(cached) " >&6
   2946 else $as_nop
   2947   if test -n "$CC"; then
   2948   ac_cv_prog_CC="$CC" # Let the user override the test.
   2949 else
   2950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2951 for as_dir in $PATH
   2952 do
   2953   IFS=$as_save_IFS
   2954   case $as_dir in #(((
   2955     '') as_dir=./ ;;
   2956     */) ;;
   2957     *) as_dir=$as_dir/ ;;
   2958   esac
   2959     for ac_exec_ext in '' $ac_executable_extensions; do
   2960   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2961     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2962     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2963     break 2
   2964   fi
   2965 done
   2966   done
   2967 IFS=$as_save_IFS
   2968 
   2969 fi
   2970 fi
   2971 CC=$ac_cv_prog_CC
   2972 if test -n "$CC"; then
   2973   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2974 printf "%s\n" "$CC" >&6; }
   2975 else
   2976   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2977 printf "%s\n" "no" >&6; }
   2978 fi
   2979 
   2980 
   2981   fi
   2982 fi
   2983 if test -z "$CC"; then
   2984   # Extract the first word of "cc", so it can be a program name with args.
   2985 set dummy cc; ac_word=$2
   2986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2987 printf %s "checking for $ac_word... " >&6; }
   2988 if test ${ac_cv_prog_CC+y}
   2989 then :
   2990   printf %s "(cached) " >&6
   2991 else $as_nop
   2992   if test -n "$CC"; then
   2993   ac_cv_prog_CC="$CC" # Let the user override the test.
   2994 else
   2995   ac_prog_rejected=no
   2996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2997 for as_dir in $PATH
   2998 do
   2999   IFS=$as_save_IFS
   3000   case $as_dir in #(((
   3001     '') as_dir=./ ;;
   3002     */) ;;
   3003     *) as_dir=$as_dir/ ;;
   3004   esac
   3005     for ac_exec_ext in '' $ac_executable_extensions; do
   3006   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3007     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3008        ac_prog_rejected=yes
   3009        continue
   3010      fi
   3011     ac_cv_prog_CC="cc"
   3012     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3013     break 2
   3014   fi
   3015 done
   3016   done
   3017 IFS=$as_save_IFS
   3018 
   3019 if test $ac_prog_rejected = yes; then
   3020   # We found a bogon in the path, so make sure we never use it.
   3021   set dummy $ac_cv_prog_CC
   3022   shift
   3023   if test $# != 0; then
   3024     # We chose a different compiler from the bogus one.
   3025     # However, it has the same basename, so the bogon will be chosen
   3026     # first if we set CC to just the basename; use the full file name.
   3027     shift
   3028     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3029   fi
   3030 fi
   3031 fi
   3032 fi
   3033 CC=$ac_cv_prog_CC
   3034 if test -n "$CC"; then
   3035   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3036 printf "%s\n" "$CC" >&6; }
   3037 else
   3038   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3039 printf "%s\n" "no" >&6; }
   3040 fi
   3041 
   3042 
   3043 fi
   3044 if test -z "$CC"; then
   3045   if test -n "$ac_tool_prefix"; then
   3046   for ac_prog in cl.exe
   3047   do
   3048     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3049 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3051 printf %s "checking for $ac_word... " >&6; }
   3052 if test ${ac_cv_prog_CC+y}
   3053 then :
   3054   printf %s "(cached) " >&6
   3055 else $as_nop
   3056   if test -n "$CC"; then
   3057   ac_cv_prog_CC="$CC" # Let the user override the test.
   3058 else
   3059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3060 for as_dir in $PATH
   3061 do
   3062   IFS=$as_save_IFS
   3063   case $as_dir in #(((
   3064     '') as_dir=./ ;;
   3065     */) ;;
   3066     *) as_dir=$as_dir/ ;;
   3067   esac
   3068     for ac_exec_ext in '' $ac_executable_extensions; do
   3069   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3070     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3071     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3072     break 2
   3073   fi
   3074 done
   3075   done
   3076 IFS=$as_save_IFS
   3077 
   3078 fi
   3079 fi
   3080 CC=$ac_cv_prog_CC
   3081 if test -n "$CC"; then
   3082   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3083 printf "%s\n" "$CC" >&6; }
   3084 else
   3085   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3086 printf "%s\n" "no" >&6; }
   3087 fi
   3088 
   3089 
   3090     test -n "$CC" && break
   3091   done
   3092 fi
   3093 if test -z "$CC"; then
   3094   ac_ct_CC=$CC
   3095   for ac_prog in cl.exe
   3096 do
   3097   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3098 set dummy $ac_prog; ac_word=$2
   3099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3100 printf %s "checking for $ac_word... " >&6; }
   3101 if test ${ac_cv_prog_ac_ct_CC+y}
   3102 then :
   3103   printf %s "(cached) " >&6
   3104 else $as_nop
   3105   if test -n "$ac_ct_CC"; then
   3106   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3107 else
   3108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3109 for as_dir in $PATH
   3110 do
   3111   IFS=$as_save_IFS
   3112   case $as_dir in #(((
   3113     '') as_dir=./ ;;
   3114     */) ;;
   3115     *) as_dir=$as_dir/ ;;
   3116   esac
   3117     for ac_exec_ext in '' $ac_executable_extensions; do
   3118   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3119     ac_cv_prog_ac_ct_CC="$ac_prog"
   3120     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3121     break 2
   3122   fi
   3123 done
   3124   done
   3125 IFS=$as_save_IFS
   3126 
   3127 fi
   3128 fi
   3129 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3130 if test -n "$ac_ct_CC"; then
   3131   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3132 printf "%s\n" "$ac_ct_CC" >&6; }
   3133 else
   3134   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3135 printf "%s\n" "no" >&6; }
   3136 fi
   3137 
   3138 
   3139   test -n "$ac_ct_CC" && break
   3140 done
   3141 
   3142   if test "x$ac_ct_CC" = x; then
   3143     CC=""
   3144   else
   3145     case $cross_compiling:$ac_tool_warned in
   3146 yes:)
   3147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3148 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3149 ac_tool_warned=yes ;;
   3150 esac
   3151     CC=$ac_ct_CC
   3152   fi
   3153 fi
   3154 
   3155 fi
   3156 if test -z "$CC"; then
   3157   if test -n "$ac_tool_prefix"; then
   3158   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3159 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3161 printf %s "checking for $ac_word... " >&6; }
   3162 if test ${ac_cv_prog_CC+y}
   3163 then :
   3164   printf %s "(cached) " >&6
   3165 else $as_nop
   3166   if test -n "$CC"; then
   3167   ac_cv_prog_CC="$CC" # Let the user override the test.
   3168 else
   3169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3170 for as_dir in $PATH
   3171 do
   3172   IFS=$as_save_IFS
   3173   case $as_dir in #(((
   3174     '') as_dir=./ ;;
   3175     */) ;;
   3176     *) as_dir=$as_dir/ ;;
   3177   esac
   3178     for ac_exec_ext in '' $ac_executable_extensions; do
   3179   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3180     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3181     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3182     break 2
   3183   fi
   3184 done
   3185   done
   3186 IFS=$as_save_IFS
   3187 
   3188 fi
   3189 fi
   3190 CC=$ac_cv_prog_CC
   3191 if test -n "$CC"; then
   3192   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3193 printf "%s\n" "$CC" >&6; }
   3194 else
   3195   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3196 printf "%s\n" "no" >&6; }
   3197 fi
   3198 
   3199 
   3200 fi
   3201 if test -z "$ac_cv_prog_CC"; then
   3202   ac_ct_CC=$CC
   3203   # Extract the first word of "clang", so it can be a program name with args.
   3204 set dummy clang; ac_word=$2
   3205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3206 printf %s "checking for $ac_word... " >&6; }
   3207 if test ${ac_cv_prog_ac_ct_CC+y}
   3208 then :
   3209   printf %s "(cached) " >&6
   3210 else $as_nop
   3211   if test -n "$ac_ct_CC"; then
   3212   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3213 else
   3214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3215 for as_dir in $PATH
   3216 do
   3217   IFS=$as_save_IFS
   3218   case $as_dir in #(((
   3219     '') as_dir=./ ;;
   3220     */) ;;
   3221     *) as_dir=$as_dir/ ;;
   3222   esac
   3223     for ac_exec_ext in '' $ac_executable_extensions; do
   3224   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3225     ac_cv_prog_ac_ct_CC="clang"
   3226     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3227     break 2
   3228   fi
   3229 done
   3230   done
   3231 IFS=$as_save_IFS
   3232 
   3233 fi
   3234 fi
   3235 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3236 if test -n "$ac_ct_CC"; then
   3237   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3238 printf "%s\n" "$ac_ct_CC" >&6; }
   3239 else
   3240   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3241 printf "%s\n" "no" >&6; }
   3242 fi
   3243 
   3244   if test "x$ac_ct_CC" = x; then
   3245     CC=""
   3246   else
   3247     case $cross_compiling:$ac_tool_warned in
   3248 yes:)
   3249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3250 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3251 ac_tool_warned=yes ;;
   3252 esac
   3253     CC=$ac_ct_CC
   3254   fi
   3255 else
   3256   CC="$ac_cv_prog_CC"
   3257 fi
   3258 
   3259 fi
   3260 
   3261 
   3262 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3263 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3264 as_fn_error $? "no acceptable C compiler found in \$PATH
   3265 See \`config.log' for more details" "$LINENO" 5; }
   3266 
   3267 # Provide some information about the compiler.
   3268 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3269 set X $ac_compile
   3270 ac_compiler=$2
   3271 for ac_option in --version -v -V -qversion -version; do
   3272   { { ac_try="$ac_compiler $ac_option >&5"
   3273 case "(($ac_try" in
   3274   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3275   *) ac_try_echo=$ac_try;;
   3276 esac
   3277 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3278 printf "%s\n" "$ac_try_echo"; } >&5
   3279   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3280   ac_status=$?
   3281   if test -s conftest.err; then
   3282     sed '10a\
   3283 ... rest of stderr output deleted ...
   3284          10q' conftest.err >conftest.er1
   3285     cat conftest.er1 >&5
   3286   fi
   3287   rm -f conftest.er1 conftest.err
   3288   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3289   test $ac_status = 0; }
   3290 done
   3291 
   3292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3293 /* end confdefs.h.  */
   3294 
   3295 int
   3296 main (void)
   3297 {
   3298 
   3299   ;
   3300   return 0;
   3301 }
   3302 _ACEOF
   3303 ac_clean_files_save=$ac_clean_files
   3304 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3305 # Try to create an executable without -o first, disregard a.out.
   3306 # It will help us diagnose broken compilers, and finding out an intuition
   3307 # of exeext.
   3308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3309 printf %s "checking whether the C compiler works... " >&6; }
   3310 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3311 
   3312 # The possible output files:
   3313 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3314 
   3315 ac_rmfiles=
   3316 for ac_file in $ac_files
   3317 do
   3318   case $ac_file in
   3319     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3320     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3321   esac
   3322 done
   3323 rm -f $ac_rmfiles
   3324 
   3325 if { { ac_try="$ac_link_default"
   3326 case "(($ac_try" in
   3327   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3328   *) ac_try_echo=$ac_try;;
   3329 esac
   3330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3331 printf "%s\n" "$ac_try_echo"; } >&5
   3332   (eval "$ac_link_default") 2>&5
   3333   ac_status=$?
   3334   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3335   test $ac_status = 0; }
   3336 then :
   3337   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3338 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3339 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3340 # so that the user can short-circuit this test for compilers unknown to
   3341 # Autoconf.
   3342 for ac_file in $ac_files ''
   3343 do
   3344   test -f "$ac_file" || continue
   3345   case $ac_file in
   3346     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3347 	;;
   3348     [ab].out )
   3349 	# We found the default executable, but exeext='' is most
   3350 	# certainly right.
   3351 	break;;
   3352     *.* )
   3353 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3354 	then :; else
   3355 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3356 	fi
   3357 	# We set ac_cv_exeext here because the later test for it is not
   3358 	# safe: cross compilers may not add the suffix if given an `-o'
   3359 	# argument, so we may need to know it at that point already.
   3360 	# Even if this section looks crufty: it has the advantage of
   3361 	# actually working.
   3362 	break;;
   3363     * )
   3364 	break;;
   3365   esac
   3366 done
   3367 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3368 
   3369 else $as_nop
   3370   ac_file=''
   3371 fi
   3372 if test -z "$ac_file"
   3373 then :
   3374   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3375 printf "%s\n" "no" >&6; }
   3376 printf "%s\n" "$as_me: failed program was:" >&5
   3377 sed 's/^/| /' conftest.$ac_ext >&5
   3378 
   3379 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3380 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3381 as_fn_error 77 "C compiler cannot create executables
   3382 See \`config.log' for more details" "$LINENO" 5; }
   3383 else $as_nop
   3384   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3385 printf "%s\n" "yes" >&6; }
   3386 fi
   3387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3388 printf %s "checking for C compiler default output file name... " >&6; }
   3389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3390 printf "%s\n" "$ac_file" >&6; }
   3391 ac_exeext=$ac_cv_exeext
   3392 
   3393 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3394 ac_clean_files=$ac_clean_files_save
   3395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3396 printf %s "checking for suffix of executables... " >&6; }
   3397 if { { ac_try="$ac_link"
   3398 case "(($ac_try" in
   3399   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3400   *) ac_try_echo=$ac_try;;
   3401 esac
   3402 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3403 printf "%s\n" "$ac_try_echo"; } >&5
   3404   (eval "$ac_link") 2>&5
   3405   ac_status=$?
   3406   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3407   test $ac_status = 0; }
   3408 then :
   3409   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3410 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3411 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3412 # `rm'.
   3413 for ac_file in conftest.exe conftest conftest.*; do
   3414   test -f "$ac_file" || continue
   3415   case $ac_file in
   3416     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3417     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3418 	  break;;
   3419     * ) break;;
   3420   esac
   3421 done
   3422 else $as_nop
   3423   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3424 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3425 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3426 See \`config.log' for more details" "$LINENO" 5; }
   3427 fi
   3428 rm -f conftest conftest$ac_cv_exeext
   3429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3430 printf "%s\n" "$ac_cv_exeext" >&6; }
   3431 
   3432 rm -f conftest.$ac_ext
   3433 EXEEXT=$ac_cv_exeext
   3434 ac_exeext=$EXEEXT
   3435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3436 /* end confdefs.h.  */
   3437 #include <stdio.h>
   3438 int
   3439 main (void)
   3440 {
   3441 FILE *f = fopen ("conftest.out", "w");
   3442  return ferror (f) || fclose (f) != 0;
   3443 
   3444   ;
   3445   return 0;
   3446 }
   3447 _ACEOF
   3448 ac_clean_files="$ac_clean_files conftest.out"
   3449 # Check that the compiler produces executables we can run.  If not, either
   3450 # the compiler is broken, or we cross compile.
   3451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3452 printf %s "checking whether we are cross compiling... " >&6; }
   3453 if test "$cross_compiling" != yes; then
   3454   { { ac_try="$ac_link"
   3455 case "(($ac_try" in
   3456   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3457   *) ac_try_echo=$ac_try;;
   3458 esac
   3459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3460 printf "%s\n" "$ac_try_echo"; } >&5
   3461   (eval "$ac_link") 2>&5
   3462   ac_status=$?
   3463   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3464   test $ac_status = 0; }
   3465   if { ac_try='./conftest$ac_cv_exeext'
   3466   { { case "(($ac_try" in
   3467   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3468   *) ac_try_echo=$ac_try;;
   3469 esac
   3470 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3471 printf "%s\n" "$ac_try_echo"; } >&5
   3472   (eval "$ac_try") 2>&5
   3473   ac_status=$?
   3474   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3475   test $ac_status = 0; }; }; then
   3476     cross_compiling=no
   3477   else
   3478     if test "$cross_compiling" = maybe; then
   3479 	cross_compiling=yes
   3480     else
   3481 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3482 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3483 as_fn_error 77 "cannot run C compiled programs.
   3484 If you meant to cross compile, use \`--host'.
   3485 See \`config.log' for more details" "$LINENO" 5; }
   3486     fi
   3487   fi
   3488 fi
   3489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3490 printf "%s\n" "$cross_compiling" >&6; }
   3491 
   3492 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3493 ac_clean_files=$ac_clean_files_save
   3494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3495 printf %s "checking for suffix of object files... " >&6; }
   3496 if test ${ac_cv_objext+y}
   3497 then :
   3498   printf %s "(cached) " >&6
   3499 else $as_nop
   3500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3501 /* end confdefs.h.  */
   3502 
   3503 int
   3504 main (void)
   3505 {
   3506 
   3507   ;
   3508   return 0;
   3509 }
   3510 _ACEOF
   3511 rm -f conftest.o conftest.obj
   3512 if { { ac_try="$ac_compile"
   3513 case "(($ac_try" in
   3514   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3515   *) ac_try_echo=$ac_try;;
   3516 esac
   3517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3518 printf "%s\n" "$ac_try_echo"; } >&5
   3519   (eval "$ac_compile") 2>&5
   3520   ac_status=$?
   3521   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3522   test $ac_status = 0; }
   3523 then :
   3524   for ac_file in conftest.o conftest.obj conftest.*; do
   3525   test -f "$ac_file" || continue;
   3526   case $ac_file in
   3527     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3528     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3529        break;;
   3530   esac
   3531 done
   3532 else $as_nop
   3533   printf "%s\n" "$as_me: failed program was:" >&5
   3534 sed 's/^/| /' conftest.$ac_ext >&5
   3535 
   3536 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3537 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3538 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3539 See \`config.log' for more details" "$LINENO" 5; }
   3540 fi
   3541 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3542 fi
   3543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3544 printf "%s\n" "$ac_cv_objext" >&6; }
   3545 OBJEXT=$ac_cv_objext
   3546 ac_objext=$OBJEXT
   3547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3548 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3549 if test ${ac_cv_c_compiler_gnu+y}
   3550 then :
   3551   printf %s "(cached) " >&6
   3552 else $as_nop
   3553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3554 /* end confdefs.h.  */
   3555 
   3556 int
   3557 main (void)
   3558 {
   3559 #ifndef __GNUC__
   3560        choke me
   3561 #endif
   3562 
   3563   ;
   3564   return 0;
   3565 }
   3566 _ACEOF
   3567 if ac_fn_c_try_compile "$LINENO"
   3568 then :
   3569   ac_compiler_gnu=yes
   3570 else $as_nop
   3571   ac_compiler_gnu=no
   3572 fi
   3573 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3574 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3575 
   3576 fi
   3577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3578 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3580 
   3581 if test $ac_compiler_gnu = yes; then
   3582   GCC=yes
   3583 else
   3584   GCC=
   3585 fi
   3586 ac_test_CFLAGS=${CFLAGS+y}
   3587 ac_save_CFLAGS=$CFLAGS
   3588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3589 printf %s "checking whether $CC accepts -g... " >&6; }
   3590 if test ${ac_cv_prog_cc_g+y}
   3591 then :
   3592   printf %s "(cached) " >&6
   3593 else $as_nop
   3594   ac_save_c_werror_flag=$ac_c_werror_flag
   3595    ac_c_werror_flag=yes
   3596    ac_cv_prog_cc_g=no
   3597    CFLAGS="-g"
   3598    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3599 /* end confdefs.h.  */
   3600 
   3601 int
   3602 main (void)
   3603 {
   3604 
   3605   ;
   3606   return 0;
   3607 }
   3608 _ACEOF
   3609 if ac_fn_c_try_compile "$LINENO"
   3610 then :
   3611   ac_cv_prog_cc_g=yes
   3612 else $as_nop
   3613   CFLAGS=""
   3614       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3615 /* end confdefs.h.  */
   3616 
   3617 int
   3618 main (void)
   3619 {
   3620 
   3621   ;
   3622   return 0;
   3623 }
   3624 _ACEOF
   3625 if ac_fn_c_try_compile "$LINENO"
   3626 then :
   3627 
   3628 else $as_nop
   3629   ac_c_werror_flag=$ac_save_c_werror_flag
   3630 	 CFLAGS="-g"
   3631 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3632 /* end confdefs.h.  */
   3633 
   3634 int
   3635 main (void)
   3636 {
   3637 
   3638   ;
   3639   return 0;
   3640 }
   3641 _ACEOF
   3642 if ac_fn_c_try_compile "$LINENO"
   3643 then :
   3644   ac_cv_prog_cc_g=yes
   3645 fi
   3646 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3647 fi
   3648 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3649 fi
   3650 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3651    ac_c_werror_flag=$ac_save_c_werror_flag
   3652 fi
   3653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3654 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   3655 if test $ac_test_CFLAGS; then
   3656   CFLAGS=$ac_save_CFLAGS
   3657 elif test $ac_cv_prog_cc_g = yes; then
   3658   if test "$GCC" = yes; then
   3659     CFLAGS="-g -O2"
   3660   else
   3661     CFLAGS="-g"
   3662   fi
   3663 else
   3664   if test "$GCC" = yes; then
   3665     CFLAGS="-O2"
   3666   else
   3667     CFLAGS=
   3668   fi
   3669 fi
   3670 ac_prog_cc_stdc=no
   3671 if test x$ac_prog_cc_stdc = xno
   3672 then :
   3673   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   3674 printf %s "checking for $CC option to enable C11 features... " >&6; }
   3675 if test ${ac_cv_prog_cc_c11+y}
   3676 then :
   3677   printf %s "(cached) " >&6
   3678 else $as_nop
   3679   ac_cv_prog_cc_c11=no
   3680 ac_save_CC=$CC
   3681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3682 /* end confdefs.h.  */
   3683 $ac_c_conftest_c11_program
   3684 _ACEOF
   3685 for ac_arg in '' -std=gnu11
   3686 do
   3687   CC="$ac_save_CC $ac_arg"
   3688   if ac_fn_c_try_compile "$LINENO"
   3689 then :
   3690   ac_cv_prog_cc_c11=$ac_arg
   3691 fi
   3692 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3693   test "x$ac_cv_prog_cc_c11" != "xno" && break
   3694 done
   3695 rm -f conftest.$ac_ext
   3696 CC=$ac_save_CC
   3697 fi
   3698 
   3699 if test "x$ac_cv_prog_cc_c11" = xno
   3700 then :
   3701   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3702 printf "%s\n" "unsupported" >&6; }
   3703 else $as_nop
   3704   if test "x$ac_cv_prog_cc_c11" = x
   3705 then :
   3706   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3707 printf "%s\n" "none needed" >&6; }
   3708 else $as_nop
   3709   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   3710 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   3711      CC="$CC $ac_cv_prog_cc_c11"
   3712 fi
   3713   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   3714   ac_prog_cc_stdc=c11
   3715 fi
   3716 fi
   3717 if test x$ac_prog_cc_stdc = xno
   3718 then :
   3719   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   3720 printf %s "checking for $CC option to enable C99 features... " >&6; }
   3721 if test ${ac_cv_prog_cc_c99+y}
   3722 then :
   3723   printf %s "(cached) " >&6
   3724 else $as_nop
   3725   ac_cv_prog_cc_c99=no
   3726 ac_save_CC=$CC
   3727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3728 /* end confdefs.h.  */
   3729 $ac_c_conftest_c99_program
   3730 _ACEOF
   3731 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   3732 do
   3733   CC="$ac_save_CC $ac_arg"
   3734   if ac_fn_c_try_compile "$LINENO"
   3735 then :
   3736   ac_cv_prog_cc_c99=$ac_arg
   3737 fi
   3738 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3739   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3740 done
   3741 rm -f conftest.$ac_ext
   3742 CC=$ac_save_CC
   3743 fi
   3744 
   3745 if test "x$ac_cv_prog_cc_c99" = xno
   3746 then :
   3747   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3748 printf "%s\n" "unsupported" >&6; }
   3749 else $as_nop
   3750   if test "x$ac_cv_prog_cc_c99" = x
   3751 then :
   3752   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3753 printf "%s\n" "none needed" >&6; }
   3754 else $as_nop
   3755   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3756 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   3757      CC="$CC $ac_cv_prog_cc_c99"
   3758 fi
   3759   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   3760   ac_prog_cc_stdc=c99
   3761 fi
   3762 fi
   3763 if test x$ac_prog_cc_stdc = xno
   3764 then :
   3765   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   3766 printf %s "checking for $CC option to enable C89 features... " >&6; }
   3767 if test ${ac_cv_prog_cc_c89+y}
   3768 then :
   3769   printf %s "(cached) " >&6
   3770 else $as_nop
   3771   ac_cv_prog_cc_c89=no
   3772 ac_save_CC=$CC
   3773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3774 /* end confdefs.h.  */
   3775 $ac_c_conftest_c89_program
   3776 _ACEOF
   3777 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3778 do
   3779   CC="$ac_save_CC $ac_arg"
   3780   if ac_fn_c_try_compile "$LINENO"
   3781 then :
   3782   ac_cv_prog_cc_c89=$ac_arg
   3783 fi
   3784 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3785   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3786 done
   3787 rm -f conftest.$ac_ext
   3788 CC=$ac_save_CC
   3789 fi
   3790 
   3791 if test "x$ac_cv_prog_cc_c89" = xno
   3792 then :
   3793   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3794 printf "%s\n" "unsupported" >&6; }
   3795 else $as_nop
   3796   if test "x$ac_cv_prog_cc_c89" = x
   3797 then :
   3798   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3799 printf "%s\n" "none needed" >&6; }
   3800 else $as_nop
   3801   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3802 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   3803      CC="$CC $ac_cv_prog_cc_c89"
   3804 fi
   3805   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   3806   ac_prog_cc_stdc=c89
   3807 fi
   3808 fi
   3809 
   3810 ac_ext=c
   3811 ac_cpp='$CPP $CPPFLAGS'
   3812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3815 
   3816 
   3817   ac_ext=c
   3818 ac_cpp='$CPP $CPPFLAGS'
   3819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3823 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   3824 if test ${am_cv_prog_cc_c_o+y}
   3825 then :
   3826   printf %s "(cached) " >&6
   3827 else $as_nop
   3828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3829 /* end confdefs.h.  */
   3830 
   3831 int
   3832 main (void)
   3833 {
   3834 
   3835   ;
   3836   return 0;
   3837 }
   3838 _ACEOF
   3839   # Make sure it works both with $CC and with simple cc.
   3840   # Following AC_PROG_CC_C_O, we do the test twice because some
   3841   # compilers refuse to overwrite an existing .o file with -o,
   3842   # though they will create one.
   3843   am_cv_prog_cc_c_o=yes
   3844   for am_i in 1 2; do
   3845     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3846    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3847    ac_status=$?
   3848    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3849    (exit $ac_status); } \
   3850          && test -f conftest2.$ac_objext; then
   3851       : OK
   3852     else
   3853       am_cv_prog_cc_c_o=no
   3854       break
   3855     fi
   3856   done
   3857   rm -f core conftest*
   3858   unset am_i
   3859 fi
   3860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3861 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   3862 if test "$am_cv_prog_cc_c_o" != yes; then
   3863    # Losing compiler, so override with the script.
   3864    # FIXME: It is wrong to rewrite CC.
   3865    # But if we don't then we get into trouble of one sort or another.
   3866    # A longer-term fix would be to have automake use am__CC in this case,
   3867    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3868    CC="$am_aux_dir/compile $CC"
   3869 fi
   3870 ac_ext=c
   3871 ac_cpp='$CPP $CPPFLAGS'
   3872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3875 
   3876 
   3877 
   3878 ac_header= ac_cache=
   3879 for ac_item in $ac_header_c_list
   3880 do
   3881   if test $ac_cache; then
   3882     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   3883     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   3884       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   3885     fi
   3886     ac_header= ac_cache=
   3887   elif test $ac_header; then
   3888     ac_cache=$ac_item
   3889   else
   3890     ac_header=$ac_item
   3891   fi
   3892 done
   3893 
   3894 
   3895 
   3896 
   3897 
   3898 
   3899 
   3900 
   3901 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   3902 then :
   3903 
   3904 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   3905 
   3906 fi
   3907 
   3908 
   3909 
   3910 
   3911 
   3912 
   3913   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3914 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3915 if test ${ac_cv_safe_to_define___extensions__+y}
   3916 then :
   3917   printf %s "(cached) " >&6
   3918 else $as_nop
   3919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3920 /* end confdefs.h.  */
   3921 
   3922 #         define __EXTENSIONS__ 1
   3923           $ac_includes_default
   3924 int
   3925 main (void)
   3926 {
   3927 
   3928   ;
   3929   return 0;
   3930 }
   3931 _ACEOF
   3932 if ac_fn_c_try_compile "$LINENO"
   3933 then :
   3934   ac_cv_safe_to_define___extensions__=yes
   3935 else $as_nop
   3936   ac_cv_safe_to_define___extensions__=no
   3937 fi
   3938 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3939 fi
   3940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3941 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   3942 
   3943   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   3944 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   3945 if test ${ac_cv_should_define__xopen_source+y}
   3946 then :
   3947   printf %s "(cached) " >&6
   3948 else $as_nop
   3949   ac_cv_should_define__xopen_source=no
   3950     if test $ac_cv_header_wchar_h = yes
   3951 then :
   3952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3953 /* end confdefs.h.  */
   3954 
   3955           #include <wchar.h>
   3956           mbstate_t x;
   3957 int
   3958 main (void)
   3959 {
   3960 
   3961   ;
   3962   return 0;
   3963 }
   3964 _ACEOF
   3965 if ac_fn_c_try_compile "$LINENO"
   3966 then :
   3967 
   3968 else $as_nop
   3969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3970 /* end confdefs.h.  */
   3971 
   3972             #define _XOPEN_SOURCE 500
   3973             #include <wchar.h>
   3974             mbstate_t x;
   3975 int
   3976 main (void)
   3977 {
   3978 
   3979   ;
   3980   return 0;
   3981 }
   3982 _ACEOF
   3983 if ac_fn_c_try_compile "$LINENO"
   3984 then :
   3985   ac_cv_should_define__xopen_source=yes
   3986 fi
   3987 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3988 fi
   3989 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3990 fi
   3991 fi
   3992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   3993 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   3994 
   3995   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   3996 
   3997   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   3998 
   3999   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   4000 
   4001   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   4002 
   4003   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   4004 
   4005   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   4006 
   4007   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4008 
   4009   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   4010 
   4011   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   4012 
   4013   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   4014 
   4015   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   4016 
   4017   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   4018 
   4019   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   4020 
   4021   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   4022 
   4023   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   4024 
   4025   if test $ac_cv_header_minix_config_h = yes
   4026 then :
   4027   MINIX=yes
   4028     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   4029 
   4030     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   4031 
   4032     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4033 
   4034 else $as_nop
   4035   MINIX=
   4036 fi
   4037   if test $ac_cv_safe_to_define___extensions__ = yes
   4038 then :
   4039   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   4040 
   4041 fi
   4042   if test $ac_cv_should_define__xopen_source = yes
   4043 then :
   4044   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   4045 
   4046 fi
   4047 
   4048 ac_config_headers="$ac_config_headers config.h"
   4049 
   4050 
   4051 
   4052 # Initialize Automake
   4053 am__api_version='1.16'
   4054 
   4055 
   4056   # Find a good install program.  We prefer a C program (faster),
   4057 # so one script is as good as another.  But avoid the broken or
   4058 # incompatible versions:
   4059 # SysV /etc/install, /usr/sbin/install
   4060 # SunOS /usr/etc/install
   4061 # IRIX /sbin/install
   4062 # AIX /bin/install
   4063 # AmigaOS /C/install, which installs bootblocks on floppy discs
   4064 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   4065 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   4066 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   4067 # OS/2's system install, which has a completely different semantic
   4068 # ./install, which can be erroneously created by make from ./install.sh.
   4069 # Reject install programs that cannot install multiple files.
   4070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   4071 printf %s "checking for a BSD-compatible install... " >&6; }
   4072 if test -z "$INSTALL"; then
   4073 if test ${ac_cv_path_install+y}
   4074 then :
   4075   printf %s "(cached) " >&6
   4076 else $as_nop
   4077   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4078 for as_dir in $PATH
   4079 do
   4080   IFS=$as_save_IFS
   4081   case $as_dir in #(((
   4082     '') as_dir=./ ;;
   4083     */) ;;
   4084     *) as_dir=$as_dir/ ;;
   4085   esac
   4086     # Account for fact that we put trailing slashes in our PATH walk.
   4087 case $as_dir in #((
   4088   ./ | /[cC]/* | \
   4089   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   4090   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   4091   /usr/ucb/* ) ;;
   4092   *)
   4093     # OSF1 and SCO ODT 3.0 have their own names for install.
   4094     # Don't use installbsd from OSF since it installs stuff as root
   4095     # by default.
   4096     for ac_prog in ginstall scoinst install; do
   4097       for ac_exec_ext in '' $ac_executable_extensions; do
   4098 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   4099 	  if test $ac_prog = install &&
   4100 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4101 	    # AIX install.  It has an incompatible calling convention.
   4102 	    :
   4103 	  elif test $ac_prog = install &&
   4104 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4105 	    # program-specific install script used by HP pwplus--don't use.
   4106 	    :
   4107 	  else
   4108 	    rm -rf conftest.one conftest.two conftest.dir
   4109 	    echo one > conftest.one
   4110 	    echo two > conftest.two
   4111 	    mkdir conftest.dir
   4112 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   4113 	      test -s conftest.one && test -s conftest.two &&
   4114 	      test -s conftest.dir/conftest.one &&
   4115 	      test -s conftest.dir/conftest.two
   4116 	    then
   4117 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   4118 	      break 3
   4119 	    fi
   4120 	  fi
   4121 	fi
   4122       done
   4123     done
   4124     ;;
   4125 esac
   4126 
   4127   done
   4128 IFS=$as_save_IFS
   4129 
   4130 rm -rf conftest.one conftest.two conftest.dir
   4131 
   4132 fi
   4133   if test ${ac_cv_path_install+y}; then
   4134     INSTALL=$ac_cv_path_install
   4135   else
   4136     # As a last resort, use the slow shell script.  Don't cache a
   4137     # value for INSTALL within a source directory, because that will
   4138     # break other packages using the cache if that directory is
   4139     # removed, or if the value is a relative name.
   4140     INSTALL=$ac_install_sh
   4141   fi
   4142 fi
   4143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   4144 printf "%s\n" "$INSTALL" >&6; }
   4145 
   4146 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4147 # It thinks the first close brace ends the variable substitution.
   4148 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4149 
   4150 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4151 
   4152 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4153 
   4154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   4155 printf %s "checking whether build environment is sane... " >&6; }
   4156 # Reject unsafe characters in $srcdir or the absolute working directory
   4157 # name.  Accept space and tab only in the latter.
   4158 am_lf='
   4159 '
   4160 case `pwd` in
   4161   *[\\\"\#\$\&\'\`$am_lf]*)
   4162     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   4163 esac
   4164 case $srcdir in
   4165   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   4166     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   4167 esac
   4168 
   4169 # Do 'set' in a subshell so we don't clobber the current shell's
   4170 # arguments.  Must try -L first in case configure is actually a
   4171 # symlink; some systems play weird games with the mod time of symlinks
   4172 # (eg FreeBSD returns the mod time of the symlink's containing
   4173 # directory).
   4174 if (
   4175    am_has_slept=no
   4176    for am_try in 1 2; do
   4177      echo "timestamp, slept: $am_has_slept" > conftest.file
   4178      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4179      if test "$*" = "X"; then
   4180 	# -L didn't work.
   4181 	set X `ls -t "$srcdir/configure" conftest.file`
   4182      fi
   4183      if test "$*" != "X $srcdir/configure conftest.file" \
   4184 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   4185 
   4186 	# If neither matched, then we have a broken ls.  This can happen
   4187 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   4188 	# broken ls alias from the environment.  This has actually
   4189 	# happened.  Such a system could not be considered "sane".
   4190 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   4191   alias in your environment" "$LINENO" 5
   4192      fi
   4193      if test "$2" = conftest.file || test $am_try -eq 2; then
   4194        break
   4195      fi
   4196      # Just in case.
   4197      sleep 1
   4198      am_has_slept=yes
   4199    done
   4200    test "$2" = conftest.file
   4201    )
   4202 then
   4203    # Ok.
   4204    :
   4205 else
   4206    as_fn_error $? "newly created file is older than distributed files!
   4207 Check your system clock" "$LINENO" 5
   4208 fi
   4209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4210 printf "%s\n" "yes" >&6; }
   4211 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4212 # generated files are strictly newer.
   4213 am_sleep_pid=
   4214 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   4215   ( sleep 1 ) &
   4216   am_sleep_pid=$!
   4217 fi
   4218 
   4219 rm -f conftest.file
   4220 
   4221 test "$program_prefix" != NONE &&
   4222   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4223 # Use a double $ so make ignores it.
   4224 test "$program_suffix" != NONE &&
   4225   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4226 # Double any \ or $.
   4227 # By default was `s,x,x', remove it if useless.
   4228 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4229 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   4230 
   4231 
   4232   if test x"${MISSING+set}" != xset; then
   4233   MISSING="\${SHELL} '$am_aux_dir/missing'"
   4234 fi
   4235 # Use eval to expand $SHELL
   4236 if eval "$MISSING --is-lightweight"; then
   4237   am_missing_run="$MISSING "
   4238 else
   4239   am_missing_run=
   4240   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4241 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4242 fi
   4243 
   4244 if test x"${install_sh+set}" != xset; then
   4245   case $am_aux_dir in
   4246   *\ * | *\	*)
   4247     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4248   *)
   4249     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4250   esac
   4251 fi
   4252 
   4253 # Installed binaries are usually stripped using 'strip' when the user
   4254 # run "make install-strip".  However 'strip' might not be the right
   4255 # tool to use in cross-compilation environments, therefore Automake
   4256 # will honor the 'STRIP' environment variable to overrule this program.
   4257 if test "$cross_compiling" != no; then
   4258   if test -n "$ac_tool_prefix"; then
   4259   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4260 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4262 printf %s "checking for $ac_word... " >&6; }
   4263 if test ${ac_cv_prog_STRIP+y}
   4264 then :
   4265   printf %s "(cached) " >&6
   4266 else $as_nop
   4267   if test -n "$STRIP"; then
   4268   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4269 else
   4270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4271 for as_dir in $PATH
   4272 do
   4273   IFS=$as_save_IFS
   4274   case $as_dir in #(((
   4275     '') as_dir=./ ;;
   4276     */) ;;
   4277     *) as_dir=$as_dir/ ;;
   4278   esac
   4279     for ac_exec_ext in '' $ac_executable_extensions; do
   4280   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4281     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4282     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4283     break 2
   4284   fi
   4285 done
   4286   done
   4287 IFS=$as_save_IFS
   4288 
   4289 fi
   4290 fi
   4291 STRIP=$ac_cv_prog_STRIP
   4292 if test -n "$STRIP"; then
   4293   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4294 printf "%s\n" "$STRIP" >&6; }
   4295 else
   4296   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4297 printf "%s\n" "no" >&6; }
   4298 fi
   4299 
   4300 
   4301 fi
   4302 if test -z "$ac_cv_prog_STRIP"; then
   4303   ac_ct_STRIP=$STRIP
   4304   # Extract the first word of "strip", so it can be a program name with args.
   4305 set dummy strip; ac_word=$2
   4306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4307 printf %s "checking for $ac_word... " >&6; }
   4308 if test ${ac_cv_prog_ac_ct_STRIP+y}
   4309 then :
   4310   printf %s "(cached) " >&6
   4311 else $as_nop
   4312   if test -n "$ac_ct_STRIP"; then
   4313   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4314 else
   4315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4316 for as_dir in $PATH
   4317 do
   4318   IFS=$as_save_IFS
   4319   case $as_dir in #(((
   4320     '') as_dir=./ ;;
   4321     */) ;;
   4322     *) as_dir=$as_dir/ ;;
   4323   esac
   4324     for ac_exec_ext in '' $ac_executable_extensions; do
   4325   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4326     ac_cv_prog_ac_ct_STRIP="strip"
   4327     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4328     break 2
   4329   fi
   4330 done
   4331   done
   4332 IFS=$as_save_IFS
   4333 
   4334 fi
   4335 fi
   4336 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4337 if test -n "$ac_ct_STRIP"; then
   4338   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4339 printf "%s\n" "$ac_ct_STRIP" >&6; }
   4340 else
   4341   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4342 printf "%s\n" "no" >&6; }
   4343 fi
   4344 
   4345   if test "x$ac_ct_STRIP" = x; then
   4346     STRIP=":"
   4347   else
   4348     case $cross_compiling:$ac_tool_warned in
   4349 yes:)
   4350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4351 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4352 ac_tool_warned=yes ;;
   4353 esac
   4354     STRIP=$ac_ct_STRIP
   4355   fi
   4356 else
   4357   STRIP="$ac_cv_prog_STRIP"
   4358 fi
   4359 
   4360 fi
   4361 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4362 
   4363 
   4364   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   4365 printf %s "checking for a race-free mkdir -p... " >&6; }
   4366 if test -z "$MKDIR_P"; then
   4367   if test ${ac_cv_path_mkdir+y}
   4368 then :
   4369   printf %s "(cached) " >&6
   4370 else $as_nop
   4371   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4372 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4373 do
   4374   IFS=$as_save_IFS
   4375   case $as_dir in #(((
   4376     '') as_dir=./ ;;
   4377     */) ;;
   4378     *) as_dir=$as_dir/ ;;
   4379   esac
   4380     for ac_prog in mkdir gmkdir; do
   4381 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4382 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   4383 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4384 	     'mkdir ('*'coreutils) '* | \
   4385 	     'BusyBox '* | \
   4386 	     'mkdir (fileutils) '4.1*)
   4387 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   4388 	       break 3;;
   4389 	   esac
   4390 	 done
   4391        done
   4392   done
   4393 IFS=$as_save_IFS
   4394 
   4395 fi
   4396 
   4397   test -d ./--version && rmdir ./--version
   4398   if test ${ac_cv_path_mkdir+y}; then
   4399     MKDIR_P="$ac_cv_path_mkdir -p"
   4400   else
   4401     # As a last resort, use the slow shell script.  Don't cache a
   4402     # value for MKDIR_P within a source directory, because that will
   4403     # break other packages using the cache if that directory is
   4404     # removed, or if the value is a relative name.
   4405     MKDIR_P="$ac_install_sh -d"
   4406   fi
   4407 fi
   4408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4409 printf "%s\n" "$MKDIR_P" >&6; }
   4410 
   4411 for ac_prog in gawk mawk nawk awk
   4412 do
   4413   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4414 set dummy $ac_prog; ac_word=$2
   4415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4416 printf %s "checking for $ac_word... " >&6; }
   4417 if test ${ac_cv_prog_AWK+y}
   4418 then :
   4419   printf %s "(cached) " >&6
   4420 else $as_nop
   4421   if test -n "$AWK"; then
   4422   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4423 else
   4424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4425 for as_dir in $PATH
   4426 do
   4427   IFS=$as_save_IFS
   4428   case $as_dir in #(((
   4429     '') as_dir=./ ;;
   4430     */) ;;
   4431     *) as_dir=$as_dir/ ;;
   4432   esac
   4433     for ac_exec_ext in '' $ac_executable_extensions; do
   4434   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4435     ac_cv_prog_AWK="$ac_prog"
   4436     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4437     break 2
   4438   fi
   4439 done
   4440   done
   4441 IFS=$as_save_IFS
   4442 
   4443 fi
   4444 fi
   4445 AWK=$ac_cv_prog_AWK
   4446 if test -n "$AWK"; then
   4447   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4448 printf "%s\n" "$AWK" >&6; }
   4449 else
   4450   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4451 printf "%s\n" "no" >&6; }
   4452 fi
   4453 
   4454 
   4455   test -n "$AWK" && break
   4456 done
   4457 
   4458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4459 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4460 set x ${MAKE-make}
   4461 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4462 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   4463 then :
   4464   printf %s "(cached) " >&6
   4465 else $as_nop
   4466   cat >conftest.make <<\_ACEOF
   4467 SHELL = /bin/sh
   4468 all:
   4469 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4470 _ACEOF
   4471 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4472 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4473   *@@@%%%=?*=@@@%%%*)
   4474     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4475   *)
   4476     eval ac_cv_prog_make_${ac_make}_set=no;;
   4477 esac
   4478 rm -f conftest.make
   4479 fi
   4480 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4481   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4482 printf "%s\n" "yes" >&6; }
   4483   SET_MAKE=
   4484 else
   4485   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4486 printf "%s\n" "no" >&6; }
   4487   SET_MAKE="MAKE=${MAKE-make}"
   4488 fi
   4489 
   4490 rm -rf .tst 2>/dev/null
   4491 mkdir .tst 2>/dev/null
   4492 if test -d .tst; then
   4493   am__leading_dot=.
   4494 else
   4495   am__leading_dot=_
   4496 fi
   4497 rmdir .tst 2>/dev/null
   4498 
   4499 DEPDIR="${am__leading_dot}deps"
   4500 
   4501 ac_config_commands="$ac_config_commands depfiles"
   4502 
   4503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4504 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4505 cat > confinc.mk << 'END'
   4506 am__doit:
   4507 	@echo this is the am__doit target >confinc.out
   4508 .PHONY: am__doit
   4509 END
   4510 am__include="#"
   4511 am__quote=
   4512 # BSD make does it like this.
   4513 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4514 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4515 echo 'include confinc.mk # ignored' > confmf.GNU
   4516 _am_result=no
   4517 for s in GNU BSD; do
   4518   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4519    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4520    ac_status=$?
   4521    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4522    (exit $ac_status); }
   4523   case $?:`cat confinc.out 2>/dev/null` in #(
   4524   '0:this is the am__doit target') :
   4525     case $s in #(
   4526   BSD) :
   4527     am__include='.include' am__quote='"' ;; #(
   4528   *) :
   4529     am__include='include' am__quote='' ;;
   4530 esac ;; #(
   4531   *) :
   4532      ;;
   4533 esac
   4534   if test "$am__include" != "#"; then
   4535     _am_result="yes ($s style)"
   4536     break
   4537   fi
   4538 done
   4539 rm -f confinc.* confmf.*
   4540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4541 printf "%s\n" "${_am_result}" >&6; }
   4542 
   4543 # Check whether --enable-dependency-tracking was given.
   4544 if test ${enable_dependency_tracking+y}
   4545 then :
   4546   enableval=$enable_dependency_tracking;
   4547 fi
   4548 
   4549 if test "x$enable_dependency_tracking" != xno; then
   4550   am_depcomp="$ac_aux_dir/depcomp"
   4551   AMDEPBACKSLASH='\'
   4552   am__nodep='_no'
   4553 fi
   4554  if test "x$enable_dependency_tracking" != xno; then
   4555   AMDEP_TRUE=
   4556   AMDEP_FALSE='#'
   4557 else
   4558   AMDEP_TRUE='#'
   4559   AMDEP_FALSE=
   4560 fi
   4561 
   4562 
   4563 # Check whether --enable-silent-rules was given.
   4564 if test ${enable_silent_rules+y}
   4565 then :
   4566   enableval=$enable_silent_rules;
   4567 fi
   4568 
   4569 case $enable_silent_rules in # (((
   4570   yes) AM_DEFAULT_VERBOSITY=0;;
   4571    no) AM_DEFAULT_VERBOSITY=1;;
   4572     *) AM_DEFAULT_VERBOSITY=1;;
   4573 esac
   4574 am_make=${MAKE-make}
   4575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4576 printf %s "checking whether $am_make supports nested variables... " >&6; }
   4577 if test ${am_cv_make_support_nested_variables+y}
   4578 then :
   4579   printf %s "(cached) " >&6
   4580 else $as_nop
   4581   if printf "%s\n" 'TRUE=$(BAR$(V))
   4582 BAR0=false
   4583 BAR1=true
   4584 V=1
   4585 am__doit:
   4586 	@$(TRUE)
   4587 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4588   am_cv_make_support_nested_variables=yes
   4589 else
   4590   am_cv_make_support_nested_variables=no
   4591 fi
   4592 fi
   4593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4594 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   4595 if test $am_cv_make_support_nested_variables = yes; then
   4596     AM_V='$(V)'
   4597   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4598 else
   4599   AM_V=$AM_DEFAULT_VERBOSITY
   4600   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4601 fi
   4602 AM_BACKSLASH='\'
   4603 
   4604 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4605   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4606   # is not polluted with repeated "-I."
   4607   am__isrc=' -I$(srcdir)'
   4608   # test to see if srcdir already configured
   4609   if test -f $srcdir/config.status; then
   4610     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4611   fi
   4612 fi
   4613 
   4614 # test whether we have cygpath
   4615 if test -z "$CYGPATH_W"; then
   4616   if (cygpath --version) >/dev/null 2>/dev/null; then
   4617     CYGPATH_W='cygpath -w'
   4618   else
   4619     CYGPATH_W=echo
   4620   fi
   4621 fi
   4622 
   4623 
   4624 # Define the identity of the package.
   4625  PACKAGE='xfs'
   4626  VERSION='1.2.1'
   4627 
   4628 
   4629 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   4630 
   4631 
   4632 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   4633 
   4634 # Some tools Automake needs.
   4635 
   4636 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4637 
   4638 
   4639 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4640 
   4641 
   4642 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4643 
   4644 
   4645 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4646 
   4647 
   4648 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4649 
   4650 # For better backward compatibility.  To be removed once Automake 1.9.x
   4651 # dies out for good.  For more background, see:
   4652 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4653 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4654 mkdir_p='$(MKDIR_P)'
   4655 
   4656 # We need awk for the "check" target (and possibly the TAP driver).  The
   4657 # system "awk" is bad on some platforms.
   4658 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4659 # in the wild :-(  We should find a proper way to deprecate it ...
   4660 AMTAR='$${TAR-tar}'
   4661 
   4662 
   4663 # We'll loop over all known methods to create a tar archive until one works.
   4664 _am_tools='gnutar  pax cpio none'
   4665 
   4666 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4667 
   4668 
   4669 
   4670 
   4671 
   4672 depcc="$CC"   am_compiler_list=
   4673 
   4674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4675 printf %s "checking dependency style of $depcc... " >&6; }
   4676 if test ${am_cv_CC_dependencies_compiler_type+y}
   4677 then :
   4678   printf %s "(cached) " >&6
   4679 else $as_nop
   4680   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4681   # We make a subdir and do the tests there.  Otherwise we can end up
   4682   # making bogus files that we don't know about and never remove.  For
   4683   # instance it was reported that on HP-UX the gcc test will end up
   4684   # making a dummy file named 'D' -- because '-MD' means "put the output
   4685   # in D".
   4686   rm -rf conftest.dir
   4687   mkdir conftest.dir
   4688   # Copy depcomp to subdir because otherwise we won't find it if we're
   4689   # using a relative directory.
   4690   cp "$am_depcomp" conftest.dir
   4691   cd conftest.dir
   4692   # We will build objects and dependencies in a subdirectory because
   4693   # it helps to detect inapplicable dependency modes.  For instance
   4694   # both Tru64's cc and ICC support -MD to output dependencies as a
   4695   # side effect of compilation, but ICC will put the dependencies in
   4696   # the current directory while Tru64 will put them in the object
   4697   # directory.
   4698   mkdir sub
   4699 
   4700   am_cv_CC_dependencies_compiler_type=none
   4701   if test "$am_compiler_list" = ""; then
   4702      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4703   fi
   4704   am__universal=false
   4705   case " $depcc " in #(
   4706      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4707      esac
   4708 
   4709   for depmode in $am_compiler_list; do
   4710     # Setup a source with many dependencies, because some compilers
   4711     # like to wrap large dependency lists on column 80 (with \), and
   4712     # we should not choose a depcomp mode which is confused by this.
   4713     #
   4714     # We need to recreate these files for each test, as the compiler may
   4715     # overwrite some of them when testing with obscure command lines.
   4716     # This happens at least with the AIX C compiler.
   4717     : > sub/conftest.c
   4718     for i in 1 2 3 4 5 6; do
   4719       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4720       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4721       # Solaris 10 /bin/sh.
   4722       echo '/* dummy */' > sub/conftst$i.h
   4723     done
   4724     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4725 
   4726     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4727     # mode.  It turns out that the SunPro C++ compiler does not properly
   4728     # handle '-M -o', and we need to detect this.  Also, some Intel
   4729     # versions had trouble with output in subdirs.
   4730     am__obj=sub/conftest.${OBJEXT-o}
   4731     am__minus_obj="-o $am__obj"
   4732     case $depmode in
   4733     gcc)
   4734       # This depmode causes a compiler race in universal mode.
   4735       test "$am__universal" = false || continue
   4736       ;;
   4737     nosideeffect)
   4738       # After this tag, mechanisms are not by side-effect, so they'll
   4739       # only be used when explicitly requested.
   4740       if test "x$enable_dependency_tracking" = xyes; then
   4741 	continue
   4742       else
   4743 	break
   4744       fi
   4745       ;;
   4746     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4747       # This compiler won't grok '-c -o', but also, the minuso test has
   4748       # not run yet.  These depmodes are late enough in the game, and
   4749       # so weak that their functioning should not be impacted.
   4750       am__obj=conftest.${OBJEXT-o}
   4751       am__minus_obj=
   4752       ;;
   4753     none) break ;;
   4754     esac
   4755     if depmode=$depmode \
   4756        source=sub/conftest.c object=$am__obj \
   4757        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4758        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4759          >/dev/null 2>conftest.err &&
   4760        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4761        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4762        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4763        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4764       # icc doesn't choke on unknown options, it will just issue warnings
   4765       # or remarks (even with -Werror).  So we grep stderr for any message
   4766       # that says an option was ignored or not supported.
   4767       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4768       #   icc: Command line warning: ignoring option '-M'; no argument required
   4769       # The diagnosis changed in icc 8.0:
   4770       #   icc: Command line remark: option '-MP' not supported
   4771       if (grep 'ignoring option' conftest.err ||
   4772           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4773         am_cv_CC_dependencies_compiler_type=$depmode
   4774         break
   4775       fi
   4776     fi
   4777   done
   4778 
   4779   cd ..
   4780   rm -rf conftest.dir
   4781 else
   4782   am_cv_CC_dependencies_compiler_type=none
   4783 fi
   4784 
   4785 fi
   4786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4787 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4788 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4789 
   4790  if
   4791   test "x$enable_dependency_tracking" != xno \
   4792   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4793   am__fastdepCC_TRUE=
   4794   am__fastdepCC_FALSE='#'
   4795 else
   4796   am__fastdepCC_TRUE='#'
   4797   am__fastdepCC_FALSE=
   4798 fi
   4799 
   4800 
   4801 # Variables for tags utilities; see am/tags.am
   4802 if test -z "$CTAGS"; then
   4803   CTAGS=ctags
   4804 fi
   4805 
   4806 if test -z "$ETAGS"; then
   4807   ETAGS=etags
   4808 fi
   4809 
   4810 if test -z "$CSCOPE"; then
   4811   CSCOPE=cscope
   4812 fi
   4813 
   4814 
   4815 
   4816 # POSIX will say in a future version that running "rm -f" with no argument
   4817 # is OK; and we want to be able to make that assumption in our Makefile
   4818 # recipes.  So use an aggressive probe to check that the usage we want is
   4819 # actually supported "in the wild" to an acceptable degree.
   4820 # See automake bug#10828.
   4821 # To make any issue more visible, cause the running configure to be aborted
   4822 # by default if the 'rm' program in use doesn't match our expectations; the
   4823 # user can still override this though.
   4824 if rm -f && rm -fr && rm -rf; then : OK; else
   4825   cat >&2 <<'END'
   4826 Oops!
   4827 
   4828 Your 'rm' program seems unable to run without file operands specified
   4829 on the command line, even when the '-f' option is present.  This is contrary
   4830 to the behaviour of most rm programs out there, and not conforming with
   4831 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4832 
   4833 Please tell bug-automake@gnu.org about your system, including the value
   4834 of your $PATH and any error possibly output before this message.  This
   4835 can help us improve future automake versions.
   4836 
   4837 END
   4838   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4839     echo 'Configuration will proceed anyway, since you have set the' >&2
   4840     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4841     echo >&2
   4842   else
   4843     cat >&2 <<'END'
   4844 Aborting the configuration process, to ensure you take notice of the issue.
   4845 
   4846 You can download and install GNU coreutils to get an 'rm' implementation
   4847 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   4848 
   4849 If you want to complete the configuration process using your problematic
   4850 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4851 to "yes", and re-run configure.
   4852 
   4853 END
   4854     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4855   fi
   4856 fi
   4857 
   4858 
   4859 # Require xorg-macros minimum of 1.10 for HAVE_STYLESHEETS in XORG_CHECK_SGML_DOCTOOLS
   4860 
   4861 
   4862 
   4863 
   4864 
   4865 
   4866 
   4867 
   4868 
   4869 
   4870 
   4871 
   4872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4873 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4874 if test ${ac_cv_c_undeclared_builtin_options+y}
   4875 then :
   4876   printf %s "(cached) " >&6
   4877 else $as_nop
   4878   ac_save_CFLAGS=$CFLAGS
   4879    ac_cv_c_undeclared_builtin_options='cannot detect'
   4880    for ac_arg in '' -fno-builtin; do
   4881      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4882      # This test program should *not* compile successfully.
   4883      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4884 /* end confdefs.h.  */
   4885 
   4886 int
   4887 main (void)
   4888 {
   4889 (void) strchr;
   4890   ;
   4891   return 0;
   4892 }
   4893 _ACEOF
   4894 if ac_fn_c_try_compile "$LINENO"
   4895 then :
   4896 
   4897 else $as_nop
   4898   # This test program should compile successfully.
   4899         # No library function is consistently available on
   4900         # freestanding implementations, so test against a dummy
   4901         # declaration.  Include always-available headers on the
   4902         # off chance that they somehow elicit warnings.
   4903         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4904 /* end confdefs.h.  */
   4905 #include <float.h>
   4906 #include <limits.h>
   4907 #include <stdarg.h>
   4908 #include <stddef.h>
   4909 extern void ac_decl (int, char *);
   4910 
   4911 int
   4912 main (void)
   4913 {
   4914 (void) ac_decl (0, (char *) 0);
   4915   (void) ac_decl;
   4916 
   4917   ;
   4918   return 0;
   4919 }
   4920 _ACEOF
   4921 if ac_fn_c_try_compile "$LINENO"
   4922 then :
   4923   if test x"$ac_arg" = x
   4924 then :
   4925   ac_cv_c_undeclared_builtin_options='none needed'
   4926 else $as_nop
   4927   ac_cv_c_undeclared_builtin_options=$ac_arg
   4928 fi
   4929           break
   4930 fi
   4931 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4932 fi
   4933 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4934     done
   4935     CFLAGS=$ac_save_CFLAGS
   4936 
   4937 fi
   4938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4939 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4940   case $ac_cv_c_undeclared_builtin_options in #(
   4941   'cannot detect') :
   4942     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4943 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4944 as_fn_error $? "cannot make $CC report undeclared builtins
   4945 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   4946   'none needed') :
   4947     ac_c_undeclared_builtin_options='' ;; #(
   4948   *) :
   4949     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4950 esac
   4951 
   4952 
   4953 
   4954 
   4955 
   4956 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4957 if test "x$ac_cv_have_decl___clang__" = xyes
   4958 then :
   4959   CLANGCC="yes"
   4960 else $as_nop
   4961   CLANGCC="no"
   4962 fi
   4963 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4964 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4965 then :
   4966   INTELCC="yes"
   4967 else $as_nop
   4968   INTELCC="no"
   4969 fi
   4970 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4971 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4972 then :
   4973   SUNCC="yes"
   4974 else $as_nop
   4975   SUNCC="no"
   4976 fi
   4977 
   4978 
   4979 
   4980 
   4981 
   4982 
   4983 
   4984 
   4985 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4986 	if test -n "$ac_tool_prefix"; then
   4987   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4988 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4990 printf %s "checking for $ac_word... " >&6; }
   4991 if test ${ac_cv_path_PKG_CONFIG+y}
   4992 then :
   4993   printf %s "(cached) " >&6
   4994 else $as_nop
   4995   case $PKG_CONFIG in
   4996   [\\/]* | ?:[\\/]*)
   4997   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4998   ;;
   4999   *)
   5000   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5001 for as_dir in $PATH
   5002 do
   5003   IFS=$as_save_IFS
   5004   case $as_dir in #(((
   5005     '') as_dir=./ ;;
   5006     */) ;;
   5007     *) as_dir=$as_dir/ ;;
   5008   esac
   5009     for ac_exec_ext in '' $ac_executable_extensions; do
   5010   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5011     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5012     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5013     break 2
   5014   fi
   5015 done
   5016   done
   5017 IFS=$as_save_IFS
   5018 
   5019   ;;
   5020 esac
   5021 fi
   5022 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   5023 if test -n "$PKG_CONFIG"; then
   5024   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   5025 printf "%s\n" "$PKG_CONFIG" >&6; }
   5026 else
   5027   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5028 printf "%s\n" "no" >&6; }
   5029 fi
   5030 
   5031 
   5032 fi
   5033 if test -z "$ac_cv_path_PKG_CONFIG"; then
   5034   ac_pt_PKG_CONFIG=$PKG_CONFIG
   5035   # Extract the first word of "pkg-config", so it can be a program name with args.
   5036 set dummy pkg-config; ac_word=$2
   5037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5038 printf %s "checking for $ac_word... " >&6; }
   5039 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   5040 then :
   5041   printf %s "(cached) " >&6
   5042 else $as_nop
   5043   case $ac_pt_PKG_CONFIG in
   5044   [\\/]* | ?:[\\/]*)
   5045   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   5046   ;;
   5047   *)
   5048   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5049 for as_dir in $PATH
   5050 do
   5051   IFS=$as_save_IFS
   5052   case $as_dir in #(((
   5053     '') as_dir=./ ;;
   5054     */) ;;
   5055     *) as_dir=$as_dir/ ;;
   5056   esac
   5057     for ac_exec_ext in '' $ac_executable_extensions; do
   5058   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5059     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5060     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5061     break 2
   5062   fi
   5063 done
   5064   done
   5065 IFS=$as_save_IFS
   5066 
   5067   ;;
   5068 esac
   5069 fi
   5070 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5071 if test -n "$ac_pt_PKG_CONFIG"; then
   5072   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   5073 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   5074 else
   5075   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5076 printf "%s\n" "no" >&6; }
   5077 fi
   5078 
   5079   if test "x$ac_pt_PKG_CONFIG" = x; then
   5080     PKG_CONFIG=""
   5081   else
   5082     case $cross_compiling:$ac_tool_warned in
   5083 yes:)
   5084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5085 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5086 ac_tool_warned=yes ;;
   5087 esac
   5088     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5089   fi
   5090 else
   5091   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5092 fi
   5093 
   5094 fi
   5095 if test -n "$PKG_CONFIG"; then
   5096 	_pkg_min_version=0.9.0
   5097 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5098 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5099 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5100 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5101 printf "%s\n" "yes" >&6; }
   5102 	else
   5103 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5104 printf "%s\n" "no" >&6; }
   5105 		PKG_CONFIG=""
   5106 	fi
   5107 fi
   5108 
   5109 
   5110   # Make sure we can run config.sub.
   5111 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   5112   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   5113 
   5114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5115 printf %s "checking build system type... " >&6; }
   5116 if test ${ac_cv_build+y}
   5117 then :
   5118   printf %s "(cached) " >&6
   5119 else $as_nop
   5120   ac_build_alias=$build_alias
   5121 test "x$ac_build_alias" = x &&
   5122   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   5123 test "x$ac_build_alias" = x &&
   5124   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5125 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   5126   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   5127 
   5128 fi
   5129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5130 printf "%s\n" "$ac_cv_build" >&6; }
   5131 case $ac_cv_build in
   5132 *-*-*) ;;
   5133 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5134 esac
   5135 build=$ac_cv_build
   5136 ac_save_IFS=$IFS; IFS='-'
   5137 set x $ac_cv_build
   5138 shift
   5139 build_cpu=$1
   5140 build_vendor=$2
   5141 shift; shift
   5142 # Remember, the first character of IFS is used to create $*,
   5143 # except with old shells:
   5144 build_os=$*
   5145 IFS=$ac_save_IFS
   5146 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   5147 
   5148 
   5149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5150 printf %s "checking host system type... " >&6; }
   5151 if test ${ac_cv_host+y}
   5152 then :
   5153   printf %s "(cached) " >&6
   5154 else $as_nop
   5155   if test "x$host_alias" = x; then
   5156   ac_cv_host=$ac_cv_build
   5157 else
   5158   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   5159     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   5160 fi
   5161 
   5162 fi
   5163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5164 printf "%s\n" "$ac_cv_host" >&6; }
   5165 case $ac_cv_host in
   5166 *-*-*) ;;
   5167 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5168 esac
   5169 host=$ac_cv_host
   5170 ac_save_IFS=$IFS; IFS='-'
   5171 set x $ac_cv_host
   5172 shift
   5173 host_cpu=$1
   5174 host_vendor=$2
   5175 shift; shift
   5176 # Remember, the first character of IFS is used to create $*,
   5177 # except with old shells:
   5178 host_os=$*
   5179 IFS=$ac_save_IFS
   5180 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5181 
   5182 
   5183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5184 printf %s "checking for a sed that does not truncate output... " >&6; }
   5185 if test ${ac_cv_path_SED+y}
   5186 then :
   5187   printf %s "(cached) " >&6
   5188 else $as_nop
   5189             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5190      for ac_i in 1 2 3 4 5 6 7; do
   5191        ac_script="$ac_script$as_nl$ac_script"
   5192      done
   5193      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5194      { ac_script=; unset ac_script;}
   5195      if test -z "$SED"; then
   5196   ac_path_SED_found=false
   5197   # Loop through the user's path and test for each of PROGNAME-LIST
   5198   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5199 for as_dir in $PATH
   5200 do
   5201   IFS=$as_save_IFS
   5202   case $as_dir in #(((
   5203     '') as_dir=./ ;;
   5204     */) ;;
   5205     *) as_dir=$as_dir/ ;;
   5206   esac
   5207     for ac_prog in sed gsed
   5208    do
   5209     for ac_exec_ext in '' $ac_executable_extensions; do
   5210       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5211       as_fn_executable_p "$ac_path_SED" || continue
   5212 # Check for GNU ac_path_SED and select it if it is found.
   5213   # Check for GNU $ac_path_SED
   5214 case `"$ac_path_SED" --version 2>&1` in
   5215 *GNU*)
   5216   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5217 *)
   5218   ac_count=0
   5219   printf %s 0123456789 >"conftest.in"
   5220   while :
   5221   do
   5222     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5223     mv "conftest.tmp" "conftest.in"
   5224     cp "conftest.in" "conftest.nl"
   5225     printf "%s\n" '' >> "conftest.nl"
   5226     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5227     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5228     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5229     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5230       # Best one so far, save it but keep looking for a better one
   5231       ac_cv_path_SED="$ac_path_SED"
   5232       ac_path_SED_max=$ac_count
   5233     fi
   5234     # 10*(2^10) chars as input seems more than enough
   5235     test $ac_count -gt 10 && break
   5236   done
   5237   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5238 esac
   5239 
   5240       $ac_path_SED_found && break 3
   5241     done
   5242   done
   5243   done
   5244 IFS=$as_save_IFS
   5245   if test -z "$ac_cv_path_SED"; then
   5246     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5247   fi
   5248 else
   5249   ac_cv_path_SED=$SED
   5250 fi
   5251 
   5252 fi
   5253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5254 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5255  SED="$ac_cv_path_SED"
   5256   rm -f conftest.sed
   5257 
   5258 
   5259 
   5260 
   5261 
   5262 
   5263 # Check whether --enable-selective-werror was given.
   5264 if test ${enable_selective_werror+y}
   5265 then :
   5266   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5267 else $as_nop
   5268   SELECTIVE_WERROR=yes
   5269 fi
   5270 
   5271 
   5272 
   5273 
   5274 
   5275 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5276 if test "x$SUNCC" = "xyes"; then
   5277     BASE_CFLAGS="-v"
   5278 else
   5279     BASE_CFLAGS=""
   5280 fi
   5281 
   5282 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5283 
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 
   5294 
   5295 
   5296 xorg_testset_save_CFLAGS="$CFLAGS"
   5297 
   5298 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5299 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5300 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5301 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5302 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5303 then :
   5304   printf %s "(cached) " >&6
   5305 else $as_nop
   5306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5307 /* end confdefs.h.  */
   5308 int i;
   5309 _ACEOF
   5310 if ac_fn_c_try_compile "$LINENO"
   5311 then :
   5312   xorg_cv_cc_flag_unknown_warning_option=yes
   5313 else $as_nop
   5314   xorg_cv_cc_flag_unknown_warning_option=no
   5315 fi
   5316 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5317 fi
   5318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5319 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5320 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5321 	CFLAGS="$xorg_testset_save_CFLAGS"
   5322 fi
   5323 
   5324 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5325 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5326 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5327 	fi
   5328 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5329 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5330 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5331 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5332 then :
   5333   printf %s "(cached) " >&6
   5334 else $as_nop
   5335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5336 /* end confdefs.h.  */
   5337 int i;
   5338 _ACEOF
   5339 if ac_fn_c_try_compile "$LINENO"
   5340 then :
   5341   xorg_cv_cc_flag_unused_command_line_argument=yes
   5342 else $as_nop
   5343   xorg_cv_cc_flag_unused_command_line_argument=no
   5344 fi
   5345 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5346 fi
   5347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5348 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5349 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5350 	CFLAGS="$xorg_testset_save_CFLAGS"
   5351 fi
   5352 
   5353 found="no"
   5354 
   5355 	if test $found = "no" ; then
   5356 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5357 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5358 		fi
   5359 
   5360 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5361 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5362 		fi
   5363 
   5364 		CFLAGS="$CFLAGS -Wall"
   5365 
   5366 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5367 printf %s "checking if $CC supports -Wall... " >&6; }
   5368 		cacheid=xorg_cv_cc_flag__Wall
   5369 		if eval test \${$cacheid+y}
   5370 then :
   5371   printf %s "(cached) " >&6
   5372 else $as_nop
   5373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5374 /* end confdefs.h.  */
   5375 int i;
   5376 int
   5377 main (void)
   5378 {
   5379 
   5380   ;
   5381   return 0;
   5382 }
   5383 _ACEOF
   5384 if ac_fn_c_try_link "$LINENO"
   5385 then :
   5386   eval $cacheid=yes
   5387 else $as_nop
   5388   eval $cacheid=no
   5389 fi
   5390 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5391     conftest$ac_exeext conftest.$ac_ext
   5392 fi
   5393 
   5394 
   5395 		CFLAGS="$xorg_testset_save_CFLAGS"
   5396 
   5397 		eval supported=\$$cacheid
   5398 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5399 printf "%s\n" "$supported" >&6; }
   5400 		if test "$supported" = "yes" ; then
   5401 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5402 			found="yes"
   5403 		fi
   5404 	fi
   5405 
   5406 
   5407 
   5408 
   5409 
   5410 
   5411 
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 
   5420 xorg_testset_save_CFLAGS="$CFLAGS"
   5421 
   5422 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5423 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5424 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5425 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5426 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5427 then :
   5428   printf %s "(cached) " >&6
   5429 else $as_nop
   5430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5431 /* end confdefs.h.  */
   5432 int i;
   5433 _ACEOF
   5434 if ac_fn_c_try_compile "$LINENO"
   5435 then :
   5436   xorg_cv_cc_flag_unknown_warning_option=yes
   5437 else $as_nop
   5438   xorg_cv_cc_flag_unknown_warning_option=no
   5439 fi
   5440 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5441 fi
   5442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5443 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5444 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5445 	CFLAGS="$xorg_testset_save_CFLAGS"
   5446 fi
   5447 
   5448 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5449 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5450 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5451 	fi
   5452 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5453 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5454 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5455 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5456 then :
   5457   printf %s "(cached) " >&6
   5458 else $as_nop
   5459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5460 /* end confdefs.h.  */
   5461 int i;
   5462 _ACEOF
   5463 if ac_fn_c_try_compile "$LINENO"
   5464 then :
   5465   xorg_cv_cc_flag_unused_command_line_argument=yes
   5466 else $as_nop
   5467   xorg_cv_cc_flag_unused_command_line_argument=no
   5468 fi
   5469 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5470 fi
   5471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5472 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5473 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5474 	CFLAGS="$xorg_testset_save_CFLAGS"
   5475 fi
   5476 
   5477 found="no"
   5478 
   5479 	if test $found = "no" ; then
   5480 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5481 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5482 		fi
   5483 
   5484 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5485 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5486 		fi
   5487 
   5488 		CFLAGS="$CFLAGS -Wpointer-arith"
   5489 
   5490 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5491 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5492 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5493 		if eval test \${$cacheid+y}
   5494 then :
   5495   printf %s "(cached) " >&6
   5496 else $as_nop
   5497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5498 /* end confdefs.h.  */
   5499 int i;
   5500 int
   5501 main (void)
   5502 {
   5503 
   5504   ;
   5505   return 0;
   5506 }
   5507 _ACEOF
   5508 if ac_fn_c_try_link "$LINENO"
   5509 then :
   5510   eval $cacheid=yes
   5511 else $as_nop
   5512   eval $cacheid=no
   5513 fi
   5514 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5515     conftest$ac_exeext conftest.$ac_ext
   5516 fi
   5517 
   5518 
   5519 		CFLAGS="$xorg_testset_save_CFLAGS"
   5520 
   5521 		eval supported=\$$cacheid
   5522 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5523 printf "%s\n" "$supported" >&6; }
   5524 		if test "$supported" = "yes" ; then
   5525 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5526 			found="yes"
   5527 		fi
   5528 	fi
   5529 
   5530 
   5531 
   5532 
   5533 
   5534 
   5535 
   5536 
   5537 
   5538 
   5539 
   5540 
   5541 
   5542 
   5543 
   5544 xorg_testset_save_CFLAGS="$CFLAGS"
   5545 
   5546 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5547 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5548 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5549 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5550 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5551 then :
   5552   printf %s "(cached) " >&6
   5553 else $as_nop
   5554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5555 /* end confdefs.h.  */
   5556 int i;
   5557 _ACEOF
   5558 if ac_fn_c_try_compile "$LINENO"
   5559 then :
   5560   xorg_cv_cc_flag_unknown_warning_option=yes
   5561 else $as_nop
   5562   xorg_cv_cc_flag_unknown_warning_option=no
   5563 fi
   5564 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5565 fi
   5566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5567 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5568 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5569 	CFLAGS="$xorg_testset_save_CFLAGS"
   5570 fi
   5571 
   5572 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5573 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5574 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5575 	fi
   5576 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5577 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5578 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5579 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5580 then :
   5581   printf %s "(cached) " >&6
   5582 else $as_nop
   5583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5584 /* end confdefs.h.  */
   5585 int i;
   5586 _ACEOF
   5587 if ac_fn_c_try_compile "$LINENO"
   5588 then :
   5589   xorg_cv_cc_flag_unused_command_line_argument=yes
   5590 else $as_nop
   5591   xorg_cv_cc_flag_unused_command_line_argument=no
   5592 fi
   5593 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5594 fi
   5595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5596 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5597 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5598 	CFLAGS="$xorg_testset_save_CFLAGS"
   5599 fi
   5600 
   5601 found="no"
   5602 
   5603 	if test $found = "no" ; then
   5604 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5605 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5606 		fi
   5607 
   5608 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5609 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5610 		fi
   5611 
   5612 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5613 
   5614 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5615 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5616 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5617 		if eval test \${$cacheid+y}
   5618 then :
   5619   printf %s "(cached) " >&6
   5620 else $as_nop
   5621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5622 /* end confdefs.h.  */
   5623 int i;
   5624 int
   5625 main (void)
   5626 {
   5627 
   5628   ;
   5629   return 0;
   5630 }
   5631 _ACEOF
   5632 if ac_fn_c_try_link "$LINENO"
   5633 then :
   5634   eval $cacheid=yes
   5635 else $as_nop
   5636   eval $cacheid=no
   5637 fi
   5638 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5639     conftest$ac_exeext conftest.$ac_ext
   5640 fi
   5641 
   5642 
   5643 		CFLAGS="$xorg_testset_save_CFLAGS"
   5644 
   5645 		eval supported=\$$cacheid
   5646 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5647 printf "%s\n" "$supported" >&6; }
   5648 		if test "$supported" = "yes" ; then
   5649 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5650 			found="yes"
   5651 		fi
   5652 	fi
   5653 
   5654 
   5655 
   5656 
   5657 
   5658 
   5659 
   5660 
   5661 
   5662 
   5663 
   5664 
   5665 
   5666 
   5667 
   5668 xorg_testset_save_CFLAGS="$CFLAGS"
   5669 
   5670 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5671 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5672 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5673 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5674 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5675 then :
   5676   printf %s "(cached) " >&6
   5677 else $as_nop
   5678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5679 /* end confdefs.h.  */
   5680 int i;
   5681 _ACEOF
   5682 if ac_fn_c_try_compile "$LINENO"
   5683 then :
   5684   xorg_cv_cc_flag_unknown_warning_option=yes
   5685 else $as_nop
   5686   xorg_cv_cc_flag_unknown_warning_option=no
   5687 fi
   5688 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5689 fi
   5690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5691 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5692 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5693 	CFLAGS="$xorg_testset_save_CFLAGS"
   5694 fi
   5695 
   5696 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5697 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5698 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5699 	fi
   5700 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5701 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5702 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5703 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5704 then :
   5705   printf %s "(cached) " >&6
   5706 else $as_nop
   5707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5708 /* end confdefs.h.  */
   5709 int i;
   5710 _ACEOF
   5711 if ac_fn_c_try_compile "$LINENO"
   5712 then :
   5713   xorg_cv_cc_flag_unused_command_line_argument=yes
   5714 else $as_nop
   5715   xorg_cv_cc_flag_unused_command_line_argument=no
   5716 fi
   5717 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5718 fi
   5719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5720 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5721 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5722 	CFLAGS="$xorg_testset_save_CFLAGS"
   5723 fi
   5724 
   5725 found="no"
   5726 
   5727 	if test $found = "no" ; then
   5728 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5729 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5730 		fi
   5731 
   5732 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5733 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5734 		fi
   5735 
   5736 		CFLAGS="$CFLAGS -Wformat=2"
   5737 
   5738 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5739 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5740 		cacheid=xorg_cv_cc_flag__Wformat_2
   5741 		if eval test \${$cacheid+y}
   5742 then :
   5743   printf %s "(cached) " >&6
   5744 else $as_nop
   5745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5746 /* end confdefs.h.  */
   5747 int i;
   5748 int
   5749 main (void)
   5750 {
   5751 
   5752   ;
   5753   return 0;
   5754 }
   5755 _ACEOF
   5756 if ac_fn_c_try_link "$LINENO"
   5757 then :
   5758   eval $cacheid=yes
   5759 else $as_nop
   5760   eval $cacheid=no
   5761 fi
   5762 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5763     conftest$ac_exeext conftest.$ac_ext
   5764 fi
   5765 
   5766 
   5767 		CFLAGS="$xorg_testset_save_CFLAGS"
   5768 
   5769 		eval supported=\$$cacheid
   5770 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5771 printf "%s\n" "$supported" >&6; }
   5772 		if test "$supported" = "yes" ; then
   5773 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5774 			found="yes"
   5775 		fi
   5776 	fi
   5777 
   5778 	if test $found = "no" ; then
   5779 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5780 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5781 		fi
   5782 
   5783 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5784 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5785 		fi
   5786 
   5787 		CFLAGS="$CFLAGS -Wformat"
   5788 
   5789 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5790 printf %s "checking if $CC supports -Wformat... " >&6; }
   5791 		cacheid=xorg_cv_cc_flag__Wformat
   5792 		if eval test \${$cacheid+y}
   5793 then :
   5794   printf %s "(cached) " >&6
   5795 else $as_nop
   5796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5797 /* end confdefs.h.  */
   5798 int i;
   5799 int
   5800 main (void)
   5801 {
   5802 
   5803   ;
   5804   return 0;
   5805 }
   5806 _ACEOF
   5807 if ac_fn_c_try_link "$LINENO"
   5808 then :
   5809   eval $cacheid=yes
   5810 else $as_nop
   5811   eval $cacheid=no
   5812 fi
   5813 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5814     conftest$ac_exeext conftest.$ac_ext
   5815 fi
   5816 
   5817 
   5818 		CFLAGS="$xorg_testset_save_CFLAGS"
   5819 
   5820 		eval supported=\$$cacheid
   5821 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5822 printf "%s\n" "$supported" >&6; }
   5823 		if test "$supported" = "yes" ; then
   5824 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5825 			found="yes"
   5826 		fi
   5827 	fi
   5828 
   5829 
   5830 
   5831 
   5832 
   5833 
   5834 
   5835 
   5836 
   5837 
   5838 
   5839 
   5840 
   5841 
   5842 
   5843 
   5844 
   5845 xorg_testset_save_CFLAGS="$CFLAGS"
   5846 
   5847 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5848 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5849 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5850 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5851 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5852 then :
   5853   printf %s "(cached) " >&6
   5854 else $as_nop
   5855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5856 /* end confdefs.h.  */
   5857 int i;
   5858 _ACEOF
   5859 if ac_fn_c_try_compile "$LINENO"
   5860 then :
   5861   xorg_cv_cc_flag_unknown_warning_option=yes
   5862 else $as_nop
   5863   xorg_cv_cc_flag_unknown_warning_option=no
   5864 fi
   5865 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5866 fi
   5867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5868 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5869 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5870 	CFLAGS="$xorg_testset_save_CFLAGS"
   5871 fi
   5872 
   5873 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5874 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5875 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5876 	fi
   5877 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5878 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5879 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5880 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5881 then :
   5882   printf %s "(cached) " >&6
   5883 else $as_nop
   5884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5885 /* end confdefs.h.  */
   5886 int i;
   5887 _ACEOF
   5888 if ac_fn_c_try_compile "$LINENO"
   5889 then :
   5890   xorg_cv_cc_flag_unused_command_line_argument=yes
   5891 else $as_nop
   5892   xorg_cv_cc_flag_unused_command_line_argument=no
   5893 fi
   5894 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5895 fi
   5896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5897 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5898 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5899 	CFLAGS="$xorg_testset_save_CFLAGS"
   5900 fi
   5901 
   5902 found="no"
   5903 
   5904 	if test $found = "no" ; then
   5905 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5906 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5907 		fi
   5908 
   5909 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5910 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5911 		fi
   5912 
   5913 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5914 
   5915 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5916 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5917 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5918 		if eval test \${$cacheid+y}
   5919 then :
   5920   printf %s "(cached) " >&6
   5921 else $as_nop
   5922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5923 /* end confdefs.h.  */
   5924 int i;
   5925 int
   5926 main (void)
   5927 {
   5928 
   5929   ;
   5930   return 0;
   5931 }
   5932 _ACEOF
   5933 if ac_fn_c_try_link "$LINENO"
   5934 then :
   5935   eval $cacheid=yes
   5936 else $as_nop
   5937   eval $cacheid=no
   5938 fi
   5939 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5940     conftest$ac_exeext conftest.$ac_ext
   5941 fi
   5942 
   5943 
   5944 		CFLAGS="$xorg_testset_save_CFLAGS"
   5945 
   5946 		eval supported=\$$cacheid
   5947 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5948 printf "%s\n" "$supported" >&6; }
   5949 		if test "$supported" = "yes" ; then
   5950 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5951 			found="yes"
   5952 		fi
   5953 	fi
   5954 
   5955 
   5956 
   5957 
   5958 
   5959 
   5960 
   5961 
   5962 
   5963 
   5964 
   5965 
   5966 
   5967 
   5968 
   5969 xorg_testset_save_CFLAGS="$CFLAGS"
   5970 
   5971 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5972 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5973 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5974 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5975 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5976 then :
   5977   printf %s "(cached) " >&6
   5978 else $as_nop
   5979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5980 /* end confdefs.h.  */
   5981 int i;
   5982 _ACEOF
   5983 if ac_fn_c_try_compile "$LINENO"
   5984 then :
   5985   xorg_cv_cc_flag_unknown_warning_option=yes
   5986 else $as_nop
   5987   xorg_cv_cc_flag_unknown_warning_option=no
   5988 fi
   5989 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5990 fi
   5991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5992 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5993 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5994 	CFLAGS="$xorg_testset_save_CFLAGS"
   5995 fi
   5996 
   5997 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5998 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5999 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6000 	fi
   6001 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6002 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6003 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6004 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6005 then :
   6006   printf %s "(cached) " >&6
   6007 else $as_nop
   6008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6009 /* end confdefs.h.  */
   6010 int i;
   6011 _ACEOF
   6012 if ac_fn_c_try_compile "$LINENO"
   6013 then :
   6014   xorg_cv_cc_flag_unused_command_line_argument=yes
   6015 else $as_nop
   6016   xorg_cv_cc_flag_unused_command_line_argument=no
   6017 fi
   6018 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6019 fi
   6020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6021 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6022 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6023 	CFLAGS="$xorg_testset_save_CFLAGS"
   6024 fi
   6025 
   6026 found="no"
   6027 
   6028 	if test $found = "no" ; then
   6029 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6030 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6031 		fi
   6032 
   6033 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6034 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6035 		fi
   6036 
   6037 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   6038 
   6039 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   6040 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   6041 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   6042 		if eval test \${$cacheid+y}
   6043 then :
   6044   printf %s "(cached) " >&6
   6045 else $as_nop
   6046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6047 /* end confdefs.h.  */
   6048 int i;
   6049 int
   6050 main (void)
   6051 {
   6052 
   6053   ;
   6054   return 0;
   6055 }
   6056 _ACEOF
   6057 if ac_fn_c_try_link "$LINENO"
   6058 then :
   6059   eval $cacheid=yes
   6060 else $as_nop
   6061   eval $cacheid=no
   6062 fi
   6063 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6064     conftest$ac_exeext conftest.$ac_ext
   6065 fi
   6066 
   6067 
   6068 		CFLAGS="$xorg_testset_save_CFLAGS"
   6069 
   6070 		eval supported=\$$cacheid
   6071 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6072 printf "%s\n" "$supported" >&6; }
   6073 		if test "$supported" = "yes" ; then
   6074 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   6075 			found="yes"
   6076 		fi
   6077 	fi
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 
   6084 
   6085 
   6086 
   6087 
   6088 
   6089 
   6090 
   6091 
   6092 
   6093 xorg_testset_save_CFLAGS="$CFLAGS"
   6094 
   6095 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6096 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6097 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6098 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6099 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6100 then :
   6101   printf %s "(cached) " >&6
   6102 else $as_nop
   6103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6104 /* end confdefs.h.  */
   6105 int i;
   6106 _ACEOF
   6107 if ac_fn_c_try_compile "$LINENO"
   6108 then :
   6109   xorg_cv_cc_flag_unknown_warning_option=yes
   6110 else $as_nop
   6111   xorg_cv_cc_flag_unknown_warning_option=no
   6112 fi
   6113 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6114 fi
   6115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6116 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6117 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6118 	CFLAGS="$xorg_testset_save_CFLAGS"
   6119 fi
   6120 
   6121 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6122 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6123 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6124 	fi
   6125 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6126 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6127 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6128 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6129 then :
   6130   printf %s "(cached) " >&6
   6131 else $as_nop
   6132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6133 /* end confdefs.h.  */
   6134 int i;
   6135 _ACEOF
   6136 if ac_fn_c_try_compile "$LINENO"
   6137 then :
   6138   xorg_cv_cc_flag_unused_command_line_argument=yes
   6139 else $as_nop
   6140   xorg_cv_cc_flag_unused_command_line_argument=no
   6141 fi
   6142 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6143 fi
   6144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6145 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6146 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6147 	CFLAGS="$xorg_testset_save_CFLAGS"
   6148 fi
   6149 
   6150 found="no"
   6151 
   6152 	if test $found = "no" ; then
   6153 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6154 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6155 		fi
   6156 
   6157 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6158 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6159 		fi
   6160 
   6161 		CFLAGS="$CFLAGS -Wnested-externs"
   6162 
   6163 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   6164 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   6165 		cacheid=xorg_cv_cc_flag__Wnested_externs
   6166 		if eval test \${$cacheid+y}
   6167 then :
   6168   printf %s "(cached) " >&6
   6169 else $as_nop
   6170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6171 /* end confdefs.h.  */
   6172 int i;
   6173 int
   6174 main (void)
   6175 {
   6176 
   6177   ;
   6178   return 0;
   6179 }
   6180 _ACEOF
   6181 if ac_fn_c_try_link "$LINENO"
   6182 then :
   6183   eval $cacheid=yes
   6184 else $as_nop
   6185   eval $cacheid=no
   6186 fi
   6187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6188     conftest$ac_exeext conftest.$ac_ext
   6189 fi
   6190 
   6191 
   6192 		CFLAGS="$xorg_testset_save_CFLAGS"
   6193 
   6194 		eval supported=\$$cacheid
   6195 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6196 printf "%s\n" "$supported" >&6; }
   6197 		if test "$supported" = "yes" ; then
   6198 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6199 			found="yes"
   6200 		fi
   6201 	fi
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 
   6214 
   6215 
   6216 
   6217 xorg_testset_save_CFLAGS="$CFLAGS"
   6218 
   6219 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6220 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6221 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6222 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6223 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6224 then :
   6225   printf %s "(cached) " >&6
   6226 else $as_nop
   6227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6228 /* end confdefs.h.  */
   6229 int i;
   6230 _ACEOF
   6231 if ac_fn_c_try_compile "$LINENO"
   6232 then :
   6233   xorg_cv_cc_flag_unknown_warning_option=yes
   6234 else $as_nop
   6235   xorg_cv_cc_flag_unknown_warning_option=no
   6236 fi
   6237 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6238 fi
   6239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6240 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6241 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6242 	CFLAGS="$xorg_testset_save_CFLAGS"
   6243 fi
   6244 
   6245 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6246 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6247 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6248 	fi
   6249 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6250 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6251 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6252 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6253 then :
   6254   printf %s "(cached) " >&6
   6255 else $as_nop
   6256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6257 /* end confdefs.h.  */
   6258 int i;
   6259 _ACEOF
   6260 if ac_fn_c_try_compile "$LINENO"
   6261 then :
   6262   xorg_cv_cc_flag_unused_command_line_argument=yes
   6263 else $as_nop
   6264   xorg_cv_cc_flag_unused_command_line_argument=no
   6265 fi
   6266 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6267 fi
   6268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6269 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6270 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6271 	CFLAGS="$xorg_testset_save_CFLAGS"
   6272 fi
   6273 
   6274 found="no"
   6275 
   6276 	if test $found = "no" ; then
   6277 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6278 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6279 		fi
   6280 
   6281 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6282 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6283 		fi
   6284 
   6285 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6286 
   6287 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6288 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6289 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6290 		if eval test \${$cacheid+y}
   6291 then :
   6292   printf %s "(cached) " >&6
   6293 else $as_nop
   6294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6295 /* end confdefs.h.  */
   6296 int i;
   6297 int
   6298 main (void)
   6299 {
   6300 
   6301   ;
   6302   return 0;
   6303 }
   6304 _ACEOF
   6305 if ac_fn_c_try_link "$LINENO"
   6306 then :
   6307   eval $cacheid=yes
   6308 else $as_nop
   6309   eval $cacheid=no
   6310 fi
   6311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6312     conftest$ac_exeext conftest.$ac_ext
   6313 fi
   6314 
   6315 
   6316 		CFLAGS="$xorg_testset_save_CFLAGS"
   6317 
   6318 		eval supported=\$$cacheid
   6319 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6320 printf "%s\n" "$supported" >&6; }
   6321 		if test "$supported" = "yes" ; then
   6322 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6323 			found="yes"
   6324 		fi
   6325 	fi
   6326 
   6327 
   6328 
   6329 
   6330 
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 xorg_testset_save_CFLAGS="$CFLAGS"
   6342 
   6343 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6344 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6345 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6346 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6347 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6348 then :
   6349   printf %s "(cached) " >&6
   6350 else $as_nop
   6351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6352 /* end confdefs.h.  */
   6353 int i;
   6354 _ACEOF
   6355 if ac_fn_c_try_compile "$LINENO"
   6356 then :
   6357   xorg_cv_cc_flag_unknown_warning_option=yes
   6358 else $as_nop
   6359   xorg_cv_cc_flag_unknown_warning_option=no
   6360 fi
   6361 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6362 fi
   6363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6364 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6365 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6366 	CFLAGS="$xorg_testset_save_CFLAGS"
   6367 fi
   6368 
   6369 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6370 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6371 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6372 	fi
   6373 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6374 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6375 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6376 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6377 then :
   6378   printf %s "(cached) " >&6
   6379 else $as_nop
   6380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6381 /* end confdefs.h.  */
   6382 int i;
   6383 _ACEOF
   6384 if ac_fn_c_try_compile "$LINENO"
   6385 then :
   6386   xorg_cv_cc_flag_unused_command_line_argument=yes
   6387 else $as_nop
   6388   xorg_cv_cc_flag_unused_command_line_argument=no
   6389 fi
   6390 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6391 fi
   6392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6393 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6394 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6395 	CFLAGS="$xorg_testset_save_CFLAGS"
   6396 fi
   6397 
   6398 found="no"
   6399 
   6400 	if test $found = "no" ; then
   6401 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6402 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6403 		fi
   6404 
   6405 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6406 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6407 		fi
   6408 
   6409 		CFLAGS="$CFLAGS -Wold-style-definition"
   6410 
   6411 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6412 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6413 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6414 		if eval test \${$cacheid+y}
   6415 then :
   6416   printf %s "(cached) " >&6
   6417 else $as_nop
   6418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6419 /* end confdefs.h.  */
   6420 int i;
   6421 int
   6422 main (void)
   6423 {
   6424 
   6425   ;
   6426   return 0;
   6427 }
   6428 _ACEOF
   6429 if ac_fn_c_try_link "$LINENO"
   6430 then :
   6431   eval $cacheid=yes
   6432 else $as_nop
   6433   eval $cacheid=no
   6434 fi
   6435 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6436     conftest$ac_exeext conftest.$ac_ext
   6437 fi
   6438 
   6439 
   6440 		CFLAGS="$xorg_testset_save_CFLAGS"
   6441 
   6442 		eval supported=\$$cacheid
   6443 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6444 printf "%s\n" "$supported" >&6; }
   6445 		if test "$supported" = "yes" ; then
   6446 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6447 			found="yes"
   6448 		fi
   6449 	fi
   6450 
   6451 	if test $found = "no" ; then
   6452 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6453 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6454 		fi
   6455 
   6456 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6457 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6458 		fi
   6459 
   6460 		CFLAGS="$CFLAGS -fd"
   6461 
   6462 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6463 printf %s "checking if $CC supports -fd... " >&6; }
   6464 		cacheid=xorg_cv_cc_flag__fd
   6465 		if eval test \${$cacheid+y}
   6466 then :
   6467   printf %s "(cached) " >&6
   6468 else $as_nop
   6469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6470 /* end confdefs.h.  */
   6471 int i;
   6472 int
   6473 main (void)
   6474 {
   6475 
   6476   ;
   6477   return 0;
   6478 }
   6479 _ACEOF
   6480 if ac_fn_c_try_link "$LINENO"
   6481 then :
   6482   eval $cacheid=yes
   6483 else $as_nop
   6484   eval $cacheid=no
   6485 fi
   6486 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6487     conftest$ac_exeext conftest.$ac_ext
   6488 fi
   6489 
   6490 
   6491 		CFLAGS="$xorg_testset_save_CFLAGS"
   6492 
   6493 		eval supported=\$$cacheid
   6494 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6495 printf "%s\n" "$supported" >&6; }
   6496 		if test "$supported" = "yes" ; then
   6497 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6498 			found="yes"
   6499 		fi
   6500 	fi
   6501 
   6502 
   6503 
   6504 
   6505 
   6506 
   6507 
   6508 
   6509 
   6510 
   6511 
   6512 
   6513 
   6514 
   6515 
   6516 xorg_testset_save_CFLAGS="$CFLAGS"
   6517 
   6518 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6519 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6520 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6521 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6522 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6523 then :
   6524   printf %s "(cached) " >&6
   6525 else $as_nop
   6526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6527 /* end confdefs.h.  */
   6528 int i;
   6529 _ACEOF
   6530 if ac_fn_c_try_compile "$LINENO"
   6531 then :
   6532   xorg_cv_cc_flag_unknown_warning_option=yes
   6533 else $as_nop
   6534   xorg_cv_cc_flag_unknown_warning_option=no
   6535 fi
   6536 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6537 fi
   6538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6539 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6540 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6541 	CFLAGS="$xorg_testset_save_CFLAGS"
   6542 fi
   6543 
   6544 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6545 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6546 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6547 	fi
   6548 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6549 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6550 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6551 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6552 then :
   6553   printf %s "(cached) " >&6
   6554 else $as_nop
   6555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6556 /* end confdefs.h.  */
   6557 int i;
   6558 _ACEOF
   6559 if ac_fn_c_try_compile "$LINENO"
   6560 then :
   6561   xorg_cv_cc_flag_unused_command_line_argument=yes
   6562 else $as_nop
   6563   xorg_cv_cc_flag_unused_command_line_argument=no
   6564 fi
   6565 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6566 fi
   6567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6568 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6569 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6570 	CFLAGS="$xorg_testset_save_CFLAGS"
   6571 fi
   6572 
   6573 found="no"
   6574 
   6575 	if test $found = "no" ; then
   6576 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6577 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6578 		fi
   6579 
   6580 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6581 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6582 		fi
   6583 
   6584 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6585 
   6586 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6587 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6588 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6589 		if eval test \${$cacheid+y}
   6590 then :
   6591   printf %s "(cached) " >&6
   6592 else $as_nop
   6593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6594 /* end confdefs.h.  */
   6595 int i;
   6596 int
   6597 main (void)
   6598 {
   6599 
   6600   ;
   6601   return 0;
   6602 }
   6603 _ACEOF
   6604 if ac_fn_c_try_link "$LINENO"
   6605 then :
   6606   eval $cacheid=yes
   6607 else $as_nop
   6608   eval $cacheid=no
   6609 fi
   6610 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6611     conftest$ac_exeext conftest.$ac_ext
   6612 fi
   6613 
   6614 
   6615 		CFLAGS="$xorg_testset_save_CFLAGS"
   6616 
   6617 		eval supported=\$$cacheid
   6618 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6619 printf "%s\n" "$supported" >&6; }
   6620 		if test "$supported" = "yes" ; then
   6621 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6622 			found="yes"
   6623 		fi
   6624 	fi
   6625 
   6626 
   6627 
   6628 
   6629 
   6630 # This chunk adds additional warnings that could catch undesired effects.
   6631 
   6632 
   6633 
   6634 
   6635 
   6636 
   6637 
   6638 
   6639 
   6640 
   6641 
   6642 
   6643 
   6644 xorg_testset_save_CFLAGS="$CFLAGS"
   6645 
   6646 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6647 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6648 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6649 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6650 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6651 then :
   6652   printf %s "(cached) " >&6
   6653 else $as_nop
   6654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6655 /* end confdefs.h.  */
   6656 int i;
   6657 _ACEOF
   6658 if ac_fn_c_try_compile "$LINENO"
   6659 then :
   6660   xorg_cv_cc_flag_unknown_warning_option=yes
   6661 else $as_nop
   6662   xorg_cv_cc_flag_unknown_warning_option=no
   6663 fi
   6664 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6665 fi
   6666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6667 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6668 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6669 	CFLAGS="$xorg_testset_save_CFLAGS"
   6670 fi
   6671 
   6672 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6673 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6674 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6675 	fi
   6676 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6677 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6678 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6679 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6680 then :
   6681   printf %s "(cached) " >&6
   6682 else $as_nop
   6683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6684 /* end confdefs.h.  */
   6685 int i;
   6686 _ACEOF
   6687 if ac_fn_c_try_compile "$LINENO"
   6688 then :
   6689   xorg_cv_cc_flag_unused_command_line_argument=yes
   6690 else $as_nop
   6691   xorg_cv_cc_flag_unused_command_line_argument=no
   6692 fi
   6693 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6694 fi
   6695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6696 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6697 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6698 	CFLAGS="$xorg_testset_save_CFLAGS"
   6699 fi
   6700 
   6701 found="no"
   6702 
   6703 	if test $found = "no" ; then
   6704 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6705 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6706 		fi
   6707 
   6708 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6709 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6710 		fi
   6711 
   6712 		CFLAGS="$CFLAGS -Wunused"
   6713 
   6714 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6715 printf %s "checking if $CC supports -Wunused... " >&6; }
   6716 		cacheid=xorg_cv_cc_flag__Wunused
   6717 		if eval test \${$cacheid+y}
   6718 then :
   6719   printf %s "(cached) " >&6
   6720 else $as_nop
   6721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6722 /* end confdefs.h.  */
   6723 int i;
   6724 int
   6725 main (void)
   6726 {
   6727 
   6728   ;
   6729   return 0;
   6730 }
   6731 _ACEOF
   6732 if ac_fn_c_try_link "$LINENO"
   6733 then :
   6734   eval $cacheid=yes
   6735 else $as_nop
   6736   eval $cacheid=no
   6737 fi
   6738 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6739     conftest$ac_exeext conftest.$ac_ext
   6740 fi
   6741 
   6742 
   6743 		CFLAGS="$xorg_testset_save_CFLAGS"
   6744 
   6745 		eval supported=\$$cacheid
   6746 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6747 printf "%s\n" "$supported" >&6; }
   6748 		if test "$supported" = "yes" ; then
   6749 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6750 			found="yes"
   6751 		fi
   6752 	fi
   6753 
   6754 
   6755 
   6756 
   6757 
   6758 
   6759 
   6760 
   6761 
   6762 
   6763 
   6764 
   6765 
   6766 
   6767 
   6768 xorg_testset_save_CFLAGS="$CFLAGS"
   6769 
   6770 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6771 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6772 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6773 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6774 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6775 then :
   6776   printf %s "(cached) " >&6
   6777 else $as_nop
   6778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6779 /* end confdefs.h.  */
   6780 int i;
   6781 _ACEOF
   6782 if ac_fn_c_try_compile "$LINENO"
   6783 then :
   6784   xorg_cv_cc_flag_unknown_warning_option=yes
   6785 else $as_nop
   6786   xorg_cv_cc_flag_unknown_warning_option=no
   6787 fi
   6788 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6789 fi
   6790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6791 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6792 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6793 	CFLAGS="$xorg_testset_save_CFLAGS"
   6794 fi
   6795 
   6796 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6797 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6798 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6799 	fi
   6800 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6801 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6802 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6803 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6804 then :
   6805   printf %s "(cached) " >&6
   6806 else $as_nop
   6807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6808 /* end confdefs.h.  */
   6809 int i;
   6810 _ACEOF
   6811 if ac_fn_c_try_compile "$LINENO"
   6812 then :
   6813   xorg_cv_cc_flag_unused_command_line_argument=yes
   6814 else $as_nop
   6815   xorg_cv_cc_flag_unused_command_line_argument=no
   6816 fi
   6817 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6818 fi
   6819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6820 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6821 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6822 	CFLAGS="$xorg_testset_save_CFLAGS"
   6823 fi
   6824 
   6825 found="no"
   6826 
   6827 	if test $found = "no" ; then
   6828 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6829 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6830 		fi
   6831 
   6832 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6833 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6834 		fi
   6835 
   6836 		CFLAGS="$CFLAGS -Wuninitialized"
   6837 
   6838 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6839 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6840 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6841 		if eval test \${$cacheid+y}
   6842 then :
   6843   printf %s "(cached) " >&6
   6844 else $as_nop
   6845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6846 /* end confdefs.h.  */
   6847 int i;
   6848 int
   6849 main (void)
   6850 {
   6851 
   6852   ;
   6853   return 0;
   6854 }
   6855 _ACEOF
   6856 if ac_fn_c_try_link "$LINENO"
   6857 then :
   6858   eval $cacheid=yes
   6859 else $as_nop
   6860   eval $cacheid=no
   6861 fi
   6862 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6863     conftest$ac_exeext conftest.$ac_ext
   6864 fi
   6865 
   6866 
   6867 		CFLAGS="$xorg_testset_save_CFLAGS"
   6868 
   6869 		eval supported=\$$cacheid
   6870 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6871 printf "%s\n" "$supported" >&6; }
   6872 		if test "$supported" = "yes" ; then
   6873 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6874 			found="yes"
   6875 		fi
   6876 	fi
   6877 
   6878 
   6879 
   6880 
   6881 
   6882 
   6883 
   6884 
   6885 
   6886 
   6887 
   6888 
   6889 
   6890 
   6891 
   6892 xorg_testset_save_CFLAGS="$CFLAGS"
   6893 
   6894 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6895 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6896 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6897 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6898 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6899 then :
   6900   printf %s "(cached) " >&6
   6901 else $as_nop
   6902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6903 /* end confdefs.h.  */
   6904 int i;
   6905 _ACEOF
   6906 if ac_fn_c_try_compile "$LINENO"
   6907 then :
   6908   xorg_cv_cc_flag_unknown_warning_option=yes
   6909 else $as_nop
   6910   xorg_cv_cc_flag_unknown_warning_option=no
   6911 fi
   6912 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6913 fi
   6914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6915 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6916 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6917 	CFLAGS="$xorg_testset_save_CFLAGS"
   6918 fi
   6919 
   6920 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6921 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6922 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6923 	fi
   6924 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6925 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6926 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6927 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6928 then :
   6929   printf %s "(cached) " >&6
   6930 else $as_nop
   6931   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6932 /* end confdefs.h.  */
   6933 int i;
   6934 _ACEOF
   6935 if ac_fn_c_try_compile "$LINENO"
   6936 then :
   6937   xorg_cv_cc_flag_unused_command_line_argument=yes
   6938 else $as_nop
   6939   xorg_cv_cc_flag_unused_command_line_argument=no
   6940 fi
   6941 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6942 fi
   6943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6944 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6945 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6946 	CFLAGS="$xorg_testset_save_CFLAGS"
   6947 fi
   6948 
   6949 found="no"
   6950 
   6951 	if test $found = "no" ; then
   6952 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6953 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6954 		fi
   6955 
   6956 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6957 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6958 		fi
   6959 
   6960 		CFLAGS="$CFLAGS -Wshadow"
   6961 
   6962 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6963 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6964 		cacheid=xorg_cv_cc_flag__Wshadow
   6965 		if eval test \${$cacheid+y}
   6966 then :
   6967   printf %s "(cached) " >&6
   6968 else $as_nop
   6969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6970 /* end confdefs.h.  */
   6971 int i;
   6972 int
   6973 main (void)
   6974 {
   6975 
   6976   ;
   6977   return 0;
   6978 }
   6979 _ACEOF
   6980 if ac_fn_c_try_link "$LINENO"
   6981 then :
   6982   eval $cacheid=yes
   6983 else $as_nop
   6984   eval $cacheid=no
   6985 fi
   6986 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6987     conftest$ac_exeext conftest.$ac_ext
   6988 fi
   6989 
   6990 
   6991 		CFLAGS="$xorg_testset_save_CFLAGS"
   6992 
   6993 		eval supported=\$$cacheid
   6994 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6995 printf "%s\n" "$supported" >&6; }
   6996 		if test "$supported" = "yes" ; then
   6997 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6998 			found="yes"
   6999 		fi
   7000 	fi
   7001 
   7002 
   7003 
   7004 
   7005 
   7006 
   7007 
   7008 
   7009 
   7010 
   7011 
   7012 
   7013 
   7014 
   7015 
   7016 xorg_testset_save_CFLAGS="$CFLAGS"
   7017 
   7018 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7019 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7020 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7021 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7022 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7023 then :
   7024   printf %s "(cached) " >&6
   7025 else $as_nop
   7026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7027 /* end confdefs.h.  */
   7028 int i;
   7029 _ACEOF
   7030 if ac_fn_c_try_compile "$LINENO"
   7031 then :
   7032   xorg_cv_cc_flag_unknown_warning_option=yes
   7033 else $as_nop
   7034   xorg_cv_cc_flag_unknown_warning_option=no
   7035 fi
   7036 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7037 fi
   7038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7039 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7040 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7041 	CFLAGS="$xorg_testset_save_CFLAGS"
   7042 fi
   7043 
   7044 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7045 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7046 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7047 	fi
   7048 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7049 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7050 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7051 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7052 then :
   7053   printf %s "(cached) " >&6
   7054 else $as_nop
   7055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7056 /* end confdefs.h.  */
   7057 int i;
   7058 _ACEOF
   7059 if ac_fn_c_try_compile "$LINENO"
   7060 then :
   7061   xorg_cv_cc_flag_unused_command_line_argument=yes
   7062 else $as_nop
   7063   xorg_cv_cc_flag_unused_command_line_argument=no
   7064 fi
   7065 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7066 fi
   7067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7068 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7069 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7070 	CFLAGS="$xorg_testset_save_CFLAGS"
   7071 fi
   7072 
   7073 found="no"
   7074 
   7075 	if test $found = "no" ; then
   7076 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7077 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7078 		fi
   7079 
   7080 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7081 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7082 		fi
   7083 
   7084 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   7085 
   7086 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   7087 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   7088 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   7089 		if eval test \${$cacheid+y}
   7090 then :
   7091   printf %s "(cached) " >&6
   7092 else $as_nop
   7093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7094 /* end confdefs.h.  */
   7095 int i;
   7096 int
   7097 main (void)
   7098 {
   7099 
   7100   ;
   7101   return 0;
   7102 }
   7103 _ACEOF
   7104 if ac_fn_c_try_link "$LINENO"
   7105 then :
   7106   eval $cacheid=yes
   7107 else $as_nop
   7108   eval $cacheid=no
   7109 fi
   7110 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7111     conftest$ac_exeext conftest.$ac_ext
   7112 fi
   7113 
   7114 
   7115 		CFLAGS="$xorg_testset_save_CFLAGS"
   7116 
   7117 		eval supported=\$$cacheid
   7118 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7119 printf "%s\n" "$supported" >&6; }
   7120 		if test "$supported" = "yes" ; then
   7121 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   7122 			found="yes"
   7123 		fi
   7124 	fi
   7125 
   7126 
   7127 
   7128 
   7129 
   7130 
   7131 
   7132 
   7133 
   7134 
   7135 
   7136 
   7137 
   7138 
   7139 
   7140 xorg_testset_save_CFLAGS="$CFLAGS"
   7141 
   7142 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7143 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7144 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7145 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7146 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7147 then :
   7148   printf %s "(cached) " >&6
   7149 else $as_nop
   7150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7151 /* end confdefs.h.  */
   7152 int i;
   7153 _ACEOF
   7154 if ac_fn_c_try_compile "$LINENO"
   7155 then :
   7156   xorg_cv_cc_flag_unknown_warning_option=yes
   7157 else $as_nop
   7158   xorg_cv_cc_flag_unknown_warning_option=no
   7159 fi
   7160 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7161 fi
   7162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7163 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7164 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7165 	CFLAGS="$xorg_testset_save_CFLAGS"
   7166 fi
   7167 
   7168 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7169 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7170 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7171 	fi
   7172 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7173 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7174 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7175 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7176 then :
   7177   printf %s "(cached) " >&6
   7178 else $as_nop
   7179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7180 /* end confdefs.h.  */
   7181 int i;
   7182 _ACEOF
   7183 if ac_fn_c_try_compile "$LINENO"
   7184 then :
   7185   xorg_cv_cc_flag_unused_command_line_argument=yes
   7186 else $as_nop
   7187   xorg_cv_cc_flag_unused_command_line_argument=no
   7188 fi
   7189 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7190 fi
   7191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7192 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7193 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7194 	CFLAGS="$xorg_testset_save_CFLAGS"
   7195 fi
   7196 
   7197 found="no"
   7198 
   7199 	if test $found = "no" ; then
   7200 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7201 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7202 		fi
   7203 
   7204 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7205 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7206 		fi
   7207 
   7208 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7209 
   7210 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7211 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7212 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7213 		if eval test \${$cacheid+y}
   7214 then :
   7215   printf %s "(cached) " >&6
   7216 else $as_nop
   7217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7218 /* end confdefs.h.  */
   7219 int i;
   7220 int
   7221 main (void)
   7222 {
   7223 
   7224   ;
   7225   return 0;
   7226 }
   7227 _ACEOF
   7228 if ac_fn_c_try_link "$LINENO"
   7229 then :
   7230   eval $cacheid=yes
   7231 else $as_nop
   7232   eval $cacheid=no
   7233 fi
   7234 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7235     conftest$ac_exeext conftest.$ac_ext
   7236 fi
   7237 
   7238 
   7239 		CFLAGS="$xorg_testset_save_CFLAGS"
   7240 
   7241 		eval supported=\$$cacheid
   7242 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7243 printf "%s\n" "$supported" >&6; }
   7244 		if test "$supported" = "yes" ; then
   7245 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7246 			found="yes"
   7247 		fi
   7248 	fi
   7249 
   7250 
   7251 
   7252 
   7253 
   7254 
   7255 
   7256 
   7257 
   7258 
   7259 
   7260 
   7261 
   7262 
   7263 
   7264 xorg_testset_save_CFLAGS="$CFLAGS"
   7265 
   7266 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7267 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7268 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7269 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7270 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7271 then :
   7272   printf %s "(cached) " >&6
   7273 else $as_nop
   7274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7275 /* end confdefs.h.  */
   7276 int i;
   7277 _ACEOF
   7278 if ac_fn_c_try_compile "$LINENO"
   7279 then :
   7280   xorg_cv_cc_flag_unknown_warning_option=yes
   7281 else $as_nop
   7282   xorg_cv_cc_flag_unknown_warning_option=no
   7283 fi
   7284 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7285 fi
   7286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7287 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7288 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7289 	CFLAGS="$xorg_testset_save_CFLAGS"
   7290 fi
   7291 
   7292 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7293 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7294 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7295 	fi
   7296 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7297 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7298 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7299 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7300 then :
   7301   printf %s "(cached) " >&6
   7302 else $as_nop
   7303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7304 /* end confdefs.h.  */
   7305 int i;
   7306 _ACEOF
   7307 if ac_fn_c_try_compile "$LINENO"
   7308 then :
   7309   xorg_cv_cc_flag_unused_command_line_argument=yes
   7310 else $as_nop
   7311   xorg_cv_cc_flag_unused_command_line_argument=no
   7312 fi
   7313 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7314 fi
   7315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7316 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7317 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7318 	CFLAGS="$xorg_testset_save_CFLAGS"
   7319 fi
   7320 
   7321 found="no"
   7322 
   7323 	if test $found = "no" ; then
   7324 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7325 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7326 		fi
   7327 
   7328 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7329 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7330 		fi
   7331 
   7332 		CFLAGS="$CFLAGS -Wredundant-decls"
   7333 
   7334 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7335 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7336 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7337 		if eval test \${$cacheid+y}
   7338 then :
   7339   printf %s "(cached) " >&6
   7340 else $as_nop
   7341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7342 /* end confdefs.h.  */
   7343 int i;
   7344 int
   7345 main (void)
   7346 {
   7347 
   7348   ;
   7349   return 0;
   7350 }
   7351 _ACEOF
   7352 if ac_fn_c_try_link "$LINENO"
   7353 then :
   7354   eval $cacheid=yes
   7355 else $as_nop
   7356   eval $cacheid=no
   7357 fi
   7358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7359     conftest$ac_exeext conftest.$ac_ext
   7360 fi
   7361 
   7362 
   7363 		CFLAGS="$xorg_testset_save_CFLAGS"
   7364 
   7365 		eval supported=\$$cacheid
   7366 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7367 printf "%s\n" "$supported" >&6; }
   7368 		if test "$supported" = "yes" ; then
   7369 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7370 			found="yes"
   7371 		fi
   7372 	fi
   7373 
   7374 
   7375 
   7376 
   7377 
   7378 
   7379 
   7380 
   7381 
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 xorg_testset_save_CFLAGS="$CFLAGS"
   7389 
   7390 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7391 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7392 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7393 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7394 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7395 then :
   7396   printf %s "(cached) " >&6
   7397 else $as_nop
   7398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7399 /* end confdefs.h.  */
   7400 int i;
   7401 _ACEOF
   7402 if ac_fn_c_try_compile "$LINENO"
   7403 then :
   7404   xorg_cv_cc_flag_unknown_warning_option=yes
   7405 else $as_nop
   7406   xorg_cv_cc_flag_unknown_warning_option=no
   7407 fi
   7408 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7409 fi
   7410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7411 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7412 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7413 	CFLAGS="$xorg_testset_save_CFLAGS"
   7414 fi
   7415 
   7416 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7417 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7418 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7419 	fi
   7420 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7421 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7422 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7423 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7424 then :
   7425   printf %s "(cached) " >&6
   7426 else $as_nop
   7427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7428 /* end confdefs.h.  */
   7429 int i;
   7430 _ACEOF
   7431 if ac_fn_c_try_compile "$LINENO"
   7432 then :
   7433   xorg_cv_cc_flag_unused_command_line_argument=yes
   7434 else $as_nop
   7435   xorg_cv_cc_flag_unused_command_line_argument=no
   7436 fi
   7437 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7438 fi
   7439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7440 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7441 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7442 	CFLAGS="$xorg_testset_save_CFLAGS"
   7443 fi
   7444 
   7445 found="no"
   7446 
   7447 	if test $found = "no" ; then
   7448 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7449 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7450 		fi
   7451 
   7452 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7453 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7454 		fi
   7455 
   7456 		CFLAGS="$CFLAGS -Wlogical-op"
   7457 
   7458 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7459 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7460 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7461 		if eval test \${$cacheid+y}
   7462 then :
   7463   printf %s "(cached) " >&6
   7464 else $as_nop
   7465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7466 /* end confdefs.h.  */
   7467 int i;
   7468 int
   7469 main (void)
   7470 {
   7471 
   7472   ;
   7473   return 0;
   7474 }
   7475 _ACEOF
   7476 if ac_fn_c_try_link "$LINENO"
   7477 then :
   7478   eval $cacheid=yes
   7479 else $as_nop
   7480   eval $cacheid=no
   7481 fi
   7482 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7483     conftest$ac_exeext conftest.$ac_ext
   7484 fi
   7485 
   7486 
   7487 		CFLAGS="$xorg_testset_save_CFLAGS"
   7488 
   7489 		eval supported=\$$cacheid
   7490 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7491 printf "%s\n" "$supported" >&6; }
   7492 		if test "$supported" = "yes" ; then
   7493 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7494 			found="yes"
   7495 		fi
   7496 	fi
   7497 
   7498 
   7499 
   7500 # These are currently disabled because they are noisy.  They will be enabled
   7501 # in the future once the codebase is sufficiently modernized to silence
   7502 # them.  For now, I don't want them to drown out the other warnings.
   7503 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7504 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7505 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7506 
   7507 # Turn some warnings into errors, so we don't accidently get successful builds
   7508 # when there are problems that should be fixed.
   7509 
   7510 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 
   7520 
   7521 
   7522 
   7523 
   7524 xorg_testset_save_CFLAGS="$CFLAGS"
   7525 
   7526 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7527 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7528 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7529 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7530 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7531 then :
   7532   printf %s "(cached) " >&6
   7533 else $as_nop
   7534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7535 /* end confdefs.h.  */
   7536 int i;
   7537 _ACEOF
   7538 if ac_fn_c_try_compile "$LINENO"
   7539 then :
   7540   xorg_cv_cc_flag_unknown_warning_option=yes
   7541 else $as_nop
   7542   xorg_cv_cc_flag_unknown_warning_option=no
   7543 fi
   7544 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7545 fi
   7546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7547 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7548 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7549 	CFLAGS="$xorg_testset_save_CFLAGS"
   7550 fi
   7551 
   7552 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7553 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7554 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7555 	fi
   7556 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7557 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7558 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7559 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7560 then :
   7561   printf %s "(cached) " >&6
   7562 else $as_nop
   7563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7564 /* end confdefs.h.  */
   7565 int i;
   7566 _ACEOF
   7567 if ac_fn_c_try_compile "$LINENO"
   7568 then :
   7569   xorg_cv_cc_flag_unused_command_line_argument=yes
   7570 else $as_nop
   7571   xorg_cv_cc_flag_unused_command_line_argument=no
   7572 fi
   7573 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7574 fi
   7575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7576 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7577 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7578 	CFLAGS="$xorg_testset_save_CFLAGS"
   7579 fi
   7580 
   7581 found="no"
   7582 
   7583 	if test $found = "no" ; then
   7584 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7585 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7586 		fi
   7587 
   7588 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7589 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7590 		fi
   7591 
   7592 		CFLAGS="$CFLAGS -Werror=implicit"
   7593 
   7594 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7595 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7596 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7597 		if eval test \${$cacheid+y}
   7598 then :
   7599   printf %s "(cached) " >&6
   7600 else $as_nop
   7601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7602 /* end confdefs.h.  */
   7603 int i;
   7604 int
   7605 main (void)
   7606 {
   7607 
   7608   ;
   7609   return 0;
   7610 }
   7611 _ACEOF
   7612 if ac_fn_c_try_link "$LINENO"
   7613 then :
   7614   eval $cacheid=yes
   7615 else $as_nop
   7616   eval $cacheid=no
   7617 fi
   7618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7619     conftest$ac_exeext conftest.$ac_ext
   7620 fi
   7621 
   7622 
   7623 		CFLAGS="$xorg_testset_save_CFLAGS"
   7624 
   7625 		eval supported=\$$cacheid
   7626 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7627 printf "%s\n" "$supported" >&6; }
   7628 		if test "$supported" = "yes" ; then
   7629 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7630 			found="yes"
   7631 		fi
   7632 	fi
   7633 
   7634 	if test $found = "no" ; then
   7635 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7636 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7637 		fi
   7638 
   7639 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7640 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7641 		fi
   7642 
   7643 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7644 
   7645 		{ 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
   7646 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7647 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7648 		if eval test \${$cacheid+y}
   7649 then :
   7650   printf %s "(cached) " >&6
   7651 else $as_nop
   7652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7653 /* end confdefs.h.  */
   7654 int i;
   7655 int
   7656 main (void)
   7657 {
   7658 
   7659   ;
   7660   return 0;
   7661 }
   7662 _ACEOF
   7663 if ac_fn_c_try_link "$LINENO"
   7664 then :
   7665   eval $cacheid=yes
   7666 else $as_nop
   7667   eval $cacheid=no
   7668 fi
   7669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7670     conftest$ac_exeext conftest.$ac_ext
   7671 fi
   7672 
   7673 
   7674 		CFLAGS="$xorg_testset_save_CFLAGS"
   7675 
   7676 		eval supported=\$$cacheid
   7677 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7678 printf "%s\n" "$supported" >&6; }
   7679 		if test "$supported" = "yes" ; then
   7680 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7681 			found="yes"
   7682 		fi
   7683 	fi
   7684 
   7685 
   7686 
   7687 
   7688 
   7689 
   7690 
   7691 
   7692 
   7693 
   7694 
   7695 
   7696 
   7697 
   7698 
   7699 xorg_testset_save_CFLAGS="$CFLAGS"
   7700 
   7701 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7702 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7703 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7704 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7705 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7706 then :
   7707   printf %s "(cached) " >&6
   7708 else $as_nop
   7709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7710 /* end confdefs.h.  */
   7711 int i;
   7712 _ACEOF
   7713 if ac_fn_c_try_compile "$LINENO"
   7714 then :
   7715   xorg_cv_cc_flag_unknown_warning_option=yes
   7716 else $as_nop
   7717   xorg_cv_cc_flag_unknown_warning_option=no
   7718 fi
   7719 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7720 fi
   7721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7722 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7723 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7724 	CFLAGS="$xorg_testset_save_CFLAGS"
   7725 fi
   7726 
   7727 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7728 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7729 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7730 	fi
   7731 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7732 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7733 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7734 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7735 then :
   7736   printf %s "(cached) " >&6
   7737 else $as_nop
   7738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7739 /* end confdefs.h.  */
   7740 int i;
   7741 _ACEOF
   7742 if ac_fn_c_try_compile "$LINENO"
   7743 then :
   7744   xorg_cv_cc_flag_unused_command_line_argument=yes
   7745 else $as_nop
   7746   xorg_cv_cc_flag_unused_command_line_argument=no
   7747 fi
   7748 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7749 fi
   7750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7751 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7752 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7753 	CFLAGS="$xorg_testset_save_CFLAGS"
   7754 fi
   7755 
   7756 found="no"
   7757 
   7758 	if test $found = "no" ; then
   7759 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7760 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7761 		fi
   7762 
   7763 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7764 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7765 		fi
   7766 
   7767 		CFLAGS="$CFLAGS -Werror=nonnull"
   7768 
   7769 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7770 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7771 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7772 		if eval test \${$cacheid+y}
   7773 then :
   7774   printf %s "(cached) " >&6
   7775 else $as_nop
   7776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7777 /* end confdefs.h.  */
   7778 int i;
   7779 int
   7780 main (void)
   7781 {
   7782 
   7783   ;
   7784   return 0;
   7785 }
   7786 _ACEOF
   7787 if ac_fn_c_try_link "$LINENO"
   7788 then :
   7789   eval $cacheid=yes
   7790 else $as_nop
   7791   eval $cacheid=no
   7792 fi
   7793 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7794     conftest$ac_exeext conftest.$ac_ext
   7795 fi
   7796 
   7797 
   7798 		CFLAGS="$xorg_testset_save_CFLAGS"
   7799 
   7800 		eval supported=\$$cacheid
   7801 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7802 printf "%s\n" "$supported" >&6; }
   7803 		if test "$supported" = "yes" ; then
   7804 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7805 			found="yes"
   7806 		fi
   7807 	fi
   7808 
   7809 
   7810 
   7811 
   7812 
   7813 
   7814 
   7815 
   7816 
   7817 
   7818 
   7819 
   7820 
   7821 
   7822 
   7823 xorg_testset_save_CFLAGS="$CFLAGS"
   7824 
   7825 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7826 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7827 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7828 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7829 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7830 then :
   7831   printf %s "(cached) " >&6
   7832 else $as_nop
   7833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7834 /* end confdefs.h.  */
   7835 int i;
   7836 _ACEOF
   7837 if ac_fn_c_try_compile "$LINENO"
   7838 then :
   7839   xorg_cv_cc_flag_unknown_warning_option=yes
   7840 else $as_nop
   7841   xorg_cv_cc_flag_unknown_warning_option=no
   7842 fi
   7843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7844 fi
   7845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7846 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7847 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7848 	CFLAGS="$xorg_testset_save_CFLAGS"
   7849 fi
   7850 
   7851 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7852 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7853 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7854 	fi
   7855 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7856 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7857 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7858 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7859 then :
   7860   printf %s "(cached) " >&6
   7861 else $as_nop
   7862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7863 /* end confdefs.h.  */
   7864 int i;
   7865 _ACEOF
   7866 if ac_fn_c_try_compile "$LINENO"
   7867 then :
   7868   xorg_cv_cc_flag_unused_command_line_argument=yes
   7869 else $as_nop
   7870   xorg_cv_cc_flag_unused_command_line_argument=no
   7871 fi
   7872 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7873 fi
   7874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7875 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7876 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7877 	CFLAGS="$xorg_testset_save_CFLAGS"
   7878 fi
   7879 
   7880 found="no"
   7881 
   7882 	if test $found = "no" ; then
   7883 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7884 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7885 		fi
   7886 
   7887 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7888 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7889 		fi
   7890 
   7891 		CFLAGS="$CFLAGS -Werror=init-self"
   7892 
   7893 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7894 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7895 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7896 		if eval test \${$cacheid+y}
   7897 then :
   7898   printf %s "(cached) " >&6
   7899 else $as_nop
   7900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7901 /* end confdefs.h.  */
   7902 int i;
   7903 int
   7904 main (void)
   7905 {
   7906 
   7907   ;
   7908   return 0;
   7909 }
   7910 _ACEOF
   7911 if ac_fn_c_try_link "$LINENO"
   7912 then :
   7913   eval $cacheid=yes
   7914 else $as_nop
   7915   eval $cacheid=no
   7916 fi
   7917 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7918     conftest$ac_exeext conftest.$ac_ext
   7919 fi
   7920 
   7921 
   7922 		CFLAGS="$xorg_testset_save_CFLAGS"
   7923 
   7924 		eval supported=\$$cacheid
   7925 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7926 printf "%s\n" "$supported" >&6; }
   7927 		if test "$supported" = "yes" ; then
   7928 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7929 			found="yes"
   7930 		fi
   7931 	fi
   7932 
   7933 
   7934 
   7935 
   7936 
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943 
   7944 
   7945 
   7946 
   7947 xorg_testset_save_CFLAGS="$CFLAGS"
   7948 
   7949 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7950 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7951 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7952 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7953 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7954 then :
   7955   printf %s "(cached) " >&6
   7956 else $as_nop
   7957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7958 /* end confdefs.h.  */
   7959 int i;
   7960 _ACEOF
   7961 if ac_fn_c_try_compile "$LINENO"
   7962 then :
   7963   xorg_cv_cc_flag_unknown_warning_option=yes
   7964 else $as_nop
   7965   xorg_cv_cc_flag_unknown_warning_option=no
   7966 fi
   7967 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7968 fi
   7969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7970 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7971 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7972 	CFLAGS="$xorg_testset_save_CFLAGS"
   7973 fi
   7974 
   7975 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7976 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7977 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7978 	fi
   7979 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7980 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7981 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7982 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7983 then :
   7984   printf %s "(cached) " >&6
   7985 else $as_nop
   7986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7987 /* end confdefs.h.  */
   7988 int i;
   7989 _ACEOF
   7990 if ac_fn_c_try_compile "$LINENO"
   7991 then :
   7992   xorg_cv_cc_flag_unused_command_line_argument=yes
   7993 else $as_nop
   7994   xorg_cv_cc_flag_unused_command_line_argument=no
   7995 fi
   7996 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7997 fi
   7998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7999 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8000 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8001 	CFLAGS="$xorg_testset_save_CFLAGS"
   8002 fi
   8003 
   8004 found="no"
   8005 
   8006 	if test $found = "no" ; then
   8007 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8008 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8009 		fi
   8010 
   8011 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8012 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8013 		fi
   8014 
   8015 		CFLAGS="$CFLAGS -Werror=main"
   8016 
   8017 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   8018 printf %s "checking if $CC supports -Werror=main... " >&6; }
   8019 		cacheid=xorg_cv_cc_flag__Werror_main
   8020 		if eval test \${$cacheid+y}
   8021 then :
   8022   printf %s "(cached) " >&6
   8023 else $as_nop
   8024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8025 /* end confdefs.h.  */
   8026 int i;
   8027 int
   8028 main (void)
   8029 {
   8030 
   8031   ;
   8032   return 0;
   8033 }
   8034 _ACEOF
   8035 if ac_fn_c_try_link "$LINENO"
   8036 then :
   8037   eval $cacheid=yes
   8038 else $as_nop
   8039   eval $cacheid=no
   8040 fi
   8041 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8042     conftest$ac_exeext conftest.$ac_ext
   8043 fi
   8044 
   8045 
   8046 		CFLAGS="$xorg_testset_save_CFLAGS"
   8047 
   8048 		eval supported=\$$cacheid
   8049 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8050 printf "%s\n" "$supported" >&6; }
   8051 		if test "$supported" = "yes" ; then
   8052 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   8053 			found="yes"
   8054 		fi
   8055 	fi
   8056 
   8057 
   8058 
   8059 
   8060 
   8061 
   8062 
   8063 
   8064 
   8065 
   8066 
   8067 
   8068 
   8069 
   8070 
   8071 xorg_testset_save_CFLAGS="$CFLAGS"
   8072 
   8073 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8074 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8075 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8076 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8077 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8078 then :
   8079   printf %s "(cached) " >&6
   8080 else $as_nop
   8081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8082 /* end confdefs.h.  */
   8083 int i;
   8084 _ACEOF
   8085 if ac_fn_c_try_compile "$LINENO"
   8086 then :
   8087   xorg_cv_cc_flag_unknown_warning_option=yes
   8088 else $as_nop
   8089   xorg_cv_cc_flag_unknown_warning_option=no
   8090 fi
   8091 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8092 fi
   8093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8094 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8095 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8096 	CFLAGS="$xorg_testset_save_CFLAGS"
   8097 fi
   8098 
   8099 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8100 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8101 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8102 	fi
   8103 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8104 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8105 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8106 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8107 then :
   8108   printf %s "(cached) " >&6
   8109 else $as_nop
   8110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8111 /* end confdefs.h.  */
   8112 int i;
   8113 _ACEOF
   8114 if ac_fn_c_try_compile "$LINENO"
   8115 then :
   8116   xorg_cv_cc_flag_unused_command_line_argument=yes
   8117 else $as_nop
   8118   xorg_cv_cc_flag_unused_command_line_argument=no
   8119 fi
   8120 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8121 fi
   8122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8123 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8124 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8125 	CFLAGS="$xorg_testset_save_CFLAGS"
   8126 fi
   8127 
   8128 found="no"
   8129 
   8130 	if test $found = "no" ; then
   8131 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8132 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8133 		fi
   8134 
   8135 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8136 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8137 		fi
   8138 
   8139 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8140 
   8141 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8142 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8143 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8144 		if eval test \${$cacheid+y}
   8145 then :
   8146   printf %s "(cached) " >&6
   8147 else $as_nop
   8148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8149 /* end confdefs.h.  */
   8150 int i;
   8151 int
   8152 main (void)
   8153 {
   8154 
   8155   ;
   8156   return 0;
   8157 }
   8158 _ACEOF
   8159 if ac_fn_c_try_link "$LINENO"
   8160 then :
   8161   eval $cacheid=yes
   8162 else $as_nop
   8163   eval $cacheid=no
   8164 fi
   8165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8166     conftest$ac_exeext conftest.$ac_ext
   8167 fi
   8168 
   8169 
   8170 		CFLAGS="$xorg_testset_save_CFLAGS"
   8171 
   8172 		eval supported=\$$cacheid
   8173 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8174 printf "%s\n" "$supported" >&6; }
   8175 		if test "$supported" = "yes" ; then
   8176 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8177 			found="yes"
   8178 		fi
   8179 	fi
   8180 
   8181 
   8182 
   8183 
   8184 
   8185 
   8186 
   8187 
   8188 
   8189 
   8190 
   8191 
   8192 
   8193 
   8194 
   8195 xorg_testset_save_CFLAGS="$CFLAGS"
   8196 
   8197 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8198 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8199 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8200 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8201 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8202 then :
   8203   printf %s "(cached) " >&6
   8204 else $as_nop
   8205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8206 /* end confdefs.h.  */
   8207 int i;
   8208 _ACEOF
   8209 if ac_fn_c_try_compile "$LINENO"
   8210 then :
   8211   xorg_cv_cc_flag_unknown_warning_option=yes
   8212 else $as_nop
   8213   xorg_cv_cc_flag_unknown_warning_option=no
   8214 fi
   8215 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8216 fi
   8217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8218 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8219 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8220 	CFLAGS="$xorg_testset_save_CFLAGS"
   8221 fi
   8222 
   8223 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8224 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8225 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8226 	fi
   8227 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8228 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8229 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8230 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8231 then :
   8232   printf %s "(cached) " >&6
   8233 else $as_nop
   8234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8235 /* end confdefs.h.  */
   8236 int i;
   8237 _ACEOF
   8238 if ac_fn_c_try_compile "$LINENO"
   8239 then :
   8240   xorg_cv_cc_flag_unused_command_line_argument=yes
   8241 else $as_nop
   8242   xorg_cv_cc_flag_unused_command_line_argument=no
   8243 fi
   8244 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8245 fi
   8246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8247 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8248 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8249 	CFLAGS="$xorg_testset_save_CFLAGS"
   8250 fi
   8251 
   8252 found="no"
   8253 
   8254 	if test $found = "no" ; then
   8255 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8256 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8257 		fi
   8258 
   8259 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8260 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8261 		fi
   8262 
   8263 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8264 
   8265 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8266 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8267 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8268 		if eval test \${$cacheid+y}
   8269 then :
   8270   printf %s "(cached) " >&6
   8271 else $as_nop
   8272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8273 /* end confdefs.h.  */
   8274 int i;
   8275 int
   8276 main (void)
   8277 {
   8278 
   8279   ;
   8280   return 0;
   8281 }
   8282 _ACEOF
   8283 if ac_fn_c_try_link "$LINENO"
   8284 then :
   8285   eval $cacheid=yes
   8286 else $as_nop
   8287   eval $cacheid=no
   8288 fi
   8289 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8290     conftest$ac_exeext conftest.$ac_ext
   8291 fi
   8292 
   8293 
   8294 		CFLAGS="$xorg_testset_save_CFLAGS"
   8295 
   8296 		eval supported=\$$cacheid
   8297 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8298 printf "%s\n" "$supported" >&6; }
   8299 		if test "$supported" = "yes" ; then
   8300 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8301 			found="yes"
   8302 		fi
   8303 	fi
   8304 
   8305 
   8306 
   8307 
   8308 
   8309 
   8310 
   8311 
   8312 
   8313 
   8314 
   8315 
   8316 
   8317 
   8318 
   8319 xorg_testset_save_CFLAGS="$CFLAGS"
   8320 
   8321 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8322 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8323 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8324 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8325 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8326 then :
   8327   printf %s "(cached) " >&6
   8328 else $as_nop
   8329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8330 /* end confdefs.h.  */
   8331 int i;
   8332 _ACEOF
   8333 if ac_fn_c_try_compile "$LINENO"
   8334 then :
   8335   xorg_cv_cc_flag_unknown_warning_option=yes
   8336 else $as_nop
   8337   xorg_cv_cc_flag_unknown_warning_option=no
   8338 fi
   8339 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8340 fi
   8341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8342 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8343 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8344 	CFLAGS="$xorg_testset_save_CFLAGS"
   8345 fi
   8346 
   8347 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8348 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8349 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8350 	fi
   8351 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8352 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8353 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8354 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8355 then :
   8356   printf %s "(cached) " >&6
   8357 else $as_nop
   8358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8359 /* end confdefs.h.  */
   8360 int i;
   8361 _ACEOF
   8362 if ac_fn_c_try_compile "$LINENO"
   8363 then :
   8364   xorg_cv_cc_flag_unused_command_line_argument=yes
   8365 else $as_nop
   8366   xorg_cv_cc_flag_unused_command_line_argument=no
   8367 fi
   8368 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8369 fi
   8370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8371 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8372 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8373 	CFLAGS="$xorg_testset_save_CFLAGS"
   8374 fi
   8375 
   8376 found="no"
   8377 
   8378 	if test $found = "no" ; then
   8379 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8380 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8381 		fi
   8382 
   8383 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8384 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8385 		fi
   8386 
   8387 		CFLAGS="$CFLAGS -Werror=return-type"
   8388 
   8389 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8390 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8391 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8392 		if eval test \${$cacheid+y}
   8393 then :
   8394   printf %s "(cached) " >&6
   8395 else $as_nop
   8396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8397 /* end confdefs.h.  */
   8398 int i;
   8399 int
   8400 main (void)
   8401 {
   8402 
   8403   ;
   8404   return 0;
   8405 }
   8406 _ACEOF
   8407 if ac_fn_c_try_link "$LINENO"
   8408 then :
   8409   eval $cacheid=yes
   8410 else $as_nop
   8411   eval $cacheid=no
   8412 fi
   8413 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8414     conftest$ac_exeext conftest.$ac_ext
   8415 fi
   8416 
   8417 
   8418 		CFLAGS="$xorg_testset_save_CFLAGS"
   8419 
   8420 		eval supported=\$$cacheid
   8421 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8422 printf "%s\n" "$supported" >&6; }
   8423 		if test "$supported" = "yes" ; then
   8424 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8425 			found="yes"
   8426 		fi
   8427 	fi
   8428 
   8429 	if test $found = "no" ; then
   8430 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8431 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8432 		fi
   8433 
   8434 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8435 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8436 		fi
   8437 
   8438 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8439 
   8440 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8441 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8442 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8443 		if eval test \${$cacheid+y}
   8444 then :
   8445   printf %s "(cached) " >&6
   8446 else $as_nop
   8447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8448 /* end confdefs.h.  */
   8449 int i;
   8450 int
   8451 main (void)
   8452 {
   8453 
   8454   ;
   8455   return 0;
   8456 }
   8457 _ACEOF
   8458 if ac_fn_c_try_link "$LINENO"
   8459 then :
   8460   eval $cacheid=yes
   8461 else $as_nop
   8462   eval $cacheid=no
   8463 fi
   8464 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8465     conftest$ac_exeext conftest.$ac_ext
   8466 fi
   8467 
   8468 
   8469 		CFLAGS="$xorg_testset_save_CFLAGS"
   8470 
   8471 		eval supported=\$$cacheid
   8472 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8473 printf "%s\n" "$supported" >&6; }
   8474 		if test "$supported" = "yes" ; then
   8475 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8476 			found="yes"
   8477 		fi
   8478 	fi
   8479 
   8480 
   8481 
   8482 
   8483 
   8484 
   8485 
   8486 
   8487 
   8488 
   8489 
   8490 
   8491 
   8492 
   8493 
   8494 xorg_testset_save_CFLAGS="$CFLAGS"
   8495 
   8496 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8497 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8498 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8499 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8500 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8501 then :
   8502   printf %s "(cached) " >&6
   8503 else $as_nop
   8504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8505 /* end confdefs.h.  */
   8506 int i;
   8507 _ACEOF
   8508 if ac_fn_c_try_compile "$LINENO"
   8509 then :
   8510   xorg_cv_cc_flag_unknown_warning_option=yes
   8511 else $as_nop
   8512   xorg_cv_cc_flag_unknown_warning_option=no
   8513 fi
   8514 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8515 fi
   8516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8517 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8518 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8519 	CFLAGS="$xorg_testset_save_CFLAGS"
   8520 fi
   8521 
   8522 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8523 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8524 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8525 	fi
   8526 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8527 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8528 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8529 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8530 then :
   8531   printf %s "(cached) " >&6
   8532 else $as_nop
   8533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8534 /* end confdefs.h.  */
   8535 int i;
   8536 _ACEOF
   8537 if ac_fn_c_try_compile "$LINENO"
   8538 then :
   8539   xorg_cv_cc_flag_unused_command_line_argument=yes
   8540 else $as_nop
   8541   xorg_cv_cc_flag_unused_command_line_argument=no
   8542 fi
   8543 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8544 fi
   8545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8546 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8547 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8548 	CFLAGS="$xorg_testset_save_CFLAGS"
   8549 fi
   8550 
   8551 found="no"
   8552 
   8553 	if test $found = "no" ; then
   8554 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8555 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8556 		fi
   8557 
   8558 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8559 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8560 		fi
   8561 
   8562 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8563 
   8564 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8565 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8566 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8567 		if eval test \${$cacheid+y}
   8568 then :
   8569   printf %s "(cached) " >&6
   8570 else $as_nop
   8571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8572 /* end confdefs.h.  */
   8573 int i;
   8574 int
   8575 main (void)
   8576 {
   8577 
   8578   ;
   8579   return 0;
   8580 }
   8581 _ACEOF
   8582 if ac_fn_c_try_link "$LINENO"
   8583 then :
   8584   eval $cacheid=yes
   8585 else $as_nop
   8586   eval $cacheid=no
   8587 fi
   8588 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8589     conftest$ac_exeext conftest.$ac_ext
   8590 fi
   8591 
   8592 
   8593 		CFLAGS="$xorg_testset_save_CFLAGS"
   8594 
   8595 		eval supported=\$$cacheid
   8596 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8597 printf "%s\n" "$supported" >&6; }
   8598 		if test "$supported" = "yes" ; then
   8599 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8600 			found="yes"
   8601 		fi
   8602 	fi
   8603 
   8604 
   8605 
   8606 
   8607 
   8608 
   8609 
   8610 
   8611 
   8612 
   8613 
   8614 
   8615 
   8616 
   8617 
   8618 xorg_testset_save_CFLAGS="$CFLAGS"
   8619 
   8620 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8621 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8622 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8623 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8624 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8625 then :
   8626   printf %s "(cached) " >&6
   8627 else $as_nop
   8628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8629 /* end confdefs.h.  */
   8630 int i;
   8631 _ACEOF
   8632 if ac_fn_c_try_compile "$LINENO"
   8633 then :
   8634   xorg_cv_cc_flag_unknown_warning_option=yes
   8635 else $as_nop
   8636   xorg_cv_cc_flag_unknown_warning_option=no
   8637 fi
   8638 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8639 fi
   8640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8641 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8642 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8643 	CFLAGS="$xorg_testset_save_CFLAGS"
   8644 fi
   8645 
   8646 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8647 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8648 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8649 	fi
   8650 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8651 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8652 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8653 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8654 then :
   8655   printf %s "(cached) " >&6
   8656 else $as_nop
   8657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8658 /* end confdefs.h.  */
   8659 int i;
   8660 _ACEOF
   8661 if ac_fn_c_try_compile "$LINENO"
   8662 then :
   8663   xorg_cv_cc_flag_unused_command_line_argument=yes
   8664 else $as_nop
   8665   xorg_cv_cc_flag_unused_command_line_argument=no
   8666 fi
   8667 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8668 fi
   8669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8670 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8671 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8672 	CFLAGS="$xorg_testset_save_CFLAGS"
   8673 fi
   8674 
   8675 found="no"
   8676 
   8677 	if test $found = "no" ; then
   8678 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8679 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8680 		fi
   8681 
   8682 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8683 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8684 		fi
   8685 
   8686 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8687 
   8688 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8689 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8690 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8691 		if eval test \${$cacheid+y}
   8692 then :
   8693   printf %s "(cached) " >&6
   8694 else $as_nop
   8695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8696 /* end confdefs.h.  */
   8697 int i;
   8698 int
   8699 main (void)
   8700 {
   8701 
   8702   ;
   8703   return 0;
   8704 }
   8705 _ACEOF
   8706 if ac_fn_c_try_link "$LINENO"
   8707 then :
   8708   eval $cacheid=yes
   8709 else $as_nop
   8710   eval $cacheid=no
   8711 fi
   8712 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8713     conftest$ac_exeext conftest.$ac_ext
   8714 fi
   8715 
   8716 
   8717 		CFLAGS="$xorg_testset_save_CFLAGS"
   8718 
   8719 		eval supported=\$$cacheid
   8720 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8721 printf "%s\n" "$supported" >&6; }
   8722 		if test "$supported" = "yes" ; then
   8723 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8724 			found="yes"
   8725 		fi
   8726 	fi
   8727 
   8728 
   8729 
   8730 
   8731 
   8732 
   8733 
   8734 
   8735 
   8736 
   8737 
   8738 
   8739 
   8740 
   8741 
   8742 xorg_testset_save_CFLAGS="$CFLAGS"
   8743 
   8744 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8745 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8746 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8747 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8748 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8749 then :
   8750   printf %s "(cached) " >&6
   8751 else $as_nop
   8752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8753 /* end confdefs.h.  */
   8754 int i;
   8755 _ACEOF
   8756 if ac_fn_c_try_compile "$LINENO"
   8757 then :
   8758   xorg_cv_cc_flag_unknown_warning_option=yes
   8759 else $as_nop
   8760   xorg_cv_cc_flag_unknown_warning_option=no
   8761 fi
   8762 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8763 fi
   8764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8765 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8766 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8767 	CFLAGS="$xorg_testset_save_CFLAGS"
   8768 fi
   8769 
   8770 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8771 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8772 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8773 	fi
   8774 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8775 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8776 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8777 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8778 then :
   8779   printf %s "(cached) " >&6
   8780 else $as_nop
   8781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8782 /* end confdefs.h.  */
   8783 int i;
   8784 _ACEOF
   8785 if ac_fn_c_try_compile "$LINENO"
   8786 then :
   8787   xorg_cv_cc_flag_unused_command_line_argument=yes
   8788 else $as_nop
   8789   xorg_cv_cc_flag_unused_command_line_argument=no
   8790 fi
   8791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8792 fi
   8793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8794 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8795 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8796 	CFLAGS="$xorg_testset_save_CFLAGS"
   8797 fi
   8798 
   8799 found="no"
   8800 
   8801 	if test $found = "no" ; then
   8802 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8803 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8804 		fi
   8805 
   8806 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8807 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8808 		fi
   8809 
   8810 		CFLAGS="$CFLAGS -Werror=write-strings"
   8811 
   8812 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8813 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8814 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8815 		if eval test \${$cacheid+y}
   8816 then :
   8817   printf %s "(cached) " >&6
   8818 else $as_nop
   8819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8820 /* end confdefs.h.  */
   8821 int i;
   8822 int
   8823 main (void)
   8824 {
   8825 
   8826   ;
   8827   return 0;
   8828 }
   8829 _ACEOF
   8830 if ac_fn_c_try_link "$LINENO"
   8831 then :
   8832   eval $cacheid=yes
   8833 else $as_nop
   8834   eval $cacheid=no
   8835 fi
   8836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8837     conftest$ac_exeext conftest.$ac_ext
   8838 fi
   8839 
   8840 
   8841 		CFLAGS="$xorg_testset_save_CFLAGS"
   8842 
   8843 		eval supported=\$$cacheid
   8844 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8845 printf "%s\n" "$supported" >&6; }
   8846 		if test "$supported" = "yes" ; then
   8847 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8848 			found="yes"
   8849 		fi
   8850 	fi
   8851 
   8852 
   8853 
   8854 
   8855 
   8856 
   8857 
   8858 
   8859 
   8860 
   8861 
   8862 
   8863 
   8864 
   8865 
   8866 xorg_testset_save_CFLAGS="$CFLAGS"
   8867 
   8868 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8869 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8870 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8871 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8872 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8873 then :
   8874   printf %s "(cached) " >&6
   8875 else $as_nop
   8876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8877 /* end confdefs.h.  */
   8878 int i;
   8879 _ACEOF
   8880 if ac_fn_c_try_compile "$LINENO"
   8881 then :
   8882   xorg_cv_cc_flag_unknown_warning_option=yes
   8883 else $as_nop
   8884   xorg_cv_cc_flag_unknown_warning_option=no
   8885 fi
   8886 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8887 fi
   8888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8889 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8890 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8891 	CFLAGS="$xorg_testset_save_CFLAGS"
   8892 fi
   8893 
   8894 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8895 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8896 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8897 	fi
   8898 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8899 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8900 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8901 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8902 then :
   8903   printf %s "(cached) " >&6
   8904 else $as_nop
   8905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8906 /* end confdefs.h.  */
   8907 int i;
   8908 _ACEOF
   8909 if ac_fn_c_try_compile "$LINENO"
   8910 then :
   8911   xorg_cv_cc_flag_unused_command_line_argument=yes
   8912 else $as_nop
   8913   xorg_cv_cc_flag_unused_command_line_argument=no
   8914 fi
   8915 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8916 fi
   8917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8918 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8919 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8920 	CFLAGS="$xorg_testset_save_CFLAGS"
   8921 fi
   8922 
   8923 found="no"
   8924 
   8925 	if test $found = "no" ; then
   8926 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8927 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8928 		fi
   8929 
   8930 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8931 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8932 		fi
   8933 
   8934 		CFLAGS="$CFLAGS -Werror=address"
   8935 
   8936 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8937 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8938 		cacheid=xorg_cv_cc_flag__Werror_address
   8939 		if eval test \${$cacheid+y}
   8940 then :
   8941   printf %s "(cached) " >&6
   8942 else $as_nop
   8943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8944 /* end confdefs.h.  */
   8945 int i;
   8946 int
   8947 main (void)
   8948 {
   8949 
   8950   ;
   8951   return 0;
   8952 }
   8953 _ACEOF
   8954 if ac_fn_c_try_link "$LINENO"
   8955 then :
   8956   eval $cacheid=yes
   8957 else $as_nop
   8958   eval $cacheid=no
   8959 fi
   8960 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8961     conftest$ac_exeext conftest.$ac_ext
   8962 fi
   8963 
   8964 
   8965 		CFLAGS="$xorg_testset_save_CFLAGS"
   8966 
   8967 		eval supported=\$$cacheid
   8968 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8969 printf "%s\n" "$supported" >&6; }
   8970 		if test "$supported" = "yes" ; then
   8971 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8972 			found="yes"
   8973 		fi
   8974 	fi
   8975 
   8976 
   8977 
   8978 
   8979 
   8980 
   8981 
   8982 
   8983 
   8984 
   8985 
   8986 
   8987 
   8988 
   8989 
   8990 xorg_testset_save_CFLAGS="$CFLAGS"
   8991 
   8992 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8993 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8994 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8995 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8996 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8997 then :
   8998   printf %s "(cached) " >&6
   8999 else $as_nop
   9000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9001 /* end confdefs.h.  */
   9002 int i;
   9003 _ACEOF
   9004 if ac_fn_c_try_compile "$LINENO"
   9005 then :
   9006   xorg_cv_cc_flag_unknown_warning_option=yes
   9007 else $as_nop
   9008   xorg_cv_cc_flag_unknown_warning_option=no
   9009 fi
   9010 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9011 fi
   9012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9013 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9014 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9015 	CFLAGS="$xorg_testset_save_CFLAGS"
   9016 fi
   9017 
   9018 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9019 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9020 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9021 	fi
   9022 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9023 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9024 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9025 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9026 then :
   9027   printf %s "(cached) " >&6
   9028 else $as_nop
   9029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9030 /* end confdefs.h.  */
   9031 int i;
   9032 _ACEOF
   9033 if ac_fn_c_try_compile "$LINENO"
   9034 then :
   9035   xorg_cv_cc_flag_unused_command_line_argument=yes
   9036 else $as_nop
   9037   xorg_cv_cc_flag_unused_command_line_argument=no
   9038 fi
   9039 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9040 fi
   9041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9042 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9043 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9044 	CFLAGS="$xorg_testset_save_CFLAGS"
   9045 fi
   9046 
   9047 found="no"
   9048 
   9049 	if test $found = "no" ; then
   9050 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9051 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9052 		fi
   9053 
   9054 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9055 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9056 		fi
   9057 
   9058 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   9059 
   9060 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   9061 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   9062 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   9063 		if eval test \${$cacheid+y}
   9064 then :
   9065   printf %s "(cached) " >&6
   9066 else $as_nop
   9067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9068 /* end confdefs.h.  */
   9069 int i;
   9070 int
   9071 main (void)
   9072 {
   9073 
   9074   ;
   9075   return 0;
   9076 }
   9077 _ACEOF
   9078 if ac_fn_c_try_link "$LINENO"
   9079 then :
   9080   eval $cacheid=yes
   9081 else $as_nop
   9082   eval $cacheid=no
   9083 fi
   9084 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9085     conftest$ac_exeext conftest.$ac_ext
   9086 fi
   9087 
   9088 
   9089 		CFLAGS="$xorg_testset_save_CFLAGS"
   9090 
   9091 		eval supported=\$$cacheid
   9092 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9093 printf "%s\n" "$supported" >&6; }
   9094 		if test "$supported" = "yes" ; then
   9095 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9096 			found="yes"
   9097 		fi
   9098 	fi
   9099 
   9100 	if test $found = "no" ; then
   9101 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9102 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9103 		fi
   9104 
   9105 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9106 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9107 		fi
   9108 
   9109 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9110 
   9111 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9112 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9113 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9114 		if eval test \${$cacheid+y}
   9115 then :
   9116   printf %s "(cached) " >&6
   9117 else $as_nop
   9118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9119 /* end confdefs.h.  */
   9120 int i;
   9121 int
   9122 main (void)
   9123 {
   9124 
   9125   ;
   9126   return 0;
   9127 }
   9128 _ACEOF
   9129 if ac_fn_c_try_link "$LINENO"
   9130 then :
   9131   eval $cacheid=yes
   9132 else $as_nop
   9133   eval $cacheid=no
   9134 fi
   9135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9136     conftest$ac_exeext conftest.$ac_ext
   9137 fi
   9138 
   9139 
   9140 		CFLAGS="$xorg_testset_save_CFLAGS"
   9141 
   9142 		eval supported=\$$cacheid
   9143 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9144 printf "%s\n" "$supported" >&6; }
   9145 		if test "$supported" = "yes" ; then
   9146 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9147 			found="yes"
   9148 		fi
   9149 	fi
   9150 
   9151 
   9152 
   9153 
   9154 
   9155 
   9156 
   9157 
   9158 
   9159 
   9160 
   9161 
   9162 
   9163 
   9164 
   9165 xorg_testset_save_CFLAGS="$CFLAGS"
   9166 
   9167 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9168 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9169 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9170 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9171 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9172 then :
   9173   printf %s "(cached) " >&6
   9174 else $as_nop
   9175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9176 /* end confdefs.h.  */
   9177 int i;
   9178 _ACEOF
   9179 if ac_fn_c_try_compile "$LINENO"
   9180 then :
   9181   xorg_cv_cc_flag_unknown_warning_option=yes
   9182 else $as_nop
   9183   xorg_cv_cc_flag_unknown_warning_option=no
   9184 fi
   9185 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9186 fi
   9187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9188 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9189 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9190 	CFLAGS="$xorg_testset_save_CFLAGS"
   9191 fi
   9192 
   9193 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9194 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9195 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9196 	fi
   9197 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9198 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9199 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9200 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9201 then :
   9202   printf %s "(cached) " >&6
   9203 else $as_nop
   9204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9205 /* end confdefs.h.  */
   9206 int i;
   9207 _ACEOF
   9208 if ac_fn_c_try_compile "$LINENO"
   9209 then :
   9210   xorg_cv_cc_flag_unused_command_line_argument=yes
   9211 else $as_nop
   9212   xorg_cv_cc_flag_unused_command_line_argument=no
   9213 fi
   9214 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9215 fi
   9216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9217 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9218 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9219 	CFLAGS="$xorg_testset_save_CFLAGS"
   9220 fi
   9221 
   9222 found="no"
   9223 
   9224 	if test $found = "no" ; then
   9225 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9226 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9227 		fi
   9228 
   9229 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9230 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9231 		fi
   9232 
   9233 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9234 
   9235 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9236 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9237 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9238 		if eval test \${$cacheid+y}
   9239 then :
   9240   printf %s "(cached) " >&6
   9241 else $as_nop
   9242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9243 /* end confdefs.h.  */
   9244 int i;
   9245 int
   9246 main (void)
   9247 {
   9248 
   9249   ;
   9250   return 0;
   9251 }
   9252 _ACEOF
   9253 if ac_fn_c_try_link "$LINENO"
   9254 then :
   9255   eval $cacheid=yes
   9256 else $as_nop
   9257   eval $cacheid=no
   9258 fi
   9259 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9260     conftest$ac_exeext conftest.$ac_ext
   9261 fi
   9262 
   9263 
   9264 		CFLAGS="$xorg_testset_save_CFLAGS"
   9265 
   9266 		eval supported=\$$cacheid
   9267 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9268 printf "%s\n" "$supported" >&6; }
   9269 		if test "$supported" = "yes" ; then
   9270 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9271 			found="yes"
   9272 		fi
   9273 	fi
   9274 
   9275  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9276 else
   9277 { 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
   9278 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;}
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 xorg_testset_save_CFLAGS="$CFLAGS"
   9293 
   9294 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9295 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9296 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9297 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9298 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9299 then :
   9300   printf %s "(cached) " >&6
   9301 else $as_nop
   9302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9303 /* end confdefs.h.  */
   9304 int i;
   9305 _ACEOF
   9306 if ac_fn_c_try_compile "$LINENO"
   9307 then :
   9308   xorg_cv_cc_flag_unknown_warning_option=yes
   9309 else $as_nop
   9310   xorg_cv_cc_flag_unknown_warning_option=no
   9311 fi
   9312 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9313 fi
   9314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9315 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9316 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9317 	CFLAGS="$xorg_testset_save_CFLAGS"
   9318 fi
   9319 
   9320 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9321 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9322 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9323 	fi
   9324 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9325 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9326 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9327 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9328 then :
   9329   printf %s "(cached) " >&6
   9330 else $as_nop
   9331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9332 /* end confdefs.h.  */
   9333 int i;
   9334 _ACEOF
   9335 if ac_fn_c_try_compile "$LINENO"
   9336 then :
   9337   xorg_cv_cc_flag_unused_command_line_argument=yes
   9338 else $as_nop
   9339   xorg_cv_cc_flag_unused_command_line_argument=no
   9340 fi
   9341 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9342 fi
   9343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9344 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9345 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9346 	CFLAGS="$xorg_testset_save_CFLAGS"
   9347 fi
   9348 
   9349 found="no"
   9350 
   9351 	if test $found = "no" ; then
   9352 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9353 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9354 		fi
   9355 
   9356 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9357 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9358 		fi
   9359 
   9360 		CFLAGS="$CFLAGS -Wimplicit"
   9361 
   9362 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9363 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9364 		cacheid=xorg_cv_cc_flag__Wimplicit
   9365 		if eval test \${$cacheid+y}
   9366 then :
   9367   printf %s "(cached) " >&6
   9368 else $as_nop
   9369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9370 /* end confdefs.h.  */
   9371 int i;
   9372 int
   9373 main (void)
   9374 {
   9375 
   9376   ;
   9377   return 0;
   9378 }
   9379 _ACEOF
   9380 if ac_fn_c_try_link "$LINENO"
   9381 then :
   9382   eval $cacheid=yes
   9383 else $as_nop
   9384   eval $cacheid=no
   9385 fi
   9386 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9387     conftest$ac_exeext conftest.$ac_ext
   9388 fi
   9389 
   9390 
   9391 		CFLAGS="$xorg_testset_save_CFLAGS"
   9392 
   9393 		eval supported=\$$cacheid
   9394 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9395 printf "%s\n" "$supported" >&6; }
   9396 		if test "$supported" = "yes" ; then
   9397 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9398 			found="yes"
   9399 		fi
   9400 	fi
   9401 
   9402 
   9403 
   9404 
   9405 
   9406 
   9407 
   9408 
   9409 
   9410 
   9411 
   9412 
   9413 
   9414 
   9415 
   9416 xorg_testset_save_CFLAGS="$CFLAGS"
   9417 
   9418 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9419 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9420 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9421 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9422 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9423 then :
   9424   printf %s "(cached) " >&6
   9425 else $as_nop
   9426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9427 /* end confdefs.h.  */
   9428 int i;
   9429 _ACEOF
   9430 if ac_fn_c_try_compile "$LINENO"
   9431 then :
   9432   xorg_cv_cc_flag_unknown_warning_option=yes
   9433 else $as_nop
   9434   xorg_cv_cc_flag_unknown_warning_option=no
   9435 fi
   9436 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9437 fi
   9438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9439 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9440 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9441 	CFLAGS="$xorg_testset_save_CFLAGS"
   9442 fi
   9443 
   9444 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9445 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9446 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9447 	fi
   9448 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9449 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9450 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9451 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9452 then :
   9453   printf %s "(cached) " >&6
   9454 else $as_nop
   9455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9456 /* end confdefs.h.  */
   9457 int i;
   9458 _ACEOF
   9459 if ac_fn_c_try_compile "$LINENO"
   9460 then :
   9461   xorg_cv_cc_flag_unused_command_line_argument=yes
   9462 else $as_nop
   9463   xorg_cv_cc_flag_unused_command_line_argument=no
   9464 fi
   9465 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9466 fi
   9467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9468 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9469 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9470 	CFLAGS="$xorg_testset_save_CFLAGS"
   9471 fi
   9472 
   9473 found="no"
   9474 
   9475 	if test $found = "no" ; then
   9476 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9477 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9478 		fi
   9479 
   9480 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9481 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9482 		fi
   9483 
   9484 		CFLAGS="$CFLAGS -Wnonnull"
   9485 
   9486 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9487 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9488 		cacheid=xorg_cv_cc_flag__Wnonnull
   9489 		if eval test \${$cacheid+y}
   9490 then :
   9491   printf %s "(cached) " >&6
   9492 else $as_nop
   9493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9494 /* end confdefs.h.  */
   9495 int i;
   9496 int
   9497 main (void)
   9498 {
   9499 
   9500   ;
   9501   return 0;
   9502 }
   9503 _ACEOF
   9504 if ac_fn_c_try_link "$LINENO"
   9505 then :
   9506   eval $cacheid=yes
   9507 else $as_nop
   9508   eval $cacheid=no
   9509 fi
   9510 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9511     conftest$ac_exeext conftest.$ac_ext
   9512 fi
   9513 
   9514 
   9515 		CFLAGS="$xorg_testset_save_CFLAGS"
   9516 
   9517 		eval supported=\$$cacheid
   9518 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9519 printf "%s\n" "$supported" >&6; }
   9520 		if test "$supported" = "yes" ; then
   9521 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9522 			found="yes"
   9523 		fi
   9524 	fi
   9525 
   9526 
   9527 
   9528 
   9529 
   9530 
   9531 
   9532 
   9533 
   9534 
   9535 
   9536 
   9537 
   9538 
   9539 
   9540 xorg_testset_save_CFLAGS="$CFLAGS"
   9541 
   9542 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9543 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9544 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9545 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9546 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9547 then :
   9548   printf %s "(cached) " >&6
   9549 else $as_nop
   9550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9551 /* end confdefs.h.  */
   9552 int i;
   9553 _ACEOF
   9554 if ac_fn_c_try_compile "$LINENO"
   9555 then :
   9556   xorg_cv_cc_flag_unknown_warning_option=yes
   9557 else $as_nop
   9558   xorg_cv_cc_flag_unknown_warning_option=no
   9559 fi
   9560 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9561 fi
   9562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9563 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9564 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9565 	CFLAGS="$xorg_testset_save_CFLAGS"
   9566 fi
   9567 
   9568 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9569 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9570 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9571 	fi
   9572 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9573 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9574 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9575 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9576 then :
   9577   printf %s "(cached) " >&6
   9578 else $as_nop
   9579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9580 /* end confdefs.h.  */
   9581 int i;
   9582 _ACEOF
   9583 if ac_fn_c_try_compile "$LINENO"
   9584 then :
   9585   xorg_cv_cc_flag_unused_command_line_argument=yes
   9586 else $as_nop
   9587   xorg_cv_cc_flag_unused_command_line_argument=no
   9588 fi
   9589 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9590 fi
   9591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9592 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9593 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9594 	CFLAGS="$xorg_testset_save_CFLAGS"
   9595 fi
   9596 
   9597 found="no"
   9598 
   9599 	if test $found = "no" ; then
   9600 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9601 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9602 		fi
   9603 
   9604 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9605 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9606 		fi
   9607 
   9608 		CFLAGS="$CFLAGS -Winit-self"
   9609 
   9610 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9611 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9612 		cacheid=xorg_cv_cc_flag__Winit_self
   9613 		if eval test \${$cacheid+y}
   9614 then :
   9615   printf %s "(cached) " >&6
   9616 else $as_nop
   9617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9618 /* end confdefs.h.  */
   9619 int i;
   9620 int
   9621 main (void)
   9622 {
   9623 
   9624   ;
   9625   return 0;
   9626 }
   9627 _ACEOF
   9628 if ac_fn_c_try_link "$LINENO"
   9629 then :
   9630   eval $cacheid=yes
   9631 else $as_nop
   9632   eval $cacheid=no
   9633 fi
   9634 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9635     conftest$ac_exeext conftest.$ac_ext
   9636 fi
   9637 
   9638 
   9639 		CFLAGS="$xorg_testset_save_CFLAGS"
   9640 
   9641 		eval supported=\$$cacheid
   9642 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9643 printf "%s\n" "$supported" >&6; }
   9644 		if test "$supported" = "yes" ; then
   9645 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9646 			found="yes"
   9647 		fi
   9648 	fi
   9649 
   9650 
   9651 
   9652 
   9653 
   9654 
   9655 
   9656 
   9657 
   9658 
   9659 
   9660 
   9661 
   9662 
   9663 
   9664 xorg_testset_save_CFLAGS="$CFLAGS"
   9665 
   9666 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9667 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9668 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9669 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9670 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9671 then :
   9672   printf %s "(cached) " >&6
   9673 else $as_nop
   9674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9675 /* end confdefs.h.  */
   9676 int i;
   9677 _ACEOF
   9678 if ac_fn_c_try_compile "$LINENO"
   9679 then :
   9680   xorg_cv_cc_flag_unknown_warning_option=yes
   9681 else $as_nop
   9682   xorg_cv_cc_flag_unknown_warning_option=no
   9683 fi
   9684 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9685 fi
   9686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9687 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9688 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9689 	CFLAGS="$xorg_testset_save_CFLAGS"
   9690 fi
   9691 
   9692 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9693 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9694 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9695 	fi
   9696 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9697 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9698 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9699 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9700 then :
   9701   printf %s "(cached) " >&6
   9702 else $as_nop
   9703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9704 /* end confdefs.h.  */
   9705 int i;
   9706 _ACEOF
   9707 if ac_fn_c_try_compile "$LINENO"
   9708 then :
   9709   xorg_cv_cc_flag_unused_command_line_argument=yes
   9710 else $as_nop
   9711   xorg_cv_cc_flag_unused_command_line_argument=no
   9712 fi
   9713 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9714 fi
   9715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9716 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9717 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9718 	CFLAGS="$xorg_testset_save_CFLAGS"
   9719 fi
   9720 
   9721 found="no"
   9722 
   9723 	if test $found = "no" ; then
   9724 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9725 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9726 		fi
   9727 
   9728 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9729 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9730 		fi
   9731 
   9732 		CFLAGS="$CFLAGS -Wmain"
   9733 
   9734 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9735 printf %s "checking if $CC supports -Wmain... " >&6; }
   9736 		cacheid=xorg_cv_cc_flag__Wmain
   9737 		if eval test \${$cacheid+y}
   9738 then :
   9739   printf %s "(cached) " >&6
   9740 else $as_nop
   9741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9742 /* end confdefs.h.  */
   9743 int i;
   9744 int
   9745 main (void)
   9746 {
   9747 
   9748   ;
   9749   return 0;
   9750 }
   9751 _ACEOF
   9752 if ac_fn_c_try_link "$LINENO"
   9753 then :
   9754   eval $cacheid=yes
   9755 else $as_nop
   9756   eval $cacheid=no
   9757 fi
   9758 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9759     conftest$ac_exeext conftest.$ac_ext
   9760 fi
   9761 
   9762 
   9763 		CFLAGS="$xorg_testset_save_CFLAGS"
   9764 
   9765 		eval supported=\$$cacheid
   9766 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9767 printf "%s\n" "$supported" >&6; }
   9768 		if test "$supported" = "yes" ; then
   9769 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9770 			found="yes"
   9771 		fi
   9772 	fi
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 xorg_testset_save_CFLAGS="$CFLAGS"
   9789 
   9790 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9791 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9792 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9793 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9794 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9795 then :
   9796   printf %s "(cached) " >&6
   9797 else $as_nop
   9798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9799 /* end confdefs.h.  */
   9800 int i;
   9801 _ACEOF
   9802 if ac_fn_c_try_compile "$LINENO"
   9803 then :
   9804   xorg_cv_cc_flag_unknown_warning_option=yes
   9805 else $as_nop
   9806   xorg_cv_cc_flag_unknown_warning_option=no
   9807 fi
   9808 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9809 fi
   9810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9811 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9812 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9813 	CFLAGS="$xorg_testset_save_CFLAGS"
   9814 fi
   9815 
   9816 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9817 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9818 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9819 	fi
   9820 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9821 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9822 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9823 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9824 then :
   9825   printf %s "(cached) " >&6
   9826 else $as_nop
   9827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9828 /* end confdefs.h.  */
   9829 int i;
   9830 _ACEOF
   9831 if ac_fn_c_try_compile "$LINENO"
   9832 then :
   9833   xorg_cv_cc_flag_unused_command_line_argument=yes
   9834 else $as_nop
   9835   xorg_cv_cc_flag_unused_command_line_argument=no
   9836 fi
   9837 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9838 fi
   9839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9840 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9841 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9842 	CFLAGS="$xorg_testset_save_CFLAGS"
   9843 fi
   9844 
   9845 found="no"
   9846 
   9847 	if test $found = "no" ; then
   9848 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9849 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9850 		fi
   9851 
   9852 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9853 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9854 		fi
   9855 
   9856 		CFLAGS="$CFLAGS -Wmissing-braces"
   9857 
   9858 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9859 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9860 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9861 		if eval test \${$cacheid+y}
   9862 then :
   9863   printf %s "(cached) " >&6
   9864 else $as_nop
   9865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9866 /* end confdefs.h.  */
   9867 int i;
   9868 int
   9869 main (void)
   9870 {
   9871 
   9872   ;
   9873   return 0;
   9874 }
   9875 _ACEOF
   9876 if ac_fn_c_try_link "$LINENO"
   9877 then :
   9878   eval $cacheid=yes
   9879 else $as_nop
   9880   eval $cacheid=no
   9881 fi
   9882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9883     conftest$ac_exeext conftest.$ac_ext
   9884 fi
   9885 
   9886 
   9887 		CFLAGS="$xorg_testset_save_CFLAGS"
   9888 
   9889 		eval supported=\$$cacheid
   9890 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9891 printf "%s\n" "$supported" >&6; }
   9892 		if test "$supported" = "yes" ; then
   9893 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9894 			found="yes"
   9895 		fi
   9896 	fi
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908 
   9909 
   9910 
   9911 
   9912 xorg_testset_save_CFLAGS="$CFLAGS"
   9913 
   9914 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9915 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9916 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9917 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9918 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9919 then :
   9920   printf %s "(cached) " >&6
   9921 else $as_nop
   9922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9923 /* end confdefs.h.  */
   9924 int i;
   9925 _ACEOF
   9926 if ac_fn_c_try_compile "$LINENO"
   9927 then :
   9928   xorg_cv_cc_flag_unknown_warning_option=yes
   9929 else $as_nop
   9930   xorg_cv_cc_flag_unknown_warning_option=no
   9931 fi
   9932 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9933 fi
   9934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9935 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9936 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9937 	CFLAGS="$xorg_testset_save_CFLAGS"
   9938 fi
   9939 
   9940 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9941 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9942 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9943 	fi
   9944 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9945 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9946 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9947 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9948 then :
   9949   printf %s "(cached) " >&6
   9950 else $as_nop
   9951   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9952 /* end confdefs.h.  */
   9953 int i;
   9954 _ACEOF
   9955 if ac_fn_c_try_compile "$LINENO"
   9956 then :
   9957   xorg_cv_cc_flag_unused_command_line_argument=yes
   9958 else $as_nop
   9959   xorg_cv_cc_flag_unused_command_line_argument=no
   9960 fi
   9961 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9962 fi
   9963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9964 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9965 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9966 	CFLAGS="$xorg_testset_save_CFLAGS"
   9967 fi
   9968 
   9969 found="no"
   9970 
   9971 	if test $found = "no" ; then
   9972 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9973 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9974 		fi
   9975 
   9976 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9977 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9978 		fi
   9979 
   9980 		CFLAGS="$CFLAGS -Wsequence-point"
   9981 
   9982 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9983 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9984 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9985 		if eval test \${$cacheid+y}
   9986 then :
   9987   printf %s "(cached) " >&6
   9988 else $as_nop
   9989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9990 /* end confdefs.h.  */
   9991 int i;
   9992 int
   9993 main (void)
   9994 {
   9995 
   9996   ;
   9997   return 0;
   9998 }
   9999 _ACEOF
   10000 if ac_fn_c_try_link "$LINENO"
   10001 then :
   10002   eval $cacheid=yes
   10003 else $as_nop
   10004   eval $cacheid=no
   10005 fi
   10006 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10007     conftest$ac_exeext conftest.$ac_ext
   10008 fi
   10009 
   10010 
   10011 		CFLAGS="$xorg_testset_save_CFLAGS"
   10012 
   10013 		eval supported=\$$cacheid
   10014 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10015 printf "%s\n" "$supported" >&6; }
   10016 		if test "$supported" = "yes" ; then
   10017 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   10018 			found="yes"
   10019 		fi
   10020 	fi
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 
   10035 
   10036 xorg_testset_save_CFLAGS="$CFLAGS"
   10037 
   10038 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10039 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10040 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10041 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10042 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10043 then :
   10044   printf %s "(cached) " >&6
   10045 else $as_nop
   10046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10047 /* end confdefs.h.  */
   10048 int i;
   10049 _ACEOF
   10050 if ac_fn_c_try_compile "$LINENO"
   10051 then :
   10052   xorg_cv_cc_flag_unknown_warning_option=yes
   10053 else $as_nop
   10054   xorg_cv_cc_flag_unknown_warning_option=no
   10055 fi
   10056 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10057 fi
   10058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10059 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10060 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10061 	CFLAGS="$xorg_testset_save_CFLAGS"
   10062 fi
   10063 
   10064 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10065 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10066 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10067 	fi
   10068 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10069 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10070 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10071 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10072 then :
   10073   printf %s "(cached) " >&6
   10074 else $as_nop
   10075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10076 /* end confdefs.h.  */
   10077 int i;
   10078 _ACEOF
   10079 if ac_fn_c_try_compile "$LINENO"
   10080 then :
   10081   xorg_cv_cc_flag_unused_command_line_argument=yes
   10082 else $as_nop
   10083   xorg_cv_cc_flag_unused_command_line_argument=no
   10084 fi
   10085 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10086 fi
   10087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10088 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10089 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10090 	CFLAGS="$xorg_testset_save_CFLAGS"
   10091 fi
   10092 
   10093 found="no"
   10094 
   10095 	if test $found = "no" ; then
   10096 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10097 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10098 		fi
   10099 
   10100 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10101 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10102 		fi
   10103 
   10104 		CFLAGS="$CFLAGS -Wreturn-type"
   10105 
   10106 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10107 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10108 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10109 		if eval test \${$cacheid+y}
   10110 then :
   10111   printf %s "(cached) " >&6
   10112 else $as_nop
   10113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10114 /* end confdefs.h.  */
   10115 int i;
   10116 int
   10117 main (void)
   10118 {
   10119 
   10120   ;
   10121   return 0;
   10122 }
   10123 _ACEOF
   10124 if ac_fn_c_try_link "$LINENO"
   10125 then :
   10126   eval $cacheid=yes
   10127 else $as_nop
   10128   eval $cacheid=no
   10129 fi
   10130 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10131     conftest$ac_exeext conftest.$ac_ext
   10132 fi
   10133 
   10134 
   10135 		CFLAGS="$xorg_testset_save_CFLAGS"
   10136 
   10137 		eval supported=\$$cacheid
   10138 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10139 printf "%s\n" "$supported" >&6; }
   10140 		if test "$supported" = "yes" ; then
   10141 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10142 			found="yes"
   10143 		fi
   10144 	fi
   10145 
   10146 
   10147 
   10148 
   10149 
   10150 
   10151 
   10152 
   10153 
   10154 
   10155 
   10156 
   10157 
   10158 
   10159 
   10160 xorg_testset_save_CFLAGS="$CFLAGS"
   10161 
   10162 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10163 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10164 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10165 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10166 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10167 then :
   10168   printf %s "(cached) " >&6
   10169 else $as_nop
   10170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10171 /* end confdefs.h.  */
   10172 int i;
   10173 _ACEOF
   10174 if ac_fn_c_try_compile "$LINENO"
   10175 then :
   10176   xorg_cv_cc_flag_unknown_warning_option=yes
   10177 else $as_nop
   10178   xorg_cv_cc_flag_unknown_warning_option=no
   10179 fi
   10180 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10181 fi
   10182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10183 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10184 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10185 	CFLAGS="$xorg_testset_save_CFLAGS"
   10186 fi
   10187 
   10188 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10189 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10190 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10191 	fi
   10192 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10193 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10194 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10195 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10196 then :
   10197   printf %s "(cached) " >&6
   10198 else $as_nop
   10199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10200 /* end confdefs.h.  */
   10201 int i;
   10202 _ACEOF
   10203 if ac_fn_c_try_compile "$LINENO"
   10204 then :
   10205   xorg_cv_cc_flag_unused_command_line_argument=yes
   10206 else $as_nop
   10207   xorg_cv_cc_flag_unused_command_line_argument=no
   10208 fi
   10209 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   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 $as_nop
   10237   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 $as_nop
   10252   eval $cacheid=no
   10253 fi
   10254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10255     conftest$ac_exeext conftest.$ac_ext
   10256 fi
   10257 
   10258 
   10259 		CFLAGS="$xorg_testset_save_CFLAGS"
   10260 
   10261 		eval supported=\$$cacheid
   10262 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10263 printf "%s\n" "$supported" >&6; }
   10264 		if test "$supported" = "yes" ; then
   10265 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10266 			found="yes"
   10267 		fi
   10268 	fi
   10269 
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 xorg_testset_save_CFLAGS="$CFLAGS"
   10285 
   10286 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10287 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10288 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10289 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10290 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10291 then :
   10292   printf %s "(cached) " >&6
   10293 else $as_nop
   10294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10295 /* end confdefs.h.  */
   10296 int i;
   10297 _ACEOF
   10298 if ac_fn_c_try_compile "$LINENO"
   10299 then :
   10300   xorg_cv_cc_flag_unknown_warning_option=yes
   10301 else $as_nop
   10302   xorg_cv_cc_flag_unknown_warning_option=no
   10303 fi
   10304 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10305 fi
   10306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10307 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10308 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10309 	CFLAGS="$xorg_testset_save_CFLAGS"
   10310 fi
   10311 
   10312 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10313 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10314 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10315 	fi
   10316 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10317 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10318 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10319 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10320 then :
   10321   printf %s "(cached) " >&6
   10322 else $as_nop
   10323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10324 /* end confdefs.h.  */
   10325 int i;
   10326 _ACEOF
   10327 if ac_fn_c_try_compile "$LINENO"
   10328 then :
   10329   xorg_cv_cc_flag_unused_command_line_argument=yes
   10330 else $as_nop
   10331   xorg_cv_cc_flag_unused_command_line_argument=no
   10332 fi
   10333 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10334 fi
   10335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10336 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10337 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10338 	CFLAGS="$xorg_testset_save_CFLAGS"
   10339 fi
   10340 
   10341 found="no"
   10342 
   10343 	if test $found = "no" ; then
   10344 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10345 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10346 		fi
   10347 
   10348 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10349 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10350 		fi
   10351 
   10352 		CFLAGS="$CFLAGS -Warray-bounds"
   10353 
   10354 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10355 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10356 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10357 		if eval test \${$cacheid+y}
   10358 then :
   10359   printf %s "(cached) " >&6
   10360 else $as_nop
   10361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10362 /* end confdefs.h.  */
   10363 int i;
   10364 int
   10365 main (void)
   10366 {
   10367 
   10368   ;
   10369   return 0;
   10370 }
   10371 _ACEOF
   10372 if ac_fn_c_try_link "$LINENO"
   10373 then :
   10374   eval $cacheid=yes
   10375 else $as_nop
   10376   eval $cacheid=no
   10377 fi
   10378 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10379     conftest$ac_exeext conftest.$ac_ext
   10380 fi
   10381 
   10382 
   10383 		CFLAGS="$xorg_testset_save_CFLAGS"
   10384 
   10385 		eval supported=\$$cacheid
   10386 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10387 printf "%s\n" "$supported" >&6; }
   10388 		if test "$supported" = "yes" ; then
   10389 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10390 			found="yes"
   10391 		fi
   10392 	fi
   10393 
   10394 
   10395 
   10396 
   10397 
   10398 
   10399 
   10400 
   10401 
   10402 
   10403 
   10404 
   10405 
   10406 
   10407 
   10408 xorg_testset_save_CFLAGS="$CFLAGS"
   10409 
   10410 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10411 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10412 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10413 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10414 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10415 then :
   10416   printf %s "(cached) " >&6
   10417 else $as_nop
   10418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10419 /* end confdefs.h.  */
   10420 int i;
   10421 _ACEOF
   10422 if ac_fn_c_try_compile "$LINENO"
   10423 then :
   10424   xorg_cv_cc_flag_unknown_warning_option=yes
   10425 else $as_nop
   10426   xorg_cv_cc_flag_unknown_warning_option=no
   10427 fi
   10428 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10429 fi
   10430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10431 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10432 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10433 	CFLAGS="$xorg_testset_save_CFLAGS"
   10434 fi
   10435 
   10436 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10437 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10438 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10439 	fi
   10440 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10441 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10442 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10443 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10444 then :
   10445   printf %s "(cached) " >&6
   10446 else $as_nop
   10447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10448 /* end confdefs.h.  */
   10449 int i;
   10450 _ACEOF
   10451 if ac_fn_c_try_compile "$LINENO"
   10452 then :
   10453   xorg_cv_cc_flag_unused_command_line_argument=yes
   10454 else $as_nop
   10455   xorg_cv_cc_flag_unused_command_line_argument=no
   10456 fi
   10457 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10458 fi
   10459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10460 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10461 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10462 	CFLAGS="$xorg_testset_save_CFLAGS"
   10463 fi
   10464 
   10465 found="no"
   10466 
   10467 	if test $found = "no" ; then
   10468 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10469 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10470 		fi
   10471 
   10472 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10473 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10474 		fi
   10475 
   10476 		CFLAGS="$CFLAGS -Wwrite-strings"
   10477 
   10478 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10479 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10480 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10481 		if eval test \${$cacheid+y}
   10482 then :
   10483   printf %s "(cached) " >&6
   10484 else $as_nop
   10485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10486 /* end confdefs.h.  */
   10487 int i;
   10488 int
   10489 main (void)
   10490 {
   10491 
   10492   ;
   10493   return 0;
   10494 }
   10495 _ACEOF
   10496 if ac_fn_c_try_link "$LINENO"
   10497 then :
   10498   eval $cacheid=yes
   10499 else $as_nop
   10500   eval $cacheid=no
   10501 fi
   10502 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10503     conftest$ac_exeext conftest.$ac_ext
   10504 fi
   10505 
   10506 
   10507 		CFLAGS="$xorg_testset_save_CFLAGS"
   10508 
   10509 		eval supported=\$$cacheid
   10510 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10511 printf "%s\n" "$supported" >&6; }
   10512 		if test "$supported" = "yes" ; then
   10513 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10514 			found="yes"
   10515 		fi
   10516 	fi
   10517 
   10518 
   10519 
   10520 
   10521 
   10522 
   10523 
   10524 
   10525 
   10526 
   10527 
   10528 
   10529 
   10530 
   10531 
   10532 xorg_testset_save_CFLAGS="$CFLAGS"
   10533 
   10534 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10535 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10536 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10537 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10538 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10539 then :
   10540   printf %s "(cached) " >&6
   10541 else $as_nop
   10542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10543 /* end confdefs.h.  */
   10544 int i;
   10545 _ACEOF
   10546 if ac_fn_c_try_compile "$LINENO"
   10547 then :
   10548   xorg_cv_cc_flag_unknown_warning_option=yes
   10549 else $as_nop
   10550   xorg_cv_cc_flag_unknown_warning_option=no
   10551 fi
   10552 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10553 fi
   10554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10555 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10556 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10557 	CFLAGS="$xorg_testset_save_CFLAGS"
   10558 fi
   10559 
   10560 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10561 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10562 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10563 	fi
   10564 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10565 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10566 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10567 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10568 then :
   10569   printf %s "(cached) " >&6
   10570 else $as_nop
   10571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10572 /* end confdefs.h.  */
   10573 int i;
   10574 _ACEOF
   10575 if ac_fn_c_try_compile "$LINENO"
   10576 then :
   10577   xorg_cv_cc_flag_unused_command_line_argument=yes
   10578 else $as_nop
   10579   xorg_cv_cc_flag_unused_command_line_argument=no
   10580 fi
   10581 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10582 fi
   10583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10584 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10585 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10586 	CFLAGS="$xorg_testset_save_CFLAGS"
   10587 fi
   10588 
   10589 found="no"
   10590 
   10591 	if test $found = "no" ; then
   10592 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10593 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10594 		fi
   10595 
   10596 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10597 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10598 		fi
   10599 
   10600 		CFLAGS="$CFLAGS -Waddress"
   10601 
   10602 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10603 printf %s "checking if $CC supports -Waddress... " >&6; }
   10604 		cacheid=xorg_cv_cc_flag__Waddress
   10605 		if eval test \${$cacheid+y}
   10606 then :
   10607   printf %s "(cached) " >&6
   10608 else $as_nop
   10609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10610 /* end confdefs.h.  */
   10611 int i;
   10612 int
   10613 main (void)
   10614 {
   10615 
   10616   ;
   10617   return 0;
   10618 }
   10619 _ACEOF
   10620 if ac_fn_c_try_link "$LINENO"
   10621 then :
   10622   eval $cacheid=yes
   10623 else $as_nop
   10624   eval $cacheid=no
   10625 fi
   10626 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10627     conftest$ac_exeext conftest.$ac_ext
   10628 fi
   10629 
   10630 
   10631 		CFLAGS="$xorg_testset_save_CFLAGS"
   10632 
   10633 		eval supported=\$$cacheid
   10634 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10635 printf "%s\n" "$supported" >&6; }
   10636 		if test "$supported" = "yes" ; then
   10637 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10638 			found="yes"
   10639 		fi
   10640 	fi
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 
   10650 
   10651 
   10652 
   10653 
   10654 
   10655 
   10656 xorg_testset_save_CFLAGS="$CFLAGS"
   10657 
   10658 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10659 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10660 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10661 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10662 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10663 then :
   10664   printf %s "(cached) " >&6
   10665 else $as_nop
   10666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10667 /* end confdefs.h.  */
   10668 int i;
   10669 _ACEOF
   10670 if ac_fn_c_try_compile "$LINENO"
   10671 then :
   10672   xorg_cv_cc_flag_unknown_warning_option=yes
   10673 else $as_nop
   10674   xorg_cv_cc_flag_unknown_warning_option=no
   10675 fi
   10676 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10677 fi
   10678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10679 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10680 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10681 	CFLAGS="$xorg_testset_save_CFLAGS"
   10682 fi
   10683 
   10684 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10685 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10686 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10687 	fi
   10688 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10689 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10690 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10691 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10692 then :
   10693   printf %s "(cached) " >&6
   10694 else $as_nop
   10695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10696 /* end confdefs.h.  */
   10697 int i;
   10698 _ACEOF
   10699 if ac_fn_c_try_compile "$LINENO"
   10700 then :
   10701   xorg_cv_cc_flag_unused_command_line_argument=yes
   10702 else $as_nop
   10703   xorg_cv_cc_flag_unused_command_line_argument=no
   10704 fi
   10705 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10706 fi
   10707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10708 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10709 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10710 	CFLAGS="$xorg_testset_save_CFLAGS"
   10711 fi
   10712 
   10713 found="no"
   10714 
   10715 	if test $found = "no" ; then
   10716 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10717 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10718 		fi
   10719 
   10720 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10721 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10722 		fi
   10723 
   10724 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10725 
   10726 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10727 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10728 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10729 		if eval test \${$cacheid+y}
   10730 then :
   10731   printf %s "(cached) " >&6
   10732 else $as_nop
   10733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10734 /* end confdefs.h.  */
   10735 int i;
   10736 int
   10737 main (void)
   10738 {
   10739 
   10740   ;
   10741   return 0;
   10742 }
   10743 _ACEOF
   10744 if ac_fn_c_try_link "$LINENO"
   10745 then :
   10746   eval $cacheid=yes
   10747 else $as_nop
   10748   eval $cacheid=no
   10749 fi
   10750 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10751     conftest$ac_exeext conftest.$ac_ext
   10752 fi
   10753 
   10754 
   10755 		CFLAGS="$xorg_testset_save_CFLAGS"
   10756 
   10757 		eval supported=\$$cacheid
   10758 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10759 printf "%s\n" "$supported" >&6; }
   10760 		if test "$supported" = "yes" ; then
   10761 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10762 			found="yes"
   10763 		fi
   10764 	fi
   10765 
   10766 
   10767 
   10768 
   10769 
   10770 
   10771 
   10772 
   10773 
   10774 
   10775 
   10776 
   10777 
   10778 
   10779 
   10780 xorg_testset_save_CFLAGS="$CFLAGS"
   10781 
   10782 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10783 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10784 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10785 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10786 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10787 then :
   10788   printf %s "(cached) " >&6
   10789 else $as_nop
   10790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10791 /* end confdefs.h.  */
   10792 int i;
   10793 _ACEOF
   10794 if ac_fn_c_try_compile "$LINENO"
   10795 then :
   10796   xorg_cv_cc_flag_unknown_warning_option=yes
   10797 else $as_nop
   10798   xorg_cv_cc_flag_unknown_warning_option=no
   10799 fi
   10800 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10801 fi
   10802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10803 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10804 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10805 	CFLAGS="$xorg_testset_save_CFLAGS"
   10806 fi
   10807 
   10808 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10809 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10810 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10811 	fi
   10812 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10813 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10814 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10815 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10816 then :
   10817   printf %s "(cached) " >&6
   10818 else $as_nop
   10819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10820 /* end confdefs.h.  */
   10821 int i;
   10822 _ACEOF
   10823 if ac_fn_c_try_compile "$LINENO"
   10824 then :
   10825   xorg_cv_cc_flag_unused_command_line_argument=yes
   10826 else $as_nop
   10827   xorg_cv_cc_flag_unused_command_line_argument=no
   10828 fi
   10829 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10830 fi
   10831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10832 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10833 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10834 	CFLAGS="$xorg_testset_save_CFLAGS"
   10835 fi
   10836 
   10837 found="no"
   10838 
   10839 	if test $found = "no" ; then
   10840 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10841 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10842 		fi
   10843 
   10844 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10845 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10846 		fi
   10847 
   10848 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10849 
   10850 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10851 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10852 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10853 		if eval test \${$cacheid+y}
   10854 then :
   10855   printf %s "(cached) " >&6
   10856 else $as_nop
   10857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10858 /* end confdefs.h.  */
   10859 int i;
   10860 int
   10861 main (void)
   10862 {
   10863 
   10864   ;
   10865   return 0;
   10866 }
   10867 _ACEOF
   10868 if ac_fn_c_try_link "$LINENO"
   10869 then :
   10870   eval $cacheid=yes
   10871 else $as_nop
   10872   eval $cacheid=no
   10873 fi
   10874 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10875     conftest$ac_exeext conftest.$ac_ext
   10876 fi
   10877 
   10878 
   10879 		CFLAGS="$xorg_testset_save_CFLAGS"
   10880 
   10881 		eval supported=\$$cacheid
   10882 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10883 printf "%s\n" "$supported" >&6; }
   10884 		if test "$supported" = "yes" ; then
   10885 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10886 			found="yes"
   10887 		fi
   10888 	fi
   10889 
   10890 
   10891 fi
   10892 
   10893 
   10894 
   10895 
   10896 
   10897 
   10898 
   10899 		CWARNFLAGS="$BASE_CFLAGS"
   10900 		if  test "x$GCC" = xyes ; then
   10901 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10902 		fi
   10903 
   10904 
   10905 
   10906 
   10907 
   10908 
   10909 
   10910 
   10911 # Check whether --enable-strict-compilation was given.
   10912 if test ${enable_strict_compilation+y}
   10913 then :
   10914   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10915 else $as_nop
   10916   STRICT_COMPILE=no
   10917 fi
   10918 
   10919 
   10920 
   10921 
   10922 
   10923 
   10924 STRICT_CFLAGS=""
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938 xorg_testset_save_CFLAGS="$CFLAGS"
   10939 
   10940 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10941 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10942 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10943 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10944 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10945 then :
   10946   printf %s "(cached) " >&6
   10947 else $as_nop
   10948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10949 /* end confdefs.h.  */
   10950 int i;
   10951 _ACEOF
   10952 if ac_fn_c_try_compile "$LINENO"
   10953 then :
   10954   xorg_cv_cc_flag_unknown_warning_option=yes
   10955 else $as_nop
   10956   xorg_cv_cc_flag_unknown_warning_option=no
   10957 fi
   10958 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10959 fi
   10960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10961 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10962 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10963 	CFLAGS="$xorg_testset_save_CFLAGS"
   10964 fi
   10965 
   10966 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10967 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10968 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10969 	fi
   10970 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10971 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10972 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10973 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10974 then :
   10975   printf %s "(cached) " >&6
   10976 else $as_nop
   10977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10978 /* end confdefs.h.  */
   10979 int i;
   10980 _ACEOF
   10981 if ac_fn_c_try_compile "$LINENO"
   10982 then :
   10983   xorg_cv_cc_flag_unused_command_line_argument=yes
   10984 else $as_nop
   10985   xorg_cv_cc_flag_unused_command_line_argument=no
   10986 fi
   10987 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10988 fi
   10989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10990 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10991 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10992 	CFLAGS="$xorg_testset_save_CFLAGS"
   10993 fi
   10994 
   10995 found="no"
   10996 
   10997 	if test $found = "no" ; then
   10998 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10999 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11000 		fi
   11001 
   11002 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11003 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11004 		fi
   11005 
   11006 		CFLAGS="$CFLAGS -pedantic"
   11007 
   11008 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11009 printf %s "checking if $CC supports -pedantic... " >&6; }
   11010 		cacheid=xorg_cv_cc_flag__pedantic
   11011 		if eval test \${$cacheid+y}
   11012 then :
   11013   printf %s "(cached) " >&6
   11014 else $as_nop
   11015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11016 /* end confdefs.h.  */
   11017 int i;
   11018 int
   11019 main (void)
   11020 {
   11021 
   11022   ;
   11023   return 0;
   11024 }
   11025 _ACEOF
   11026 if ac_fn_c_try_link "$LINENO"
   11027 then :
   11028   eval $cacheid=yes
   11029 else $as_nop
   11030   eval $cacheid=no
   11031 fi
   11032 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11033     conftest$ac_exeext conftest.$ac_ext
   11034 fi
   11035 
   11036 
   11037 		CFLAGS="$xorg_testset_save_CFLAGS"
   11038 
   11039 		eval supported=\$$cacheid
   11040 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11041 printf "%s\n" "$supported" >&6; }
   11042 		if test "$supported" = "yes" ; then
   11043 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11044 			found="yes"
   11045 		fi
   11046 	fi
   11047 
   11048 
   11049 
   11050 
   11051 
   11052 
   11053 
   11054 
   11055 
   11056 
   11057 
   11058 
   11059 
   11060 
   11061 
   11062 xorg_testset_save_CFLAGS="$CFLAGS"
   11063 
   11064 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11065 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11066 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11067 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11068 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11069 then :
   11070   printf %s "(cached) " >&6
   11071 else $as_nop
   11072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11073 /* end confdefs.h.  */
   11074 int i;
   11075 _ACEOF
   11076 if ac_fn_c_try_compile "$LINENO"
   11077 then :
   11078   xorg_cv_cc_flag_unknown_warning_option=yes
   11079 else $as_nop
   11080   xorg_cv_cc_flag_unknown_warning_option=no
   11081 fi
   11082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11083 fi
   11084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11085 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11086 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11087 	CFLAGS="$xorg_testset_save_CFLAGS"
   11088 fi
   11089 
   11090 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11091 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11092 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11093 	fi
   11094 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11095 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11096 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11097 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11098 then :
   11099   printf %s "(cached) " >&6
   11100 else $as_nop
   11101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11102 /* end confdefs.h.  */
   11103 int i;
   11104 _ACEOF
   11105 if ac_fn_c_try_compile "$LINENO"
   11106 then :
   11107   xorg_cv_cc_flag_unused_command_line_argument=yes
   11108 else $as_nop
   11109   xorg_cv_cc_flag_unused_command_line_argument=no
   11110 fi
   11111 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11112 fi
   11113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11114 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11115 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11116 	CFLAGS="$xorg_testset_save_CFLAGS"
   11117 fi
   11118 
   11119 found="no"
   11120 
   11121 	if test $found = "no" ; then
   11122 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11123 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11124 		fi
   11125 
   11126 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11127 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11128 		fi
   11129 
   11130 		CFLAGS="$CFLAGS -Werror"
   11131 
   11132 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11133 printf %s "checking if $CC supports -Werror... " >&6; }
   11134 		cacheid=xorg_cv_cc_flag__Werror
   11135 		if eval test \${$cacheid+y}
   11136 then :
   11137   printf %s "(cached) " >&6
   11138 else $as_nop
   11139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11140 /* end confdefs.h.  */
   11141 int i;
   11142 int
   11143 main (void)
   11144 {
   11145 
   11146   ;
   11147   return 0;
   11148 }
   11149 _ACEOF
   11150 if ac_fn_c_try_link "$LINENO"
   11151 then :
   11152   eval $cacheid=yes
   11153 else $as_nop
   11154   eval $cacheid=no
   11155 fi
   11156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11157     conftest$ac_exeext conftest.$ac_ext
   11158 fi
   11159 
   11160 
   11161 		CFLAGS="$xorg_testset_save_CFLAGS"
   11162 
   11163 		eval supported=\$$cacheid
   11164 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11165 printf "%s\n" "$supported" >&6; }
   11166 		if test "$supported" = "yes" ; then
   11167 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11168 			found="yes"
   11169 		fi
   11170 	fi
   11171 
   11172 	if test $found = "no" ; then
   11173 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11174 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11175 		fi
   11176 
   11177 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11178 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11179 		fi
   11180 
   11181 		CFLAGS="$CFLAGS -errwarn"
   11182 
   11183 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11184 printf %s "checking if $CC supports -errwarn... " >&6; }
   11185 		cacheid=xorg_cv_cc_flag__errwarn
   11186 		if eval test \${$cacheid+y}
   11187 then :
   11188   printf %s "(cached) " >&6
   11189 else $as_nop
   11190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11191 /* end confdefs.h.  */
   11192 int i;
   11193 int
   11194 main (void)
   11195 {
   11196 
   11197   ;
   11198   return 0;
   11199 }
   11200 _ACEOF
   11201 if ac_fn_c_try_link "$LINENO"
   11202 then :
   11203   eval $cacheid=yes
   11204 else $as_nop
   11205   eval $cacheid=no
   11206 fi
   11207 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11208     conftest$ac_exeext conftest.$ac_ext
   11209 fi
   11210 
   11211 
   11212 		CFLAGS="$xorg_testset_save_CFLAGS"
   11213 
   11214 		eval supported=\$$cacheid
   11215 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11216 printf "%s\n" "$supported" >&6; }
   11217 		if test "$supported" = "yes" ; then
   11218 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11219 			found="yes"
   11220 		fi
   11221 	fi
   11222 
   11223 
   11224 
   11225 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11226 # activate it with -Werror, so we add it here explicitly.
   11227 
   11228 
   11229 
   11230 
   11231 
   11232 
   11233 
   11234 
   11235 
   11236 
   11237 
   11238 
   11239 
   11240 xorg_testset_save_CFLAGS="$CFLAGS"
   11241 
   11242 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11243 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11244 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11245 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11246 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11247 then :
   11248   printf %s "(cached) " >&6
   11249 else $as_nop
   11250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11251 /* end confdefs.h.  */
   11252 int i;
   11253 _ACEOF
   11254 if ac_fn_c_try_compile "$LINENO"
   11255 then :
   11256   xorg_cv_cc_flag_unknown_warning_option=yes
   11257 else $as_nop
   11258   xorg_cv_cc_flag_unknown_warning_option=no
   11259 fi
   11260 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11261 fi
   11262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11263 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11264 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11265 	CFLAGS="$xorg_testset_save_CFLAGS"
   11266 fi
   11267 
   11268 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11269 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11270 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11271 	fi
   11272 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11273 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11274 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11275 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11276 then :
   11277   printf %s "(cached) " >&6
   11278 else $as_nop
   11279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11280 /* end confdefs.h.  */
   11281 int i;
   11282 _ACEOF
   11283 if ac_fn_c_try_compile "$LINENO"
   11284 then :
   11285   xorg_cv_cc_flag_unused_command_line_argument=yes
   11286 else $as_nop
   11287   xorg_cv_cc_flag_unused_command_line_argument=no
   11288 fi
   11289 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11290 fi
   11291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11292 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11293 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11294 	CFLAGS="$xorg_testset_save_CFLAGS"
   11295 fi
   11296 
   11297 found="no"
   11298 
   11299 	if test $found = "no" ; then
   11300 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11301 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11302 		fi
   11303 
   11304 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11305 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11306 		fi
   11307 
   11308 		CFLAGS="$CFLAGS -Werror=attributes"
   11309 
   11310 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11311 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11312 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11313 		if eval test \${$cacheid+y}
   11314 then :
   11315   printf %s "(cached) " >&6
   11316 else $as_nop
   11317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11318 /* end confdefs.h.  */
   11319 int i;
   11320 int
   11321 main (void)
   11322 {
   11323 
   11324   ;
   11325   return 0;
   11326 }
   11327 _ACEOF
   11328 if ac_fn_c_try_link "$LINENO"
   11329 then :
   11330   eval $cacheid=yes
   11331 else $as_nop
   11332   eval $cacheid=no
   11333 fi
   11334 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11335     conftest$ac_exeext conftest.$ac_ext
   11336 fi
   11337 
   11338 
   11339 		CFLAGS="$xorg_testset_save_CFLAGS"
   11340 
   11341 		eval supported=\$$cacheid
   11342 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11343 printf "%s\n" "$supported" >&6; }
   11344 		if test "$supported" = "yes" ; then
   11345 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11346 			found="yes"
   11347 		fi
   11348 	fi
   11349 
   11350 
   11351 
   11352 if test "x$STRICT_COMPILE" = "xyes"; then
   11353     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11354     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11355 fi
   11356 
   11357 
   11358 
   11359 
   11360 
   11361 
   11362 cat >>confdefs.h <<_ACEOF
   11363 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11364 _ACEOF
   11365 
   11366 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11367 	if test "x$PVM" = "x"; then
   11368 		PVM="0"
   11369 	fi
   11370 
   11371 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11372 
   11373 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11374 	if test "x$PVP" = "x"; then
   11375 		PVP="0"
   11376 	fi
   11377 
   11378 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11379 
   11380 
   11381 
   11382 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11383 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11384 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11385 touch \$(top_srcdir)/ChangeLog; \
   11386 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11387 
   11388 
   11389 
   11390 
   11391 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11392 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11393 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11394 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11395 touch \$(top_srcdir)/INSTALL; \
   11396 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11397 
   11398 
   11399 
   11400 
   11401 
   11402 
   11403 case $host_os in
   11404     solaris*)
   11405         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11406         # check for a man page file found in later versions that use
   11407         # traditional section numbers instead
   11408         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11409 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11410 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11411 then :
   11412   printf %s "(cached) " >&6
   11413 else $as_nop
   11414   test "$cross_compiling" = yes &&
   11415   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11416 if test -r "/usr/share/man/man7/attributes.7"; then
   11417   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11418 else
   11419   ac_cv_file__usr_share_man_man7_attributes_7=no
   11420 fi
   11421 fi
   11422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11423 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11424 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11425 then :
   11426   SYSV_MAN_SECTIONS=false
   11427 else $as_nop
   11428   SYSV_MAN_SECTIONS=true
   11429 fi
   11430 
   11431         ;;
   11432     *) SYSV_MAN_SECTIONS=false ;;
   11433 esac
   11434 
   11435 if test x$APP_MAN_SUFFIX = x    ; then
   11436     APP_MAN_SUFFIX=1
   11437 fi
   11438 if test x$APP_MAN_DIR = x    ; then
   11439     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11440 fi
   11441 
   11442 if test x$LIB_MAN_SUFFIX = x    ; then
   11443     LIB_MAN_SUFFIX=3
   11444 fi
   11445 if test x$LIB_MAN_DIR = x    ; then
   11446     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11447 fi
   11448 
   11449 if test x$FILE_MAN_SUFFIX = x    ; then
   11450     case $SYSV_MAN_SECTIONS in
   11451 	true)				FILE_MAN_SUFFIX=4  ;;
   11452 	*)				FILE_MAN_SUFFIX=5  ;;
   11453     esac
   11454 fi
   11455 if test x$FILE_MAN_DIR = x    ; then
   11456     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11457 fi
   11458 
   11459 if test x$MISC_MAN_SUFFIX = x    ; then
   11460     case $SYSV_MAN_SECTIONS in
   11461 	true)				MISC_MAN_SUFFIX=5  ;;
   11462 	*)				MISC_MAN_SUFFIX=7  ;;
   11463     esac
   11464 fi
   11465 if test x$MISC_MAN_DIR = x    ; then
   11466     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11467 fi
   11468 
   11469 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11470     case $SYSV_MAN_SECTIONS in
   11471 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11472 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11473     esac
   11474 fi
   11475 if test x$DRIVER_MAN_DIR = x    ; then
   11476     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11477 fi
   11478 
   11479 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11480     case $SYSV_MAN_SECTIONS in
   11481 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11482 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11483     esac
   11484 fi
   11485 if test x$ADMIN_MAN_DIR = x    ; then
   11486     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11487 fi
   11488 
   11489 
   11490 
   11491 
   11492 
   11493 
   11494 
   11495 
   11496 
   11497 
   11498 
   11499 
   11500 
   11501 
   11502 
   11503 XORG_MAN_PAGE="X Version 11"
   11504 
   11505 MAN_SUBSTS="\
   11506 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11507 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11508 	-e 's|__xservername__|Xorg|g' \
   11509 	-e 's|__xconfigfile__|xorg.conf|g' \
   11510 	-e 's|__projectroot__|\$(prefix)|g' \
   11511 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11512 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11513 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11514 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11515 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11516 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11517 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11518 
   11519 
   11520 
   11521 # Check whether --enable-silent-rules was given.
   11522 if test ${enable_silent_rules+y}
   11523 then :
   11524   enableval=$enable_silent_rules;
   11525 fi
   11526 
   11527 case $enable_silent_rules in # (((
   11528   yes) AM_DEFAULT_VERBOSITY=0;;
   11529    no) AM_DEFAULT_VERBOSITY=1;;
   11530     *) AM_DEFAULT_VERBOSITY=0;;
   11531 esac
   11532 am_make=${MAKE-make}
   11533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11534 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11535 if test ${am_cv_make_support_nested_variables+y}
   11536 then :
   11537   printf %s "(cached) " >&6
   11538 else $as_nop
   11539   if printf "%s\n" 'TRUE=$(BAR$(V))
   11540 BAR0=false
   11541 BAR1=true
   11542 V=1
   11543 am__doit:
   11544 	@$(TRUE)
   11545 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11546   am_cv_make_support_nested_variables=yes
   11547 else
   11548   am_cv_make_support_nested_variables=no
   11549 fi
   11550 fi
   11551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11552 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11553 if test $am_cv_make_support_nested_variables = yes; then
   11554     AM_V='$(V)'
   11555   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11556 else
   11557   AM_V=$AM_DEFAULT_VERBOSITY
   11558   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11559 fi
   11560 AM_BACKSLASH='\'
   11561 
   11562 
   11563 
   11564 
   11565 # Check whether --enable-devel-docs was given.
   11566 if test ${enable_devel_docs+y}
   11567 then :
   11568   enableval=$enable_devel_docs; build_devel_docs=$enableval
   11569 else $as_nop
   11570   build_devel_docs=yes
   11571 fi
   11572 
   11573 
   11574  if test x$build_devel_docs = xyes; then
   11575   ENABLE_DEVEL_DOCS_TRUE=
   11576   ENABLE_DEVEL_DOCS_FALSE='#'
   11577 else
   11578   ENABLE_DEVEL_DOCS_TRUE='#'
   11579   ENABLE_DEVEL_DOCS_FALSE=
   11580 fi
   11581 
   11582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build developer documentation" >&5
   11583 printf %s "checking whether to build developer documentation... " >&6; }
   11584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $build_devel_docs" >&5
   11585 printf "%s\n" "$build_devel_docs" >&6; }
   11586 
   11587 
   11588 
   11589 
   11590 
   11591 # Check whether --with-xmlto was given.
   11592 if test ${with_xmlto+y}
   11593 then :
   11594   withval=$with_xmlto; use_xmlto=$withval
   11595 else $as_nop
   11596   use_xmlto=auto
   11597 fi
   11598 
   11599 
   11600 
   11601 if test "x$use_xmlto" = x"auto"; then
   11602    # Extract the first word of "xmlto", so it can be a program name with args.
   11603 set dummy xmlto; ac_word=$2
   11604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11605 printf %s "checking for $ac_word... " >&6; }
   11606 if test ${ac_cv_path_XMLTO+y}
   11607 then :
   11608   printf %s "(cached) " >&6
   11609 else $as_nop
   11610   case $XMLTO in
   11611   [\\/]* | ?:[\\/]*)
   11612   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   11613   ;;
   11614   *)
   11615   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11616 for as_dir in $PATH
   11617 do
   11618   IFS=$as_save_IFS
   11619   case $as_dir in #(((
   11620     '') as_dir=./ ;;
   11621     */) ;;
   11622     *) as_dir=$as_dir/ ;;
   11623   esac
   11624     for ac_exec_ext in '' $ac_executable_extensions; do
   11625   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11626     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   11627     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11628     break 2
   11629   fi
   11630 done
   11631   done
   11632 IFS=$as_save_IFS
   11633 
   11634   ;;
   11635 esac
   11636 fi
   11637 XMLTO=$ac_cv_path_XMLTO
   11638 if test -n "$XMLTO"; then
   11639   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   11640 printf "%s\n" "$XMLTO" >&6; }
   11641 else
   11642   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11643 printf "%s\n" "no" >&6; }
   11644 fi
   11645 
   11646 
   11647    if test "x$XMLTO" = "x"; then
   11648         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   11649 printf "%s\n" "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   11650 	have_xmlto=no
   11651    else
   11652         have_xmlto=yes
   11653    fi
   11654 elif test "x$use_xmlto" = x"yes" ; then
   11655    # Extract the first word of "xmlto", so it can be a program name with args.
   11656 set dummy xmlto; ac_word=$2
   11657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11658 printf %s "checking for $ac_word... " >&6; }
   11659 if test ${ac_cv_path_XMLTO+y}
   11660 then :
   11661   printf %s "(cached) " >&6
   11662 else $as_nop
   11663   case $XMLTO in
   11664   [\\/]* | ?:[\\/]*)
   11665   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   11666   ;;
   11667   *)
   11668   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11669 for as_dir in $PATH
   11670 do
   11671   IFS=$as_save_IFS
   11672   case $as_dir in #(((
   11673     '') as_dir=./ ;;
   11674     */) ;;
   11675     *) as_dir=$as_dir/ ;;
   11676   esac
   11677     for ac_exec_ext in '' $ac_executable_extensions; do
   11678   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11679     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   11680     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11681     break 2
   11682   fi
   11683 done
   11684   done
   11685 IFS=$as_save_IFS
   11686 
   11687   ;;
   11688 esac
   11689 fi
   11690 XMLTO=$ac_cv_path_XMLTO
   11691 if test -n "$XMLTO"; then
   11692   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   11693 printf "%s\n" "$XMLTO" >&6; }
   11694 else
   11695   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11696 printf "%s\n" "no" >&6; }
   11697 fi
   11698 
   11699 
   11700    if test "x$XMLTO" = "x"; then
   11701         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   11702    fi
   11703    have_xmlto=yes
   11704 elif test "x$use_xmlto" = x"no" ; then
   11705    if test "x$XMLTO" != "x"; then
   11706       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   11707 printf "%s\n" "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   11708    fi
   11709    have_xmlto=no
   11710 else
   11711    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   11712 fi
   11713 
   11714 # Test for a minimum version of xmlto, if provided.
   11715 if test "$have_xmlto" = yes; then
   11716     # scrape the xmlto version
   11717     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   11718 printf %s "checking the xmlto version... " >&6; }
   11719     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   11720     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   11721 printf "%s\n" "$xmlto_version" >&6; }
   11722     as_arg_v1=$xmlto_version
   11723 as_arg_v2=0.0.20
   11724 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   11725 case $? in #(
   11726   1) :
   11727     if test "x$use_xmlto" = xauto; then
   11728             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&5
   11729 printf "%s\n" "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&2;}
   11730             have_xmlto=no
   11731         else
   11732             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.20 needed" "$LINENO" 5
   11733         fi ;; #(
   11734   0) :
   11735      ;; #(
   11736   2) :
   11737      ;; #(
   11738   *) :
   11739      ;;
   11740 esac
   11741 fi
   11742 
   11743 # Test for the ability of xmlto to generate a text target
   11744 #
   11745 # NOTE: xmlto 0.0.27 or higher return a non-zero return code in the
   11746 # following test for empty XML docbook files.
   11747 # For compatibility reasons use the following empty XML docbook file and if
   11748 # it fails try it again with a non-empty XML file.
   11749 have_xmlto_text=no
   11750 cat > conftest.xml << "EOF"
   11751 EOF
   11752 if test "$have_xmlto" = yes
   11753 then :
   11754   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   11755 then :
   11756   have_xmlto_text=yes
   11757 else $as_nop
   11758   # Try it again with a non-empty XML file.
   11759               cat > conftest.xml << "EOF"
   11760 <x></x>
   11761 EOF
   11762               if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   11763 then :
   11764   have_xmlto_text=yes
   11765 else $as_nop
   11766   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   11767 printf "%s\n" "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   11768 fi
   11769 fi
   11770 fi
   11771 rm -f conftest.xml
   11772  if test $have_xmlto_text = yes; then
   11773   HAVE_XMLTO_TEXT_TRUE=
   11774   HAVE_XMLTO_TEXT_FALSE='#'
   11775 else
   11776   HAVE_XMLTO_TEXT_TRUE='#'
   11777   HAVE_XMLTO_TEXT_FALSE=
   11778 fi
   11779 
   11780  if test "$have_xmlto" = yes; then
   11781   HAVE_XMLTO_TRUE=
   11782   HAVE_XMLTO_FALSE='#'
   11783 else
   11784   HAVE_XMLTO_TRUE='#'
   11785   HAVE_XMLTO_FALSE=
   11786 fi
   11787 
   11788 
   11789 
   11790 
   11791 
   11792 
   11793 # Check whether --with-fop was given.
   11794 if test ${with_fop+y}
   11795 then :
   11796   withval=$with_fop; use_fop=$withval
   11797 else $as_nop
   11798   use_fop=auto
   11799 fi
   11800 
   11801 
   11802 
   11803 if test "x$use_fop" = x"auto"; then
   11804    # Extract the first word of "fop", so it can be a program name with args.
   11805 set dummy fop; ac_word=$2
   11806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11807 printf %s "checking for $ac_word... " >&6; }
   11808 if test ${ac_cv_path_FOP+y}
   11809 then :
   11810   printf %s "(cached) " >&6
   11811 else $as_nop
   11812   case $FOP in
   11813   [\\/]* | ?:[\\/]*)
   11814   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   11815   ;;
   11816   *)
   11817   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11818 for as_dir in $PATH
   11819 do
   11820   IFS=$as_save_IFS
   11821   case $as_dir in #(((
   11822     '') as_dir=./ ;;
   11823     */) ;;
   11824     *) as_dir=$as_dir/ ;;
   11825   esac
   11826     for ac_exec_ext in '' $ac_executable_extensions; do
   11827   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11828     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   11829     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11830     break 2
   11831   fi
   11832 done
   11833   done
   11834 IFS=$as_save_IFS
   11835 
   11836   ;;
   11837 esac
   11838 fi
   11839 FOP=$ac_cv_path_FOP
   11840 if test -n "$FOP"; then
   11841   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   11842 printf "%s\n" "$FOP" >&6; }
   11843 else
   11844   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11845 printf "%s\n" "no" >&6; }
   11846 fi
   11847 
   11848 
   11849    if test "x$FOP" = "x"; then
   11850         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   11851 printf "%s\n" "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   11852 	have_fop=no
   11853    else
   11854         have_fop=yes
   11855    fi
   11856 elif test "x$use_fop" = x"yes" ; then
   11857    # Extract the first word of "fop", so it can be a program name with args.
   11858 set dummy fop; ac_word=$2
   11859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11860 printf %s "checking for $ac_word... " >&6; }
   11861 if test ${ac_cv_path_FOP+y}
   11862 then :
   11863   printf %s "(cached) " >&6
   11864 else $as_nop
   11865   case $FOP in
   11866   [\\/]* | ?:[\\/]*)
   11867   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   11868   ;;
   11869   *)
   11870   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11871 for as_dir in $PATH
   11872 do
   11873   IFS=$as_save_IFS
   11874   case $as_dir in #(((
   11875     '') as_dir=./ ;;
   11876     */) ;;
   11877     *) as_dir=$as_dir/ ;;
   11878   esac
   11879     for ac_exec_ext in '' $ac_executable_extensions; do
   11880   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11881     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   11882     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11883     break 2
   11884   fi
   11885 done
   11886   done
   11887 IFS=$as_save_IFS
   11888 
   11889   ;;
   11890 esac
   11891 fi
   11892 FOP=$ac_cv_path_FOP
   11893 if test -n "$FOP"; then
   11894   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   11895 printf "%s\n" "$FOP" >&6; }
   11896 else
   11897   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11898 printf "%s\n" "no" >&6; }
   11899 fi
   11900 
   11901 
   11902    if test "x$FOP" = "x"; then
   11903         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   11904    fi
   11905    have_fop=yes
   11906 elif test "x$use_fop" = x"no" ; then
   11907    if test "x$FOP" != "x"; then
   11908       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   11909 printf "%s\n" "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   11910    fi
   11911    have_fop=no
   11912 else
   11913    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   11914 fi
   11915 
   11916 # Test for a minimum version of fop, if provided.
   11917 
   11918  if test "$have_fop" = yes; then
   11919   HAVE_FOP_TRUE=
   11920   HAVE_FOP_FALSE='#'
   11921 else
   11922   HAVE_FOP_TRUE='#'
   11923   HAVE_FOP_FALSE=
   11924 fi
   11925 
   11926 
   11927 
   11928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.5" >&5
   11929 printf %s "checking for X.Org SGML entities >= 1.5... " >&6; }
   11930 XORG_SGML_PATH=
   11931 if test -n "$PKG_CONFIG" && \
   11932     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.5\""; } >&5
   11933   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.5") 2>&5
   11934   ac_status=$?
   11935   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11936   test $ac_status = 0; }; then
   11937   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   11938 else
   11939   :
   11940 
   11941 fi
   11942 
   11943 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   11944 # the path and the name of the doc stylesheet
   11945 if test "x$XORG_SGML_PATH" != "x" ; then
   11946    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   11947 printf "%s\n" "$XORG_SGML_PATH" >&6; }
   11948    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   11949    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   11950 else
   11951    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11952 printf "%s\n" "no" >&6; }
   11953 fi
   11954 
   11955 
   11956 
   11957 
   11958  if test "x$XSL_STYLESHEET" != "x"; then
   11959   HAVE_STYLESHEETS_TRUE=
   11960   HAVE_STYLESHEETS_FALSE='#'
   11961 else
   11962   HAVE_STYLESHEETS_TRUE='#'
   11963   HAVE_STYLESHEETS_FALSE=
   11964 fi
   11965 
   11966 
   11967 
   11968 
   11969 
   11970 
   11971 
   11972 # Check whether --with-lint was given.
   11973 if test ${with_lint+y}
   11974 then :
   11975   withval=$with_lint; use_lint=$withval
   11976 else $as_nop
   11977   use_lint=no
   11978 fi
   11979 
   11980 
   11981 # Obtain platform specific info like program name and options
   11982 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   11983 case $host_os in
   11984   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   11985 	lint_name=splint
   11986 	lint_options="-badflag"
   11987 	;;
   11988   *freebsd* | *netbsd*)
   11989 	lint_name=lint
   11990 	lint_options="-u -b"
   11991 	;;
   11992   *solaris*)
   11993 	lint_name=lint
   11994 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   11995 	;;
   11996 esac
   11997 
   11998 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   11999 if test "x$use_lint" = x"yes" ; then
   12000    # Extract the first word of "$lint_name", so it can be a program name with args.
   12001 set dummy $lint_name; ac_word=$2
   12002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12003 printf %s "checking for $ac_word... " >&6; }
   12004 if test ${ac_cv_path_LINT+y}
   12005 then :
   12006   printf %s "(cached) " >&6
   12007 else $as_nop
   12008   case $LINT in
   12009   [\\/]* | ?:[\\/]*)
   12010   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   12011   ;;
   12012   *)
   12013   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12014 for as_dir in $PATH
   12015 do
   12016   IFS=$as_save_IFS
   12017   case $as_dir in #(((
   12018     '') as_dir=./ ;;
   12019     */) ;;
   12020     *) as_dir=$as_dir/ ;;
   12021   esac
   12022     for ac_exec_ext in '' $ac_executable_extensions; do
   12023   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12024     ac_cv_path_LINT="$as_dir$ac_word$ac_exec_ext"
   12025     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12026     break 2
   12027   fi
   12028 done
   12029   done
   12030 IFS=$as_save_IFS
   12031 
   12032   ;;
   12033 esac
   12034 fi
   12035 LINT=$ac_cv_path_LINT
   12036 if test -n "$LINT"; then
   12037   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   12038 printf "%s\n" "$LINT" >&6; }
   12039 else
   12040   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12041 printf "%s\n" "no" >&6; }
   12042 fi
   12043 
   12044 
   12045    if test "x$LINT" = "x"; then
   12046         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   12047    fi
   12048 elif test "x$use_lint" = x"no" ; then
   12049    if test "x$LINT" != "x"; then
   12050       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   12051 printf "%s\n" "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   12052    fi
   12053 else
   12054    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   12055 fi
   12056 
   12057 # User supplied flags override default flags
   12058 if test "x$LINT_FLAGS" != "x"; then
   12059    lint_options=$LINT_FLAGS
   12060 fi
   12061 
   12062 LINT_FLAGS=$lint_options
   12063 
   12064  if test "x$LINT" != x; then
   12065   LINT_TRUE=
   12066   LINT_FALSE='#'
   12067 else
   12068   LINT_TRUE='#'
   12069   LINT_FALSE=
   12070 fi
   12071 
   12072 
   12073 
   12074 
   12075 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
   12076 if test "x$ac_cv_header_stdint_h" = xyes
   12077 then :
   12078   printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
   12079 
   12080 fi
   12081 
   12082 
   12083 
   12084 # Check whether --with-default-config-file was given.
   12085 if test ${with_default_config_file+y}
   12086 then :
   12087   withval=$with_default_config_file; CONFIG_FILE="$withval"
   12088 else $as_nop
   12089   CONFIG_FILE="${sysconfdir}/X11/fs/config"
   12090 fi
   12091 
   12092 
   12093 DEFAULT_CONFIG_FILE=`echo ${CONFIG_FILE} | sed 's/,/\\\\\\\\\\\",\\\\\\\\\\\"/'g`
   12094 
   12095   prefix_NONE=
   12096   exec_prefix_NONE=
   12097   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   12098   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   12099   eval ax_define_dir="\"$DEFAULT_CONFIG_FILE\""
   12100   eval ax_define_dir="\"$ax_define_dir\""
   12101   DEFAULT_CONFIG_FILE="$ax_define_dir"
   12102 
   12103 
   12104 printf "%s\n" "#define DEFAULT_CONFIG_FILE \"$ax_define_dir\"" >>confdefs.h
   12105 
   12106   test "$prefix_NONE" && prefix=NONE
   12107   test "$exec_prefix_NONE" && exec_prefix=NONE
   12108 
   12109 
   12110 # generate text for the man page
   12111 case $CONFIG_FILE in
   12112     *,*)
   12113 	CONFIG_FILE_DESC="the first file found from the list:"
   12114 	CONFIG_FILE_PATH=`echo ${CONFIG_FILE} | sed 's/,/\\\\\\\\fR, \\\\\\\\fI/g'`
   12115 	;;
   12116     *)
   12117 	CONFIG_FILE_DESC="the default file,"
   12118 	CONFIG_FILE_PATH="${CONFIG_FILE}"
   12119 	;;
   12120 esac
   12121 
   12122 
   12123 
   12124 # Require X.Org's font util macros 1.1 or later for XORG_FONTROOTDIR
   12125 
   12126 
   12127 
   12128 
   12129 
   12130 
   12131 
   12132 
   12133 
   12134 
   12135 
   12136 
   12137 
   12138 
   12139 
   12140 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5
   12141 printf %s "checking for root directory for font files... " >&6; }
   12142 
   12143 # Check whether --with-fontrootdir was given.
   12144 if test ${with_fontrootdir+y}
   12145 then :
   12146   withval=$with_fontrootdir; FONTROOTDIR="$withval"
   12147 fi
   12148 
   12149 	# if --with-fontrootdir not specified...
   12150 	if test "x${FONTROOTDIR}" = "x"; then
   12151 		FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil`
   12152 	fi
   12153 	# ...and if pkg-config didn't find fontdir in fontutil.pc...
   12154 	if test "x${FONTROOTDIR}" = "x"; then
   12155 		FONTROOTDIR="${datadir}/fonts/X11"
   12156 	fi
   12157 
   12158 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5
   12159 printf "%s\n" "${FONTROOTDIR}" >&6; }
   12160 
   12161 
   12162 
   12163 
   12164 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for directory for misc files" >&5
   12165 printf %s "checking for directory for misc files... " >&6; }
   12166 
   12167 # Check whether --with-fontmiscdir was given.
   12168 if test ${with_fontmiscdir+y}
   12169 then :
   12170   withval=$with_fontmiscdir; FONTMISCDIR="${withval}"
   12171 else $as_nop
   12172   FONTMISCDIR='${FONTROOTDIR}/misc'
   12173 fi
   12174 
   12175 
   12176 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTMISCDIR}" >&5
   12177 printf "%s\n" "${FONTMISCDIR}" >&6; }
   12178 
   12179 
   12180 
   12181 
   12182 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for directory for OTF files" >&5
   12183 printf %s "checking for directory for OTF files... " >&6; }
   12184 
   12185 # Check whether --with-fontotfdir was given.
   12186 if test ${with_fontotfdir+y}
   12187 then :
   12188   withval=$with_fontotfdir; FONTOTFDIR="${withval}"
   12189 else $as_nop
   12190   FONTOTFDIR='${FONTROOTDIR}/OTF'
   12191 fi
   12192 
   12193 
   12194 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTOTFDIR}" >&5
   12195 printf "%s\n" "${FONTOTFDIR}" >&6; }
   12196 
   12197 
   12198 
   12199 
   12200 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for directory for TTF files" >&5
   12201 printf %s "checking for directory for TTF files... " >&6; }
   12202 
   12203 # Check whether --with-fontttfdir was given.
   12204 if test ${with_fontttfdir+y}
   12205 then :
   12206   withval=$with_fontttfdir; FONTTTFDIR="${withval}"
   12207 else $as_nop
   12208   FONTTTFDIR='${FONTROOTDIR}/TTF'
   12209 fi
   12210 
   12211 
   12212 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTTTFDIR}" >&5
   12213 printf "%s\n" "${FONTTTFDIR}" >&6; }
   12214 
   12215 
   12216 
   12217 
   12218 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for directory for Type1 files" >&5
   12219 printf %s "checking for directory for Type1 files... " >&6; }
   12220 
   12221 # Check whether --with-fonttype1dir was given.
   12222 if test ${with_fonttype1dir+y}
   12223 then :
   12224   withval=$with_fonttype1dir; FONTTYPE1DIR="${withval}"
   12225 else $as_nop
   12226   FONTTYPE1DIR='${FONTROOTDIR}/Type1'
   12227 fi
   12228 
   12229 
   12230 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTTYPE1DIR}" >&5
   12231 printf "%s\n" "${FONTTYPE1DIR}" >&6; }
   12232 
   12233 
   12234 
   12235 
   12236 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for directory for 75dpi files" >&5
   12237 printf %s "checking for directory for 75dpi files... " >&6; }
   12238 
   12239 # Check whether --with-font75dpidir was given.
   12240 if test ${with_font75dpidir+y}
   12241 then :
   12242   withval=$with_font75dpidir; FONT75DPIDIR="${withval}"
   12243 else $as_nop
   12244   FONT75DPIDIR='${FONTROOTDIR}/75dpi'
   12245 fi
   12246 
   12247 
   12248 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONT75DPIDIR}" >&5
   12249 printf "%s\n" "${FONT75DPIDIR}" >&6; }
   12250 
   12251 
   12252 
   12253 
   12254 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for directory for 100dpi files" >&5
   12255 printf %s "checking for directory for 100dpi files... " >&6; }
   12256 
   12257 # Check whether --with-font100dpidir was given.
   12258 if test ${with_font100dpidir+y}
   12259 then :
   12260   withval=$with_font100dpidir; FONT100DPIDIR="${withval}"
   12261 else $as_nop
   12262   FONT100DPIDIR='${FONTROOTDIR}/100dpi'
   12263 fi
   12264 
   12265 
   12266 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONT100DPIDIR}" >&5
   12267 printf "%s\n" "${FONT100DPIDIR}" >&6; }
   12268 
   12269 
   12270 # Determine font path to put in config file
   12271 # Uses --default-font-path if set, otherwise checks for /etc/X11/fontpath.d,
   12272 # otherwise uses standard subdirectories of FONTROOTDIR. When cross
   12273 # compiling, assume default font path uses standard FONTROOTDIR directories.
   12274 DEFAULT_FONT_PATH="${FONTMISCDIR}/,${FONTTTFDIR}/,${FONTOTFDIR}/,${FONTTYPE1DIR}/,${FONT100DPIDIR}/,${FONT75DPIDIR}/"
   12275 if test "$cross_compiling" != yes; then
   12276 	as_ac_File=`printf "%s\n" "ac_cv_file_${sysconfdir}/X11/fontpath.d" | $as_tr_sh`
   12277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${sysconfdir}/X11/fontpath.d" >&5
   12278 printf %s "checking for ${sysconfdir}/X11/fontpath.d... " >&6; }
   12279 if eval test \${$as_ac_File+y}
   12280 then :
   12281   printf %s "(cached) " >&6
   12282 else $as_nop
   12283   test "$cross_compiling" = yes &&
   12284   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   12285 if test -r "${sysconfdir}/X11/fontpath.d"; then
   12286   eval "$as_ac_File=yes"
   12287 else
   12288   eval "$as_ac_File=no"
   12289 fi
   12290 fi
   12291 eval ac_res=\$$as_ac_File
   12292 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   12293 printf "%s\n" "$ac_res" >&6; }
   12294 if eval test \"x\$"$as_ac_File"\" = x"yes"
   12295 then :
   12296   DEFAULT_FONT_PATH='catalogue:${sysconfdir}/X11/fontpath.d'
   12297 else $as_nop
   12298   case $host_os in
   12299 			darwin*) DEFAULT_FONT_PATH="${DEFAULT_FONT_PATH},/Library/Fonts,/System/Library/Fonts" ;;
   12300 		esac
   12301 fi
   12302 
   12303 fi
   12304 
   12305 # Check whether --with-default-font-path was given.
   12306 if test ${with_default_font_path+y}
   12307 then :
   12308   withval=$with_default_font_path;  FONTPATH="$withval"
   12309 else $as_nop
   12310    FONTPATH="${DEFAULT_FONT_PATH}"
   12311 fi
   12312 
   12313 
   12314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for default font path" >&5
   12315 printf %s "checking for default font path... " >&6; }
   12316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTPATH" >&5
   12317 printf "%s\n" "$FONTPATH" >&6; }
   12318 
   12319 
   12320 
   12321 # Option to enable support for starting from inetd
   12322 # Check whether --enable-inetd was given.
   12323 if test ${enable_inetd+y}
   12324 then :
   12325   enableval=$enable_inetd; INETD=$enableval
   12326 else $as_nop
   12327   INETD=yes
   12328 fi
   12329 
   12330 if test "x$INETD" = xyes; then
   12331 
   12332 printf "%s\n" "#define XFS_INETD 1" >>confdefs.h
   12333 
   12334 fi
   12335 
   12336 # Option to enable support for logging to syslog
   12337 # Check whether --enable-syslog was given.
   12338 if test ${enable_syslog+y}
   12339 then :
   12340   enableval=$enable_syslog; SYSLOG=$enableval
   12341 else $as_nop
   12342   SYSLOG=yes
   12343 fi
   12344 
   12345 if test "x$SYSLOG" = xyes; then
   12346 
   12347 printf "%s\n" "#define USE_SYSLOG 1" >>confdefs.h
   12348 
   12349 fi
   12350 
   12351 
   12352 # Checks for system functions / libraries
   12353 ac_fn_c_check_func "$LINENO" "daemon" "ac_cv_func_daemon"
   12354 if test "x$ac_cv_func_daemon" = xyes
   12355 then :
   12356   printf "%s\n" "#define HAVE_DAEMON 1" >>confdefs.h
   12357 
   12358 fi
   12359 
   12360 
   12361 # Checks for pkg-config packages
   12362 #  - xproto >= 7.0.17 required for _X_NORETURN in <X11/Xfuncproto.h>
   12363 #  - xfont >= 2.0.1 for new server API
   12364 
   12365 pkg_failed=no
   12366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XFS" >&5
   12367 printf %s "checking for XFS... " >&6; }
   12368 
   12369 if test -n "$XFS_CFLAGS"; then
   12370     pkg_cv_XFS_CFLAGS="$XFS_CFLAGS"
   12371  elif test -n "$PKG_CONFIG"; then
   12372     if test -n "$PKG_CONFIG" && \
   12373     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.17 xfont2 >= 2.0.1 xtrans\""; } >&5
   12374   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.17 xfont2 >= 2.0.1 xtrans") 2>&5
   12375   ac_status=$?
   12376   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12377   test $ac_status = 0; }; then
   12378   pkg_cv_XFS_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.17 xfont2 >= 2.0.1 xtrans" 2>/dev/null`
   12379 		      test "x$?" != "x0" && pkg_failed=yes
   12380 else
   12381   pkg_failed=yes
   12382 fi
   12383  else
   12384     pkg_failed=untried
   12385 fi
   12386 if test -n "$XFS_LIBS"; then
   12387     pkg_cv_XFS_LIBS="$XFS_LIBS"
   12388  elif test -n "$PKG_CONFIG"; then
   12389     if test -n "$PKG_CONFIG" && \
   12390     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.17 xfont2 >= 2.0.1 xtrans\""; } >&5
   12391   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.17 xfont2 >= 2.0.1 xtrans") 2>&5
   12392   ac_status=$?
   12393   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12394   test $ac_status = 0; }; then
   12395   pkg_cv_XFS_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.17 xfont2 >= 2.0.1 xtrans" 2>/dev/null`
   12396 		      test "x$?" != "x0" && pkg_failed=yes
   12397 else
   12398   pkg_failed=yes
   12399 fi
   12400  else
   12401     pkg_failed=untried
   12402 fi
   12403 
   12404 
   12405 
   12406 if test $pkg_failed = yes; then
   12407    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12408 printf "%s\n" "no" >&6; }
   12409 
   12410 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12411         _pkg_short_errors_supported=yes
   12412 else
   12413         _pkg_short_errors_supported=no
   12414 fi
   12415         if test $_pkg_short_errors_supported = yes; then
   12416 	        XFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto >= 7.0.17 xfont2 >= 2.0.1 xtrans" 2>&1`
   12417         else
   12418 	        XFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto >= 7.0.17 xfont2 >= 2.0.1 xtrans" 2>&1`
   12419         fi
   12420 	# Put the nasty error message in config.log where it belongs
   12421 	echo "$XFS_PKG_ERRORS" >&5
   12422 
   12423 	as_fn_error $? "Package requirements (xproto >= 7.0.17 xfont2 >= 2.0.1 xtrans) were not met:
   12424 
   12425 $XFS_PKG_ERRORS
   12426 
   12427 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12428 installed software in a non-standard prefix.
   12429 
   12430 Alternatively, you may set the environment variables XFS_CFLAGS
   12431 and XFS_LIBS to avoid the need to call pkg-config.
   12432 See the pkg-config man page for more details." "$LINENO" 5
   12433 elif test $pkg_failed = untried; then
   12434      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12435 printf "%s\n" "no" >&6; }
   12436 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12437 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12438 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   12439 is in your PATH or set the PKG_CONFIG environment variable to the full
   12440 path to pkg-config.
   12441 
   12442 Alternatively, you may set the environment variables XFS_CFLAGS
   12443 and XFS_LIBS to avoid the need to call pkg-config.
   12444 See the pkg-config man page for more details.
   12445 
   12446 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12447 See \`config.log' for more details" "$LINENO" 5; }
   12448 else
   12449 	XFS_CFLAGS=$pkg_cv_XFS_CFLAGS
   12450 	XFS_LIBS=$pkg_cv_XFS_LIBS
   12451         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12452 printf "%s\n" "yes" >&6; }
   12453 
   12454 fi
   12455 
   12456 case "$host_os" in
   12457   cygwin*|mingw*)
   12458     CFLAGS="$CFLAGS -DFD_SETSIZE=256"
   12459     LDFLAGS="$LDFLAGS -Wl,--export-all" ;;
   12460 esac
   12461 
   12462 # Transport selection macro from xtrans.m4
   12463 
   12464 
   12465  case $host_os in
   12466 	mingw*)	unixdef="no"   ;;
   12467 	*)	unixdef="yes"  ;;
   12468  esac
   12469  # Check whether --enable-unix-transport was given.
   12470 if test ${enable_unix_transport+y}
   12471 then :
   12472   enableval=$enable_unix_transport; UNIXCONN=$enableval
   12473 else $as_nop
   12474   UNIXCONN=$unixdef
   12475 fi
   12476 
   12477  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   12478 printf %s "checking if Xtrans should support UNIX socket connections... " >&6; }
   12479  if test "$UNIXCONN" = "yes"; then
   12480 
   12481 printf "%s\n" "#define UNIXCONN 1" >>confdefs.h
   12482 
   12483  fi
   12484  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   12485 printf "%s\n" "$UNIXCONN" >&6; }
   12486  # Check whether --enable-tcp-transport was given.
   12487 if test ${enable_tcp_transport+y}
   12488 then :
   12489   enableval=$enable_tcp_transport; TCPCONN=$enableval
   12490 else $as_nop
   12491   TCPCONN=yes
   12492 fi
   12493 
   12494  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   12495 printf %s "checking if Xtrans should support TCP socket connections... " >&6; }
   12496  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   12497 printf "%s\n" "$TCPCONN" >&6; }
   12498  if test "$TCPCONN" = "yes"; then
   12499 
   12500 printf "%s\n" "#define TCPCONN 1" >>confdefs.h
   12501 
   12502 
   12503  # SVR4 hides these in libraries other than libc
   12504  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   12505 printf %s "checking for library containing socket... " >&6; }
   12506 if test ${ac_cv_search_socket+y}
   12507 then :
   12508   printf %s "(cached) " >&6
   12509 else $as_nop
   12510   ac_func_search_save_LIBS=$LIBS
   12511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12512 /* end confdefs.h.  */
   12513 
   12514 /* Override any GCC internal prototype to avoid an error.
   12515    Use char because int might match the return type of a GCC
   12516    builtin and then its argument prototype would still apply.  */
   12517 char socket ();
   12518 int
   12519 main (void)
   12520 {
   12521 return socket ();
   12522   ;
   12523   return 0;
   12524 }
   12525 _ACEOF
   12526 for ac_lib in '' socket
   12527 do
   12528   if test -z "$ac_lib"; then
   12529     ac_res="none required"
   12530   else
   12531     ac_res=-l$ac_lib
   12532     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   12533   fi
   12534   if ac_fn_c_try_link "$LINENO"
   12535 then :
   12536   ac_cv_search_socket=$ac_res
   12537 fi
   12538 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12539     conftest$ac_exeext
   12540   if test ${ac_cv_search_socket+y}
   12541 then :
   12542   break
   12543 fi
   12544 done
   12545 if test ${ac_cv_search_socket+y}
   12546 then :
   12547 
   12548 else $as_nop
   12549   ac_cv_search_socket=no
   12550 fi
   12551 rm conftest.$ac_ext
   12552 LIBS=$ac_func_search_save_LIBS
   12553 fi
   12554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   12555 printf "%s\n" "$ac_cv_search_socket" >&6; }
   12556 ac_res=$ac_cv_search_socket
   12557 if test "$ac_res" != no
   12558 then :
   12559   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   12560 
   12561 fi
   12562 
   12563  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   12564 printf %s "checking for library containing gethostbyname... " >&6; }
   12565 if test ${ac_cv_search_gethostbyname+y}
   12566 then :
   12567   printf %s "(cached) " >&6
   12568 else $as_nop
   12569   ac_func_search_save_LIBS=$LIBS
   12570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12571 /* end confdefs.h.  */
   12572 
   12573 /* Override any GCC internal prototype to avoid an error.
   12574    Use char because int might match the return type of a GCC
   12575    builtin and then its argument prototype would still apply.  */
   12576 char gethostbyname ();
   12577 int
   12578 main (void)
   12579 {
   12580 return gethostbyname ();
   12581   ;
   12582   return 0;
   12583 }
   12584 _ACEOF
   12585 for ac_lib in '' nsl
   12586 do
   12587   if test -z "$ac_lib"; then
   12588     ac_res="none required"
   12589   else
   12590     ac_res=-l$ac_lib
   12591     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   12592   fi
   12593   if ac_fn_c_try_link "$LINENO"
   12594 then :
   12595   ac_cv_search_gethostbyname=$ac_res
   12596 fi
   12597 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12598     conftest$ac_exeext
   12599   if test ${ac_cv_search_gethostbyname+y}
   12600 then :
   12601   break
   12602 fi
   12603 done
   12604 if test ${ac_cv_search_gethostbyname+y}
   12605 then :
   12606 
   12607 else $as_nop
   12608   ac_cv_search_gethostbyname=no
   12609 fi
   12610 rm conftest.$ac_ext
   12611 LIBS=$ac_func_search_save_LIBS
   12612 fi
   12613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   12614 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
   12615 ac_res=$ac_cv_search_gethostbyname
   12616 if test "$ac_res" != no
   12617 then :
   12618   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   12619 
   12620 fi
   12621 
   12622  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   12623    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   12624 printf %s "checking for main in -lws2_32... " >&6; }
   12625 if test ${ac_cv_lib_ws2_32_main+y}
   12626 then :
   12627   printf %s "(cached) " >&6
   12628 else $as_nop
   12629   ac_check_lib_save_LIBS=$LIBS
   12630 LIBS="-lws2_32  $LIBS"
   12631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12632 /* end confdefs.h.  */
   12633 
   12634 
   12635 int
   12636 main (void)
   12637 {
   12638 return main ();
   12639   ;
   12640   return 0;
   12641 }
   12642 _ACEOF
   12643 if ac_fn_c_try_link "$LINENO"
   12644 then :
   12645   ac_cv_lib_ws2_32_main=yes
   12646 else $as_nop
   12647   ac_cv_lib_ws2_32_main=no
   12648 fi
   12649 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12650     conftest$ac_exeext conftest.$ac_ext
   12651 LIBS=$ac_check_lib_save_LIBS
   12652 fi
   12653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   12654 printf "%s\n" "$ac_cv_lib_ws2_32_main" >&6; }
   12655 if test "x$ac_cv_lib_ws2_32_main" = xyes
   12656 then :
   12657   printf "%s\n" "#define HAVE_LIBWS2_32 1" >>confdefs.h
   12658 
   12659   LIBS="-lws2_32 $LIBS"
   12660 
   12661 fi
   12662 
   12663  fi
   12664 
   12665  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   12666  # Check whether --enable-ipv6 was given.
   12667 if test ${enable_ipv6+y}
   12668 then :
   12669   enableval=$enable_ipv6; IPV6CONN=$enableval
   12670 else $as_nop
   12671   ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   12672 if test "x$ac_cv_func_getaddrinfo" = xyes
   12673 then :
   12674   IPV6CONN=yes
   12675 else $as_nop
   12676   IPV6CONN=no
   12677 fi
   12678 
   12679 fi
   12680 
   12681  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   12682 printf %s "checking if IPv6 support should be built... " >&6; }
   12683  if test "$IPV6CONN" = "yes"; then
   12684 
   12685 printf "%s\n" "#define IPv6 1" >>confdefs.h
   12686 
   12687  fi
   12688  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   12689 printf "%s\n" "$IPV6CONN" >&6; }
   12690 
   12691  # 4.3BSD-Reno added a new member to struct sockaddr_in
   12692  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   12693 #include <sys/types.h>
   12694 #include <sys/socket.h>
   12695 #include <netinet/in.h>
   12696 
   12697 "
   12698 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes
   12699 then :
   12700 
   12701 printf "%s\n" "#define BSD44SOCKETS 1" >>confdefs.h
   12702 
   12703 fi
   12704 
   12705 
   12706  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   12707  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   12708 $ac_includes_default
   12709 #include <sys/socket.h>
   12710 "
   12711 if test "x$ac_cv_type_socklen_t" = xyes
   12712 then :
   12713 
   12714 printf "%s\n" "#define HAVE_SOCKLEN_T 1" >>confdefs.h
   12715 
   12716 
   12717 fi
   12718 
   12719 
   12720  # XPG4v2/UNIX95 added msg_control - check to see if we need to define
   12721  # _XOPEN_SOURCE to get it (such as on Solaris)
   12722  ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   12723 $ac_includes_default
   12724 #include <sys/socket.h>
   12725 
   12726 "
   12727 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   12728 then :
   12729 
   12730 fi
   12731 
   12732  # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
   12733  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   12734      unset ac_cv_member_struct_msghdr_msg_control
   12735      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
   12736 printf "%s\n" "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
   12737      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   12738 #define _XOPEN_SOURCE 600
   12739 $ac_includes_default
   12740 #include <sys/socket.h>
   12741 
   12742 "
   12743 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   12744 then :
   12745 
   12746 printf "%s\n" "#define _XOPEN_SOURCE 600" >>confdefs.h
   12747 
   12748 
   12749 fi
   12750 
   12751  fi
   12752  # If that didn't work, fall back to XPG5/UNIX98 with C89
   12753  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   12754      unset ac_cv_member_struct_msghdr_msg_control
   12755      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
   12756 printf "%s\n" "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
   12757      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   12758 #define _XOPEN_SOURCE 500
   12759 $ac_includes_default
   12760 #include <sys/socket.h>
   12761 
   12762 "
   12763 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   12764 then :
   12765 
   12766 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   12767 
   12768 
   12769 fi
   12770 
   12771  fi
   12772 
   12773 
   12774 
   12775  fi
   12776  case $host_os in
   12777 	solaris*)		localdef="yes" ;;
   12778 	*)			localdef="no"  ;;
   12779  esac
   12780  # Check whether --enable-local-transport was given.
   12781 if test ${enable_local_transport+y}
   12782 then :
   12783   enableval=$enable_local_transport; LOCALCONN=$enableval
   12784 else $as_nop
   12785   LOCALCONN=$localdef
   12786 fi
   12787 
   12788  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   12789 printf %s "checking if Xtrans should support os-specific local connections... " >&6; }
   12790  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   12791 printf "%s\n" "$LOCALCONN" >&6; }
   12792  if test "$LOCALCONN" = "yes"; then
   12793 
   12794 printf "%s\n" "#define LOCALCONN 1" >>confdefs.h
   12795 
   12796  fi
   12797 
   12798  # Other functions Xtrans may need
   12799  ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
   12800 if test "x$ac_cv_func_strcasecmp" = xyes
   12801 then :
   12802   printf "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h
   12803 
   12804 fi
   12805 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   12806 if test "x$ac_cv_func_strlcpy" = xyes
   12807 then :
   12808   printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
   12809 
   12810 fi
   12811 
   12812 
   12813 
   12814 
   12815 ac_config_files="$ac_config_files Makefile config/Makefile doc/Makefile man/Makefile"
   12816 
   12817 cat >confcache <<\_ACEOF
   12818 # This file is a shell script that caches the results of configure
   12819 # tests run on this system so they can be shared between configure
   12820 # scripts and configure runs, see configure's option --config-cache.
   12821 # It is not useful on other systems.  If it contains results you don't
   12822 # want to keep, you may remove or edit it.
   12823 #
   12824 # config.status only pays attention to the cache file if you give it
   12825 # the --recheck option to rerun configure.
   12826 #
   12827 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   12828 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   12829 # following values.
   12830 
   12831 _ACEOF
   12832 
   12833 # The following way of writing the cache mishandles newlines in values,
   12834 # but we know of no workaround that is simple, portable, and efficient.
   12835 # So, we kill variables containing newlines.
   12836 # Ultrix sh set writes to stderr and can't be redirected directly,
   12837 # and sets the high bit in the cache file unless we assign to the vars.
   12838 (
   12839   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   12840     eval ac_val=\$$ac_var
   12841     case $ac_val in #(
   12842     *${as_nl}*)
   12843       case $ac_var in #(
   12844       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   12845 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   12846       esac
   12847       case $ac_var in #(
   12848       _ | IFS | as_nl) ;; #(
   12849       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   12850       *) { eval $ac_var=; unset $ac_var;} ;;
   12851       esac ;;
   12852     esac
   12853   done
   12854 
   12855   (set) 2>&1 |
   12856     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   12857     *${as_nl}ac_space=\ *)
   12858       # `set' does not quote correctly, so add quotes: double-quote
   12859       # substitution turns \\\\ into \\, and sed turns \\ into \.
   12860       sed -n \
   12861 	"s/'/'\\\\''/g;
   12862 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   12863       ;; #(
   12864     *)
   12865       # `set' quotes correctly as required by POSIX, so do not add quotes.
   12866       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   12867       ;;
   12868     esac |
   12869     sort
   12870 ) |
   12871   sed '
   12872      /^ac_cv_env_/b end
   12873      t clear
   12874      :clear
   12875      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   12876      t end
   12877      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12878      :end' >>confcache
   12879 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12880   if test -w "$cache_file"; then
   12881     if test "x$cache_file" != "x/dev/null"; then
   12882       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   12883 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   12884       if test ! -f "$cache_file" || test -h "$cache_file"; then
   12885 	cat confcache >"$cache_file"
   12886       else
   12887         case $cache_file in #(
   12888         */* | ?:*)
   12889 	  mv -f confcache "$cache_file"$$ &&
   12890 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   12891         *)
   12892 	  mv -f confcache "$cache_file" ;;
   12893 	esac
   12894       fi
   12895     fi
   12896   else
   12897     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   12898 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   12899   fi
   12900 fi
   12901 rm -f confcache
   12902 
   12903 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12904 # Let make expand exec_prefix.
   12905 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12906 
   12907 DEFS=-DHAVE_CONFIG_H
   12908 
   12909 ac_libobjs=
   12910 ac_ltlibobjs=
   12911 U=
   12912 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12913   # 1. Remove the extension, and $U if already installed.
   12914   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12915   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   12916   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12917   #    will be set to the directory where LIBOBJS objects are built.
   12918   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12919   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12920 done
   12921 LIBOBJS=$ac_libobjs
   12922 
   12923 LTLIBOBJS=$ac_ltlibobjs
   12924 
   12925 
   12926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   12927 printf %s "checking that generated files are newer than configure... " >&6; }
   12928    if test -n "$am_sleep_pid"; then
   12929      # Hide warnings about reused PIDs.
   12930      wait $am_sleep_pid 2>/dev/null
   12931    fi
   12932    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   12933 printf "%s\n" "done" >&6; }
   12934 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12935   as_fn_error $? "conditional \"AMDEP\" was never defined.
   12936 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12937 fi
   12938 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12939   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12940 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12941 fi
   12942  if test -n "$EXEEXT"; then
   12943   am__EXEEXT_TRUE=
   12944   am__EXEEXT_FALSE='#'
   12945 else
   12946   am__EXEEXT_TRUE='#'
   12947   am__EXEEXT_FALSE=
   12948 fi
   12949 
   12950 if test -z "${ENABLE_DEVEL_DOCS_TRUE}" && test -z "${ENABLE_DEVEL_DOCS_FALSE}"; then
   12951   as_fn_error $? "conditional \"ENABLE_DEVEL_DOCS\" was never defined.
   12952 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12953 fi
   12954 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   12955   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   12956 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12957 fi
   12958 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   12959   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   12960 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12961 fi
   12962 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   12963   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   12964 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12965 fi
   12966 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   12967   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   12968 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12969 fi
   12970 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   12971   as_fn_error $? "conditional \"LINT\" was never defined.
   12972 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12973 fi
   12974 
   12975 : "${CONFIG_STATUS=./config.status}"
   12976 ac_write_fail=0
   12977 ac_clean_files_save=$ac_clean_files
   12978 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12980 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   12981 as_write_fail=0
   12982 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   12983 #! $SHELL
   12984 # Generated by $as_me.
   12985 # Run this file to recreate the current configuration.
   12986 # Compiler output produced by configure, useful for debugging
   12987 # configure, is in config.log if it exists.
   12988 
   12989 debug=false
   12990 ac_cs_recheck=false
   12991 ac_cs_silent=false
   12992 
   12993 SHELL=\${CONFIG_SHELL-$SHELL}
   12994 export SHELL
   12995 _ASEOF
   12996 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12997 ## -------------------- ##
   12998 ## M4sh Initialization. ##
   12999 ## -------------------- ##
   13000 
   13001 # Be more Bourne compatible
   13002 DUALCASE=1; export DUALCASE # for MKS sh
   13003 as_nop=:
   13004 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   13005 then :
   13006   emulate sh
   13007   NULLCMD=:
   13008   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   13009   # is contrary to our usage.  Disable this feature.
   13010   alias -g '${1+"$@"}'='"$@"'
   13011   setopt NO_GLOB_SUBST
   13012 else $as_nop
   13013   case `(set -o) 2>/dev/null` in #(
   13014   *posix*) :
   13015     set -o posix ;; #(
   13016   *) :
   13017      ;;
   13018 esac
   13019 fi
   13020 
   13021 
   13022 
   13023 # Reset variables that may have inherited troublesome values from
   13024 # the environment.
   13025 
   13026 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   13027 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   13028 # side effect of setting IFS to empty, thus disabling word splitting.)
   13029 # Quoting is to prevent editors from complaining about space-tab.
   13030 as_nl='
   13031 '
   13032 export as_nl
   13033 IFS=" ""	$as_nl"
   13034 
   13035 PS1='$ '
   13036 PS2='> '
   13037 PS4='+ '
   13038 
   13039 # Ensure predictable behavior from utilities with locale-dependent output.
   13040 LC_ALL=C
   13041 export LC_ALL
   13042 LANGUAGE=C
   13043 export LANGUAGE
   13044 
   13045 # We cannot yet rely on "unset" to work, but we need these variables
   13046 # to be unset--not just set to an empty or harmless value--now, to
   13047 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   13048 # also avoids known problems related to "unset" and subshell syntax
   13049 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   13050 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   13051 do eval test \${$as_var+y} \
   13052   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   13053 done
   13054 
   13055 # Ensure that fds 0, 1, and 2 are open.
   13056 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   13057 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   13058 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   13059 
   13060 # The user is always right.
   13061 if ${PATH_SEPARATOR+false} :; then
   13062   PATH_SEPARATOR=:
   13063   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   13064     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   13065       PATH_SEPARATOR=';'
   13066   }
   13067 fi
   13068 
   13069 
   13070 # Find who we are.  Look in the path if we contain no directory separator.
   13071 as_myself=
   13072 case $0 in #((
   13073   *[\\/]* ) as_myself=$0 ;;
   13074   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13075 for as_dir in $PATH
   13076 do
   13077   IFS=$as_save_IFS
   13078   case $as_dir in #(((
   13079     '') as_dir=./ ;;
   13080     */) ;;
   13081     *) as_dir=$as_dir/ ;;
   13082   esac
   13083     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   13084   done
   13085 IFS=$as_save_IFS
   13086 
   13087      ;;
   13088 esac
   13089 # We did not find ourselves, most probably we were run as `sh COMMAND'
   13090 # in which case we are not to be found in the path.
   13091 if test "x$as_myself" = x; then
   13092   as_myself=$0
   13093 fi
   13094 if test ! -f "$as_myself"; then
   13095   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   13096   exit 1
   13097 fi
   13098 
   13099 
   13100 
   13101 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   13102 # ----------------------------------------
   13103 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   13104 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   13105 # script with STATUS, using 1 if that was 0.
   13106 as_fn_error ()
   13107 {
   13108   as_status=$1; test $as_status -eq 0 && as_status=1
   13109   if test "$4"; then
   13110     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   13111     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   13112   fi
   13113   printf "%s\n" "$as_me: error: $2" >&2
   13114   as_fn_exit $as_status
   13115 } # as_fn_error
   13116 
   13117 
   13118 
   13119 # as_fn_set_status STATUS
   13120 # -----------------------
   13121 # Set $? to STATUS, without forking.
   13122 as_fn_set_status ()
   13123 {
   13124   return $1
   13125 } # as_fn_set_status
   13126 
   13127 # as_fn_exit STATUS
   13128 # -----------------
   13129 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   13130 as_fn_exit ()
   13131 {
   13132   set +e
   13133   as_fn_set_status $1
   13134   exit $1
   13135 } # as_fn_exit
   13136 
   13137 # as_fn_unset VAR
   13138 # ---------------
   13139 # Portably unset VAR.
   13140 as_fn_unset ()
   13141 {
   13142   { eval $1=; unset $1;}
   13143 }
   13144 as_unset=as_fn_unset
   13145 
   13146 # as_fn_append VAR VALUE
   13147 # ----------------------
   13148 # Append the text in VALUE to the end of the definition contained in VAR. Take
   13149 # advantage of any shell optimizations that allow amortized linear growth over
   13150 # repeated appends, instead of the typical quadratic growth present in naive
   13151 # implementations.
   13152 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   13153 then :
   13154   eval 'as_fn_append ()
   13155   {
   13156     eval $1+=\$2
   13157   }'
   13158 else $as_nop
   13159   as_fn_append ()
   13160   {
   13161     eval $1=\$$1\$2
   13162   }
   13163 fi # as_fn_append
   13164 
   13165 # as_fn_arith ARG...
   13166 # ------------------
   13167 # Perform arithmetic evaluation on the ARGs, and store the result in the
   13168 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   13169 # must be portable across $(()) and expr.
   13170 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   13171 then :
   13172   eval 'as_fn_arith ()
   13173   {
   13174     as_val=$(( $* ))
   13175   }'
   13176 else $as_nop
   13177   as_fn_arith ()
   13178   {
   13179     as_val=`expr "$@" || test $? -eq 1`
   13180   }
   13181 fi # as_fn_arith
   13182 
   13183 
   13184 if expr a : '\(a\)' >/dev/null 2>&1 &&
   13185    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   13186   as_expr=expr
   13187 else
   13188   as_expr=false
   13189 fi
   13190 
   13191 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   13192   as_basename=basename
   13193 else
   13194   as_basename=false
   13195 fi
   13196 
   13197 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   13198   as_dirname=dirname
   13199 else
   13200   as_dirname=false
   13201 fi
   13202 
   13203 as_me=`$as_basename -- "$0" ||
   13204 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   13205 	 X"$0" : 'X\(//\)$' \| \
   13206 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   13207 printf "%s\n" X/"$0" |
   13208     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13209 	    s//\1/
   13210 	    q
   13211 	  }
   13212 	  /^X\/\(\/\/\)$/{
   13213 	    s//\1/
   13214 	    q
   13215 	  }
   13216 	  /^X\/\(\/\).*/{
   13217 	    s//\1/
   13218 	    q
   13219 	  }
   13220 	  s/.*/./; q'`
   13221 
   13222 # Avoid depending upon Character Ranges.
   13223 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   13224 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   13225 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   13226 as_cr_digits='0123456789'
   13227 as_cr_alnum=$as_cr_Letters$as_cr_digits
   13228 
   13229 
   13230 # Determine whether it's possible to make 'echo' print without a newline.
   13231 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   13232 # for compatibility with existing Makefiles.
   13233 ECHO_C= ECHO_N= ECHO_T=
   13234 case `echo -n x` in #(((((
   13235 -n*)
   13236   case `echo 'xy\c'` in
   13237   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   13238   xy)  ECHO_C='\c';;
   13239   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   13240        ECHO_T='	';;
   13241   esac;;
   13242 *)
   13243   ECHO_N='-n';;
   13244 esac
   13245 
   13246 # For backward compatibility with old third-party macros, we provide
   13247 # the shell variables $as_echo and $as_echo_n.  New code should use
   13248 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   13249 as_echo='printf %s\n'
   13250 as_echo_n='printf %s'
   13251 
   13252 rm -f conf$$ conf$$.exe conf$$.file
   13253 if test -d conf$$.dir; then
   13254   rm -f conf$$.dir/conf$$.file
   13255 else
   13256   rm -f conf$$.dir
   13257   mkdir conf$$.dir 2>/dev/null
   13258 fi
   13259 if (echo >conf$$.file) 2>/dev/null; then
   13260   if ln -s conf$$.file conf$$ 2>/dev/null; then
   13261     as_ln_s='ln -s'
   13262     # ... but there are two gotchas:
   13263     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   13264     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   13265     # In both cases, we have to default to `cp -pR'.
   13266     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   13267       as_ln_s='cp -pR'
   13268   elif ln conf$$.file conf$$ 2>/dev/null; then
   13269     as_ln_s=ln
   13270   else
   13271     as_ln_s='cp -pR'
   13272   fi
   13273 else
   13274   as_ln_s='cp -pR'
   13275 fi
   13276 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   13277 rmdir conf$$.dir 2>/dev/null
   13278 
   13279 
   13280 # as_fn_mkdir_p
   13281 # -------------
   13282 # Create "$as_dir" as a directory, including parents if necessary.
   13283 as_fn_mkdir_p ()
   13284 {
   13285 
   13286   case $as_dir in #(
   13287   -*) as_dir=./$as_dir;;
   13288   esac
   13289   test -d "$as_dir" || eval $as_mkdir_p || {
   13290     as_dirs=
   13291     while :; do
   13292       case $as_dir in #(
   13293       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   13294       *) as_qdir=$as_dir;;
   13295       esac
   13296       as_dirs="'$as_qdir' $as_dirs"
   13297       as_dir=`$as_dirname -- "$as_dir" ||
   13298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13299 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   13300 	 X"$as_dir" : 'X\(//\)$' \| \
   13301 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   13302 printf "%s\n" X"$as_dir" |
   13303     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13304 	    s//\1/
   13305 	    q
   13306 	  }
   13307 	  /^X\(\/\/\)[^/].*/{
   13308 	    s//\1/
   13309 	    q
   13310 	  }
   13311 	  /^X\(\/\/\)$/{
   13312 	    s//\1/
   13313 	    q
   13314 	  }
   13315 	  /^X\(\/\).*/{
   13316 	    s//\1/
   13317 	    q
   13318 	  }
   13319 	  s/.*/./; q'`
   13320       test -d "$as_dir" && break
   13321     done
   13322     test -z "$as_dirs" || eval "mkdir $as_dirs"
   13323   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   13324 
   13325 
   13326 } # as_fn_mkdir_p
   13327 if mkdir -p . 2>/dev/null; then
   13328   as_mkdir_p='mkdir -p "$as_dir"'
   13329 else
   13330   test -d ./-p && rmdir ./-p
   13331   as_mkdir_p=false
   13332 fi
   13333 
   13334 
   13335 # as_fn_executable_p FILE
   13336 # -----------------------
   13337 # Test if FILE is an executable regular file.
   13338 as_fn_executable_p ()
   13339 {
   13340   test -f "$1" && test -x "$1"
   13341 } # as_fn_executable_p
   13342 as_test_x='test -x'
   13343 as_executable_p=as_fn_executable_p
   13344 
   13345 # Sed expression to map a string onto a valid CPP name.
   13346 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   13347 
   13348 # Sed expression to map a string onto a valid variable name.
   13349 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   13350 
   13351 
   13352 exec 6>&1
   13353 ## ----------------------------------- ##
   13354 ## Main body of $CONFIG_STATUS script. ##
   13355 ## ----------------------------------- ##
   13356 _ASEOF
   13357 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   13358 
   13359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13360 # Save the log message, to keep $0 and so on meaningful, and to
   13361 # report actual input values of CONFIG_FILES etc. instead of their
   13362 # values after options handling.
   13363 ac_log="
   13364 This file was extended by xfs $as_me 1.2.1, which was
   13365 generated by GNU Autoconf 2.71.  Invocation command line was
   13366 
   13367   CONFIG_FILES    = $CONFIG_FILES
   13368   CONFIG_HEADERS  = $CONFIG_HEADERS
   13369   CONFIG_LINKS    = $CONFIG_LINKS
   13370   CONFIG_COMMANDS = $CONFIG_COMMANDS
   13371   $ $0 $@
   13372 
   13373 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   13374 "
   13375 
   13376 _ACEOF
   13377 
   13378 case $ac_config_files in *"
   13379 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   13380 esac
   13381 
   13382 case $ac_config_headers in *"
   13383 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   13384 esac
   13385 
   13386 
   13387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13388 # Files that config.status was made for.
   13389 config_files="$ac_config_files"
   13390 config_headers="$ac_config_headers"
   13391 config_commands="$ac_config_commands"
   13392 
   13393 _ACEOF
   13394 
   13395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13396 ac_cs_usage="\
   13397 \`$as_me' instantiates files and other configuration actions
   13398 from templates according to the current configuration.  Unless the files
   13399 and actions are specified as TAGs, all are instantiated by default.
   13400 
   13401 Usage: $0 [OPTION]... [TAG]...
   13402 
   13403   -h, --help       print this help, then exit
   13404   -V, --version    print version number and configuration settings, then exit
   13405       --config     print configuration, then exit
   13406   -q, --quiet, --silent
   13407                    do not print progress messages
   13408   -d, --debug      don't remove temporary files
   13409       --recheck    update $as_me by reconfiguring in the same conditions
   13410       --file=FILE[:TEMPLATE]
   13411                    instantiate the configuration file FILE
   13412       --header=FILE[:TEMPLATE]
   13413                    instantiate the configuration header FILE
   13414 
   13415 Configuration files:
   13416 $config_files
   13417 
   13418 Configuration headers:
   13419 $config_headers
   13420 
   13421 Configuration commands:
   13422 $config_commands
   13423 
   13424 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xfs/issues>."
   13425 
   13426 _ACEOF
   13427 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   13428 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   13429 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13430 ac_cs_config='$ac_cs_config_escaped'
   13431 ac_cs_version="\\
   13432 xfs config.status 1.2.1
   13433 configured by $0, generated by GNU Autoconf 2.71,
   13434   with options \\"\$ac_cs_config\\"
   13435 
   13436 Copyright (C) 2021 Free Software Foundation, Inc.
   13437 This config.status script is free software; the Free Software Foundation
   13438 gives unlimited permission to copy, distribute and modify it."
   13439 
   13440 ac_pwd='$ac_pwd'
   13441 srcdir='$srcdir'
   13442 INSTALL='$INSTALL'
   13443 MKDIR_P='$MKDIR_P'
   13444 AWK='$AWK'
   13445 test -n "\$AWK" || AWK=awk
   13446 _ACEOF
   13447 
   13448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13449 # The default lists apply if the user does not specify any file.
   13450 ac_need_defaults=:
   13451 while test $# != 0
   13452 do
   13453   case $1 in
   13454   --*=?*)
   13455     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   13456     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   13457     ac_shift=:
   13458     ;;
   13459   --*=)
   13460     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   13461     ac_optarg=
   13462     ac_shift=:
   13463     ;;
   13464   *)
   13465     ac_option=$1
   13466     ac_optarg=$2
   13467     ac_shift=shift
   13468     ;;
   13469   esac
   13470 
   13471   case $ac_option in
   13472   # Handling of the options.
   13473   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   13474     ac_cs_recheck=: ;;
   13475   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   13476     printf "%s\n" "$ac_cs_version"; exit ;;
   13477   --config | --confi | --conf | --con | --co | --c )
   13478     printf "%s\n" "$ac_cs_config"; exit ;;
   13479   --debug | --debu | --deb | --de | --d | -d )
   13480     debug=: ;;
   13481   --file | --fil | --fi | --f )
   13482     $ac_shift
   13483     case $ac_optarg in
   13484     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13485     '') as_fn_error $? "missing file argument" ;;
   13486     esac
   13487     as_fn_append CONFIG_FILES " '$ac_optarg'"
   13488     ac_need_defaults=false;;
   13489   --header | --heade | --head | --hea )
   13490     $ac_shift
   13491     case $ac_optarg in
   13492     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13493     esac
   13494     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   13495     ac_need_defaults=false;;
   13496   --he | --h)
   13497     # Conflict between --help and --header
   13498     as_fn_error $? "ambiguous option: \`$1'
   13499 Try \`$0 --help' for more information.";;
   13500   --help | --hel | -h )
   13501     printf "%s\n" "$ac_cs_usage"; exit ;;
   13502   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   13503   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   13504     ac_cs_silent=: ;;
   13505 
   13506   # This is an error.
   13507   -*) as_fn_error $? "unrecognized option: \`$1'
   13508 Try \`$0 --help' for more information." ;;
   13509 
   13510   *) as_fn_append ac_config_targets " $1"
   13511      ac_need_defaults=false ;;
   13512 
   13513   esac
   13514   shift
   13515 done
   13516 
   13517 ac_configure_extra_args=
   13518 
   13519 if $ac_cs_silent; then
   13520   exec 6>/dev/null
   13521   ac_configure_extra_args="$ac_configure_extra_args --silent"
   13522 fi
   13523 
   13524 _ACEOF
   13525 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13526 if \$ac_cs_recheck; then
   13527   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   13528   shift
   13529   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   13530   CONFIG_SHELL='$SHELL'
   13531   export CONFIG_SHELL
   13532   exec "\$@"
   13533 fi
   13534 
   13535 _ACEOF
   13536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13537 exec 5>>config.log
   13538 {
   13539   echo
   13540   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   13541 ## Running $as_me. ##
   13542 _ASBOX
   13543   printf "%s\n" "$ac_log"
   13544 } >&5
   13545 
   13546 _ACEOF
   13547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13548 #
   13549 # INIT-COMMANDS
   13550 #
   13551 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   13552 
   13553 _ACEOF
   13554 
   13555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13556 
   13557 # Handling of arguments.
   13558 for ac_config_target in $ac_config_targets
   13559 do
   13560   case $ac_config_target in
   13561     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   13562     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   13563     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   13564     "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
   13565     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   13566     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   13567 
   13568   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   13569   esac
   13570 done
   13571 
   13572 
   13573 # If the user did not use the arguments to specify the items to instantiate,
   13574 # then the envvar interface is used.  Set only those that are not.
   13575 # We use the long form for the default assignment because of an extremely
   13576 # bizarre bug on SunOS 4.1.3.
   13577 if $ac_need_defaults; then
   13578   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   13579   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   13580   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   13581 fi
   13582 
   13583 # Have a temporary directory for convenience.  Make it in the build tree
   13584 # simply because there is no reason against having it here, and in addition,
   13585 # creating and moving files from /tmp can sometimes cause problems.
   13586 # Hook for its removal unless debugging.
   13587 # Note that there is a small window in which the directory will not be cleaned:
   13588 # after its creation but before its name has been assigned to `$tmp'.
   13589 $debug ||
   13590 {
   13591   tmp= ac_tmp=
   13592   trap 'exit_status=$?
   13593   : "${ac_tmp:=$tmp}"
   13594   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   13595 ' 0
   13596   trap 'as_fn_exit 1' 1 2 13 15
   13597 }
   13598 # Create a (secure) tmp directory for tmp files.
   13599 
   13600 {
   13601   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   13602   test -d "$tmp"
   13603 }  ||
   13604 {
   13605   tmp=./conf$$-$RANDOM
   13606   (umask 077 && mkdir "$tmp")
   13607 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   13608 ac_tmp=$tmp
   13609 
   13610 # Set up the scripts for CONFIG_FILES section.
   13611 # No need to generate them if there are no CONFIG_FILES.
   13612 # This happens for instance with `./config.status config.h'.
   13613 if test -n "$CONFIG_FILES"; then
   13614 
   13615 
   13616 ac_cr=`echo X | tr X '\015'`
   13617 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   13618 # But we know of no other shell where ac_cr would be empty at this
   13619 # point, so we can use a bashism as a fallback.
   13620 if test "x$ac_cr" = x; then
   13621   eval ac_cr=\$\'\\r\'
   13622 fi
   13623 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   13624 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   13625   ac_cs_awk_cr='\\r'
   13626 else
   13627   ac_cs_awk_cr=$ac_cr
   13628 fi
   13629 
   13630 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   13631 _ACEOF
   13632 
   13633 
   13634 {
   13635   echo "cat >conf$$subs.awk <<_ACEOF" &&
   13636   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   13637   echo "_ACEOF"
   13638 } >conf$$subs.sh ||
   13639   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13640 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   13641 ac_delim='%!_!# '
   13642 for ac_last_try in false false false false false :; do
   13643   . ./conf$$subs.sh ||
   13644     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13645 
   13646   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   13647   if test $ac_delim_n = $ac_delim_num; then
   13648     break
   13649   elif $ac_last_try; then
   13650     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13651   else
   13652     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13653   fi
   13654 done
   13655 rm -f conf$$subs.sh
   13656 
   13657 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13658 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   13659 _ACEOF
   13660 sed -n '
   13661 h
   13662 s/^/S["/; s/!.*/"]=/
   13663 p
   13664 g
   13665 s/^[^!]*!//
   13666 :repl
   13667 t repl
   13668 s/'"$ac_delim"'$//
   13669 t delim
   13670 :nl
   13671 h
   13672 s/\(.\{148\}\)..*/\1/
   13673 t more1
   13674 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   13675 p
   13676 n
   13677 b repl
   13678 :more1
   13679 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13680 p
   13681 g
   13682 s/.\{148\}//
   13683 t nl
   13684 :delim
   13685 h
   13686 s/\(.\{148\}\)..*/\1/
   13687 t more2
   13688 s/["\\]/\\&/g; s/^/"/; s/$/"/
   13689 p
   13690 b
   13691 :more2
   13692 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13693 p
   13694 g
   13695 s/.\{148\}//
   13696 t delim
   13697 ' <conf$$subs.awk | sed '
   13698 /^[^""]/{
   13699   N
   13700   s/\n//
   13701 }
   13702 ' >>$CONFIG_STATUS || ac_write_fail=1
   13703 rm -f conf$$subs.awk
   13704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13705 _ACAWK
   13706 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   13707   for (key in S) S_is_set[key] = 1
   13708   FS = ""
   13709 
   13710 }
   13711 {
   13712   line = $ 0
   13713   nfields = split(line, field, "@")
   13714   substed = 0
   13715   len = length(field[1])
   13716   for (i = 2; i < nfields; i++) {
   13717     key = field[i]
   13718     keylen = length(key)
   13719     if (S_is_set[key]) {
   13720       value = S[key]
   13721       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   13722       len += length(value) + length(field[++i])
   13723       substed = 1
   13724     } else
   13725       len += 1 + keylen
   13726   }
   13727 
   13728   print line
   13729 }
   13730 
   13731 _ACAWK
   13732 _ACEOF
   13733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13734 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   13735   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   13736 else
   13737   cat
   13738 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   13739   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   13740 _ACEOF
   13741 
   13742 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   13743 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   13744 # trailing colons and then remove the whole line if VPATH becomes empty
   13745 # (actually we leave an empty line to preserve line numbers).
   13746 if test "x$srcdir" = x.; then
   13747   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   13748 h
   13749 s///
   13750 s/^/:/
   13751 s/[	 ]*$/:/
   13752 s/:\$(srcdir):/:/g
   13753 s/:\${srcdir}:/:/g
   13754 s/:@srcdir@:/:/g
   13755 s/^:*//
   13756 s/:*$//
   13757 x
   13758 s/\(=[	 ]*\).*/\1/
   13759 G
   13760 s/\n//
   13761 s/^[^=]*=[	 ]*$//
   13762 }'
   13763 fi
   13764 
   13765 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13766 fi # test -n "$CONFIG_FILES"
   13767 
   13768 # Set up the scripts for CONFIG_HEADERS section.
   13769 # No need to generate them if there are no CONFIG_HEADERS.
   13770 # This happens for instance with `./config.status Makefile'.
   13771 if test -n "$CONFIG_HEADERS"; then
   13772 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   13773 BEGIN {
   13774 _ACEOF
   13775 
   13776 # Transform confdefs.h into an awk script `defines.awk', embedded as
   13777 # here-document in config.status, that substitutes the proper values into
   13778 # config.h.in to produce config.h.
   13779 
   13780 # Create a delimiter string that does not exist in confdefs.h, to ease
   13781 # handling of long lines.
   13782 ac_delim='%!_!# '
   13783 for ac_last_try in false false :; do
   13784   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   13785   if test -z "$ac_tt"; then
   13786     break
   13787   elif $ac_last_try; then
   13788     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   13789   else
   13790     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13791   fi
   13792 done
   13793 
   13794 # For the awk script, D is an array of macro values keyed by name,
   13795 # likewise P contains macro parameters if any.  Preserve backslash
   13796 # newline sequences.
   13797 
   13798 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   13799 sed -n '
   13800 s/.\{148\}/&'"$ac_delim"'/g
   13801 t rset
   13802 :rset
   13803 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   13804 t def
   13805 d
   13806 :def
   13807 s/\\$//
   13808 t bsnl
   13809 s/["\\]/\\&/g
   13810 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13811 D["\1"]=" \3"/p
   13812 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   13813 d
   13814 :bsnl
   13815 s/["\\]/\\&/g
   13816 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13817 D["\1"]=" \3\\\\\\n"\\/p
   13818 t cont
   13819 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13820 t cont
   13821 d
   13822 :cont
   13823 n
   13824 s/.\{148\}/&'"$ac_delim"'/g
   13825 t clear
   13826 :clear
   13827 s/\\$//
   13828 t bsnlc
   13829 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   13830 d
   13831 :bsnlc
   13832 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   13833 b cont
   13834 ' <confdefs.h | sed '
   13835 s/'"$ac_delim"'/"\\\
   13836 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   13837 
   13838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13839   for (key in D) D_is_set[key] = 1
   13840   FS = ""
   13841 }
   13842 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   13843   line = \$ 0
   13844   split(line, arg, " ")
   13845   if (arg[1] == "#") {
   13846     defundef = arg[2]
   13847     mac1 = arg[3]
   13848   } else {
   13849     defundef = substr(arg[1], 2)
   13850     mac1 = arg[2]
   13851   }
   13852   split(mac1, mac2, "(") #)
   13853   macro = mac2[1]
   13854   prefix = substr(line, 1, index(line, defundef) - 1)
   13855   if (D_is_set[macro]) {
   13856     # Preserve the white space surrounding the "#".
   13857     print prefix "define", macro P[macro] D[macro]
   13858     next
   13859   } else {
   13860     # Replace #undef with comments.  This is necessary, for example,
   13861     # in the case of _POSIX_SOURCE, which is predefined and required
   13862     # on some systems where configure will not decide to define it.
   13863     if (defundef == "undef") {
   13864       print "/*", prefix defundef, macro, "*/"
   13865       next
   13866     }
   13867   }
   13868 }
   13869 { print }
   13870 _ACAWK
   13871 _ACEOF
   13872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13873   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   13874 fi # test -n "$CONFIG_HEADERS"
   13875 
   13876 
   13877 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13878 shift
   13879 for ac_tag
   13880 do
   13881   case $ac_tag in
   13882   :[FHLC]) ac_mode=$ac_tag; continue;;
   13883   esac
   13884   case $ac_mode$ac_tag in
   13885   :[FHL]*:*);;
   13886   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   13887   :[FH]-) ac_tag=-:-;;
   13888   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13889   esac
   13890   ac_save_IFS=$IFS
   13891   IFS=:
   13892   set x $ac_tag
   13893   IFS=$ac_save_IFS
   13894   shift
   13895   ac_file=$1
   13896   shift
   13897 
   13898   case $ac_mode in
   13899   :L) ac_source=$1;;
   13900   :[FH])
   13901     ac_file_inputs=
   13902     for ac_f
   13903     do
   13904       case $ac_f in
   13905       -) ac_f="$ac_tmp/stdin";;
   13906       *) # Look for the file first in the build tree, then in the source tree
   13907 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13908 	 # because $ac_f cannot contain `:'.
   13909 	 test -f "$ac_f" ||
   13910 	   case $ac_f in
   13911 	   [\\/$]*) false;;
   13912 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13913 	   esac ||
   13914 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   13915       esac
   13916       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13917       as_fn_append ac_file_inputs " '$ac_f'"
   13918     done
   13919 
   13920     # Let's still pretend it is `configure' which instantiates (i.e., don't
   13921     # use $as_me), people would be surprised to read:
   13922     #    /* config.h.  Generated by config.status.  */
   13923     configure_input='Generated from '`
   13924 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13925 	`' by configure.'
   13926     if test x"$ac_file" != x-; then
   13927       configure_input="$ac_file.  $configure_input"
   13928       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13929 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   13930     fi
   13931     # Neutralize special characters interpreted by sed in replacement strings.
   13932     case $configure_input in #(
   13933     *\&* | *\|* | *\\* )
   13934        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   13935        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13936     *) ac_sed_conf_input=$configure_input;;
   13937     esac
   13938 
   13939     case $ac_tag in
   13940     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   13941       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   13942     esac
   13943     ;;
   13944   esac
   13945 
   13946   ac_dir=`$as_dirname -- "$ac_file" ||
   13947 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13948 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13949 	 X"$ac_file" : 'X\(//\)$' \| \
   13950 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13951 printf "%s\n" X"$ac_file" |
   13952     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13953 	    s//\1/
   13954 	    q
   13955 	  }
   13956 	  /^X\(\/\/\)[^/].*/{
   13957 	    s//\1/
   13958 	    q
   13959 	  }
   13960 	  /^X\(\/\/\)$/{
   13961 	    s//\1/
   13962 	    q
   13963 	  }
   13964 	  /^X\(\/\).*/{
   13965 	    s//\1/
   13966 	    q
   13967 	  }
   13968 	  s/.*/./; q'`
   13969   as_dir="$ac_dir"; as_fn_mkdir_p
   13970   ac_builddir=.
   13971 
   13972 case "$ac_dir" in
   13973 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13974 *)
   13975   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   13976   # A ".." for each directory in $ac_dir_suffix.
   13977   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13978   case $ac_top_builddir_sub in
   13979   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13980   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13981   esac ;;
   13982 esac
   13983 ac_abs_top_builddir=$ac_pwd
   13984 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13985 # for backward compatibility:
   13986 ac_top_builddir=$ac_top_build_prefix
   13987 
   13988 case $srcdir in
   13989   .)  # We are building in place.
   13990     ac_srcdir=.
   13991     ac_top_srcdir=$ac_top_builddir_sub
   13992     ac_abs_top_srcdir=$ac_pwd ;;
   13993   [\\/]* | ?:[\\/]* )  # Absolute name.
   13994     ac_srcdir=$srcdir$ac_dir_suffix;
   13995     ac_top_srcdir=$srcdir
   13996     ac_abs_top_srcdir=$srcdir ;;
   13997   *) # Relative name.
   13998     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13999     ac_top_srcdir=$ac_top_build_prefix$srcdir
   14000     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   14001 esac
   14002 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   14003 
   14004 
   14005   case $ac_mode in
   14006   :F)
   14007   #
   14008   # CONFIG_FILE
   14009   #
   14010 
   14011   case $INSTALL in
   14012   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   14013   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   14014   esac
   14015   ac_MKDIR_P=$MKDIR_P
   14016   case $MKDIR_P in
   14017   [\\/$]* | ?:[\\/]* ) ;;
   14018   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   14019   esac
   14020 _ACEOF
   14021 
   14022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14023 # If the template does not know about datarootdir, expand it.
   14024 # FIXME: This hack should be removed a few years after 2.60.
   14025 ac_datarootdir_hack=; ac_datarootdir_seen=
   14026 ac_sed_dataroot='
   14027 /datarootdir/ {
   14028   p
   14029   q
   14030 }
   14031 /@datadir@/p
   14032 /@docdir@/p
   14033 /@infodir@/p
   14034 /@localedir@/p
   14035 /@mandir@/p'
   14036 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   14037 *datarootdir*) ac_datarootdir_seen=yes;;
   14038 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   14039   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   14040 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   14041 _ACEOF
   14042 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14043   ac_datarootdir_hack='
   14044   s&@datadir@&$datadir&g
   14045   s&@docdir@&$docdir&g
   14046   s&@infodir@&$infodir&g
   14047   s&@localedir@&$localedir&g
   14048   s&@mandir@&$mandir&g
   14049   s&\\\${datarootdir}&$datarootdir&g' ;;
   14050 esac
   14051 _ACEOF
   14052 
   14053 # Neutralize VPATH when `$srcdir' = `.'.
   14054 # Shell code in configure.ac might set extrasub.
   14055 # FIXME: do we really want to maintain this feature?
   14056 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14057 ac_sed_extra="$ac_vpsub
   14058 $extrasub
   14059 _ACEOF
   14060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14061 :t
   14062 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   14063 s|@configure_input@|$ac_sed_conf_input|;t t
   14064 s&@top_builddir@&$ac_top_builddir_sub&;t t
   14065 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   14066 s&@srcdir@&$ac_srcdir&;t t
   14067 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   14068 s&@top_srcdir@&$ac_top_srcdir&;t t
   14069 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   14070 s&@builddir@&$ac_builddir&;t t
   14071 s&@abs_builddir@&$ac_abs_builddir&;t t
   14072 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   14073 s&@INSTALL@&$ac_INSTALL&;t t
   14074 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   14075 $ac_datarootdir_hack
   14076 "
   14077 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   14078   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   14079 
   14080 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   14081   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   14082   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   14083       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   14084   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   14085 which seems to be undefined.  Please make sure it is defined" >&5
   14086 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   14087 which seems to be undefined.  Please make sure it is defined" >&2;}
   14088 
   14089   rm -f "$ac_tmp/stdin"
   14090   case $ac_file in
   14091   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   14092   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   14093   esac \
   14094   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   14095  ;;
   14096   :H)
   14097   #
   14098   # CONFIG_HEADER
   14099   #
   14100   if test x"$ac_file" != x-; then
   14101     {
   14102       printf "%s\n" "/* $configure_input  */" >&1 \
   14103       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   14104     } >"$ac_tmp/config.h" \
   14105       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   14106     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   14107       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   14108 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   14109     else
   14110       rm -f "$ac_file"
   14111       mv "$ac_tmp/config.h" "$ac_file" \
   14112 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   14113     fi
   14114   else
   14115     printf "%s\n" "/* $configure_input  */" >&1 \
   14116       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   14117       || as_fn_error $? "could not create -" "$LINENO" 5
   14118   fi
   14119 # Compute "$ac_file"'s index in $config_headers.
   14120 _am_arg="$ac_file"
   14121 _am_stamp_count=1
   14122 for _am_header in $config_headers :; do
   14123   case $_am_header in
   14124     $_am_arg | $_am_arg:* )
   14125       break ;;
   14126     * )
   14127       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   14128   esac
   14129 done
   14130 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   14131 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14132 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   14133 	 X"$_am_arg" : 'X\(//\)$' \| \
   14134 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   14135 printf "%s\n" X"$_am_arg" |
   14136     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14137 	    s//\1/
   14138 	    q
   14139 	  }
   14140 	  /^X\(\/\/\)[^/].*/{
   14141 	    s//\1/
   14142 	    q
   14143 	  }
   14144 	  /^X\(\/\/\)$/{
   14145 	    s//\1/
   14146 	    q
   14147 	  }
   14148 	  /^X\(\/\).*/{
   14149 	    s//\1/
   14150 	    q
   14151 	  }
   14152 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   14153  ;;
   14154 
   14155   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   14156 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   14157  ;;
   14158   esac
   14159 
   14160 
   14161   case $ac_file$ac_mode in
   14162     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   14163   # Older Autoconf quotes --file arguments for eval, but not when files
   14164   # are listed without --file.  Let's play safe and only enable the eval
   14165   # if we detect the quoting.
   14166   # TODO: see whether this extra hack can be removed once we start
   14167   # requiring Autoconf 2.70 or later.
   14168   case $CONFIG_FILES in #(
   14169   *\'*) :
   14170     eval set x "$CONFIG_FILES" ;; #(
   14171   *) :
   14172     set x $CONFIG_FILES ;; #(
   14173   *) :
   14174      ;;
   14175 esac
   14176   shift
   14177   # Used to flag and report bootstrapping failures.
   14178   am_rc=0
   14179   for am_mf
   14180   do
   14181     # Strip MF so we end up with the name of the file.
   14182     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   14183     # Check whether this is an Automake generated Makefile which includes
   14184     # dependency-tracking related rules and includes.
   14185     # Grep'ing the whole file directly is not great: AIX grep has a line
   14186     # limit of 2048, but all sed's we know have understand at least 4000.
   14187     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   14188       || continue
   14189     am_dirpart=`$as_dirname -- "$am_mf" ||
   14190 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14191 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   14192 	 X"$am_mf" : 'X\(//\)$' \| \
   14193 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   14194 printf "%s\n" X"$am_mf" |
   14195     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14196 	    s//\1/
   14197 	    q
   14198 	  }
   14199 	  /^X\(\/\/\)[^/].*/{
   14200 	    s//\1/
   14201 	    q
   14202 	  }
   14203 	  /^X\(\/\/\)$/{
   14204 	    s//\1/
   14205 	    q
   14206 	  }
   14207 	  /^X\(\/\).*/{
   14208 	    s//\1/
   14209 	    q
   14210 	  }
   14211 	  s/.*/./; q'`
   14212     am_filepart=`$as_basename -- "$am_mf" ||
   14213 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   14214 	 X"$am_mf" : 'X\(//\)$' \| \
   14215 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   14216 printf "%s\n" X/"$am_mf" |
   14217     sed '/^.*\/\([^/][^/]*\)\/*$/{
   14218 	    s//\1/
   14219 	    q
   14220 	  }
   14221 	  /^X\/\(\/\/\)$/{
   14222 	    s//\1/
   14223 	    q
   14224 	  }
   14225 	  /^X\/\(\/\).*/{
   14226 	    s//\1/
   14227 	    q
   14228 	  }
   14229 	  s/.*/./; q'`
   14230     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   14231       && sed -e '/# am--include-marker/d' "$am_filepart" \
   14232         | $MAKE -f - am--depfiles" >&5
   14233    (cd "$am_dirpart" \
   14234       && sed -e '/# am--include-marker/d' "$am_filepart" \
   14235         | $MAKE -f - am--depfiles) >&5 2>&5
   14236    ac_status=$?
   14237    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14238    (exit $ac_status); } || am_rc=$?
   14239   done
   14240   if test $am_rc -ne 0; then
   14241     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   14242 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   14243 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   14244     for automatic dependency tracking.  If GNU make was not used, consider
   14245     re-running the configure script with MAKE=\"gmake\" (or whatever is
   14246     necessary).  You can also try re-running configure with the
   14247     '--disable-dependency-tracking' option to at least be able to build
   14248     the package (albeit without support for automatic dependency tracking).
   14249 See \`config.log' for more details" "$LINENO" 5; }
   14250   fi
   14251   { am_dirpart=; unset am_dirpart;}
   14252   { am_filepart=; unset am_filepart;}
   14253   { am_mf=; unset am_mf;}
   14254   { am_rc=; unset am_rc;}
   14255   rm -f conftest-deps.mk
   14256 }
   14257  ;;
   14258 
   14259   esac
   14260 done # for ac_tag
   14261 
   14262 
   14263 as_fn_exit 0
   14264 _ACEOF
   14265 ac_clean_files=$ac_clean_files_save
   14266 
   14267 test $ac_write_fail = 0 ||
   14268   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   14269 
   14270 
   14271 # configure is writing to config.log, and then calls config.status.
   14272 # config.status does its own redirection, appending to config.log.
   14273 # Unfortunately, on DOS this fails, as config.log is still kept open
   14274 # by configure, so config.status won't be able to write to it; its
   14275 # output is simply discarded.  So we exec the FD to /dev/null,
   14276 # effectively closing config.log, so it can be properly (re)opened and
   14277 # appended to by config.status.  When coming back to configure, we
   14278 # need to make the FD available again.
   14279 if test "$no_create" != yes; then
   14280   ac_cs_success=:
   14281   ac_config_status_args=
   14282   test "$silent" = yes &&
   14283     ac_config_status_args="$ac_config_status_args --quiet"
   14284   exec 5>/dev/null
   14285   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   14286   exec 5>>config.log
   14287   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   14288   # would make configure fail if this is the last instruction.
   14289   $ac_cs_success || as_fn_exit 1
   14290 fi
   14291 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   14292   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   14293 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   14294 fi
   14295 
   14296 
   14297