Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for xrdb 1.2.2.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xrdb/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/xrdb/issues
    272 $0: about your system, including any error possibly output
    273 $0: before this message. Then install a modern shell, or
    274 $0: manually run the script under such a shell if you do
    275 $0: have one."
    276   fi
    277   exit 1
    278 fi
    279 fi
    280 fi
    281 SHELL=${CONFIG_SHELL-/bin/sh}
    282 export SHELL
    283 # Unset more variables known to interfere with behavior of common tools.
    284 CLICOLOR_FORCE= GREP_OPTIONS=
    285 unset CLICOLOR_FORCE GREP_OPTIONS
    286 
    287 ## --------------------- ##
    288 ## M4sh Shell Functions. ##
    289 ## --------------------- ##
    290 # as_fn_unset VAR
    291 # ---------------
    292 # Portably unset VAR.
    293 as_fn_unset ()
    294 {
    295   { eval $1=; unset $1;}
    296 }
    297 as_unset=as_fn_unset
    298 
    299 
    300 # as_fn_set_status STATUS
    301 # -----------------------
    302 # Set $? to STATUS, without forking.
    303 as_fn_set_status ()
    304 {
    305   return $1
    306 } # as_fn_set_status
    307 
    308 # as_fn_exit STATUS
    309 # -----------------
    310 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    311 as_fn_exit ()
    312 {
    313   set +e
    314   as_fn_set_status $1
    315   exit $1
    316 } # as_fn_exit
    317 # as_fn_nop
    318 # ---------
    319 # Do nothing but, unlike ":", preserve the value of $?.
    320 as_fn_nop ()
    321 {
    322   return $?
    323 }
    324 as_nop=as_fn_nop
    325 
    326 # as_fn_mkdir_p
    327 # -------------
    328 # Create "$as_dir" as a directory, including parents if necessary.
    329 as_fn_mkdir_p ()
    330 {
    331 
    332   case $as_dir in #(
    333   -*) as_dir=./$as_dir;;
    334   esac
    335   test -d "$as_dir" || eval $as_mkdir_p || {
    336     as_dirs=
    337     while :; do
    338       case $as_dir in #(
    339       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    340       *) as_qdir=$as_dir;;
    341       esac
    342       as_dirs="'$as_qdir' $as_dirs"
    343       as_dir=`$as_dirname -- "$as_dir" ||
    344 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    345 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    346 	 X"$as_dir" : 'X\(//\)$' \| \
    347 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    348 printf "%s\n" X"$as_dir" |
    349     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    350 	    s//\1/
    351 	    q
    352 	  }
    353 	  /^X\(\/\/\)[^/].*/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\/\)$/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\).*/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  s/.*/./; q'`
    366       test -d "$as_dir" && break
    367     done
    368     test -z "$as_dirs" || eval "mkdir $as_dirs"
    369   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    370 
    371 
    372 } # as_fn_mkdir_p
    373 
    374 # as_fn_executable_p FILE
    375 # -----------------------
    376 # Test if FILE is an executable regular file.
    377 as_fn_executable_p ()
    378 {
    379   test -f "$1" && test -x "$1"
    380 } # as_fn_executable_p
    381 # as_fn_append VAR VALUE
    382 # ----------------------
    383 # Append the text in VALUE to the end of the definition contained in VAR. Take
    384 # advantage of any shell optimizations that allow amortized linear growth over
    385 # repeated appends, instead of the typical quadratic growth present in naive
    386 # implementations.
    387 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    388 then :
    389   eval 'as_fn_append ()
    390   {
    391     eval $1+=\$2
    392   }'
    393 else $as_nop
    394   as_fn_append ()
    395   {
    396     eval $1=\$$1\$2
    397   }
    398 fi # as_fn_append
    399 
    400 # as_fn_arith ARG...
    401 # ------------------
    402 # Perform arithmetic evaluation on the ARGs, and store the result in the
    403 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    404 # must be portable across $(()) and expr.
    405 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    406 then :
    407   eval 'as_fn_arith ()
    408   {
    409     as_val=$(( $* ))
    410   }'
    411 else $as_nop
    412   as_fn_arith ()
    413   {
    414     as_val=`expr "$@" || test $? -eq 1`
    415   }
    416 fi # as_fn_arith
    417 
    418 # as_fn_nop
    419 # ---------
    420 # Do nothing but, unlike ":", preserve the value of $?.
    421 as_fn_nop ()
    422 {
    423   return $?
    424 }
    425 as_nop=as_fn_nop
    426 
    427 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    428 # ----------------------------------------
    429 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    430 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    431 # script with STATUS, using 1 if that was 0.
    432 as_fn_error ()
    433 {
    434   as_status=$1; test $as_status -eq 0 && as_status=1
    435   if test "$4"; then
    436     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    437     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    438   fi
    439   printf "%s\n" "$as_me: error: $2" >&2
    440   as_fn_exit $as_status
    441 } # as_fn_error
    442 
    443 if expr a : '\(a\)' >/dev/null 2>&1 &&
    444    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    445   as_expr=expr
    446 else
    447   as_expr=false
    448 fi
    449 
    450 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    451   as_basename=basename
    452 else
    453   as_basename=false
    454 fi
    455 
    456 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    457   as_dirname=dirname
    458 else
    459   as_dirname=false
    460 fi
    461 
    462 as_me=`$as_basename -- "$0" ||
    463 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    464 	 X"$0" : 'X\(//\)$' \| \
    465 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    466 printf "%s\n" X/"$0" |
    467     sed '/^.*\/\([^/][^/]*\)\/*$/{
    468 	    s//\1/
    469 	    q
    470 	  }
    471 	  /^X\/\(\/\/\)$/{
    472 	    s//\1/
    473 	    q
    474 	  }
    475 	  /^X\/\(\/\).*/{
    476 	    s//\1/
    477 	    q
    478 	  }
    479 	  s/.*/./; q'`
    480 
    481 # Avoid depending upon Character Ranges.
    482 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    483 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    484 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    485 as_cr_digits='0123456789'
    486 as_cr_alnum=$as_cr_Letters$as_cr_digits
    487 
    488 
    489   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    490   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    491   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    492   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    493   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    494   sed -n '
    495     p
    496     /[$]LINENO/=
    497   ' <$as_myself |
    498     sed '
    499       s/[$]LINENO.*/&-/
    500       t lineno
    501       b
    502       :lineno
    503       N
    504       :loop
    505       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    506       t loop
    507       s/-\n.*//
    508     ' >$as_me.lineno &&
    509   chmod +x "$as_me.lineno" ||
    510     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    511 
    512   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    513   # already done that, so ensure we don't try to do so again and fall
    514   # in an infinite loop.  This has already happened in practice.
    515   _as_can_reexec=no; export _as_can_reexec
    516   # Don't try to exec as it changes $[0], causing all sort of problems
    517   # (the dirname of $[0] is not the place where we might find the
    518   # original and so on.  Autoconf is especially sensitive to this).
    519   . "./$as_me.lineno"
    520   # Exit status is that of the last command.
    521   exit
    522 }
    523 
    524 
    525 # Determine whether it's possible to make 'echo' print without a newline.
    526 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    527 # for compatibility with existing Makefiles.
    528 ECHO_C= ECHO_N= ECHO_T=
    529 case `echo -n x` in #(((((
    530 -n*)
    531   case `echo 'xy\c'` in
    532   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    533   xy)  ECHO_C='\c';;
    534   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    535        ECHO_T='	';;
    536   esac;;
    537 *)
    538   ECHO_N='-n';;
    539 esac
    540 
    541 # For backward compatibility with old third-party macros, we provide
    542 # the shell variables $as_echo and $as_echo_n.  New code should use
    543 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    544 as_echo='printf %s\n'
    545 as_echo_n='printf %s'
    546 
    547 
    548 rm -f conf$$ conf$$.exe conf$$.file
    549 if test -d conf$$.dir; then
    550   rm -f conf$$.dir/conf$$.file
    551 else
    552   rm -f conf$$.dir
    553   mkdir conf$$.dir 2>/dev/null
    554 fi
    555 if (echo >conf$$.file) 2>/dev/null; then
    556   if ln -s conf$$.file conf$$ 2>/dev/null; then
    557     as_ln_s='ln -s'
    558     # ... but there are two gotchas:
    559     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    560     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    561     # In both cases, we have to default to `cp -pR'.
    562     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    563       as_ln_s='cp -pR'
    564   elif ln conf$$.file conf$$ 2>/dev/null; then
    565     as_ln_s=ln
    566   else
    567     as_ln_s='cp -pR'
    568   fi
    569 else
    570   as_ln_s='cp -pR'
    571 fi
    572 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    573 rmdir conf$$.dir 2>/dev/null
    574 
    575 if mkdir -p . 2>/dev/null; then
    576   as_mkdir_p='mkdir -p "$as_dir"'
    577 else
    578   test -d ./-p && rmdir ./-p
    579   as_mkdir_p=false
    580 fi
    581 
    582 as_test_x='test -x'
    583 as_executable_p=as_fn_executable_p
    584 
    585 # Sed expression to map a string onto a valid CPP name.
    586 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    587 
    588 # Sed expression to map a string onto a valid variable name.
    589 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    590 
    591 
    592 test -n "$DJDIR" || exec 7<&0 </dev/null
    593 exec 6>&1
    594 
    595 # Name of the host.
    596 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    597 # so uname gets run too.
    598 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    599 
    600 #
    601 # Initializations.
    602 #
    603 ac_default_prefix=/usr/local
    604 ac_clean_files=
    605 ac_config_libobj_dir=.
    606 LIBOBJS=
    607 cross_compiling=no
    608 subdirs=
    609 MFLAGS=
    610 MAKEFLAGS=
    611 
    612 # Identity of this package.
    613 PACKAGE_NAME='xrdb'
    614 PACKAGE_TARNAME='xrdb'
    615 PACKAGE_VERSION='1.2.2'
    616 PACKAGE_STRING='xrdb 1.2.2'
    617 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xrdb/issues'
    618 PACKAGE_URL=''
    619 
    620 ac_unique_file="Makefile.am"
    621 # Factoring default headers for most tests.
    622 ac_includes_default="\
    623 #include <stddef.h>
    624 #ifdef HAVE_STDIO_H
    625 # include <stdio.h>
    626 #endif
    627 #ifdef HAVE_STDLIB_H
    628 # include <stdlib.h>
    629 #endif
    630 #ifdef HAVE_STRING_H
    631 # include <string.h>
    632 #endif
    633 #ifdef HAVE_INTTYPES_H
    634 # include <inttypes.h>
    635 #endif
    636 #ifdef HAVE_STDINT_H
    637 # include <stdint.h>
    638 #endif
    639 #ifdef HAVE_STRINGS_H
    640 # include <strings.h>
    641 #endif
    642 #ifdef HAVE_SYS_TYPES_H
    643 # include <sys/types.h>
    644 #endif
    645 #ifdef HAVE_SYS_STAT_H
    646 # include <sys/stat.h>
    647 #endif
    648 #ifdef HAVE_UNISTD_H
    649 # include <unistd.h>
    650 #endif"
    651 
    652 ac_header_c_list=
    653 ac_subst_vars='am__EXEEXT_FALSE
    654 am__EXEEXT_TRUE
    655 LTLIBOBJS
    656 LIBOBJS
    657 XRDB_LIBS
    658 XRDB_CFLAGS
    659 CPP_PATH
    660 MAN_SUBSTS
    661 XORG_MAN_PAGE
    662 ADMIN_MAN_DIR
    663 DRIVER_MAN_DIR
    664 MISC_MAN_DIR
    665 FILE_MAN_DIR
    666 LIB_MAN_DIR
    667 APP_MAN_DIR
    668 ADMIN_MAN_SUFFIX
    669 DRIVER_MAN_SUFFIX
    670 MISC_MAN_SUFFIX
    671 FILE_MAN_SUFFIX
    672 LIB_MAN_SUFFIX
    673 APP_MAN_SUFFIX
    674 SED
    675 host_os
    676 host_vendor
    677 host_cpu
    678 host
    679 build_os
    680 build_vendor
    681 build_cpu
    682 build
    683 INSTALL_CMD
    684 PKG_CONFIG_LIBDIR
    685 PKG_CONFIG_PATH
    686 PKG_CONFIG
    687 CHANGELOG_CMD
    688 STRICT_CFLAGS
    689 CWARNFLAGS
    690 BASE_CFLAGS
    691 AM_BACKSLASH
    692 AM_DEFAULT_VERBOSITY
    693 AM_DEFAULT_V
    694 AM_V
    695 CSCOPE
    696 ETAGS
    697 CTAGS
    698 am__fastdepCC_FALSE
    699 am__fastdepCC_TRUE
    700 CCDEPMODE
    701 am__nodep
    702 AMDEPBACKSLASH
    703 AMDEP_FALSE
    704 AMDEP_TRUE
    705 am__include
    706 DEPDIR
    707 am__untar
    708 am__tar
    709 AMTAR
    710 am__leading_dot
    711 SET_MAKE
    712 AWK
    713 mkdir_p
    714 MKDIR_P
    715 INSTALL_STRIP_PROGRAM
    716 STRIP
    717 install_sh
    718 MAKEINFO
    719 AUTOHEADER
    720 AUTOMAKE
    721 AUTOCONF
    722 ACLOCAL
    723 VERSION
    724 PACKAGE
    725 CYGPATH_W
    726 am__isrc
    727 INSTALL_DATA
    728 INSTALL_SCRIPT
    729 INSTALL_PROGRAM
    730 OBJEXT
    731 EXEEXT
    732 ac_ct_CC
    733 CPPFLAGS
    734 LDFLAGS
    735 CFLAGS
    736 CC
    737 target_alias
    738 host_alias
    739 build_alias
    740 LIBS
    741 ECHO_T
    742 ECHO_N
    743 ECHO_C
    744 DEFS
    745 mandir
    746 localedir
    747 libdir
    748 psdir
    749 pdfdir
    750 dvidir
    751 htmldir
    752 infodir
    753 docdir
    754 oldincludedir
    755 includedir
    756 runstatedir
    757 localstatedir
    758 sharedstatedir
    759 sysconfdir
    760 datadir
    761 datarootdir
    762 libexecdir
    763 sbindir
    764 bindir
    765 program_transform_name
    766 prefix
    767 exec_prefix
    768 PACKAGE_URL
    769 PACKAGE_BUGREPORT
    770 PACKAGE_STRING
    771 PACKAGE_VERSION
    772 PACKAGE_TARNAME
    773 PACKAGE_NAME
    774 PATH_SEPARATOR
    775 SHELL
    776 am__quote'
    777 ac_subst_files=''
    778 ac_user_opts='
    779 enable_option_checking
    780 enable_dependency_tracking
    781 enable_silent_rules
    782 enable_selective_werror
    783 enable_strict_compilation
    784 with_cpp
    785 '
    786       ac_precious_vars='build_alias
    787 host_alias
    788 target_alias
    789 CC
    790 CFLAGS
    791 LDFLAGS
    792 LIBS
    793 CPPFLAGS
    794 PKG_CONFIG
    795 PKG_CONFIG_PATH
    796 PKG_CONFIG_LIBDIR
    797 XRDB_CFLAGS
    798 XRDB_LIBS'
    799 
    800 
    801 # Initialize some variables set by options.
    802 ac_init_help=
    803 ac_init_version=false
    804 ac_unrecognized_opts=
    805 ac_unrecognized_sep=
    806 # The variables have the same names as the options, with
    807 # dashes changed to underlines.
    808 cache_file=/dev/null
    809 exec_prefix=NONE
    810 no_create=
    811 no_recursion=
    812 prefix=NONE
    813 program_prefix=NONE
    814 program_suffix=NONE
    815 program_transform_name=s,x,x,
    816 silent=
    817 site=
    818 srcdir=
    819 verbose=
    820 x_includes=NONE
    821 x_libraries=NONE
    822 
    823 # Installation directory options.
    824 # These are left unexpanded so users can "make install exec_prefix=/foo"
    825 # and all the variables that are supposed to be based on exec_prefix
    826 # by default will actually change.
    827 # Use braces instead of parens because sh, perl, etc. also accept them.
    828 # (The list follows the same order as the GNU Coding Standards.)
    829 bindir='${exec_prefix}/bin'
    830 sbindir='${exec_prefix}/sbin'
    831 libexecdir='${exec_prefix}/libexec'
    832 datarootdir='${prefix}/share'
    833 datadir='${datarootdir}'
    834 sysconfdir='${prefix}/etc'
    835 sharedstatedir='${prefix}/com'
    836 localstatedir='${prefix}/var'
    837 runstatedir='${localstatedir}/run'
    838 includedir='${prefix}/include'
    839 oldincludedir='/usr/include'
    840 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    841 infodir='${datarootdir}/info'
    842 htmldir='${docdir}'
    843 dvidir='${docdir}'
    844 pdfdir='${docdir}'
    845 psdir='${docdir}'
    846 libdir='${exec_prefix}/lib'
    847 localedir='${datarootdir}/locale'
    848 mandir='${datarootdir}/man'
    849 
    850 ac_prev=
    851 ac_dashdash=
    852 for ac_option
    853 do
    854   # If the previous option needs an argument, assign it.
    855   if test -n "$ac_prev"; then
    856     eval $ac_prev=\$ac_option
    857     ac_prev=
    858     continue
    859   fi
    860 
    861   case $ac_option in
    862   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    863   *=)   ac_optarg= ;;
    864   *)    ac_optarg=yes ;;
    865   esac
    866 
    867   case $ac_dashdash$ac_option in
    868   --)
    869     ac_dashdash=yes ;;
    870 
    871   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    872     ac_prev=bindir ;;
    873   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    874     bindir=$ac_optarg ;;
    875 
    876   -build | --build | --buil | --bui | --bu)
    877     ac_prev=build_alias ;;
    878   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    879     build_alias=$ac_optarg ;;
    880 
    881   -cache-file | --cache-file | --cache-fil | --cache-fi \
    882   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    883     ac_prev=cache_file ;;
    884   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    885   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    886     cache_file=$ac_optarg ;;
    887 
    888   --config-cache | -C)
    889     cache_file=config.cache ;;
    890 
    891   -datadir | --datadir | --datadi | --datad)
    892     ac_prev=datadir ;;
    893   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    894     datadir=$ac_optarg ;;
    895 
    896   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    897   | --dataroo | --dataro | --datar)
    898     ac_prev=datarootdir ;;
    899   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    900   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    901     datarootdir=$ac_optarg ;;
    902 
    903   -disable-* | --disable-*)
    904     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    905     # Reject names that are not valid shell variable names.
    906     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    907       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    908     ac_useropt_orig=$ac_useropt
    909     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    910     case $ac_user_opts in
    911       *"
    912 "enable_$ac_useropt"
    913 "*) ;;
    914       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    915 	 ac_unrecognized_sep=', ';;
    916     esac
    917     eval enable_$ac_useropt=no ;;
    918 
    919   -docdir | --docdir | --docdi | --doc | --do)
    920     ac_prev=docdir ;;
    921   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    922     docdir=$ac_optarg ;;
    923 
    924   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    925     ac_prev=dvidir ;;
    926   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    927     dvidir=$ac_optarg ;;
    928 
    929   -enable-* | --enable-*)
    930     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    931     # Reject names that are not valid shell variable names.
    932     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    933       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    934     ac_useropt_orig=$ac_useropt
    935     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    936     case $ac_user_opts in
    937       *"
    938 "enable_$ac_useropt"
    939 "*) ;;
    940       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    941 	 ac_unrecognized_sep=', ';;
    942     esac
    943     eval enable_$ac_useropt=\$ac_optarg ;;
    944 
    945   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    946   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    947   | --exec | --exe | --ex)
    948     ac_prev=exec_prefix ;;
    949   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    950   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    951   | --exec=* | --exe=* | --ex=*)
    952     exec_prefix=$ac_optarg ;;
    953 
    954   -gas | --gas | --ga | --g)
    955     # Obsolete; use --with-gas.
    956     with_gas=yes ;;
    957 
    958   -help | --help | --hel | --he | -h)
    959     ac_init_help=long ;;
    960   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    961     ac_init_help=recursive ;;
    962   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    963     ac_init_help=short ;;
    964 
    965   -host | --host | --hos | --ho)
    966     ac_prev=host_alias ;;
    967   -host=* | --host=* | --hos=* | --ho=*)
    968     host_alias=$ac_optarg ;;
    969 
    970   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    971     ac_prev=htmldir ;;
    972   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    973   | --ht=*)
    974     htmldir=$ac_optarg ;;
    975 
    976   -includedir | --includedir | --includedi | --included | --include \
    977   | --includ | --inclu | --incl | --inc)
    978     ac_prev=includedir ;;
    979   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    980   | --includ=* | --inclu=* | --incl=* | --inc=*)
    981     includedir=$ac_optarg ;;
    982 
    983   -infodir | --infodir | --infodi | --infod | --info | --inf)
    984     ac_prev=infodir ;;
    985   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    986     infodir=$ac_optarg ;;
    987 
    988   -libdir | --libdir | --libdi | --libd)
    989     ac_prev=libdir ;;
    990   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    991     libdir=$ac_optarg ;;
    992 
    993   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    994   | --libexe | --libex | --libe)
    995     ac_prev=libexecdir ;;
    996   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    997   | --libexe=* | --libex=* | --libe=*)
    998     libexecdir=$ac_optarg ;;
    999 
   1000   -localedir | --localedir | --localedi | --localed | --locale)
   1001     ac_prev=localedir ;;
   1002   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1003     localedir=$ac_optarg ;;
   1004 
   1005   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1006   | --localstate | --localstat | --localsta | --localst | --locals)
   1007     ac_prev=localstatedir ;;
   1008   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1009   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1010     localstatedir=$ac_optarg ;;
   1011 
   1012   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1013     ac_prev=mandir ;;
   1014   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1015     mandir=$ac_optarg ;;
   1016 
   1017   -nfp | --nfp | --nf)
   1018     # Obsolete; use --without-fp.
   1019     with_fp=no ;;
   1020 
   1021   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1022   | --no-cr | --no-c | -n)
   1023     no_create=yes ;;
   1024 
   1025   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1026   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1027     no_recursion=yes ;;
   1028 
   1029   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1030   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1031   | --oldin | --oldi | --old | --ol | --o)
   1032     ac_prev=oldincludedir ;;
   1033   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1034   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1035   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1036     oldincludedir=$ac_optarg ;;
   1037 
   1038   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1039     ac_prev=prefix ;;
   1040   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1041     prefix=$ac_optarg ;;
   1042 
   1043   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1044   | --program-pre | --program-pr | --program-p)
   1045     ac_prev=program_prefix ;;
   1046   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1047   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1048     program_prefix=$ac_optarg ;;
   1049 
   1050   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1051   | --program-suf | --program-su | --program-s)
   1052     ac_prev=program_suffix ;;
   1053   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1054   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1055     program_suffix=$ac_optarg ;;
   1056 
   1057   -program-transform-name | --program-transform-name \
   1058   | --program-transform-nam | --program-transform-na \
   1059   | --program-transform-n | --program-transform- \
   1060   | --program-transform | --program-transfor \
   1061   | --program-transfo | --program-transf \
   1062   | --program-trans | --program-tran \
   1063   | --progr-tra | --program-tr | --program-t)
   1064     ac_prev=program_transform_name ;;
   1065   -program-transform-name=* | --program-transform-name=* \
   1066   | --program-transform-nam=* | --program-transform-na=* \
   1067   | --program-transform-n=* | --program-transform-=* \
   1068   | --program-transform=* | --program-transfor=* \
   1069   | --program-transfo=* | --program-transf=* \
   1070   | --program-trans=* | --program-tran=* \
   1071   | --progr-tra=* | --program-tr=* | --program-t=*)
   1072     program_transform_name=$ac_optarg ;;
   1073 
   1074   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1075     ac_prev=pdfdir ;;
   1076   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1077     pdfdir=$ac_optarg ;;
   1078 
   1079   -psdir | --psdir | --psdi | --psd | --ps)
   1080     ac_prev=psdir ;;
   1081   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1082     psdir=$ac_optarg ;;
   1083 
   1084   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1085   | -silent | --silent | --silen | --sile | --sil)
   1086     silent=yes ;;
   1087 
   1088   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1089   | --runstate | --runstat | --runsta | --runst | --runs \
   1090   | --run | --ru | --r)
   1091     ac_prev=runstatedir ;;
   1092   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1093   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1094   | --run=* | --ru=* | --r=*)
   1095     runstatedir=$ac_optarg ;;
   1096 
   1097   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1098     ac_prev=sbindir ;;
   1099   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1100   | --sbi=* | --sb=*)
   1101     sbindir=$ac_optarg ;;
   1102 
   1103   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1104   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1105   | --sharedst | --shareds | --shared | --share | --shar \
   1106   | --sha | --sh)
   1107     ac_prev=sharedstatedir ;;
   1108   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1109   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1110   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1111   | --sha=* | --sh=*)
   1112     sharedstatedir=$ac_optarg ;;
   1113 
   1114   -site | --site | --sit)
   1115     ac_prev=site ;;
   1116   -site=* | --site=* | --sit=*)
   1117     site=$ac_optarg ;;
   1118 
   1119   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1120     ac_prev=srcdir ;;
   1121   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1122     srcdir=$ac_optarg ;;
   1123 
   1124   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1125   | --syscon | --sysco | --sysc | --sys | --sy)
   1126     ac_prev=sysconfdir ;;
   1127   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1128   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1129     sysconfdir=$ac_optarg ;;
   1130 
   1131   -target | --target | --targe | --targ | --tar | --ta | --t)
   1132     ac_prev=target_alias ;;
   1133   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1134     target_alias=$ac_optarg ;;
   1135 
   1136   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1137     verbose=yes ;;
   1138 
   1139   -version | --version | --versio | --versi | --vers | -V)
   1140     ac_init_version=: ;;
   1141 
   1142   -with-* | --with-*)
   1143     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1144     # Reject names that are not valid shell variable names.
   1145     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1146       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1147     ac_useropt_orig=$ac_useropt
   1148     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1149     case $ac_user_opts in
   1150       *"
   1151 "with_$ac_useropt"
   1152 "*) ;;
   1153       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1154 	 ac_unrecognized_sep=', ';;
   1155     esac
   1156     eval with_$ac_useropt=\$ac_optarg ;;
   1157 
   1158   -without-* | --without-*)
   1159     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1160     # Reject names that are not valid shell variable names.
   1161     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1162       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1163     ac_useropt_orig=$ac_useropt
   1164     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1165     case $ac_user_opts in
   1166       *"
   1167 "with_$ac_useropt"
   1168 "*) ;;
   1169       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1170 	 ac_unrecognized_sep=', ';;
   1171     esac
   1172     eval with_$ac_useropt=no ;;
   1173 
   1174   --x)
   1175     # Obsolete; use --with-x.
   1176     with_x=yes ;;
   1177 
   1178   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1179   | --x-incl | --x-inc | --x-in | --x-i)
   1180     ac_prev=x_includes ;;
   1181   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1182   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1183     x_includes=$ac_optarg ;;
   1184 
   1185   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1186   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1187     ac_prev=x_libraries ;;
   1188   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1189   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1190     x_libraries=$ac_optarg ;;
   1191 
   1192   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1193 Try \`$0 --help' for more information"
   1194     ;;
   1195 
   1196   *=*)
   1197     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1198     # Reject names that are not valid shell variable names.
   1199     case $ac_envvar in #(
   1200       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1201       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1202     esac
   1203     eval $ac_envvar=\$ac_optarg
   1204     export $ac_envvar ;;
   1205 
   1206   *)
   1207     # FIXME: should be removed in autoconf 3.0.
   1208     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1209     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1210       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1211     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1212     ;;
   1213 
   1214   esac
   1215 done
   1216 
   1217 if test -n "$ac_prev"; then
   1218   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1219   as_fn_error $? "missing argument to $ac_option"
   1220 fi
   1221 
   1222 if test -n "$ac_unrecognized_opts"; then
   1223   case $enable_option_checking in
   1224     no) ;;
   1225     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1226     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1227   esac
   1228 fi
   1229 
   1230 # Check all directory arguments for consistency.
   1231 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1232 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1233 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1234 		libdir localedir mandir runstatedir
   1235 do
   1236   eval ac_val=\$$ac_var
   1237   # Remove trailing slashes.
   1238   case $ac_val in
   1239     */ )
   1240       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1241       eval $ac_var=\$ac_val;;
   1242   esac
   1243   # Be sure to have absolute directory names.
   1244   case $ac_val in
   1245     [\\/$]* | ?:[\\/]* )  continue;;
   1246     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1247   esac
   1248   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1249 done
   1250 
   1251 # There might be people who depend on the old broken behavior: `$host'
   1252 # used to hold the argument of --host etc.
   1253 # FIXME: To remove some day.
   1254 build=$build_alias
   1255 host=$host_alias
   1256 target=$target_alias
   1257 
   1258 # FIXME: To remove some day.
   1259 if test "x$host_alias" != x; then
   1260   if test "x$build_alias" = x; then
   1261     cross_compiling=maybe
   1262   elif test "x$build_alias" != "x$host_alias"; then
   1263     cross_compiling=yes
   1264   fi
   1265 fi
   1266 
   1267 ac_tool_prefix=
   1268 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1269 
   1270 test "$silent" = yes && exec 6>/dev/null
   1271 
   1272 
   1273 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1274 ac_ls_di=`ls -di .` &&
   1275 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1276   as_fn_error $? "working directory cannot be determined"
   1277 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1278   as_fn_error $? "pwd does not report name of working directory"
   1279 
   1280 
   1281 # Find the source files, if location was not specified.
   1282 if test -z "$srcdir"; then
   1283   ac_srcdir_defaulted=yes
   1284   # Try the directory containing this script, then the parent directory.
   1285   ac_confdir=`$as_dirname -- "$as_myself" ||
   1286 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1287 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1288 	 X"$as_myself" : 'X\(//\)$' \| \
   1289 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1290 printf "%s\n" X"$as_myself" |
   1291     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1292 	    s//\1/
   1293 	    q
   1294 	  }
   1295 	  /^X\(\/\/\)[^/].*/{
   1296 	    s//\1/
   1297 	    q
   1298 	  }
   1299 	  /^X\(\/\/\)$/{
   1300 	    s//\1/
   1301 	    q
   1302 	  }
   1303 	  /^X\(\/\).*/{
   1304 	    s//\1/
   1305 	    q
   1306 	  }
   1307 	  s/.*/./; q'`
   1308   srcdir=$ac_confdir
   1309   if test ! -r "$srcdir/$ac_unique_file"; then
   1310     srcdir=..
   1311   fi
   1312 else
   1313   ac_srcdir_defaulted=no
   1314 fi
   1315 if test ! -r "$srcdir/$ac_unique_file"; then
   1316   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1317   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1318 fi
   1319 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1320 ac_abs_confdir=`(
   1321 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1322 	pwd)`
   1323 # When building in place, set srcdir=.
   1324 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1325   srcdir=.
   1326 fi
   1327 # Remove unnecessary trailing slashes from srcdir.
   1328 # Double slashes in file names in object file debugging info
   1329 # mess up M-x gdb in Emacs.
   1330 case $srcdir in
   1331 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1332 esac
   1333 for ac_var in $ac_precious_vars; do
   1334   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1335   eval ac_env_${ac_var}_value=\$${ac_var}
   1336   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1337   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1338 done
   1339 
   1340 #
   1341 # Report the --help message.
   1342 #
   1343 if test "$ac_init_help" = "long"; then
   1344   # Omit some internal or obsolete options to make the list less imposing.
   1345   # This message is too long to be a string in the A/UX 3.1 sh.
   1346   cat <<_ACEOF
   1347 \`configure' configures xrdb 1.2.2 to adapt to many kinds of systems.
   1348 
   1349 Usage: $0 [OPTION]... [VAR=VALUE]...
   1350 
   1351 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1352 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1353 
   1354 Defaults for the options are specified in brackets.
   1355 
   1356 Configuration:
   1357   -h, --help              display this help and exit
   1358       --help=short        display options specific to this package
   1359       --help=recursive    display the short help of all the included packages
   1360   -V, --version           display version information and exit
   1361   -q, --quiet, --silent   do not print \`checking ...' messages
   1362       --cache-file=FILE   cache test results in FILE [disabled]
   1363   -C, --config-cache      alias for \`--cache-file=config.cache'
   1364   -n, --no-create         do not create output files
   1365       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1366 
   1367 Installation directories:
   1368   --prefix=PREFIX         install architecture-independent files in PREFIX
   1369                           [$ac_default_prefix]
   1370   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1371                           [PREFIX]
   1372 
   1373 By default, \`make install' will install all the files in
   1374 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1375 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1376 for instance \`--prefix=\$HOME'.
   1377 
   1378 For better control, use the options below.
   1379 
   1380 Fine tuning of the installation directories:
   1381   --bindir=DIR            user executables [EPREFIX/bin]
   1382   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1383   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1384   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1385   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1386   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1387   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1388   --libdir=DIR            object code libraries [EPREFIX/lib]
   1389   --includedir=DIR        C header files [PREFIX/include]
   1390   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1391   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1392   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1393   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1394   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1395   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1396   --docdir=DIR            documentation root [DATAROOTDIR/doc/xrdb]
   1397   --htmldir=DIR           html documentation [DOCDIR]
   1398   --dvidir=DIR            dvi documentation [DOCDIR]
   1399   --pdfdir=DIR            pdf documentation [DOCDIR]
   1400   --psdir=DIR             ps documentation [DOCDIR]
   1401 _ACEOF
   1402 
   1403   cat <<\_ACEOF
   1404 
   1405 Program names:
   1406   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1407   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1408   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1409 
   1410 System types:
   1411   --build=BUILD     configure for building on BUILD [guessed]
   1412   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1413 _ACEOF
   1414 fi
   1415 
   1416 if test -n "$ac_init_help"; then
   1417   case $ac_init_help in
   1418      short | recursive ) echo "Configuration of xrdb 1.2.2:";;
   1419    esac
   1420   cat <<\_ACEOF
   1421 
   1422 Optional Features:
   1423   --disable-option-checking  ignore unrecognized --enable/--with options
   1424   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1425   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1426   --enable-dependency-tracking
   1427                           do not reject slow dependency extractors
   1428   --disable-dependency-tracking
   1429                           speeds up one-time build
   1430   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1431   --disable-silent-rules  verbose build output (undo: "make V=0")
   1432   --disable-selective-werror
   1433                           Turn off selective compiler errors. (default:
   1434                           enabled)
   1435   --enable-strict-compilation
   1436                           Enable all warnings from compiler and make them
   1437                           errors (default: disabled)
   1438 
   1439 Optional Packages:
   1440   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1441   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1442   --with-cpp=path         comma-separated list of paths to cpp command for
   1443                           xrdb to use at runtime
   1444 
   1445 Some influential environment variables:
   1446   CC          C compiler command
   1447   CFLAGS      C compiler flags
   1448   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1449               nonstandard directory <lib dir>
   1450   LIBS        libraries to pass to the linker, e.g. -l<library>
   1451   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1452               you have headers in a nonstandard directory <include dir>
   1453   PKG_CONFIG  path to pkg-config utility
   1454   PKG_CONFIG_PATH
   1455               directories to add to pkg-config's search path
   1456   PKG_CONFIG_LIBDIR
   1457               path overriding pkg-config's built-in search path
   1458   XRDB_CFLAGS C compiler flags for XRDB, overriding pkg-config
   1459   XRDB_LIBS   linker flags for XRDB, overriding pkg-config
   1460 
   1461 Use these variables to override the choices made by `configure' or to help
   1462 it to find libraries and programs with nonstandard names/locations.
   1463 
   1464 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xrdb/issues>.
   1465 _ACEOF
   1466 ac_status=$?
   1467 fi
   1468 
   1469 if test "$ac_init_help" = "recursive"; then
   1470   # If there are subdirs, report their specific --help.
   1471   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1472     test -d "$ac_dir" ||
   1473       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1474       continue
   1475     ac_builddir=.
   1476 
   1477 case "$ac_dir" in
   1478 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1479 *)
   1480   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1481   # A ".." for each directory in $ac_dir_suffix.
   1482   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1483   case $ac_top_builddir_sub in
   1484   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1485   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1486   esac ;;
   1487 esac
   1488 ac_abs_top_builddir=$ac_pwd
   1489 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1490 # for backward compatibility:
   1491 ac_top_builddir=$ac_top_build_prefix
   1492 
   1493 case $srcdir in
   1494   .)  # We are building in place.
   1495     ac_srcdir=.
   1496     ac_top_srcdir=$ac_top_builddir_sub
   1497     ac_abs_top_srcdir=$ac_pwd ;;
   1498   [\\/]* | ?:[\\/]* )  # Absolute name.
   1499     ac_srcdir=$srcdir$ac_dir_suffix;
   1500     ac_top_srcdir=$srcdir
   1501     ac_abs_top_srcdir=$srcdir ;;
   1502   *) # Relative name.
   1503     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1504     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1505     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1506 esac
   1507 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1508 
   1509     cd "$ac_dir" || { ac_status=$?; continue; }
   1510     # Check for configure.gnu first; this name is used for a wrapper for
   1511     # Metaconfig's "Configure" on case-insensitive file systems.
   1512     if test -f "$ac_srcdir/configure.gnu"; then
   1513       echo &&
   1514       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1515     elif test -f "$ac_srcdir/configure"; then
   1516       echo &&
   1517       $SHELL "$ac_srcdir/configure" --help=recursive
   1518     else
   1519       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1520     fi || ac_status=$?
   1521     cd "$ac_pwd" || { ac_status=$?; break; }
   1522   done
   1523 fi
   1524 
   1525 test -n "$ac_init_help" && exit $ac_status
   1526 if $ac_init_version; then
   1527   cat <<\_ACEOF
   1528 xrdb configure 1.2.2
   1529 generated by GNU Autoconf 2.71
   1530 
   1531 Copyright (C) 2021 Free Software Foundation, Inc.
   1532 This configure script is free software; the Free Software Foundation
   1533 gives unlimited permission to copy, distribute and modify it.
   1534 _ACEOF
   1535   exit
   1536 fi
   1537 
   1538 ## ------------------------ ##
   1539 ## Autoconf initialization. ##
   1540 ## ------------------------ ##
   1541 
   1542 # ac_fn_c_try_compile LINENO
   1543 # --------------------------
   1544 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1545 ac_fn_c_try_compile ()
   1546 {
   1547   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1548   rm -f conftest.$ac_objext conftest.beam
   1549   if { { ac_try="$ac_compile"
   1550 case "(($ac_try" in
   1551   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1552   *) ac_try_echo=$ac_try;;
   1553 esac
   1554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1555 printf "%s\n" "$ac_try_echo"; } >&5
   1556   (eval "$ac_compile") 2>conftest.err
   1557   ac_status=$?
   1558   if test -s conftest.err; then
   1559     grep -v '^ *+' conftest.err >conftest.er1
   1560     cat conftest.er1 >&5
   1561     mv -f conftest.er1 conftest.err
   1562   fi
   1563   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1564   test $ac_status = 0; } && {
   1565 	 test -z "$ac_c_werror_flag" ||
   1566 	 test ! -s conftest.err
   1567        } && test -s conftest.$ac_objext
   1568 then :
   1569   ac_retval=0
   1570 else $as_nop
   1571   printf "%s\n" "$as_me: failed program was:" >&5
   1572 sed 's/^/| /' conftest.$ac_ext >&5
   1573 
   1574 	ac_retval=1
   1575 fi
   1576   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1577   as_fn_set_status $ac_retval
   1578 
   1579 } # ac_fn_c_try_compile
   1580 
   1581 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1582 # -------------------------------------------------------
   1583 # Tests whether HEADER exists and can be compiled using the include files in
   1584 # INCLUDES, setting the cache variable VAR accordingly.
   1585 ac_fn_c_check_header_compile ()
   1586 {
   1587   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1588   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1589 printf %s "checking for $2... " >&6; }
   1590 if eval test \${$3+y}
   1591 then :
   1592   printf %s "(cached) " >&6
   1593 else $as_nop
   1594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1595 /* end confdefs.h.  */
   1596 $4
   1597 #include <$2>
   1598 _ACEOF
   1599 if ac_fn_c_try_compile "$LINENO"
   1600 then :
   1601   eval "$3=yes"
   1602 else $as_nop
   1603   eval "$3=no"
   1604 fi
   1605 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1606 fi
   1607 eval ac_res=\$$3
   1608 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1609 printf "%s\n" "$ac_res" >&6; }
   1610   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1611 
   1612 } # ac_fn_c_check_header_compile
   1613 
   1614 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1615 # ------------------------------------------------------------------
   1616 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1617 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1618 ac_fn_check_decl ()
   1619 {
   1620   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1621   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1622   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1623 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1624 if eval test \${$3+y}
   1625 then :
   1626   printf %s "(cached) " >&6
   1627 else $as_nop
   1628   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1629   eval ac_save_FLAGS=\$$6
   1630   as_fn_append $6 " $5"
   1631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1632 /* end confdefs.h.  */
   1633 $4
   1634 int
   1635 main (void)
   1636 {
   1637 #ifndef $as_decl_name
   1638 #ifdef __cplusplus
   1639   (void) $as_decl_use;
   1640 #else
   1641   (void) $as_decl_name;
   1642 #endif
   1643 #endif
   1644 
   1645   ;
   1646   return 0;
   1647 }
   1648 _ACEOF
   1649 if ac_fn_c_try_compile "$LINENO"
   1650 then :
   1651   eval "$3=yes"
   1652 else $as_nop
   1653   eval "$3=no"
   1654 fi
   1655 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1656   eval $6=\$ac_save_FLAGS
   1657 
   1658 fi
   1659 eval ac_res=\$$3
   1660 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1661 printf "%s\n" "$ac_res" >&6; }
   1662   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1663 
   1664 } # ac_fn_check_decl
   1665 
   1666 # ac_fn_c_try_link LINENO
   1667 # -----------------------
   1668 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1669 ac_fn_c_try_link ()
   1670 {
   1671   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1672   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1673   if { { ac_try="$ac_link"
   1674 case "(($ac_try" in
   1675   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1676   *) ac_try_echo=$ac_try;;
   1677 esac
   1678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1679 printf "%s\n" "$ac_try_echo"; } >&5
   1680   (eval "$ac_link") 2>conftest.err
   1681   ac_status=$?
   1682   if test -s conftest.err; then
   1683     grep -v '^ *+' conftest.err >conftest.er1
   1684     cat conftest.er1 >&5
   1685     mv -f conftest.er1 conftest.err
   1686   fi
   1687   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1688   test $ac_status = 0; } && {
   1689 	 test -z "$ac_c_werror_flag" ||
   1690 	 test ! -s conftest.err
   1691        } && test -s conftest$ac_exeext && {
   1692 	 test "$cross_compiling" = yes ||
   1693 	 test -x conftest$ac_exeext
   1694        }
   1695 then :
   1696   ac_retval=0
   1697 else $as_nop
   1698   printf "%s\n" "$as_me: failed program was:" >&5
   1699 sed 's/^/| /' conftest.$ac_ext >&5
   1700 
   1701 	ac_retval=1
   1702 fi
   1703   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1704   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1705   # interfere with the next link command; also delete a directory that is
   1706   # left behind by Apple's compiler.  We do this before executing the actions.
   1707   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1708   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1709   as_fn_set_status $ac_retval
   1710 
   1711 } # ac_fn_c_try_link
   1712 
   1713 # ac_fn_c_check_func LINENO FUNC VAR
   1714 # ----------------------------------
   1715 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1716 ac_fn_c_check_func ()
   1717 {
   1718   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1719   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1720 printf %s "checking for $2... " >&6; }
   1721 if eval test \${$3+y}
   1722 then :
   1723   printf %s "(cached) " >&6
   1724 else $as_nop
   1725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1726 /* end confdefs.h.  */
   1727 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1728    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1729 #define $2 innocuous_$2
   1730 
   1731 /* System header to define __stub macros and hopefully few prototypes,
   1732    which can conflict with char $2 (); below.  */
   1733 
   1734 #include <limits.h>
   1735 #undef $2
   1736 
   1737 /* Override any GCC internal prototype to avoid an error.
   1738    Use char because int might match the return type of a GCC
   1739    builtin and then its argument prototype would still apply.  */
   1740 #ifdef __cplusplus
   1741 extern "C"
   1742 #endif
   1743 char $2 ();
   1744 /* The GNU C library defines this for functions which it implements
   1745     to always fail with ENOSYS.  Some functions are actually named
   1746     something starting with __ and the normal name is an alias.  */
   1747 #if defined __stub_$2 || defined __stub___$2
   1748 choke me
   1749 #endif
   1750 
   1751 int
   1752 main (void)
   1753 {
   1754 return $2 ();
   1755   ;
   1756   return 0;
   1757 }
   1758 _ACEOF
   1759 if ac_fn_c_try_link "$LINENO"
   1760 then :
   1761   eval "$3=yes"
   1762 else $as_nop
   1763   eval "$3=no"
   1764 fi
   1765 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1766     conftest$ac_exeext conftest.$ac_ext
   1767 fi
   1768 eval ac_res=\$$3
   1769 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1770 printf "%s\n" "$ac_res" >&6; }
   1771   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1772 
   1773 } # ac_fn_c_check_func
   1774 ac_configure_args_raw=
   1775 for ac_arg
   1776 do
   1777   case $ac_arg in
   1778   *\'*)
   1779     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1780   esac
   1781   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1782 done
   1783 
   1784 case $ac_configure_args_raw in
   1785   *$as_nl*)
   1786     ac_safe_unquote= ;;
   1787   *)
   1788     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1789     ac_unsafe_a="$ac_unsafe_z#~"
   1790     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1791     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1792 esac
   1793 
   1794 cat >config.log <<_ACEOF
   1795 This file contains any messages produced by compilers while
   1796 running configure, to aid debugging if configure makes a mistake.
   1797 
   1798 It was created by xrdb $as_me 1.2.2, which was
   1799 generated by GNU Autoconf 2.71.  Invocation command line was
   1800 
   1801   $ $0$ac_configure_args_raw
   1802 
   1803 _ACEOF
   1804 exec 5>>config.log
   1805 {
   1806 cat <<_ASUNAME
   1807 ## --------- ##
   1808 ## Platform. ##
   1809 ## --------- ##
   1810 
   1811 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1812 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1813 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1814 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1815 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1816 
   1817 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1818 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1819 
   1820 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1821 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1822 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1823 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1824 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1825 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1826 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1827 
   1828 _ASUNAME
   1829 
   1830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1831 for as_dir in $PATH
   1832 do
   1833   IFS=$as_save_IFS
   1834   case $as_dir in #(((
   1835     '') as_dir=./ ;;
   1836     */) ;;
   1837     *) as_dir=$as_dir/ ;;
   1838   esac
   1839     printf "%s\n" "PATH: $as_dir"
   1840   done
   1841 IFS=$as_save_IFS
   1842 
   1843 } >&5
   1844 
   1845 cat >&5 <<_ACEOF
   1846 
   1847 
   1848 ## ----------- ##
   1849 ## Core tests. ##
   1850 ## ----------- ##
   1851 
   1852 _ACEOF
   1853 
   1854 
   1855 # Keep a trace of the command line.
   1856 # Strip out --no-create and --no-recursion so they do not pile up.
   1857 # Strip out --silent because we don't want to record it for future runs.
   1858 # Also quote any args containing shell meta-characters.
   1859 # Make two passes to allow for proper duplicate-argument suppression.
   1860 ac_configure_args=
   1861 ac_configure_args0=
   1862 ac_configure_args1=
   1863 ac_must_keep_next=false
   1864 for ac_pass in 1 2
   1865 do
   1866   for ac_arg
   1867   do
   1868     case $ac_arg in
   1869     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1870     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1871     | -silent | --silent | --silen | --sile | --sil)
   1872       continue ;;
   1873     *\'*)
   1874       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1875     esac
   1876     case $ac_pass in
   1877     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1878     2)
   1879       as_fn_append ac_configure_args1 " '$ac_arg'"
   1880       if test $ac_must_keep_next = true; then
   1881 	ac_must_keep_next=false # Got value, back to normal.
   1882       else
   1883 	case $ac_arg in
   1884 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1885 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1886 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1887 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1888 	    case "$ac_configure_args0 " in
   1889 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1890 	    esac
   1891 	    ;;
   1892 	  -* ) ac_must_keep_next=true ;;
   1893 	esac
   1894       fi
   1895       as_fn_append ac_configure_args " '$ac_arg'"
   1896       ;;
   1897     esac
   1898   done
   1899 done
   1900 { ac_configure_args0=; unset ac_configure_args0;}
   1901 { ac_configure_args1=; unset ac_configure_args1;}
   1902 
   1903 # When interrupted or exit'd, cleanup temporary files, and complete
   1904 # config.log.  We remove comments because anyway the quotes in there
   1905 # would cause problems or look ugly.
   1906 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1907 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1908 trap 'exit_status=$?
   1909   # Sanitize IFS.
   1910   IFS=" ""	$as_nl"
   1911   # Save into config.log some information that might help in debugging.
   1912   {
   1913     echo
   1914 
   1915     printf "%s\n" "## ---------------- ##
   1916 ## Cache variables. ##
   1917 ## ---------------- ##"
   1918     echo
   1919     # The following way of writing the cache mishandles newlines in values,
   1920 (
   1921   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1922     eval ac_val=\$$ac_var
   1923     case $ac_val in #(
   1924     *${as_nl}*)
   1925       case $ac_var in #(
   1926       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1927 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1928       esac
   1929       case $ac_var in #(
   1930       _ | IFS | as_nl) ;; #(
   1931       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1932       *) { eval $ac_var=; unset $ac_var;} ;;
   1933       esac ;;
   1934     esac
   1935   done
   1936   (set) 2>&1 |
   1937     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1938     *${as_nl}ac_space=\ *)
   1939       sed -n \
   1940 	"s/'\''/'\''\\\\'\'''\''/g;
   1941 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1942       ;; #(
   1943     *)
   1944       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1945       ;;
   1946     esac |
   1947     sort
   1948 )
   1949     echo
   1950 
   1951     printf "%s\n" "## ----------------- ##
   1952 ## Output variables. ##
   1953 ## ----------------- ##"
   1954     echo
   1955     for ac_var in $ac_subst_vars
   1956     do
   1957       eval ac_val=\$$ac_var
   1958       case $ac_val in
   1959       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1960       esac
   1961       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1962     done | sort
   1963     echo
   1964 
   1965     if test -n "$ac_subst_files"; then
   1966       printf "%s\n" "## ------------------- ##
   1967 ## File substitutions. ##
   1968 ## ------------------- ##"
   1969       echo
   1970       for ac_var in $ac_subst_files
   1971       do
   1972 	eval ac_val=\$$ac_var
   1973 	case $ac_val in
   1974 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1975 	esac
   1976 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1977       done | sort
   1978       echo
   1979     fi
   1980 
   1981     if test -s confdefs.h; then
   1982       printf "%s\n" "## ----------- ##
   1983 ## confdefs.h. ##
   1984 ## ----------- ##"
   1985       echo
   1986       cat confdefs.h
   1987       echo
   1988     fi
   1989     test "$ac_signal" != 0 &&
   1990       printf "%s\n" "$as_me: caught signal $ac_signal"
   1991     printf "%s\n" "$as_me: exit $exit_status"
   1992   } >&5
   1993   rm -f core *.core core.conftest.* &&
   1994     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1995     exit $exit_status
   1996 ' 0
   1997 for ac_signal in 1 2 13 15; do
   1998   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1999 done
   2000 ac_signal=0
   2001 
   2002 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2003 rm -f -r conftest* confdefs.h
   2004 
   2005 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2006 
   2007 # Predefined preprocessor variables.
   2008 
   2009 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2010 
   2011 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2012 
   2013 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2014 
   2015 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2016 
   2017 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2018 
   2019 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2020 
   2021 
   2022 # Let the site file select an alternate cache file if it wants to.
   2023 # Prefer an explicitly selected file to automatically selected ones.
   2024 if test -n "$CONFIG_SITE"; then
   2025   ac_site_files="$CONFIG_SITE"
   2026 elif test "x$prefix" != xNONE; then
   2027   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2028 else
   2029   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2030 fi
   2031 
   2032 for ac_site_file in $ac_site_files
   2033 do
   2034   case $ac_site_file in #(
   2035   */*) :
   2036      ;; #(
   2037   *) :
   2038     ac_site_file=./$ac_site_file ;;
   2039 esac
   2040   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2041     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2042 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2043     sed 's/^/| /' "$ac_site_file" >&5
   2044     . "$ac_site_file" \
   2045       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2046 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2047 as_fn_error $? "failed to load site script $ac_site_file
   2048 See \`config.log' for more details" "$LINENO" 5; }
   2049   fi
   2050 done
   2051 
   2052 if test -r "$cache_file"; then
   2053   # Some versions of bash will fail to source /dev/null (special files
   2054   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2055   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2056     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2057 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2058     case $cache_file in
   2059       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2060       *)                      . "./$cache_file";;
   2061     esac
   2062   fi
   2063 else
   2064   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2065 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2066   >$cache_file
   2067 fi
   2068 
   2069 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2070 # Test code for whether the C compiler supports C89 (global declarations)
   2071 ac_c_conftest_c89_globals='
   2072 /* Does the compiler advertise C89 conformance?
   2073    Do not test the value of __STDC__, because some compilers set it to 0
   2074    while being otherwise adequately conformant. */
   2075 #if !defined __STDC__
   2076 # error "Compiler does not advertise C89 conformance"
   2077 #endif
   2078 
   2079 #include <stddef.h>
   2080 #include <stdarg.h>
   2081 struct stat;
   2082 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2083 struct buf { int x; };
   2084 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2085 static char *e (p, i)
   2086      char **p;
   2087      int i;
   2088 {
   2089   return p[i];
   2090 }
   2091 static char *f (char * (*g) (char **, int), char **p, ...)
   2092 {
   2093   char *s;
   2094   va_list v;
   2095   va_start (v,p);
   2096   s = g (p, va_arg (v,int));
   2097   va_end (v);
   2098   return s;
   2099 }
   2100 
   2101 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2102    function prototypes and stuff, but not \xHH hex character constants.
   2103    These do not provoke an error unfortunately, instead are silently treated
   2104    as an "x".  The following induces an error, until -std is added to get
   2105    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2106    array size at least.  It is necessary to write \x00 == 0 to get something
   2107    that is true only with -std.  */
   2108 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2109 
   2110 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2111    inside strings and character constants.  */
   2112 #define FOO(x) '\''x'\''
   2113 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2114 
   2115 int test (int i, double x);
   2116 struct s1 {int (*f) (int a);};
   2117 struct s2 {int (*f) (double a);};
   2118 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2119                int, int);'
   2120 
   2121 # Test code for whether the C compiler supports C89 (body of main).
   2122 ac_c_conftest_c89_main='
   2123 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2124 '
   2125 
   2126 # Test code for whether the C compiler supports C99 (global declarations)
   2127 ac_c_conftest_c99_globals='
   2128 // Does the compiler advertise C99 conformance?
   2129 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2130 # error "Compiler does not advertise C99 conformance"
   2131 #endif
   2132 
   2133 #include <stdbool.h>
   2134 extern int puts (const char *);
   2135 extern int printf (const char *, ...);
   2136 extern int dprintf (int, const char *, ...);
   2137 extern void *malloc (size_t);
   2138 
   2139 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2140 // dprintf is used instead of fprintf to avoid needing to declare
   2141 // FILE and stderr.
   2142 #define debug(...) dprintf (2, __VA_ARGS__)
   2143 #define showlist(...) puts (#__VA_ARGS__)
   2144 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2145 static void
   2146 test_varargs_macros (void)
   2147 {
   2148   int x = 1234;
   2149   int y = 5678;
   2150   debug ("Flag");
   2151   debug ("X = %d\n", x);
   2152   showlist (The first, second, and third items.);
   2153   report (x>y, "x is %d but y is %d", x, y);
   2154 }
   2155 
   2156 // Check long long types.
   2157 #define BIG64 18446744073709551615ull
   2158 #define BIG32 4294967295ul
   2159 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2160 #if !BIG_OK
   2161   #error "your preprocessor is broken"
   2162 #endif
   2163 #if BIG_OK
   2164 #else
   2165   #error "your preprocessor is broken"
   2166 #endif
   2167 static long long int bignum = -9223372036854775807LL;
   2168 static unsigned long long int ubignum = BIG64;
   2169 
   2170 struct incomplete_array
   2171 {
   2172   int datasize;
   2173   double data[];
   2174 };
   2175 
   2176 struct named_init {
   2177   int number;
   2178   const wchar_t *name;
   2179   double average;
   2180 };
   2181 
   2182 typedef const char *ccp;
   2183 
   2184 static inline int
   2185 test_restrict (ccp restrict text)
   2186 {
   2187   // See if C++-style comments work.
   2188   // Iterate through items via the restricted pointer.
   2189   // Also check for declarations in for loops.
   2190   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2191     continue;
   2192   return 0;
   2193 }
   2194 
   2195 // Check varargs and va_copy.
   2196 static bool
   2197 test_varargs (const char *format, ...)
   2198 {
   2199   va_list args;
   2200   va_start (args, format);
   2201   va_list args_copy;
   2202   va_copy (args_copy, args);
   2203 
   2204   const char *str = "";
   2205   int number = 0;
   2206   float fnumber = 0;
   2207 
   2208   while (*format)
   2209     {
   2210       switch (*format++)
   2211 	{
   2212 	case '\''s'\'': // string
   2213 	  str = va_arg (args_copy, const char *);
   2214 	  break;
   2215 	case '\''d'\'': // int
   2216 	  number = va_arg (args_copy, int);
   2217 	  break;
   2218 	case '\''f'\'': // float
   2219 	  fnumber = va_arg (args_copy, double);
   2220 	  break;
   2221 	default:
   2222 	  break;
   2223 	}
   2224     }
   2225   va_end (args_copy);
   2226   va_end (args);
   2227 
   2228   return *str && number && fnumber;
   2229 }
   2230 '
   2231 
   2232 # Test code for whether the C compiler supports C99 (body of main).
   2233 ac_c_conftest_c99_main='
   2234   // Check bool.
   2235   _Bool success = false;
   2236   success |= (argc != 0);
   2237 
   2238   // Check restrict.
   2239   if (test_restrict ("String literal") == 0)
   2240     success = true;
   2241   char *restrict newvar = "Another string";
   2242 
   2243   // Check varargs.
   2244   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2245   test_varargs_macros ();
   2246 
   2247   // Check flexible array members.
   2248   struct incomplete_array *ia =
   2249     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2250   ia->datasize = 10;
   2251   for (int i = 0; i < ia->datasize; ++i)
   2252     ia->data[i] = i * 1.234;
   2253 
   2254   // Check named initializers.
   2255   struct named_init ni = {
   2256     .number = 34,
   2257     .name = L"Test wide string",
   2258     .average = 543.34343,
   2259   };
   2260 
   2261   ni.number = 58;
   2262 
   2263   int dynamic_array[ni.number];
   2264   dynamic_array[0] = argv[0][0];
   2265   dynamic_array[ni.number - 1] = 543;
   2266 
   2267   // work around unused variable warnings
   2268   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2269 	 || dynamic_array[ni.number - 1] != 543);
   2270 '
   2271 
   2272 # Test code for whether the C compiler supports C11 (global declarations)
   2273 ac_c_conftest_c11_globals='
   2274 // Does the compiler advertise C11 conformance?
   2275 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2276 # error "Compiler does not advertise C11 conformance"
   2277 #endif
   2278 
   2279 // Check _Alignas.
   2280 char _Alignas (double) aligned_as_double;
   2281 char _Alignas (0) no_special_alignment;
   2282 extern char aligned_as_int;
   2283 char _Alignas (0) _Alignas (int) aligned_as_int;
   2284 
   2285 // Check _Alignof.
   2286 enum
   2287 {
   2288   int_alignment = _Alignof (int),
   2289   int_array_alignment = _Alignof (int[100]),
   2290   char_alignment = _Alignof (char)
   2291 };
   2292 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2293 
   2294 // Check _Noreturn.
   2295 int _Noreturn does_not_return (void) { for (;;) continue; }
   2296 
   2297 // Check _Static_assert.
   2298 struct test_static_assert
   2299 {
   2300   int x;
   2301   _Static_assert (sizeof (int) <= sizeof (long int),
   2302                   "_Static_assert does not work in struct");
   2303   long int y;
   2304 };
   2305 
   2306 // Check UTF-8 literals.
   2307 #define u8 syntax error!
   2308 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2309 
   2310 // Check duplicate typedefs.
   2311 typedef long *long_ptr;
   2312 typedef long int *long_ptr;
   2313 typedef long_ptr long_ptr;
   2314 
   2315 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2316 struct anonymous
   2317 {
   2318   union {
   2319     struct { int i; int j; };
   2320     struct { int k; long int l; } w;
   2321   };
   2322   int m;
   2323 } v1;
   2324 '
   2325 
   2326 # Test code for whether the C compiler supports C11 (body of main).
   2327 ac_c_conftest_c11_main='
   2328   _Static_assert ((offsetof (struct anonymous, i)
   2329 		   == offsetof (struct anonymous, w.k)),
   2330 		  "Anonymous union alignment botch");
   2331   v1.i = 2;
   2332   v1.w.k = 5;
   2333   ok |= v1.i != 5;
   2334 '
   2335 
   2336 # Test code for whether the C compiler supports C11 (complete).
   2337 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2338 ${ac_c_conftest_c99_globals}
   2339 ${ac_c_conftest_c11_globals}
   2340 
   2341 int
   2342 main (int argc, char **argv)
   2343 {
   2344   int ok = 0;
   2345   ${ac_c_conftest_c89_main}
   2346   ${ac_c_conftest_c99_main}
   2347   ${ac_c_conftest_c11_main}
   2348   return ok;
   2349 }
   2350 "
   2351 
   2352 # Test code for whether the C compiler supports C99 (complete).
   2353 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2354 ${ac_c_conftest_c99_globals}
   2355 
   2356 int
   2357 main (int argc, char **argv)
   2358 {
   2359   int ok = 0;
   2360   ${ac_c_conftest_c89_main}
   2361   ${ac_c_conftest_c99_main}
   2362   return ok;
   2363 }
   2364 "
   2365 
   2366 # Test code for whether the C compiler supports C89 (complete).
   2367 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2368 
   2369 int
   2370 main (int argc, char **argv)
   2371 {
   2372   int ok = 0;
   2373   ${ac_c_conftest_c89_main}
   2374   return ok;
   2375 }
   2376 "
   2377 
   2378 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2379 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2380 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2381 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2382 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2383 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2384 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2385 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2386 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2387 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2388 
   2389 # Auxiliary files required by this configure script.
   2390 ac_aux_files="config.guess config.sub missing install-sh compile"
   2391 
   2392 # Locations in which to look for auxiliary files.
   2393 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2394 
   2395 # Search for a directory containing all of the required auxiliary files,
   2396 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2397 # If we don't find one directory that contains all the files we need,
   2398 # we report the set of missing files from the *first* directory in
   2399 # $ac_aux_dir_candidates and give up.
   2400 ac_missing_aux_files=""
   2401 ac_first_candidate=:
   2402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2404 as_found=false
   2405 for as_dir in $ac_aux_dir_candidates
   2406 do
   2407   IFS=$as_save_IFS
   2408   case $as_dir in #(((
   2409     '') as_dir=./ ;;
   2410     */) ;;
   2411     *) as_dir=$as_dir/ ;;
   2412   esac
   2413   as_found=:
   2414 
   2415   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2416   ac_aux_dir_found=yes
   2417   ac_install_sh=
   2418   for ac_aux in $ac_aux_files
   2419   do
   2420     # As a special case, if "install-sh" is required, that requirement
   2421     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2422     # and $ac_install_sh is set appropriately for whichever one is found.
   2423     if test x"$ac_aux" = x"install-sh"
   2424     then
   2425       if test -f "${as_dir}install-sh"; then
   2426         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2427         ac_install_sh="${as_dir}install-sh -c"
   2428       elif test -f "${as_dir}install.sh"; then
   2429         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2430         ac_install_sh="${as_dir}install.sh -c"
   2431       elif test -f "${as_dir}shtool"; then
   2432         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2433         ac_install_sh="${as_dir}shtool install -c"
   2434       else
   2435         ac_aux_dir_found=no
   2436         if $ac_first_candidate; then
   2437           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2438         else
   2439           break
   2440         fi
   2441       fi
   2442     else
   2443       if test -f "${as_dir}${ac_aux}"; then
   2444         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2445       else
   2446         ac_aux_dir_found=no
   2447         if $ac_first_candidate; then
   2448           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2449         else
   2450           break
   2451         fi
   2452       fi
   2453     fi
   2454   done
   2455   if test "$ac_aux_dir_found" = yes; then
   2456     ac_aux_dir="$as_dir"
   2457     break
   2458   fi
   2459   ac_first_candidate=false
   2460 
   2461   as_found=false
   2462 done
   2463 IFS=$as_save_IFS
   2464 if $as_found
   2465 then :
   2466 
   2467 else $as_nop
   2468   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2469 fi
   2470 
   2471 
   2472 # These three variables are undocumented and unsupported,
   2473 # and are intended to be withdrawn in a future Autoconf release.
   2474 # They can cause serious problems if a builder's source tree is in a directory
   2475 # whose full name contains unusual characters.
   2476 if test -f "${ac_aux_dir}config.guess"; then
   2477   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2478 fi
   2479 if test -f "${ac_aux_dir}config.sub"; then
   2480   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2481 fi
   2482 if test -f "$ac_aux_dir/configure"; then
   2483   ac_configure="$SHELL ${ac_aux_dir}configure"
   2484 fi
   2485 
   2486 # Check that the precious variables saved in the cache have kept the same
   2487 # value.
   2488 ac_cache_corrupted=false
   2489 for ac_var in $ac_precious_vars; do
   2490   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2491   eval ac_new_set=\$ac_env_${ac_var}_set
   2492   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2493   eval ac_new_val=\$ac_env_${ac_var}_value
   2494   case $ac_old_set,$ac_new_set in
   2495     set,)
   2496       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2497 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2498       ac_cache_corrupted=: ;;
   2499     ,set)
   2500       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2501 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2502       ac_cache_corrupted=: ;;
   2503     ,);;
   2504     *)
   2505       if test "x$ac_old_val" != "x$ac_new_val"; then
   2506 	# differences in whitespace do not lead to failure.
   2507 	ac_old_val_w=`echo x $ac_old_val`
   2508 	ac_new_val_w=`echo x $ac_new_val`
   2509 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2510 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2511 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2512 	  ac_cache_corrupted=:
   2513 	else
   2514 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2515 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2516 	  eval $ac_var=\$ac_old_val
   2517 	fi
   2518 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2519 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2520 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2521 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2522       fi;;
   2523   esac
   2524   # Pass precious variables to config.status.
   2525   if test "$ac_new_set" = set; then
   2526     case $ac_new_val in
   2527     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2528     *) ac_arg=$ac_var=$ac_new_val ;;
   2529     esac
   2530     case " $ac_configure_args " in
   2531       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2532       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2533     esac
   2534   fi
   2535 done
   2536 if $ac_cache_corrupted; then
   2537   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2538 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2539   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2540 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2541   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2542 	    and start over" "$LINENO" 5
   2543 fi
   2544 ## -------------------- ##
   2545 ## Main body of script. ##
   2546 ## -------------------- ##
   2547 
   2548 ac_ext=c
   2549 ac_cpp='$CPP $CPPFLAGS'
   2550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2553 
   2554 
   2555 
   2556 ac_config_headers="$ac_config_headers config.h"
   2557 
   2558 
   2559 
   2560 
   2561 
   2562 
   2563 
   2564 
   2565 
   2566 
   2567 
   2568 
   2569 # Expand $ac_aux_dir to an absolute path.
   2570 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2571 
   2572 ac_ext=c
   2573 ac_cpp='$CPP $CPPFLAGS'
   2574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2577 if test -n "$ac_tool_prefix"; then
   2578   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2579 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2581 printf %s "checking for $ac_word... " >&6; }
   2582 if test ${ac_cv_prog_CC+y}
   2583 then :
   2584   printf %s "(cached) " >&6
   2585 else $as_nop
   2586   if test -n "$CC"; then
   2587   ac_cv_prog_CC="$CC" # Let the user override the test.
   2588 else
   2589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2590 for as_dir in $PATH
   2591 do
   2592   IFS=$as_save_IFS
   2593   case $as_dir in #(((
   2594     '') as_dir=./ ;;
   2595     */) ;;
   2596     *) as_dir=$as_dir/ ;;
   2597   esac
   2598     for ac_exec_ext in '' $ac_executable_extensions; do
   2599   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2600     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2601     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2602     break 2
   2603   fi
   2604 done
   2605   done
   2606 IFS=$as_save_IFS
   2607 
   2608 fi
   2609 fi
   2610 CC=$ac_cv_prog_CC
   2611 if test -n "$CC"; then
   2612   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2613 printf "%s\n" "$CC" >&6; }
   2614 else
   2615   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2616 printf "%s\n" "no" >&6; }
   2617 fi
   2618 
   2619 
   2620 fi
   2621 if test -z "$ac_cv_prog_CC"; then
   2622   ac_ct_CC=$CC
   2623   # Extract the first word of "gcc", so it can be a program name with args.
   2624 set dummy gcc; ac_word=$2
   2625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2626 printf %s "checking for $ac_word... " >&6; }
   2627 if test ${ac_cv_prog_ac_ct_CC+y}
   2628 then :
   2629   printf %s "(cached) " >&6
   2630 else $as_nop
   2631   if test -n "$ac_ct_CC"; then
   2632   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2633 else
   2634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2635 for as_dir in $PATH
   2636 do
   2637   IFS=$as_save_IFS
   2638   case $as_dir in #(((
   2639     '') as_dir=./ ;;
   2640     */) ;;
   2641     *) as_dir=$as_dir/ ;;
   2642   esac
   2643     for ac_exec_ext in '' $ac_executable_extensions; do
   2644   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2645     ac_cv_prog_ac_ct_CC="gcc"
   2646     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2647     break 2
   2648   fi
   2649 done
   2650   done
   2651 IFS=$as_save_IFS
   2652 
   2653 fi
   2654 fi
   2655 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2656 if test -n "$ac_ct_CC"; then
   2657   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2658 printf "%s\n" "$ac_ct_CC" >&6; }
   2659 else
   2660   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2661 printf "%s\n" "no" >&6; }
   2662 fi
   2663 
   2664   if test "x$ac_ct_CC" = x; then
   2665     CC=""
   2666   else
   2667     case $cross_compiling:$ac_tool_warned in
   2668 yes:)
   2669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2670 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2671 ac_tool_warned=yes ;;
   2672 esac
   2673     CC=$ac_ct_CC
   2674   fi
   2675 else
   2676   CC="$ac_cv_prog_CC"
   2677 fi
   2678 
   2679 if test -z "$CC"; then
   2680           if test -n "$ac_tool_prefix"; then
   2681     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2682 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2684 printf %s "checking for $ac_word... " >&6; }
   2685 if test ${ac_cv_prog_CC+y}
   2686 then :
   2687   printf %s "(cached) " >&6
   2688 else $as_nop
   2689   if test -n "$CC"; then
   2690   ac_cv_prog_CC="$CC" # Let the user override the test.
   2691 else
   2692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2693 for as_dir in $PATH
   2694 do
   2695   IFS=$as_save_IFS
   2696   case $as_dir in #(((
   2697     '') as_dir=./ ;;
   2698     */) ;;
   2699     *) as_dir=$as_dir/ ;;
   2700   esac
   2701     for ac_exec_ext in '' $ac_executable_extensions; do
   2702   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2703     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2704     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2705     break 2
   2706   fi
   2707 done
   2708   done
   2709 IFS=$as_save_IFS
   2710 
   2711 fi
   2712 fi
   2713 CC=$ac_cv_prog_CC
   2714 if test -n "$CC"; then
   2715   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2716 printf "%s\n" "$CC" >&6; }
   2717 else
   2718   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2719 printf "%s\n" "no" >&6; }
   2720 fi
   2721 
   2722 
   2723   fi
   2724 fi
   2725 if test -z "$CC"; then
   2726   # Extract the first word of "cc", so it can be a program name with args.
   2727 set dummy cc; ac_word=$2
   2728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2729 printf %s "checking for $ac_word... " >&6; }
   2730 if test ${ac_cv_prog_CC+y}
   2731 then :
   2732   printf %s "(cached) " >&6
   2733 else $as_nop
   2734   if test -n "$CC"; then
   2735   ac_cv_prog_CC="$CC" # Let the user override the test.
   2736 else
   2737   ac_prog_rejected=no
   2738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2739 for as_dir in $PATH
   2740 do
   2741   IFS=$as_save_IFS
   2742   case $as_dir in #(((
   2743     '') as_dir=./ ;;
   2744     */) ;;
   2745     *) as_dir=$as_dir/ ;;
   2746   esac
   2747     for ac_exec_ext in '' $ac_executable_extensions; do
   2748   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2749     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2750        ac_prog_rejected=yes
   2751        continue
   2752      fi
   2753     ac_cv_prog_CC="cc"
   2754     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2755     break 2
   2756   fi
   2757 done
   2758   done
   2759 IFS=$as_save_IFS
   2760 
   2761 if test $ac_prog_rejected = yes; then
   2762   # We found a bogon in the path, so make sure we never use it.
   2763   set dummy $ac_cv_prog_CC
   2764   shift
   2765   if test $# != 0; then
   2766     # We chose a different compiler from the bogus one.
   2767     # However, it has the same basename, so the bogon will be chosen
   2768     # first if we set CC to just the basename; use the full file name.
   2769     shift
   2770     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   2771   fi
   2772 fi
   2773 fi
   2774 fi
   2775 CC=$ac_cv_prog_CC
   2776 if test -n "$CC"; then
   2777   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2778 printf "%s\n" "$CC" >&6; }
   2779 else
   2780   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2781 printf "%s\n" "no" >&6; }
   2782 fi
   2783 
   2784 
   2785 fi
   2786 if test -z "$CC"; then
   2787   if test -n "$ac_tool_prefix"; then
   2788   for ac_prog in cl.exe
   2789   do
   2790     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2791 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2793 printf %s "checking for $ac_word... " >&6; }
   2794 if test ${ac_cv_prog_CC+y}
   2795 then :
   2796   printf %s "(cached) " >&6
   2797 else $as_nop
   2798   if test -n "$CC"; then
   2799   ac_cv_prog_CC="$CC" # Let the user override the test.
   2800 else
   2801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2802 for as_dir in $PATH
   2803 do
   2804   IFS=$as_save_IFS
   2805   case $as_dir in #(((
   2806     '') as_dir=./ ;;
   2807     */) ;;
   2808     *) as_dir=$as_dir/ ;;
   2809   esac
   2810     for ac_exec_ext in '' $ac_executable_extensions; do
   2811   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2812     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2813     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2814     break 2
   2815   fi
   2816 done
   2817   done
   2818 IFS=$as_save_IFS
   2819 
   2820 fi
   2821 fi
   2822 CC=$ac_cv_prog_CC
   2823 if test -n "$CC"; then
   2824   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2825 printf "%s\n" "$CC" >&6; }
   2826 else
   2827   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2828 printf "%s\n" "no" >&6; }
   2829 fi
   2830 
   2831 
   2832     test -n "$CC" && break
   2833   done
   2834 fi
   2835 if test -z "$CC"; then
   2836   ac_ct_CC=$CC
   2837   for ac_prog in cl.exe
   2838 do
   2839   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2840 set dummy $ac_prog; ac_word=$2
   2841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2842 printf %s "checking for $ac_word... " >&6; }
   2843 if test ${ac_cv_prog_ac_ct_CC+y}
   2844 then :
   2845   printf %s "(cached) " >&6
   2846 else $as_nop
   2847   if test -n "$ac_ct_CC"; then
   2848   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2849 else
   2850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2851 for as_dir in $PATH
   2852 do
   2853   IFS=$as_save_IFS
   2854   case $as_dir in #(((
   2855     '') as_dir=./ ;;
   2856     */) ;;
   2857     *) as_dir=$as_dir/ ;;
   2858   esac
   2859     for ac_exec_ext in '' $ac_executable_extensions; do
   2860   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2861     ac_cv_prog_ac_ct_CC="$ac_prog"
   2862     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2863     break 2
   2864   fi
   2865 done
   2866   done
   2867 IFS=$as_save_IFS
   2868 
   2869 fi
   2870 fi
   2871 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2872 if test -n "$ac_ct_CC"; then
   2873   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2874 printf "%s\n" "$ac_ct_CC" >&6; }
   2875 else
   2876   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2877 printf "%s\n" "no" >&6; }
   2878 fi
   2879 
   2880 
   2881   test -n "$ac_ct_CC" && break
   2882 done
   2883 
   2884   if test "x$ac_ct_CC" = x; then
   2885     CC=""
   2886   else
   2887     case $cross_compiling:$ac_tool_warned in
   2888 yes:)
   2889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2890 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2891 ac_tool_warned=yes ;;
   2892 esac
   2893     CC=$ac_ct_CC
   2894   fi
   2895 fi
   2896 
   2897 fi
   2898 if test -z "$CC"; then
   2899   if test -n "$ac_tool_prefix"; then
   2900   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   2901 set dummy ${ac_tool_prefix}clang; ac_word=$2
   2902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2903 printf %s "checking for $ac_word... " >&6; }
   2904 if test ${ac_cv_prog_CC+y}
   2905 then :
   2906   printf %s "(cached) " >&6
   2907 else $as_nop
   2908   if test -n "$CC"; then
   2909   ac_cv_prog_CC="$CC" # Let the user override the test.
   2910 else
   2911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2912 for as_dir in $PATH
   2913 do
   2914   IFS=$as_save_IFS
   2915   case $as_dir in #(((
   2916     '') as_dir=./ ;;
   2917     */) ;;
   2918     *) as_dir=$as_dir/ ;;
   2919   esac
   2920     for ac_exec_ext in '' $ac_executable_extensions; do
   2921   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2922     ac_cv_prog_CC="${ac_tool_prefix}clang"
   2923     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2924     break 2
   2925   fi
   2926 done
   2927   done
   2928 IFS=$as_save_IFS
   2929 
   2930 fi
   2931 fi
   2932 CC=$ac_cv_prog_CC
   2933 if test -n "$CC"; then
   2934   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2935 printf "%s\n" "$CC" >&6; }
   2936 else
   2937   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2938 printf "%s\n" "no" >&6; }
   2939 fi
   2940 
   2941 
   2942 fi
   2943 if test -z "$ac_cv_prog_CC"; then
   2944   ac_ct_CC=$CC
   2945   # Extract the first word of "clang", so it can be a program name with args.
   2946 set dummy clang; ac_word=$2
   2947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2948 printf %s "checking for $ac_word... " >&6; }
   2949 if test ${ac_cv_prog_ac_ct_CC+y}
   2950 then :
   2951   printf %s "(cached) " >&6
   2952 else $as_nop
   2953   if test -n "$ac_ct_CC"; then
   2954   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2955 else
   2956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2957 for as_dir in $PATH
   2958 do
   2959   IFS=$as_save_IFS
   2960   case $as_dir in #(((
   2961     '') as_dir=./ ;;
   2962     */) ;;
   2963     *) as_dir=$as_dir/ ;;
   2964   esac
   2965     for ac_exec_ext in '' $ac_executable_extensions; do
   2966   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2967     ac_cv_prog_ac_ct_CC="clang"
   2968     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2969     break 2
   2970   fi
   2971 done
   2972   done
   2973 IFS=$as_save_IFS
   2974 
   2975 fi
   2976 fi
   2977 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2978 if test -n "$ac_ct_CC"; then
   2979   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2980 printf "%s\n" "$ac_ct_CC" >&6; }
   2981 else
   2982   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2983 printf "%s\n" "no" >&6; }
   2984 fi
   2985 
   2986   if test "x$ac_ct_CC" = x; then
   2987     CC=""
   2988   else
   2989     case $cross_compiling:$ac_tool_warned in
   2990 yes:)
   2991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2992 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2993 ac_tool_warned=yes ;;
   2994 esac
   2995     CC=$ac_ct_CC
   2996   fi
   2997 else
   2998   CC="$ac_cv_prog_CC"
   2999 fi
   3000 
   3001 fi
   3002 
   3003 
   3004 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3005 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3006 as_fn_error $? "no acceptable C compiler found in \$PATH
   3007 See \`config.log' for more details" "$LINENO" 5; }
   3008 
   3009 # Provide some information about the compiler.
   3010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3011 set X $ac_compile
   3012 ac_compiler=$2
   3013 for ac_option in --version -v -V -qversion -version; do
   3014   { { ac_try="$ac_compiler $ac_option >&5"
   3015 case "(($ac_try" in
   3016   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3017   *) ac_try_echo=$ac_try;;
   3018 esac
   3019 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3020 printf "%s\n" "$ac_try_echo"; } >&5
   3021   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3022   ac_status=$?
   3023   if test -s conftest.err; then
   3024     sed '10a\
   3025 ... rest of stderr output deleted ...
   3026          10q' conftest.err >conftest.er1
   3027     cat conftest.er1 >&5
   3028   fi
   3029   rm -f conftest.er1 conftest.err
   3030   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3031   test $ac_status = 0; }
   3032 done
   3033 
   3034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3035 /* end confdefs.h.  */
   3036 
   3037 int
   3038 main (void)
   3039 {
   3040 
   3041   ;
   3042   return 0;
   3043 }
   3044 _ACEOF
   3045 ac_clean_files_save=$ac_clean_files
   3046 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3047 # Try to create an executable without -o first, disregard a.out.
   3048 # It will help us diagnose broken compilers, and finding out an intuition
   3049 # of exeext.
   3050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3051 printf %s "checking whether the C compiler works... " >&6; }
   3052 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3053 
   3054 # The possible output files:
   3055 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3056 
   3057 ac_rmfiles=
   3058 for ac_file in $ac_files
   3059 do
   3060   case $ac_file in
   3061     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3062     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3063   esac
   3064 done
   3065 rm -f $ac_rmfiles
   3066 
   3067 if { { ac_try="$ac_link_default"
   3068 case "(($ac_try" in
   3069   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3070   *) ac_try_echo=$ac_try;;
   3071 esac
   3072 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3073 printf "%s\n" "$ac_try_echo"; } >&5
   3074   (eval "$ac_link_default") 2>&5
   3075   ac_status=$?
   3076   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3077   test $ac_status = 0; }
   3078 then :
   3079   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3080 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3081 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3082 # so that the user can short-circuit this test for compilers unknown to
   3083 # Autoconf.
   3084 for ac_file in $ac_files ''
   3085 do
   3086   test -f "$ac_file" || continue
   3087   case $ac_file in
   3088     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3089 	;;
   3090     [ab].out )
   3091 	# We found the default executable, but exeext='' is most
   3092 	# certainly right.
   3093 	break;;
   3094     *.* )
   3095 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3096 	then :; else
   3097 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3098 	fi
   3099 	# We set ac_cv_exeext here because the later test for it is not
   3100 	# safe: cross compilers may not add the suffix if given an `-o'
   3101 	# argument, so we may need to know it at that point already.
   3102 	# Even if this section looks crufty: it has the advantage of
   3103 	# actually working.
   3104 	break;;
   3105     * )
   3106 	break;;
   3107   esac
   3108 done
   3109 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3110 
   3111 else $as_nop
   3112   ac_file=''
   3113 fi
   3114 if test -z "$ac_file"
   3115 then :
   3116   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3117 printf "%s\n" "no" >&6; }
   3118 printf "%s\n" "$as_me: failed program was:" >&5
   3119 sed 's/^/| /' conftest.$ac_ext >&5
   3120 
   3121 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3122 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3123 as_fn_error 77 "C compiler cannot create executables
   3124 See \`config.log' for more details" "$LINENO" 5; }
   3125 else $as_nop
   3126   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3127 printf "%s\n" "yes" >&6; }
   3128 fi
   3129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3130 printf %s "checking for C compiler default output file name... " >&6; }
   3131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3132 printf "%s\n" "$ac_file" >&6; }
   3133 ac_exeext=$ac_cv_exeext
   3134 
   3135 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3136 ac_clean_files=$ac_clean_files_save
   3137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3138 printf %s "checking for suffix of executables... " >&6; }
   3139 if { { ac_try="$ac_link"
   3140 case "(($ac_try" in
   3141   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3142   *) ac_try_echo=$ac_try;;
   3143 esac
   3144 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3145 printf "%s\n" "$ac_try_echo"; } >&5
   3146   (eval "$ac_link") 2>&5
   3147   ac_status=$?
   3148   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3149   test $ac_status = 0; }
   3150 then :
   3151   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3152 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3153 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3154 # `rm'.
   3155 for ac_file in conftest.exe conftest conftest.*; do
   3156   test -f "$ac_file" || continue
   3157   case $ac_file in
   3158     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3159     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3160 	  break;;
   3161     * ) break;;
   3162   esac
   3163 done
   3164 else $as_nop
   3165   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3166 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3167 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3168 See \`config.log' for more details" "$LINENO" 5; }
   3169 fi
   3170 rm -f conftest conftest$ac_cv_exeext
   3171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3172 printf "%s\n" "$ac_cv_exeext" >&6; }
   3173 
   3174 rm -f conftest.$ac_ext
   3175 EXEEXT=$ac_cv_exeext
   3176 ac_exeext=$EXEEXT
   3177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3178 /* end confdefs.h.  */
   3179 #include <stdio.h>
   3180 int
   3181 main (void)
   3182 {
   3183 FILE *f = fopen ("conftest.out", "w");
   3184  return ferror (f) || fclose (f) != 0;
   3185 
   3186   ;
   3187   return 0;
   3188 }
   3189 _ACEOF
   3190 ac_clean_files="$ac_clean_files conftest.out"
   3191 # Check that the compiler produces executables we can run.  If not, either
   3192 # the compiler is broken, or we cross compile.
   3193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3194 printf %s "checking whether we are cross compiling... " >&6; }
   3195 if test "$cross_compiling" != yes; then
   3196   { { ac_try="$ac_link"
   3197 case "(($ac_try" in
   3198   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3199   *) ac_try_echo=$ac_try;;
   3200 esac
   3201 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3202 printf "%s\n" "$ac_try_echo"; } >&5
   3203   (eval "$ac_link") 2>&5
   3204   ac_status=$?
   3205   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3206   test $ac_status = 0; }
   3207   if { ac_try='./conftest$ac_cv_exeext'
   3208   { { case "(($ac_try" in
   3209   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3210   *) ac_try_echo=$ac_try;;
   3211 esac
   3212 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3213 printf "%s\n" "$ac_try_echo"; } >&5
   3214   (eval "$ac_try") 2>&5
   3215   ac_status=$?
   3216   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3217   test $ac_status = 0; }; }; then
   3218     cross_compiling=no
   3219   else
   3220     if test "$cross_compiling" = maybe; then
   3221 	cross_compiling=yes
   3222     else
   3223 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3224 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3225 as_fn_error 77 "cannot run C compiled programs.
   3226 If you meant to cross compile, use \`--host'.
   3227 See \`config.log' for more details" "$LINENO" 5; }
   3228     fi
   3229   fi
   3230 fi
   3231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3232 printf "%s\n" "$cross_compiling" >&6; }
   3233 
   3234 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3235 ac_clean_files=$ac_clean_files_save
   3236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3237 printf %s "checking for suffix of object files... " >&6; }
   3238 if test ${ac_cv_objext+y}
   3239 then :
   3240   printf %s "(cached) " >&6
   3241 else $as_nop
   3242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3243 /* end confdefs.h.  */
   3244 
   3245 int
   3246 main (void)
   3247 {
   3248 
   3249   ;
   3250   return 0;
   3251 }
   3252 _ACEOF
   3253 rm -f conftest.o conftest.obj
   3254 if { { ac_try="$ac_compile"
   3255 case "(($ac_try" in
   3256   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3257   *) ac_try_echo=$ac_try;;
   3258 esac
   3259 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3260 printf "%s\n" "$ac_try_echo"; } >&5
   3261   (eval "$ac_compile") 2>&5
   3262   ac_status=$?
   3263   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3264   test $ac_status = 0; }
   3265 then :
   3266   for ac_file in conftest.o conftest.obj conftest.*; do
   3267   test -f "$ac_file" || continue;
   3268   case $ac_file in
   3269     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3270     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3271        break;;
   3272   esac
   3273 done
   3274 else $as_nop
   3275   printf "%s\n" "$as_me: failed program was:" >&5
   3276 sed 's/^/| /' conftest.$ac_ext >&5
   3277 
   3278 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3279 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3280 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3281 See \`config.log' for more details" "$LINENO" 5; }
   3282 fi
   3283 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3284 fi
   3285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3286 printf "%s\n" "$ac_cv_objext" >&6; }
   3287 OBJEXT=$ac_cv_objext
   3288 ac_objext=$OBJEXT
   3289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3290 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3291 if test ${ac_cv_c_compiler_gnu+y}
   3292 then :
   3293   printf %s "(cached) " >&6
   3294 else $as_nop
   3295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3296 /* end confdefs.h.  */
   3297 
   3298 int
   3299 main (void)
   3300 {
   3301 #ifndef __GNUC__
   3302        choke me
   3303 #endif
   3304 
   3305   ;
   3306   return 0;
   3307 }
   3308 _ACEOF
   3309 if ac_fn_c_try_compile "$LINENO"
   3310 then :
   3311   ac_compiler_gnu=yes
   3312 else $as_nop
   3313   ac_compiler_gnu=no
   3314 fi
   3315 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3316 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3317 
   3318 fi
   3319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3320 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3322 
   3323 if test $ac_compiler_gnu = yes; then
   3324   GCC=yes
   3325 else
   3326   GCC=
   3327 fi
   3328 ac_test_CFLAGS=${CFLAGS+y}
   3329 ac_save_CFLAGS=$CFLAGS
   3330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3331 printf %s "checking whether $CC accepts -g... " >&6; }
   3332 if test ${ac_cv_prog_cc_g+y}
   3333 then :
   3334   printf %s "(cached) " >&6
   3335 else $as_nop
   3336   ac_save_c_werror_flag=$ac_c_werror_flag
   3337    ac_c_werror_flag=yes
   3338    ac_cv_prog_cc_g=no
   3339    CFLAGS="-g"
   3340    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3341 /* end confdefs.h.  */
   3342 
   3343 int
   3344 main (void)
   3345 {
   3346 
   3347   ;
   3348   return 0;
   3349 }
   3350 _ACEOF
   3351 if ac_fn_c_try_compile "$LINENO"
   3352 then :
   3353   ac_cv_prog_cc_g=yes
   3354 else $as_nop
   3355   CFLAGS=""
   3356       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3357 /* end confdefs.h.  */
   3358 
   3359 int
   3360 main (void)
   3361 {
   3362 
   3363   ;
   3364   return 0;
   3365 }
   3366 _ACEOF
   3367 if ac_fn_c_try_compile "$LINENO"
   3368 then :
   3369 
   3370 else $as_nop
   3371   ac_c_werror_flag=$ac_save_c_werror_flag
   3372 	 CFLAGS="-g"
   3373 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3374 /* end confdefs.h.  */
   3375 
   3376 int
   3377 main (void)
   3378 {
   3379 
   3380   ;
   3381   return 0;
   3382 }
   3383 _ACEOF
   3384 if ac_fn_c_try_compile "$LINENO"
   3385 then :
   3386   ac_cv_prog_cc_g=yes
   3387 fi
   3388 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3389 fi
   3390 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3391 fi
   3392 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3393    ac_c_werror_flag=$ac_save_c_werror_flag
   3394 fi
   3395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3396 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   3397 if test $ac_test_CFLAGS; then
   3398   CFLAGS=$ac_save_CFLAGS
   3399 elif test $ac_cv_prog_cc_g = yes; then
   3400   if test "$GCC" = yes; then
   3401     CFLAGS="-g -O2"
   3402   else
   3403     CFLAGS="-g"
   3404   fi
   3405 else
   3406   if test "$GCC" = yes; then
   3407     CFLAGS="-O2"
   3408   else
   3409     CFLAGS=
   3410   fi
   3411 fi
   3412 ac_prog_cc_stdc=no
   3413 if test x$ac_prog_cc_stdc = xno
   3414 then :
   3415   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   3416 printf %s "checking for $CC option to enable C11 features... " >&6; }
   3417 if test ${ac_cv_prog_cc_c11+y}
   3418 then :
   3419   printf %s "(cached) " >&6
   3420 else $as_nop
   3421   ac_cv_prog_cc_c11=no
   3422 ac_save_CC=$CC
   3423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3424 /* end confdefs.h.  */
   3425 $ac_c_conftest_c11_program
   3426 _ACEOF
   3427 for ac_arg in '' -std=gnu11
   3428 do
   3429   CC="$ac_save_CC $ac_arg"
   3430   if ac_fn_c_try_compile "$LINENO"
   3431 then :
   3432   ac_cv_prog_cc_c11=$ac_arg
   3433 fi
   3434 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3435   test "x$ac_cv_prog_cc_c11" != "xno" && break
   3436 done
   3437 rm -f conftest.$ac_ext
   3438 CC=$ac_save_CC
   3439 fi
   3440 
   3441 if test "x$ac_cv_prog_cc_c11" = xno
   3442 then :
   3443   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3444 printf "%s\n" "unsupported" >&6; }
   3445 else $as_nop
   3446   if test "x$ac_cv_prog_cc_c11" = x
   3447 then :
   3448   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3449 printf "%s\n" "none needed" >&6; }
   3450 else $as_nop
   3451   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   3452 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   3453      CC="$CC $ac_cv_prog_cc_c11"
   3454 fi
   3455   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   3456   ac_prog_cc_stdc=c11
   3457 fi
   3458 fi
   3459 if test x$ac_prog_cc_stdc = xno
   3460 then :
   3461   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   3462 printf %s "checking for $CC option to enable C99 features... " >&6; }
   3463 if test ${ac_cv_prog_cc_c99+y}
   3464 then :
   3465   printf %s "(cached) " >&6
   3466 else $as_nop
   3467   ac_cv_prog_cc_c99=no
   3468 ac_save_CC=$CC
   3469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3470 /* end confdefs.h.  */
   3471 $ac_c_conftest_c99_program
   3472 _ACEOF
   3473 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   3474 do
   3475   CC="$ac_save_CC $ac_arg"
   3476   if ac_fn_c_try_compile "$LINENO"
   3477 then :
   3478   ac_cv_prog_cc_c99=$ac_arg
   3479 fi
   3480 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3481   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3482 done
   3483 rm -f conftest.$ac_ext
   3484 CC=$ac_save_CC
   3485 fi
   3486 
   3487 if test "x$ac_cv_prog_cc_c99" = xno
   3488 then :
   3489   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3490 printf "%s\n" "unsupported" >&6; }
   3491 else $as_nop
   3492   if test "x$ac_cv_prog_cc_c99" = x
   3493 then :
   3494   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3495 printf "%s\n" "none needed" >&6; }
   3496 else $as_nop
   3497   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3498 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   3499      CC="$CC $ac_cv_prog_cc_c99"
   3500 fi
   3501   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   3502   ac_prog_cc_stdc=c99
   3503 fi
   3504 fi
   3505 if test x$ac_prog_cc_stdc = xno
   3506 then :
   3507   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   3508 printf %s "checking for $CC option to enable C89 features... " >&6; }
   3509 if test ${ac_cv_prog_cc_c89+y}
   3510 then :
   3511   printf %s "(cached) " >&6
   3512 else $as_nop
   3513   ac_cv_prog_cc_c89=no
   3514 ac_save_CC=$CC
   3515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3516 /* end confdefs.h.  */
   3517 $ac_c_conftest_c89_program
   3518 _ACEOF
   3519 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3520 do
   3521   CC="$ac_save_CC $ac_arg"
   3522   if ac_fn_c_try_compile "$LINENO"
   3523 then :
   3524   ac_cv_prog_cc_c89=$ac_arg
   3525 fi
   3526 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3527   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3528 done
   3529 rm -f conftest.$ac_ext
   3530 CC=$ac_save_CC
   3531 fi
   3532 
   3533 if test "x$ac_cv_prog_cc_c89" = xno
   3534 then :
   3535   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3536 printf "%s\n" "unsupported" >&6; }
   3537 else $as_nop
   3538   if test "x$ac_cv_prog_cc_c89" = x
   3539 then :
   3540   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3541 printf "%s\n" "none needed" >&6; }
   3542 else $as_nop
   3543   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3544 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   3545      CC="$CC $ac_cv_prog_cc_c89"
   3546 fi
   3547   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   3548   ac_prog_cc_stdc=c89
   3549 fi
   3550 fi
   3551 
   3552 ac_ext=c
   3553 ac_cpp='$CPP $CPPFLAGS'
   3554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3557 
   3558 
   3559   ac_ext=c
   3560 ac_cpp='$CPP $CPPFLAGS'
   3561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3565 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   3566 if test ${am_cv_prog_cc_c_o+y}
   3567 then :
   3568   printf %s "(cached) " >&6
   3569 else $as_nop
   3570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3571 /* end confdefs.h.  */
   3572 
   3573 int
   3574 main (void)
   3575 {
   3576 
   3577   ;
   3578   return 0;
   3579 }
   3580 _ACEOF
   3581   # Make sure it works both with $CC and with simple cc.
   3582   # Following AC_PROG_CC_C_O, we do the test twice because some
   3583   # compilers refuse to overwrite an existing .o file with -o,
   3584   # though they will create one.
   3585   am_cv_prog_cc_c_o=yes
   3586   for am_i in 1 2; do
   3587     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3588    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3589    ac_status=$?
   3590    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3591    (exit $ac_status); } \
   3592          && test -f conftest2.$ac_objext; then
   3593       : OK
   3594     else
   3595       am_cv_prog_cc_c_o=no
   3596       break
   3597     fi
   3598   done
   3599   rm -f core conftest*
   3600   unset am_i
   3601 fi
   3602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3603 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   3604 if test "$am_cv_prog_cc_c_o" != yes; then
   3605    # Losing compiler, so override with the script.
   3606    # FIXME: It is wrong to rewrite CC.
   3607    # But if we don't then we get into trouble of one sort or another.
   3608    # A longer-term fix would be to have automake use am__CC in this case,
   3609    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3610    CC="$am_aux_dir/compile $CC"
   3611 fi
   3612 ac_ext=c
   3613 ac_cpp='$CPP $CPPFLAGS'
   3614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3617 
   3618 
   3619 
   3620 ac_header= ac_cache=
   3621 for ac_item in $ac_header_c_list
   3622 do
   3623   if test $ac_cache; then
   3624     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   3625     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   3626       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   3627     fi
   3628     ac_header= ac_cache=
   3629   elif test $ac_header; then
   3630     ac_cache=$ac_item
   3631   else
   3632     ac_header=$ac_item
   3633   fi
   3634 done
   3635 
   3636 
   3637 
   3638 
   3639 
   3640 
   3641 
   3642 
   3643 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   3644 then :
   3645 
   3646 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   3647 
   3648 fi
   3649 
   3650 
   3651 
   3652 
   3653 
   3654 
   3655   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3656 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3657 if test ${ac_cv_safe_to_define___extensions__+y}
   3658 then :
   3659   printf %s "(cached) " >&6
   3660 else $as_nop
   3661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3662 /* end confdefs.h.  */
   3663 
   3664 #         define __EXTENSIONS__ 1
   3665           $ac_includes_default
   3666 int
   3667 main (void)
   3668 {
   3669 
   3670   ;
   3671   return 0;
   3672 }
   3673 _ACEOF
   3674 if ac_fn_c_try_compile "$LINENO"
   3675 then :
   3676   ac_cv_safe_to_define___extensions__=yes
   3677 else $as_nop
   3678   ac_cv_safe_to_define___extensions__=no
   3679 fi
   3680 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3681 fi
   3682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3683 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   3684 
   3685   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   3686 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   3687 if test ${ac_cv_should_define__xopen_source+y}
   3688 then :
   3689   printf %s "(cached) " >&6
   3690 else $as_nop
   3691   ac_cv_should_define__xopen_source=no
   3692     if test $ac_cv_header_wchar_h = yes
   3693 then :
   3694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3695 /* end confdefs.h.  */
   3696 
   3697           #include <wchar.h>
   3698           mbstate_t x;
   3699 int
   3700 main (void)
   3701 {
   3702 
   3703   ;
   3704   return 0;
   3705 }
   3706 _ACEOF
   3707 if ac_fn_c_try_compile "$LINENO"
   3708 then :
   3709 
   3710 else $as_nop
   3711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3712 /* end confdefs.h.  */
   3713 
   3714             #define _XOPEN_SOURCE 500
   3715             #include <wchar.h>
   3716             mbstate_t x;
   3717 int
   3718 main (void)
   3719 {
   3720 
   3721   ;
   3722   return 0;
   3723 }
   3724 _ACEOF
   3725 if ac_fn_c_try_compile "$LINENO"
   3726 then :
   3727   ac_cv_should_define__xopen_source=yes
   3728 fi
   3729 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3730 fi
   3731 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3732 fi
   3733 fi
   3734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   3735 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   3736 
   3737   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   3738 
   3739   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   3740 
   3741   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   3742 
   3743   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   3744 
   3745   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   3746 
   3747   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   3748 
   3749   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3750 
   3751   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   3752 
   3753   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   3754 
   3755   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   3756 
   3757   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   3758 
   3759   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   3760 
   3761   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   3762 
   3763   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   3764 
   3765   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   3766 
   3767   if test $ac_cv_header_minix_config_h = yes
   3768 then :
   3769   MINIX=yes
   3770     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   3771 
   3772     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   3773 
   3774     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3775 
   3776 else $as_nop
   3777   MINIX=
   3778 fi
   3779   if test $ac_cv_safe_to_define___extensions__ = yes
   3780 then :
   3781   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   3782 
   3783 fi
   3784   if test $ac_cv_should_define__xopen_source = yes
   3785 then :
   3786   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   3787 
   3788 fi
   3789 
   3790 
   3791 # Initialize Automake
   3792 am__api_version='1.16'
   3793 
   3794 
   3795   # Find a good install program.  We prefer a C program (faster),
   3796 # so one script is as good as another.  But avoid the broken or
   3797 # incompatible versions:
   3798 # SysV /etc/install, /usr/sbin/install
   3799 # SunOS /usr/etc/install
   3800 # IRIX /sbin/install
   3801 # AIX /bin/install
   3802 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3803 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3804 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3805 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3806 # OS/2's system install, which has a completely different semantic
   3807 # ./install, which can be erroneously created by make from ./install.sh.
   3808 # Reject install programs that cannot install multiple files.
   3809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3810 printf %s "checking for a BSD-compatible install... " >&6; }
   3811 if test -z "$INSTALL"; then
   3812 if test ${ac_cv_path_install+y}
   3813 then :
   3814   printf %s "(cached) " >&6
   3815 else $as_nop
   3816   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3817 for as_dir in $PATH
   3818 do
   3819   IFS=$as_save_IFS
   3820   case $as_dir in #(((
   3821     '') as_dir=./ ;;
   3822     */) ;;
   3823     *) as_dir=$as_dir/ ;;
   3824   esac
   3825     # Account for fact that we put trailing slashes in our PATH walk.
   3826 case $as_dir in #((
   3827   ./ | /[cC]/* | \
   3828   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3829   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3830   /usr/ucb/* ) ;;
   3831   *)
   3832     # OSF1 and SCO ODT 3.0 have their own names for install.
   3833     # Don't use installbsd from OSF since it installs stuff as root
   3834     # by default.
   3835     for ac_prog in ginstall scoinst install; do
   3836       for ac_exec_ext in '' $ac_executable_extensions; do
   3837 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   3838 	  if test $ac_prog = install &&
   3839 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3840 	    # AIX install.  It has an incompatible calling convention.
   3841 	    :
   3842 	  elif test $ac_prog = install &&
   3843 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3844 	    # program-specific install script used by HP pwplus--don't use.
   3845 	    :
   3846 	  else
   3847 	    rm -rf conftest.one conftest.two conftest.dir
   3848 	    echo one > conftest.one
   3849 	    echo two > conftest.two
   3850 	    mkdir conftest.dir
   3851 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   3852 	      test -s conftest.one && test -s conftest.two &&
   3853 	      test -s conftest.dir/conftest.one &&
   3854 	      test -s conftest.dir/conftest.two
   3855 	    then
   3856 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   3857 	      break 3
   3858 	    fi
   3859 	  fi
   3860 	fi
   3861       done
   3862     done
   3863     ;;
   3864 esac
   3865 
   3866   done
   3867 IFS=$as_save_IFS
   3868 
   3869 rm -rf conftest.one conftest.two conftest.dir
   3870 
   3871 fi
   3872   if test ${ac_cv_path_install+y}; then
   3873     INSTALL=$ac_cv_path_install
   3874   else
   3875     # As a last resort, use the slow shell script.  Don't cache a
   3876     # value for INSTALL within a source directory, because that will
   3877     # break other packages using the cache if that directory is
   3878     # removed, or if the value is a relative name.
   3879     INSTALL=$ac_install_sh
   3880   fi
   3881 fi
   3882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3883 printf "%s\n" "$INSTALL" >&6; }
   3884 
   3885 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3886 # It thinks the first close brace ends the variable substitution.
   3887 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3888 
   3889 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3890 
   3891 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3892 
   3893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3894 printf %s "checking whether build environment is sane... " >&6; }
   3895 # Reject unsafe characters in $srcdir or the absolute working directory
   3896 # name.  Accept space and tab only in the latter.
   3897 am_lf='
   3898 '
   3899 case `pwd` in
   3900   *[\\\"\#\$\&\'\`$am_lf]*)
   3901     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3902 esac
   3903 case $srcdir in
   3904   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3905     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3906 esac
   3907 
   3908 # Do 'set' in a subshell so we don't clobber the current shell's
   3909 # arguments.  Must try -L first in case configure is actually a
   3910 # symlink; some systems play weird games with the mod time of symlinks
   3911 # (eg FreeBSD returns the mod time of the symlink's containing
   3912 # directory).
   3913 if (
   3914    am_has_slept=no
   3915    for am_try in 1 2; do
   3916      echo "timestamp, slept: $am_has_slept" > conftest.file
   3917      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3918      if test "$*" = "X"; then
   3919 	# -L didn't work.
   3920 	set X `ls -t "$srcdir/configure" conftest.file`
   3921      fi
   3922      if test "$*" != "X $srcdir/configure conftest.file" \
   3923 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3924 
   3925 	# If neither matched, then we have a broken ls.  This can happen
   3926 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3927 	# broken ls alias from the environment.  This has actually
   3928 	# happened.  Such a system could not be considered "sane".
   3929 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3930   alias in your environment" "$LINENO" 5
   3931      fi
   3932      if test "$2" = conftest.file || test $am_try -eq 2; then
   3933        break
   3934      fi
   3935      # Just in case.
   3936      sleep 1
   3937      am_has_slept=yes
   3938    done
   3939    test "$2" = conftest.file
   3940    )
   3941 then
   3942    # Ok.
   3943    :
   3944 else
   3945    as_fn_error $? "newly created file is older than distributed files!
   3946 Check your system clock" "$LINENO" 5
   3947 fi
   3948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3949 printf "%s\n" "yes" >&6; }
   3950 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3951 # generated files are strictly newer.
   3952 am_sleep_pid=
   3953 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3954   ( sleep 1 ) &
   3955   am_sleep_pid=$!
   3956 fi
   3957 
   3958 rm -f conftest.file
   3959 
   3960 test "$program_prefix" != NONE &&
   3961   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3962 # Use a double $ so make ignores it.
   3963 test "$program_suffix" != NONE &&
   3964   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3965 # Double any \ or $.
   3966 # By default was `s,x,x', remove it if useless.
   3967 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3968 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   3969 
   3970 
   3971   if test x"${MISSING+set}" != xset; then
   3972   MISSING="\${SHELL} '$am_aux_dir/missing'"
   3973 fi
   3974 # Use eval to expand $SHELL
   3975 if eval "$MISSING --is-lightweight"; then
   3976   am_missing_run="$MISSING "
   3977 else
   3978   am_missing_run=
   3979   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3980 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3981 fi
   3982 
   3983 if test x"${install_sh+set}" != xset; then
   3984   case $am_aux_dir in
   3985   *\ * | *\	*)
   3986     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3987   *)
   3988     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3989   esac
   3990 fi
   3991 
   3992 # Installed binaries are usually stripped using 'strip' when the user
   3993 # run "make install-strip".  However 'strip' might not be the right
   3994 # tool to use in cross-compilation environments, therefore Automake
   3995 # will honor the 'STRIP' environment variable to overrule this program.
   3996 if test "$cross_compiling" != no; then
   3997   if test -n "$ac_tool_prefix"; then
   3998   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3999 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4001 printf %s "checking for $ac_word... " >&6; }
   4002 if test ${ac_cv_prog_STRIP+y}
   4003 then :
   4004   printf %s "(cached) " >&6
   4005 else $as_nop
   4006   if test -n "$STRIP"; then
   4007   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4008 else
   4009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4010 for as_dir in $PATH
   4011 do
   4012   IFS=$as_save_IFS
   4013   case $as_dir in #(((
   4014     '') as_dir=./ ;;
   4015     */) ;;
   4016     *) as_dir=$as_dir/ ;;
   4017   esac
   4018     for ac_exec_ext in '' $ac_executable_extensions; do
   4019   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4020     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4021     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4022     break 2
   4023   fi
   4024 done
   4025   done
   4026 IFS=$as_save_IFS
   4027 
   4028 fi
   4029 fi
   4030 STRIP=$ac_cv_prog_STRIP
   4031 if test -n "$STRIP"; then
   4032   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4033 printf "%s\n" "$STRIP" >&6; }
   4034 else
   4035   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4036 printf "%s\n" "no" >&6; }
   4037 fi
   4038 
   4039 
   4040 fi
   4041 if test -z "$ac_cv_prog_STRIP"; then
   4042   ac_ct_STRIP=$STRIP
   4043   # Extract the first word of "strip", so it can be a program name with args.
   4044 set dummy strip; ac_word=$2
   4045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4046 printf %s "checking for $ac_word... " >&6; }
   4047 if test ${ac_cv_prog_ac_ct_STRIP+y}
   4048 then :
   4049   printf %s "(cached) " >&6
   4050 else $as_nop
   4051   if test -n "$ac_ct_STRIP"; then
   4052   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4053 else
   4054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4055 for as_dir in $PATH
   4056 do
   4057   IFS=$as_save_IFS
   4058   case $as_dir in #(((
   4059     '') as_dir=./ ;;
   4060     */) ;;
   4061     *) as_dir=$as_dir/ ;;
   4062   esac
   4063     for ac_exec_ext in '' $ac_executable_extensions; do
   4064   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4065     ac_cv_prog_ac_ct_STRIP="strip"
   4066     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4067     break 2
   4068   fi
   4069 done
   4070   done
   4071 IFS=$as_save_IFS
   4072 
   4073 fi
   4074 fi
   4075 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4076 if test -n "$ac_ct_STRIP"; then
   4077   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4078 printf "%s\n" "$ac_ct_STRIP" >&6; }
   4079 else
   4080   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4081 printf "%s\n" "no" >&6; }
   4082 fi
   4083 
   4084   if test "x$ac_ct_STRIP" = x; then
   4085     STRIP=":"
   4086   else
   4087     case $cross_compiling:$ac_tool_warned in
   4088 yes:)
   4089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4090 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4091 ac_tool_warned=yes ;;
   4092 esac
   4093     STRIP=$ac_ct_STRIP
   4094   fi
   4095 else
   4096   STRIP="$ac_cv_prog_STRIP"
   4097 fi
   4098 
   4099 fi
   4100 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4101 
   4102 
   4103   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   4104 printf %s "checking for a race-free mkdir -p... " >&6; }
   4105 if test -z "$MKDIR_P"; then
   4106   if test ${ac_cv_path_mkdir+y}
   4107 then :
   4108   printf %s "(cached) " >&6
   4109 else $as_nop
   4110   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4111 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4112 do
   4113   IFS=$as_save_IFS
   4114   case $as_dir in #(((
   4115     '') as_dir=./ ;;
   4116     */) ;;
   4117     *) as_dir=$as_dir/ ;;
   4118   esac
   4119     for ac_prog in mkdir gmkdir; do
   4120 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4121 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   4122 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4123 	     'mkdir ('*'coreutils) '* | \
   4124 	     'BusyBox '* | \
   4125 	     'mkdir (fileutils) '4.1*)
   4126 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   4127 	       break 3;;
   4128 	   esac
   4129 	 done
   4130        done
   4131   done
   4132 IFS=$as_save_IFS
   4133 
   4134 fi
   4135 
   4136   test -d ./--version && rmdir ./--version
   4137   if test ${ac_cv_path_mkdir+y}; then
   4138     MKDIR_P="$ac_cv_path_mkdir -p"
   4139   else
   4140     # As a last resort, use the slow shell script.  Don't cache a
   4141     # value for MKDIR_P within a source directory, because that will
   4142     # break other packages using the cache if that directory is
   4143     # removed, or if the value is a relative name.
   4144     MKDIR_P="$ac_install_sh -d"
   4145   fi
   4146 fi
   4147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4148 printf "%s\n" "$MKDIR_P" >&6; }
   4149 
   4150 for ac_prog in gawk mawk nawk awk
   4151 do
   4152   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4153 set dummy $ac_prog; ac_word=$2
   4154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4155 printf %s "checking for $ac_word... " >&6; }
   4156 if test ${ac_cv_prog_AWK+y}
   4157 then :
   4158   printf %s "(cached) " >&6
   4159 else $as_nop
   4160   if test -n "$AWK"; then
   4161   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4162 else
   4163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4164 for as_dir in $PATH
   4165 do
   4166   IFS=$as_save_IFS
   4167   case $as_dir in #(((
   4168     '') as_dir=./ ;;
   4169     */) ;;
   4170     *) as_dir=$as_dir/ ;;
   4171   esac
   4172     for ac_exec_ext in '' $ac_executable_extensions; do
   4173   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4174     ac_cv_prog_AWK="$ac_prog"
   4175     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4176     break 2
   4177   fi
   4178 done
   4179   done
   4180 IFS=$as_save_IFS
   4181 
   4182 fi
   4183 fi
   4184 AWK=$ac_cv_prog_AWK
   4185 if test -n "$AWK"; then
   4186   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4187 printf "%s\n" "$AWK" >&6; }
   4188 else
   4189   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4190 printf "%s\n" "no" >&6; }
   4191 fi
   4192 
   4193 
   4194   test -n "$AWK" && break
   4195 done
   4196 
   4197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4198 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4199 set x ${MAKE-make}
   4200 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4201 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   4202 then :
   4203   printf %s "(cached) " >&6
   4204 else $as_nop
   4205   cat >conftest.make <<\_ACEOF
   4206 SHELL = /bin/sh
   4207 all:
   4208 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4209 _ACEOF
   4210 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4211 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4212   *@@@%%%=?*=@@@%%%*)
   4213     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4214   *)
   4215     eval ac_cv_prog_make_${ac_make}_set=no;;
   4216 esac
   4217 rm -f conftest.make
   4218 fi
   4219 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4220   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4221 printf "%s\n" "yes" >&6; }
   4222   SET_MAKE=
   4223 else
   4224   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4225 printf "%s\n" "no" >&6; }
   4226   SET_MAKE="MAKE=${MAKE-make}"
   4227 fi
   4228 
   4229 rm -rf .tst 2>/dev/null
   4230 mkdir .tst 2>/dev/null
   4231 if test -d .tst; then
   4232   am__leading_dot=.
   4233 else
   4234   am__leading_dot=_
   4235 fi
   4236 rmdir .tst 2>/dev/null
   4237 
   4238 DEPDIR="${am__leading_dot}deps"
   4239 
   4240 ac_config_commands="$ac_config_commands depfiles"
   4241 
   4242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4243 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4244 cat > confinc.mk << 'END'
   4245 am__doit:
   4246 	@echo this is the am__doit target >confinc.out
   4247 .PHONY: am__doit
   4248 END
   4249 am__include="#"
   4250 am__quote=
   4251 # BSD make does it like this.
   4252 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4253 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4254 echo 'include confinc.mk # ignored' > confmf.GNU
   4255 _am_result=no
   4256 for s in GNU BSD; do
   4257   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4258    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4259    ac_status=$?
   4260    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4261    (exit $ac_status); }
   4262   case $?:`cat confinc.out 2>/dev/null` in #(
   4263   '0:this is the am__doit target') :
   4264     case $s in #(
   4265   BSD) :
   4266     am__include='.include' am__quote='"' ;; #(
   4267   *) :
   4268     am__include='include' am__quote='' ;;
   4269 esac ;; #(
   4270   *) :
   4271      ;;
   4272 esac
   4273   if test "$am__include" != "#"; then
   4274     _am_result="yes ($s style)"
   4275     break
   4276   fi
   4277 done
   4278 rm -f confinc.* confmf.*
   4279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4280 printf "%s\n" "${_am_result}" >&6; }
   4281 
   4282 # Check whether --enable-dependency-tracking was given.
   4283 if test ${enable_dependency_tracking+y}
   4284 then :
   4285   enableval=$enable_dependency_tracking;
   4286 fi
   4287 
   4288 if test "x$enable_dependency_tracking" != xno; then
   4289   am_depcomp="$ac_aux_dir/depcomp"
   4290   AMDEPBACKSLASH='\'
   4291   am__nodep='_no'
   4292 fi
   4293  if test "x$enable_dependency_tracking" != xno; then
   4294   AMDEP_TRUE=
   4295   AMDEP_FALSE='#'
   4296 else
   4297   AMDEP_TRUE='#'
   4298   AMDEP_FALSE=
   4299 fi
   4300 
   4301 
   4302 # Check whether --enable-silent-rules was given.
   4303 if test ${enable_silent_rules+y}
   4304 then :
   4305   enableval=$enable_silent_rules;
   4306 fi
   4307 
   4308 case $enable_silent_rules in # (((
   4309   yes) AM_DEFAULT_VERBOSITY=0;;
   4310    no) AM_DEFAULT_VERBOSITY=1;;
   4311     *) AM_DEFAULT_VERBOSITY=1;;
   4312 esac
   4313 am_make=${MAKE-make}
   4314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4315 printf %s "checking whether $am_make supports nested variables... " >&6; }
   4316 if test ${am_cv_make_support_nested_variables+y}
   4317 then :
   4318   printf %s "(cached) " >&6
   4319 else $as_nop
   4320   if printf "%s\n" 'TRUE=$(BAR$(V))
   4321 BAR0=false
   4322 BAR1=true
   4323 V=1
   4324 am__doit:
   4325 	@$(TRUE)
   4326 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4327   am_cv_make_support_nested_variables=yes
   4328 else
   4329   am_cv_make_support_nested_variables=no
   4330 fi
   4331 fi
   4332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4333 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   4334 if test $am_cv_make_support_nested_variables = yes; then
   4335     AM_V='$(V)'
   4336   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4337 else
   4338   AM_V=$AM_DEFAULT_VERBOSITY
   4339   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4340 fi
   4341 AM_BACKSLASH='\'
   4342 
   4343 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4344   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4345   # is not polluted with repeated "-I."
   4346   am__isrc=' -I$(srcdir)'
   4347   # test to see if srcdir already configured
   4348   if test -f $srcdir/config.status; then
   4349     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4350   fi
   4351 fi
   4352 
   4353 # test whether we have cygpath
   4354 if test -z "$CYGPATH_W"; then
   4355   if (cygpath --version) >/dev/null 2>/dev/null; then
   4356     CYGPATH_W='cygpath -w'
   4357   else
   4358     CYGPATH_W=echo
   4359   fi
   4360 fi
   4361 
   4362 
   4363 # Define the identity of the package.
   4364  PACKAGE='xrdb'
   4365  VERSION='1.2.2'
   4366 
   4367 
   4368 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   4369 
   4370 
   4371 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   4372 
   4373 # Some tools Automake needs.
   4374 
   4375 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4376 
   4377 
   4378 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4379 
   4380 
   4381 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4382 
   4383 
   4384 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4385 
   4386 
   4387 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4388 
   4389 # For better backward compatibility.  To be removed once Automake 1.9.x
   4390 # dies out for good.  For more background, see:
   4391 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4392 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4393 mkdir_p='$(MKDIR_P)'
   4394 
   4395 # We need awk for the "check" target (and possibly the TAP driver).  The
   4396 # system "awk" is bad on some platforms.
   4397 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4398 # in the wild :-(  We should find a proper way to deprecate it ...
   4399 AMTAR='$${TAR-tar}'
   4400 
   4401 
   4402 # We'll loop over all known methods to create a tar archive until one works.
   4403 _am_tools='gnutar  pax cpio none'
   4404 
   4405 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4406 
   4407 
   4408 
   4409 
   4410 
   4411 depcc="$CC"   am_compiler_list=
   4412 
   4413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4414 printf %s "checking dependency style of $depcc... " >&6; }
   4415 if test ${am_cv_CC_dependencies_compiler_type+y}
   4416 then :
   4417   printf %s "(cached) " >&6
   4418 else $as_nop
   4419   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4420   # We make a subdir and do the tests there.  Otherwise we can end up
   4421   # making bogus files that we don't know about and never remove.  For
   4422   # instance it was reported that on HP-UX the gcc test will end up
   4423   # making a dummy file named 'D' -- because '-MD' means "put the output
   4424   # in D".
   4425   rm -rf conftest.dir
   4426   mkdir conftest.dir
   4427   # Copy depcomp to subdir because otherwise we won't find it if we're
   4428   # using a relative directory.
   4429   cp "$am_depcomp" conftest.dir
   4430   cd conftest.dir
   4431   # We will build objects and dependencies in a subdirectory because
   4432   # it helps to detect inapplicable dependency modes.  For instance
   4433   # both Tru64's cc and ICC support -MD to output dependencies as a
   4434   # side effect of compilation, but ICC will put the dependencies in
   4435   # the current directory while Tru64 will put them in the object
   4436   # directory.
   4437   mkdir sub
   4438 
   4439   am_cv_CC_dependencies_compiler_type=none
   4440   if test "$am_compiler_list" = ""; then
   4441      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4442   fi
   4443   am__universal=false
   4444   case " $depcc " in #(
   4445      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4446      esac
   4447 
   4448   for depmode in $am_compiler_list; do
   4449     # Setup a source with many dependencies, because some compilers
   4450     # like to wrap large dependency lists on column 80 (with \), and
   4451     # we should not choose a depcomp mode which is confused by this.
   4452     #
   4453     # We need to recreate these files for each test, as the compiler may
   4454     # overwrite some of them when testing with obscure command lines.
   4455     # This happens at least with the AIX C compiler.
   4456     : > sub/conftest.c
   4457     for i in 1 2 3 4 5 6; do
   4458       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4459       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4460       # Solaris 10 /bin/sh.
   4461       echo '/* dummy */' > sub/conftst$i.h
   4462     done
   4463     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4464 
   4465     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4466     # mode.  It turns out that the SunPro C++ compiler does not properly
   4467     # handle '-M -o', and we need to detect this.  Also, some Intel
   4468     # versions had trouble with output in subdirs.
   4469     am__obj=sub/conftest.${OBJEXT-o}
   4470     am__minus_obj="-o $am__obj"
   4471     case $depmode in
   4472     gcc)
   4473       # This depmode causes a compiler race in universal mode.
   4474       test "$am__universal" = false || continue
   4475       ;;
   4476     nosideeffect)
   4477       # After this tag, mechanisms are not by side-effect, so they'll
   4478       # only be used when explicitly requested.
   4479       if test "x$enable_dependency_tracking" = xyes; then
   4480 	continue
   4481       else
   4482 	break
   4483       fi
   4484       ;;
   4485     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4486       # This compiler won't grok '-c -o', but also, the minuso test has
   4487       # not run yet.  These depmodes are late enough in the game, and
   4488       # so weak that their functioning should not be impacted.
   4489       am__obj=conftest.${OBJEXT-o}
   4490       am__minus_obj=
   4491       ;;
   4492     none) break ;;
   4493     esac
   4494     if depmode=$depmode \
   4495        source=sub/conftest.c object=$am__obj \
   4496        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4497        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4498          >/dev/null 2>conftest.err &&
   4499        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4500        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4501        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4502        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4503       # icc doesn't choke on unknown options, it will just issue warnings
   4504       # or remarks (even with -Werror).  So we grep stderr for any message
   4505       # that says an option was ignored or not supported.
   4506       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4507       #   icc: Command line warning: ignoring option '-M'; no argument required
   4508       # The diagnosis changed in icc 8.0:
   4509       #   icc: Command line remark: option '-MP' not supported
   4510       if (grep 'ignoring option' conftest.err ||
   4511           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4512         am_cv_CC_dependencies_compiler_type=$depmode
   4513         break
   4514       fi
   4515     fi
   4516   done
   4517 
   4518   cd ..
   4519   rm -rf conftest.dir
   4520 else
   4521   am_cv_CC_dependencies_compiler_type=none
   4522 fi
   4523 
   4524 fi
   4525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4526 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4527 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4528 
   4529  if
   4530   test "x$enable_dependency_tracking" != xno \
   4531   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4532   am__fastdepCC_TRUE=
   4533   am__fastdepCC_FALSE='#'
   4534 else
   4535   am__fastdepCC_TRUE='#'
   4536   am__fastdepCC_FALSE=
   4537 fi
   4538 
   4539 
   4540 # Variables for tags utilities; see am/tags.am
   4541 if test -z "$CTAGS"; then
   4542   CTAGS=ctags
   4543 fi
   4544 
   4545 if test -z "$ETAGS"; then
   4546   ETAGS=etags
   4547 fi
   4548 
   4549 if test -z "$CSCOPE"; then
   4550   CSCOPE=cscope
   4551 fi
   4552 
   4553 
   4554 
   4555 # POSIX will say in a future version that running "rm -f" with no argument
   4556 # is OK; and we want to be able to make that assumption in our Makefile
   4557 # recipes.  So use an aggressive probe to check that the usage we want is
   4558 # actually supported "in the wild" to an acceptable degree.
   4559 # See automake bug#10828.
   4560 # To make any issue more visible, cause the running configure to be aborted
   4561 # by default if the 'rm' program in use doesn't match our expectations; the
   4562 # user can still override this though.
   4563 if rm -f && rm -fr && rm -rf; then : OK; else
   4564   cat >&2 <<'END'
   4565 Oops!
   4566 
   4567 Your 'rm' program seems unable to run without file operands specified
   4568 on the command line, even when the '-f' option is present.  This is contrary
   4569 to the behaviour of most rm programs out there, and not conforming with
   4570 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4571 
   4572 Please tell bug-automake@gnu.org about your system, including the value
   4573 of your $PATH and any error possibly output before this message.  This
   4574 can help us improve future automake versions.
   4575 
   4576 END
   4577   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4578     echo 'Configuration will proceed anyway, since you have set the' >&2
   4579     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4580     echo >&2
   4581   else
   4582     cat >&2 <<'END'
   4583 Aborting the configuration process, to ensure you take notice of the issue.
   4584 
   4585 You can download and install GNU coreutils to get an 'rm' implementation
   4586 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   4587 
   4588 If you want to complete the configuration process using your problematic
   4589 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4590 to "yes", and re-run configure.
   4591 
   4592 END
   4593     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4594   fi
   4595 fi
   4596 
   4597 
   4598 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4599 
   4600 
   4601 
   4602 
   4603 
   4604 
   4605 
   4606 
   4607 
   4608 
   4609 
   4610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4611 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4612 if test ${ac_cv_c_undeclared_builtin_options+y}
   4613 then :
   4614   printf %s "(cached) " >&6
   4615 else $as_nop
   4616   ac_save_CFLAGS=$CFLAGS
   4617    ac_cv_c_undeclared_builtin_options='cannot detect'
   4618    for ac_arg in '' -fno-builtin; do
   4619      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4620      # This test program should *not* compile successfully.
   4621      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4622 /* end confdefs.h.  */
   4623 
   4624 int
   4625 main (void)
   4626 {
   4627 (void) strchr;
   4628   ;
   4629   return 0;
   4630 }
   4631 _ACEOF
   4632 if ac_fn_c_try_compile "$LINENO"
   4633 then :
   4634 
   4635 else $as_nop
   4636   # This test program should compile successfully.
   4637         # No library function is consistently available on
   4638         # freestanding implementations, so test against a dummy
   4639         # declaration.  Include always-available headers on the
   4640         # off chance that they somehow elicit warnings.
   4641         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4642 /* end confdefs.h.  */
   4643 #include <float.h>
   4644 #include <limits.h>
   4645 #include <stdarg.h>
   4646 #include <stddef.h>
   4647 extern void ac_decl (int, char *);
   4648 
   4649 int
   4650 main (void)
   4651 {
   4652 (void) ac_decl (0, (char *) 0);
   4653   (void) ac_decl;
   4654 
   4655   ;
   4656   return 0;
   4657 }
   4658 _ACEOF
   4659 if ac_fn_c_try_compile "$LINENO"
   4660 then :
   4661   if test x"$ac_arg" = x
   4662 then :
   4663   ac_cv_c_undeclared_builtin_options='none needed'
   4664 else $as_nop
   4665   ac_cv_c_undeclared_builtin_options=$ac_arg
   4666 fi
   4667           break
   4668 fi
   4669 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4670 fi
   4671 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4672     done
   4673     CFLAGS=$ac_save_CFLAGS
   4674 
   4675 fi
   4676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4677 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4678   case $ac_cv_c_undeclared_builtin_options in #(
   4679   'cannot detect') :
   4680     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4681 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4682 as_fn_error $? "cannot make $CC report undeclared builtins
   4683 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   4684   'none needed') :
   4685     ac_c_undeclared_builtin_options='' ;; #(
   4686   *) :
   4687     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4688 esac
   4689 
   4690 
   4691 
   4692 
   4693 
   4694 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4695 if test "x$ac_cv_have_decl___clang__" = xyes
   4696 then :
   4697   CLANGCC="yes"
   4698 else $as_nop
   4699   CLANGCC="no"
   4700 fi
   4701 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4702 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4703 then :
   4704   INTELCC="yes"
   4705 else $as_nop
   4706   INTELCC="no"
   4707 fi
   4708 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4709 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4710 then :
   4711   SUNCC="yes"
   4712 else $as_nop
   4713   SUNCC="no"
   4714 fi
   4715 
   4716 
   4717 
   4718 
   4719 
   4720 
   4721 
   4722 
   4723 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4724 	if test -n "$ac_tool_prefix"; then
   4725   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4726 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4728 printf %s "checking for $ac_word... " >&6; }
   4729 if test ${ac_cv_path_PKG_CONFIG+y}
   4730 then :
   4731   printf %s "(cached) " >&6
   4732 else $as_nop
   4733   case $PKG_CONFIG in
   4734   [\\/]* | ?:[\\/]*)
   4735   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4736   ;;
   4737   *)
   4738   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4739 for as_dir in $PATH
   4740 do
   4741   IFS=$as_save_IFS
   4742   case $as_dir in #(((
   4743     '') as_dir=./ ;;
   4744     */) ;;
   4745     *) as_dir=$as_dir/ ;;
   4746   esac
   4747     for ac_exec_ext in '' $ac_executable_extensions; do
   4748   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4749     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4750     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4751     break 2
   4752   fi
   4753 done
   4754   done
   4755 IFS=$as_save_IFS
   4756 
   4757   ;;
   4758 esac
   4759 fi
   4760 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4761 if test -n "$PKG_CONFIG"; then
   4762   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4763 printf "%s\n" "$PKG_CONFIG" >&6; }
   4764 else
   4765   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4766 printf "%s\n" "no" >&6; }
   4767 fi
   4768 
   4769 
   4770 fi
   4771 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4772   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4773   # Extract the first word of "pkg-config", so it can be a program name with args.
   4774 set dummy pkg-config; ac_word=$2
   4775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4776 printf %s "checking for $ac_word... " >&6; }
   4777 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4778 then :
   4779   printf %s "(cached) " >&6
   4780 else $as_nop
   4781   case $ac_pt_PKG_CONFIG in
   4782   [\\/]* | ?:[\\/]*)
   4783   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4784   ;;
   4785   *)
   4786   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4787 for as_dir in $PATH
   4788 do
   4789   IFS=$as_save_IFS
   4790   case $as_dir in #(((
   4791     '') as_dir=./ ;;
   4792     */) ;;
   4793     *) as_dir=$as_dir/ ;;
   4794   esac
   4795     for ac_exec_ext in '' $ac_executable_extensions; do
   4796   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4797     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4798     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4799     break 2
   4800   fi
   4801 done
   4802   done
   4803 IFS=$as_save_IFS
   4804 
   4805   ;;
   4806 esac
   4807 fi
   4808 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4809 if test -n "$ac_pt_PKG_CONFIG"; then
   4810   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4811 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4812 else
   4813   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4814 printf "%s\n" "no" >&6; }
   4815 fi
   4816 
   4817   if test "x$ac_pt_PKG_CONFIG" = x; then
   4818     PKG_CONFIG=""
   4819   else
   4820     case $cross_compiling:$ac_tool_warned in
   4821 yes:)
   4822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4823 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4824 ac_tool_warned=yes ;;
   4825 esac
   4826     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4827   fi
   4828 else
   4829   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4830 fi
   4831 
   4832 fi
   4833 if test -n "$PKG_CONFIG"; then
   4834 	_pkg_min_version=0.9.0
   4835 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4836 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4837 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4838 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4839 printf "%s\n" "yes" >&6; }
   4840 	else
   4841 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4842 printf "%s\n" "no" >&6; }
   4843 		PKG_CONFIG=""
   4844 	fi
   4845 fi
   4846 
   4847 
   4848   # Make sure we can run config.sub.
   4849 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4850   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4851 
   4852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4853 printf %s "checking build system type... " >&6; }
   4854 if test ${ac_cv_build+y}
   4855 then :
   4856   printf %s "(cached) " >&6
   4857 else $as_nop
   4858   ac_build_alias=$build_alias
   4859 test "x$ac_build_alias" = x &&
   4860   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4861 test "x$ac_build_alias" = x &&
   4862   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4863 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4864   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4865 
   4866 fi
   4867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4868 printf "%s\n" "$ac_cv_build" >&6; }
   4869 case $ac_cv_build in
   4870 *-*-*) ;;
   4871 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4872 esac
   4873 build=$ac_cv_build
   4874 ac_save_IFS=$IFS; IFS='-'
   4875 set x $ac_cv_build
   4876 shift
   4877 build_cpu=$1
   4878 build_vendor=$2
   4879 shift; shift
   4880 # Remember, the first character of IFS is used to create $*,
   4881 # except with old shells:
   4882 build_os=$*
   4883 IFS=$ac_save_IFS
   4884 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4885 
   4886 
   4887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4888 printf %s "checking host system type... " >&6; }
   4889 if test ${ac_cv_host+y}
   4890 then :
   4891   printf %s "(cached) " >&6
   4892 else $as_nop
   4893   if test "x$host_alias" = x; then
   4894   ac_cv_host=$ac_cv_build
   4895 else
   4896   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4897     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4898 fi
   4899 
   4900 fi
   4901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4902 printf "%s\n" "$ac_cv_host" >&6; }
   4903 case $ac_cv_host in
   4904 *-*-*) ;;
   4905 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4906 esac
   4907 host=$ac_cv_host
   4908 ac_save_IFS=$IFS; IFS='-'
   4909 set x $ac_cv_host
   4910 shift
   4911 host_cpu=$1
   4912 host_vendor=$2
   4913 shift; shift
   4914 # Remember, the first character of IFS is used to create $*,
   4915 # except with old shells:
   4916 host_os=$*
   4917 IFS=$ac_save_IFS
   4918 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4919 
   4920 
   4921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4922 printf %s "checking for a sed that does not truncate output... " >&6; }
   4923 if test ${ac_cv_path_SED+y}
   4924 then :
   4925   printf %s "(cached) " >&6
   4926 else $as_nop
   4927             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4928      for ac_i in 1 2 3 4 5 6 7; do
   4929        ac_script="$ac_script$as_nl$ac_script"
   4930      done
   4931      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4932      { ac_script=; unset ac_script;}
   4933      if test -z "$SED"; then
   4934   ac_path_SED_found=false
   4935   # Loop through the user's path and test for each of PROGNAME-LIST
   4936   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4937 for as_dir in $PATH
   4938 do
   4939   IFS=$as_save_IFS
   4940   case $as_dir in #(((
   4941     '') as_dir=./ ;;
   4942     */) ;;
   4943     *) as_dir=$as_dir/ ;;
   4944   esac
   4945     for ac_prog in sed gsed
   4946    do
   4947     for ac_exec_ext in '' $ac_executable_extensions; do
   4948       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4949       as_fn_executable_p "$ac_path_SED" || continue
   4950 # Check for GNU ac_path_SED and select it if it is found.
   4951   # Check for GNU $ac_path_SED
   4952 case `"$ac_path_SED" --version 2>&1` in
   4953 *GNU*)
   4954   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4955 *)
   4956   ac_count=0
   4957   printf %s 0123456789 >"conftest.in"
   4958   while :
   4959   do
   4960     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4961     mv "conftest.tmp" "conftest.in"
   4962     cp "conftest.in" "conftest.nl"
   4963     printf "%s\n" '' >> "conftest.nl"
   4964     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4965     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4966     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4967     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4968       # Best one so far, save it but keep looking for a better one
   4969       ac_cv_path_SED="$ac_path_SED"
   4970       ac_path_SED_max=$ac_count
   4971     fi
   4972     # 10*(2^10) chars as input seems more than enough
   4973     test $ac_count -gt 10 && break
   4974   done
   4975   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4976 esac
   4977 
   4978       $ac_path_SED_found && break 3
   4979     done
   4980   done
   4981   done
   4982 IFS=$as_save_IFS
   4983   if test -z "$ac_cv_path_SED"; then
   4984     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4985   fi
   4986 else
   4987   ac_cv_path_SED=$SED
   4988 fi
   4989 
   4990 fi
   4991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4992 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4993  SED="$ac_cv_path_SED"
   4994   rm -f conftest.sed
   4995 
   4996 
   4997 
   4998 
   4999 
   5000 
   5001 # Check whether --enable-selective-werror was given.
   5002 if test ${enable_selective_werror+y}
   5003 then :
   5004   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5005 else $as_nop
   5006   SELECTIVE_WERROR=yes
   5007 fi
   5008 
   5009 
   5010 
   5011 
   5012 
   5013 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5014 if test "x$SUNCC" = "xyes"; then
   5015     BASE_CFLAGS="-v"
   5016 else
   5017     BASE_CFLAGS=""
   5018 fi
   5019 
   5020 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5021 
   5022 
   5023 
   5024 
   5025 
   5026 
   5027 
   5028 
   5029 
   5030 
   5031 
   5032 
   5033 
   5034 xorg_testset_save_CFLAGS="$CFLAGS"
   5035 
   5036 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5037 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5038 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5039 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5040 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5041 then :
   5042   printf %s "(cached) " >&6
   5043 else $as_nop
   5044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5045 /* end confdefs.h.  */
   5046 int i;
   5047 _ACEOF
   5048 if ac_fn_c_try_compile "$LINENO"
   5049 then :
   5050   xorg_cv_cc_flag_unknown_warning_option=yes
   5051 else $as_nop
   5052   xorg_cv_cc_flag_unknown_warning_option=no
   5053 fi
   5054 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5055 fi
   5056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5057 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5058 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5059 	CFLAGS="$xorg_testset_save_CFLAGS"
   5060 fi
   5061 
   5062 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5063 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5064 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5065 	fi
   5066 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5067 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5068 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5069 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5070 then :
   5071   printf %s "(cached) " >&6
   5072 else $as_nop
   5073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5074 /* end confdefs.h.  */
   5075 int i;
   5076 _ACEOF
   5077 if ac_fn_c_try_compile "$LINENO"
   5078 then :
   5079   xorg_cv_cc_flag_unused_command_line_argument=yes
   5080 else $as_nop
   5081   xorg_cv_cc_flag_unused_command_line_argument=no
   5082 fi
   5083 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5084 fi
   5085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5086 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5087 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5088 	CFLAGS="$xorg_testset_save_CFLAGS"
   5089 fi
   5090 
   5091 found="no"
   5092 
   5093 	if test $found = "no" ; then
   5094 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5095 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5096 		fi
   5097 
   5098 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5099 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5100 		fi
   5101 
   5102 		CFLAGS="$CFLAGS -Wall"
   5103 
   5104 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5105 printf %s "checking if $CC supports -Wall... " >&6; }
   5106 		cacheid=xorg_cv_cc_flag__Wall
   5107 		if eval test \${$cacheid+y}
   5108 then :
   5109   printf %s "(cached) " >&6
   5110 else $as_nop
   5111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5112 /* end confdefs.h.  */
   5113 int i;
   5114 int
   5115 main (void)
   5116 {
   5117 
   5118   ;
   5119   return 0;
   5120 }
   5121 _ACEOF
   5122 if ac_fn_c_try_link "$LINENO"
   5123 then :
   5124   eval $cacheid=yes
   5125 else $as_nop
   5126   eval $cacheid=no
   5127 fi
   5128 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5129     conftest$ac_exeext conftest.$ac_ext
   5130 fi
   5131 
   5132 
   5133 		CFLAGS="$xorg_testset_save_CFLAGS"
   5134 
   5135 		eval supported=\$$cacheid
   5136 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5137 printf "%s\n" "$supported" >&6; }
   5138 		if test "$supported" = "yes" ; then
   5139 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5140 			found="yes"
   5141 		fi
   5142 	fi
   5143 
   5144 
   5145 
   5146 
   5147 
   5148 
   5149 
   5150 
   5151 
   5152 
   5153 
   5154 
   5155 
   5156 
   5157 
   5158 xorg_testset_save_CFLAGS="$CFLAGS"
   5159 
   5160 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5161 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5162 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5163 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5164 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5165 then :
   5166   printf %s "(cached) " >&6
   5167 else $as_nop
   5168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5169 /* end confdefs.h.  */
   5170 int i;
   5171 _ACEOF
   5172 if ac_fn_c_try_compile "$LINENO"
   5173 then :
   5174   xorg_cv_cc_flag_unknown_warning_option=yes
   5175 else $as_nop
   5176   xorg_cv_cc_flag_unknown_warning_option=no
   5177 fi
   5178 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5179 fi
   5180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5181 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5182 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5183 	CFLAGS="$xorg_testset_save_CFLAGS"
   5184 fi
   5185 
   5186 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5187 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5188 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5189 	fi
   5190 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5191 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5192 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5193 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5194 then :
   5195   printf %s "(cached) " >&6
   5196 else $as_nop
   5197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5198 /* end confdefs.h.  */
   5199 int i;
   5200 _ACEOF
   5201 if ac_fn_c_try_compile "$LINENO"
   5202 then :
   5203   xorg_cv_cc_flag_unused_command_line_argument=yes
   5204 else $as_nop
   5205   xorg_cv_cc_flag_unused_command_line_argument=no
   5206 fi
   5207 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5208 fi
   5209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5210 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5211 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5212 	CFLAGS="$xorg_testset_save_CFLAGS"
   5213 fi
   5214 
   5215 found="no"
   5216 
   5217 	if test $found = "no" ; then
   5218 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5219 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5220 		fi
   5221 
   5222 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5223 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5224 		fi
   5225 
   5226 		CFLAGS="$CFLAGS -Wpointer-arith"
   5227 
   5228 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5229 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5230 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5231 		if eval test \${$cacheid+y}
   5232 then :
   5233   printf %s "(cached) " >&6
   5234 else $as_nop
   5235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5236 /* end confdefs.h.  */
   5237 int i;
   5238 int
   5239 main (void)
   5240 {
   5241 
   5242   ;
   5243   return 0;
   5244 }
   5245 _ACEOF
   5246 if ac_fn_c_try_link "$LINENO"
   5247 then :
   5248   eval $cacheid=yes
   5249 else $as_nop
   5250   eval $cacheid=no
   5251 fi
   5252 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5253     conftest$ac_exeext conftest.$ac_ext
   5254 fi
   5255 
   5256 
   5257 		CFLAGS="$xorg_testset_save_CFLAGS"
   5258 
   5259 		eval supported=\$$cacheid
   5260 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5261 printf "%s\n" "$supported" >&6; }
   5262 		if test "$supported" = "yes" ; then
   5263 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5264 			found="yes"
   5265 		fi
   5266 	fi
   5267 
   5268 
   5269 
   5270 
   5271 
   5272 
   5273 
   5274 
   5275 
   5276 
   5277 
   5278 
   5279 
   5280 
   5281 
   5282 xorg_testset_save_CFLAGS="$CFLAGS"
   5283 
   5284 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5285 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5286 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5287 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5288 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5289 then :
   5290   printf %s "(cached) " >&6
   5291 else $as_nop
   5292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5293 /* end confdefs.h.  */
   5294 int i;
   5295 _ACEOF
   5296 if ac_fn_c_try_compile "$LINENO"
   5297 then :
   5298   xorg_cv_cc_flag_unknown_warning_option=yes
   5299 else $as_nop
   5300   xorg_cv_cc_flag_unknown_warning_option=no
   5301 fi
   5302 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5303 fi
   5304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5305 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5306 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5307 	CFLAGS="$xorg_testset_save_CFLAGS"
   5308 fi
   5309 
   5310 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5311 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5312 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5313 	fi
   5314 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5315 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5316 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5317 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5318 then :
   5319   printf %s "(cached) " >&6
   5320 else $as_nop
   5321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5322 /* end confdefs.h.  */
   5323 int i;
   5324 _ACEOF
   5325 if ac_fn_c_try_compile "$LINENO"
   5326 then :
   5327   xorg_cv_cc_flag_unused_command_line_argument=yes
   5328 else $as_nop
   5329   xorg_cv_cc_flag_unused_command_line_argument=no
   5330 fi
   5331 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5332 fi
   5333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5334 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5335 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5336 	CFLAGS="$xorg_testset_save_CFLAGS"
   5337 fi
   5338 
   5339 found="no"
   5340 
   5341 	if test $found = "no" ; then
   5342 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5343 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5344 		fi
   5345 
   5346 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5347 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5348 		fi
   5349 
   5350 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5351 
   5352 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5353 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5354 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5355 		if eval test \${$cacheid+y}
   5356 then :
   5357   printf %s "(cached) " >&6
   5358 else $as_nop
   5359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5360 /* end confdefs.h.  */
   5361 int i;
   5362 int
   5363 main (void)
   5364 {
   5365 
   5366   ;
   5367   return 0;
   5368 }
   5369 _ACEOF
   5370 if ac_fn_c_try_link "$LINENO"
   5371 then :
   5372   eval $cacheid=yes
   5373 else $as_nop
   5374   eval $cacheid=no
   5375 fi
   5376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5377     conftest$ac_exeext conftest.$ac_ext
   5378 fi
   5379 
   5380 
   5381 		CFLAGS="$xorg_testset_save_CFLAGS"
   5382 
   5383 		eval supported=\$$cacheid
   5384 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5385 printf "%s\n" "$supported" >&6; }
   5386 		if test "$supported" = "yes" ; then
   5387 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5388 			found="yes"
   5389 		fi
   5390 	fi
   5391 
   5392 
   5393 
   5394 
   5395 
   5396 
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 xorg_testset_save_CFLAGS="$CFLAGS"
   5407 
   5408 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5409 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5410 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5411 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5412 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5413 then :
   5414   printf %s "(cached) " >&6
   5415 else $as_nop
   5416   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5417 /* end confdefs.h.  */
   5418 int i;
   5419 _ACEOF
   5420 if ac_fn_c_try_compile "$LINENO"
   5421 then :
   5422   xorg_cv_cc_flag_unknown_warning_option=yes
   5423 else $as_nop
   5424   xorg_cv_cc_flag_unknown_warning_option=no
   5425 fi
   5426 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5427 fi
   5428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5429 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5430 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5431 	CFLAGS="$xorg_testset_save_CFLAGS"
   5432 fi
   5433 
   5434 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5435 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5436 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5437 	fi
   5438 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5439 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5440 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5441 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5442 then :
   5443   printf %s "(cached) " >&6
   5444 else $as_nop
   5445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5446 /* end confdefs.h.  */
   5447 int i;
   5448 _ACEOF
   5449 if ac_fn_c_try_compile "$LINENO"
   5450 then :
   5451   xorg_cv_cc_flag_unused_command_line_argument=yes
   5452 else $as_nop
   5453   xorg_cv_cc_flag_unused_command_line_argument=no
   5454 fi
   5455 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5456 fi
   5457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5458 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5459 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5460 	CFLAGS="$xorg_testset_save_CFLAGS"
   5461 fi
   5462 
   5463 found="no"
   5464 
   5465 	if test $found = "no" ; then
   5466 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5467 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5468 		fi
   5469 
   5470 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5471 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5472 		fi
   5473 
   5474 		CFLAGS="$CFLAGS -Wformat=2"
   5475 
   5476 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5477 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5478 		cacheid=xorg_cv_cc_flag__Wformat_2
   5479 		if eval test \${$cacheid+y}
   5480 then :
   5481   printf %s "(cached) " >&6
   5482 else $as_nop
   5483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5484 /* end confdefs.h.  */
   5485 int i;
   5486 int
   5487 main (void)
   5488 {
   5489 
   5490   ;
   5491   return 0;
   5492 }
   5493 _ACEOF
   5494 if ac_fn_c_try_link "$LINENO"
   5495 then :
   5496   eval $cacheid=yes
   5497 else $as_nop
   5498   eval $cacheid=no
   5499 fi
   5500 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5501     conftest$ac_exeext conftest.$ac_ext
   5502 fi
   5503 
   5504 
   5505 		CFLAGS="$xorg_testset_save_CFLAGS"
   5506 
   5507 		eval supported=\$$cacheid
   5508 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5509 printf "%s\n" "$supported" >&6; }
   5510 		if test "$supported" = "yes" ; then
   5511 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5512 			found="yes"
   5513 		fi
   5514 	fi
   5515 
   5516 	if test $found = "no" ; then
   5517 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5518 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5519 		fi
   5520 
   5521 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5522 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5523 		fi
   5524 
   5525 		CFLAGS="$CFLAGS -Wformat"
   5526 
   5527 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5528 printf %s "checking if $CC supports -Wformat... " >&6; }
   5529 		cacheid=xorg_cv_cc_flag__Wformat
   5530 		if eval test \${$cacheid+y}
   5531 then :
   5532   printf %s "(cached) " >&6
   5533 else $as_nop
   5534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5535 /* end confdefs.h.  */
   5536 int i;
   5537 int
   5538 main (void)
   5539 {
   5540 
   5541   ;
   5542   return 0;
   5543 }
   5544 _ACEOF
   5545 if ac_fn_c_try_link "$LINENO"
   5546 then :
   5547   eval $cacheid=yes
   5548 else $as_nop
   5549   eval $cacheid=no
   5550 fi
   5551 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5552     conftest$ac_exeext conftest.$ac_ext
   5553 fi
   5554 
   5555 
   5556 		CFLAGS="$xorg_testset_save_CFLAGS"
   5557 
   5558 		eval supported=\$$cacheid
   5559 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5560 printf "%s\n" "$supported" >&6; }
   5561 		if test "$supported" = "yes" ; then
   5562 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5563 			found="yes"
   5564 		fi
   5565 	fi
   5566 
   5567 
   5568 
   5569 
   5570 
   5571 
   5572 
   5573 
   5574 
   5575 
   5576 
   5577 
   5578 
   5579 
   5580 
   5581 
   5582 
   5583 xorg_testset_save_CFLAGS="$CFLAGS"
   5584 
   5585 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5586 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5587 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5588 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5589 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5590 then :
   5591   printf %s "(cached) " >&6
   5592 else $as_nop
   5593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5594 /* end confdefs.h.  */
   5595 int i;
   5596 _ACEOF
   5597 if ac_fn_c_try_compile "$LINENO"
   5598 then :
   5599   xorg_cv_cc_flag_unknown_warning_option=yes
   5600 else $as_nop
   5601   xorg_cv_cc_flag_unknown_warning_option=no
   5602 fi
   5603 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5604 fi
   5605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5606 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5607 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5608 	CFLAGS="$xorg_testset_save_CFLAGS"
   5609 fi
   5610 
   5611 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5612 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5613 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5614 	fi
   5615 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5616 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5617 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5618 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5619 then :
   5620   printf %s "(cached) " >&6
   5621 else $as_nop
   5622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5623 /* end confdefs.h.  */
   5624 int i;
   5625 _ACEOF
   5626 if ac_fn_c_try_compile "$LINENO"
   5627 then :
   5628   xorg_cv_cc_flag_unused_command_line_argument=yes
   5629 else $as_nop
   5630   xorg_cv_cc_flag_unused_command_line_argument=no
   5631 fi
   5632 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5633 fi
   5634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5635 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5636 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5637 	CFLAGS="$xorg_testset_save_CFLAGS"
   5638 fi
   5639 
   5640 found="no"
   5641 
   5642 	if test $found = "no" ; then
   5643 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5644 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5645 		fi
   5646 
   5647 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5648 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5649 		fi
   5650 
   5651 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5652 
   5653 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5654 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5655 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5656 		if eval test \${$cacheid+y}
   5657 then :
   5658   printf %s "(cached) " >&6
   5659 else $as_nop
   5660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5661 /* end confdefs.h.  */
   5662 int i;
   5663 int
   5664 main (void)
   5665 {
   5666 
   5667   ;
   5668   return 0;
   5669 }
   5670 _ACEOF
   5671 if ac_fn_c_try_link "$LINENO"
   5672 then :
   5673   eval $cacheid=yes
   5674 else $as_nop
   5675   eval $cacheid=no
   5676 fi
   5677 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5678     conftest$ac_exeext conftest.$ac_ext
   5679 fi
   5680 
   5681 
   5682 		CFLAGS="$xorg_testset_save_CFLAGS"
   5683 
   5684 		eval supported=\$$cacheid
   5685 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5686 printf "%s\n" "$supported" >&6; }
   5687 		if test "$supported" = "yes" ; then
   5688 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5689 			found="yes"
   5690 		fi
   5691 	fi
   5692 
   5693 
   5694 
   5695 
   5696 
   5697 
   5698 
   5699 
   5700 
   5701 
   5702 
   5703 
   5704 
   5705 
   5706 
   5707 xorg_testset_save_CFLAGS="$CFLAGS"
   5708 
   5709 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5710 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5711 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5712 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5713 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5714 then :
   5715   printf %s "(cached) " >&6
   5716 else $as_nop
   5717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5718 /* end confdefs.h.  */
   5719 int i;
   5720 _ACEOF
   5721 if ac_fn_c_try_compile "$LINENO"
   5722 then :
   5723   xorg_cv_cc_flag_unknown_warning_option=yes
   5724 else $as_nop
   5725   xorg_cv_cc_flag_unknown_warning_option=no
   5726 fi
   5727 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5728 fi
   5729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5730 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5731 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5732 	CFLAGS="$xorg_testset_save_CFLAGS"
   5733 fi
   5734 
   5735 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5736 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5737 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5738 	fi
   5739 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5740 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5741 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5742 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5743 then :
   5744   printf %s "(cached) " >&6
   5745 else $as_nop
   5746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5747 /* end confdefs.h.  */
   5748 int i;
   5749 _ACEOF
   5750 if ac_fn_c_try_compile "$LINENO"
   5751 then :
   5752   xorg_cv_cc_flag_unused_command_line_argument=yes
   5753 else $as_nop
   5754   xorg_cv_cc_flag_unused_command_line_argument=no
   5755 fi
   5756 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5757 fi
   5758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5759 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5760 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5761 	CFLAGS="$xorg_testset_save_CFLAGS"
   5762 fi
   5763 
   5764 found="no"
   5765 
   5766 	if test $found = "no" ; then
   5767 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5768 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5769 		fi
   5770 
   5771 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5772 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5773 		fi
   5774 
   5775 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5776 
   5777 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5778 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5779 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5780 		if eval test \${$cacheid+y}
   5781 then :
   5782   printf %s "(cached) " >&6
   5783 else $as_nop
   5784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5785 /* end confdefs.h.  */
   5786 int i;
   5787 int
   5788 main (void)
   5789 {
   5790 
   5791   ;
   5792   return 0;
   5793 }
   5794 _ACEOF
   5795 if ac_fn_c_try_link "$LINENO"
   5796 then :
   5797   eval $cacheid=yes
   5798 else $as_nop
   5799   eval $cacheid=no
   5800 fi
   5801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5802     conftest$ac_exeext conftest.$ac_ext
   5803 fi
   5804 
   5805 
   5806 		CFLAGS="$xorg_testset_save_CFLAGS"
   5807 
   5808 		eval supported=\$$cacheid
   5809 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5810 printf "%s\n" "$supported" >&6; }
   5811 		if test "$supported" = "yes" ; then
   5812 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5813 			found="yes"
   5814 		fi
   5815 	fi
   5816 
   5817 
   5818 
   5819 
   5820 
   5821 
   5822 
   5823 
   5824 
   5825 
   5826 
   5827 
   5828 
   5829 
   5830 
   5831 xorg_testset_save_CFLAGS="$CFLAGS"
   5832 
   5833 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5834 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5835 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5836 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5837 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5838 then :
   5839   printf %s "(cached) " >&6
   5840 else $as_nop
   5841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5842 /* end confdefs.h.  */
   5843 int i;
   5844 _ACEOF
   5845 if ac_fn_c_try_compile "$LINENO"
   5846 then :
   5847   xorg_cv_cc_flag_unknown_warning_option=yes
   5848 else $as_nop
   5849   xorg_cv_cc_flag_unknown_warning_option=no
   5850 fi
   5851 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5852 fi
   5853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5854 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5855 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5856 	CFLAGS="$xorg_testset_save_CFLAGS"
   5857 fi
   5858 
   5859 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5860 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5861 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5862 	fi
   5863 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5864 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5865 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5866 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5867 then :
   5868   printf %s "(cached) " >&6
   5869 else $as_nop
   5870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5871 /* end confdefs.h.  */
   5872 int i;
   5873 _ACEOF
   5874 if ac_fn_c_try_compile "$LINENO"
   5875 then :
   5876   xorg_cv_cc_flag_unused_command_line_argument=yes
   5877 else $as_nop
   5878   xorg_cv_cc_flag_unused_command_line_argument=no
   5879 fi
   5880 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5881 fi
   5882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5883 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5884 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5885 	CFLAGS="$xorg_testset_save_CFLAGS"
   5886 fi
   5887 
   5888 found="no"
   5889 
   5890 	if test $found = "no" ; then
   5891 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5892 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5893 		fi
   5894 
   5895 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5896 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5897 		fi
   5898 
   5899 		CFLAGS="$CFLAGS -Wnested-externs"
   5900 
   5901 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5902 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5903 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5904 		if eval test \${$cacheid+y}
   5905 then :
   5906   printf %s "(cached) " >&6
   5907 else $as_nop
   5908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5909 /* end confdefs.h.  */
   5910 int i;
   5911 int
   5912 main (void)
   5913 {
   5914 
   5915   ;
   5916   return 0;
   5917 }
   5918 _ACEOF
   5919 if ac_fn_c_try_link "$LINENO"
   5920 then :
   5921   eval $cacheid=yes
   5922 else $as_nop
   5923   eval $cacheid=no
   5924 fi
   5925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5926     conftest$ac_exeext conftest.$ac_ext
   5927 fi
   5928 
   5929 
   5930 		CFLAGS="$xorg_testset_save_CFLAGS"
   5931 
   5932 		eval supported=\$$cacheid
   5933 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5934 printf "%s\n" "$supported" >&6; }
   5935 		if test "$supported" = "yes" ; then
   5936 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5937 			found="yes"
   5938 		fi
   5939 	fi
   5940 
   5941 
   5942 
   5943 
   5944 
   5945 
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 
   5952 
   5953 
   5954 
   5955 xorg_testset_save_CFLAGS="$CFLAGS"
   5956 
   5957 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5958 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5959 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5960 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5961 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5962 then :
   5963   printf %s "(cached) " >&6
   5964 else $as_nop
   5965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5966 /* end confdefs.h.  */
   5967 int i;
   5968 _ACEOF
   5969 if ac_fn_c_try_compile "$LINENO"
   5970 then :
   5971   xorg_cv_cc_flag_unknown_warning_option=yes
   5972 else $as_nop
   5973   xorg_cv_cc_flag_unknown_warning_option=no
   5974 fi
   5975 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5976 fi
   5977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5978 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5979 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5980 	CFLAGS="$xorg_testset_save_CFLAGS"
   5981 fi
   5982 
   5983 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5984 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5985 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5986 	fi
   5987 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5988 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5989 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5990 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5991 then :
   5992   printf %s "(cached) " >&6
   5993 else $as_nop
   5994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5995 /* end confdefs.h.  */
   5996 int i;
   5997 _ACEOF
   5998 if ac_fn_c_try_compile "$LINENO"
   5999 then :
   6000   xorg_cv_cc_flag_unused_command_line_argument=yes
   6001 else $as_nop
   6002   xorg_cv_cc_flag_unused_command_line_argument=no
   6003 fi
   6004 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6005 fi
   6006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6007 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6008 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6009 	CFLAGS="$xorg_testset_save_CFLAGS"
   6010 fi
   6011 
   6012 found="no"
   6013 
   6014 	if test $found = "no" ; then
   6015 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6016 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6017 		fi
   6018 
   6019 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6020 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6021 		fi
   6022 
   6023 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6024 
   6025 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6026 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6027 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6028 		if eval test \${$cacheid+y}
   6029 then :
   6030   printf %s "(cached) " >&6
   6031 else $as_nop
   6032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6033 /* end confdefs.h.  */
   6034 int i;
   6035 int
   6036 main (void)
   6037 {
   6038 
   6039   ;
   6040   return 0;
   6041 }
   6042 _ACEOF
   6043 if ac_fn_c_try_link "$LINENO"
   6044 then :
   6045   eval $cacheid=yes
   6046 else $as_nop
   6047   eval $cacheid=no
   6048 fi
   6049 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6050     conftest$ac_exeext conftest.$ac_ext
   6051 fi
   6052 
   6053 
   6054 		CFLAGS="$xorg_testset_save_CFLAGS"
   6055 
   6056 		eval supported=\$$cacheid
   6057 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6058 printf "%s\n" "$supported" >&6; }
   6059 		if test "$supported" = "yes" ; then
   6060 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6061 			found="yes"
   6062 		fi
   6063 	fi
   6064 
   6065 
   6066 
   6067 
   6068 
   6069 
   6070 
   6071 
   6072 
   6073 
   6074 
   6075 
   6076 
   6077 
   6078 
   6079 xorg_testset_save_CFLAGS="$CFLAGS"
   6080 
   6081 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6082 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6083 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6084 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6085 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6086 then :
   6087   printf %s "(cached) " >&6
   6088 else $as_nop
   6089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6090 /* end confdefs.h.  */
   6091 int i;
   6092 _ACEOF
   6093 if ac_fn_c_try_compile "$LINENO"
   6094 then :
   6095   xorg_cv_cc_flag_unknown_warning_option=yes
   6096 else $as_nop
   6097   xorg_cv_cc_flag_unknown_warning_option=no
   6098 fi
   6099 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6100 fi
   6101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6102 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6103 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6104 	CFLAGS="$xorg_testset_save_CFLAGS"
   6105 fi
   6106 
   6107 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6108 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6109 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6110 	fi
   6111 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6112 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6113 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6114 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6115 then :
   6116   printf %s "(cached) " >&6
   6117 else $as_nop
   6118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6119 /* end confdefs.h.  */
   6120 int i;
   6121 _ACEOF
   6122 if ac_fn_c_try_compile "$LINENO"
   6123 then :
   6124   xorg_cv_cc_flag_unused_command_line_argument=yes
   6125 else $as_nop
   6126   xorg_cv_cc_flag_unused_command_line_argument=no
   6127 fi
   6128 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6129 fi
   6130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6131 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6132 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6133 	CFLAGS="$xorg_testset_save_CFLAGS"
   6134 fi
   6135 
   6136 found="no"
   6137 
   6138 	if test $found = "no" ; then
   6139 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6140 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6141 		fi
   6142 
   6143 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6144 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6145 		fi
   6146 
   6147 		CFLAGS="$CFLAGS -Wold-style-definition"
   6148 
   6149 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6150 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6151 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6152 		if eval test \${$cacheid+y}
   6153 then :
   6154   printf %s "(cached) " >&6
   6155 else $as_nop
   6156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6157 /* end confdefs.h.  */
   6158 int i;
   6159 int
   6160 main (void)
   6161 {
   6162 
   6163   ;
   6164   return 0;
   6165 }
   6166 _ACEOF
   6167 if ac_fn_c_try_link "$LINENO"
   6168 then :
   6169   eval $cacheid=yes
   6170 else $as_nop
   6171   eval $cacheid=no
   6172 fi
   6173 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6174     conftest$ac_exeext conftest.$ac_ext
   6175 fi
   6176 
   6177 
   6178 		CFLAGS="$xorg_testset_save_CFLAGS"
   6179 
   6180 		eval supported=\$$cacheid
   6181 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6182 printf "%s\n" "$supported" >&6; }
   6183 		if test "$supported" = "yes" ; then
   6184 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6185 			found="yes"
   6186 		fi
   6187 	fi
   6188 
   6189 	if test $found = "no" ; then
   6190 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6191 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6192 		fi
   6193 
   6194 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6195 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6196 		fi
   6197 
   6198 		CFLAGS="$CFLAGS -fd"
   6199 
   6200 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6201 printf %s "checking if $CC supports -fd... " >&6; }
   6202 		cacheid=xorg_cv_cc_flag__fd
   6203 		if eval test \${$cacheid+y}
   6204 then :
   6205   printf %s "(cached) " >&6
   6206 else $as_nop
   6207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6208 /* end confdefs.h.  */
   6209 int i;
   6210 int
   6211 main (void)
   6212 {
   6213 
   6214   ;
   6215   return 0;
   6216 }
   6217 _ACEOF
   6218 if ac_fn_c_try_link "$LINENO"
   6219 then :
   6220   eval $cacheid=yes
   6221 else $as_nop
   6222   eval $cacheid=no
   6223 fi
   6224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6225     conftest$ac_exeext conftest.$ac_ext
   6226 fi
   6227 
   6228 
   6229 		CFLAGS="$xorg_testset_save_CFLAGS"
   6230 
   6231 		eval supported=\$$cacheid
   6232 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6233 printf "%s\n" "$supported" >&6; }
   6234 		if test "$supported" = "yes" ; then
   6235 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6236 			found="yes"
   6237 		fi
   6238 	fi
   6239 
   6240 
   6241 
   6242 
   6243 
   6244 
   6245 
   6246 
   6247 
   6248 
   6249 
   6250 
   6251 
   6252 
   6253 
   6254 xorg_testset_save_CFLAGS="$CFLAGS"
   6255 
   6256 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6257 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6258 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6259 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6260 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6261 then :
   6262   printf %s "(cached) " >&6
   6263 else $as_nop
   6264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6265 /* end confdefs.h.  */
   6266 int i;
   6267 _ACEOF
   6268 if ac_fn_c_try_compile "$LINENO"
   6269 then :
   6270   xorg_cv_cc_flag_unknown_warning_option=yes
   6271 else $as_nop
   6272   xorg_cv_cc_flag_unknown_warning_option=no
   6273 fi
   6274 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6275 fi
   6276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6277 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6278 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6279 	CFLAGS="$xorg_testset_save_CFLAGS"
   6280 fi
   6281 
   6282 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6283 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6284 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6285 	fi
   6286 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6287 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6288 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6289 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6290 then :
   6291   printf %s "(cached) " >&6
   6292 else $as_nop
   6293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6294 /* end confdefs.h.  */
   6295 int i;
   6296 _ACEOF
   6297 if ac_fn_c_try_compile "$LINENO"
   6298 then :
   6299   xorg_cv_cc_flag_unused_command_line_argument=yes
   6300 else $as_nop
   6301   xorg_cv_cc_flag_unused_command_line_argument=no
   6302 fi
   6303 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6304 fi
   6305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6306 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6307 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6308 	CFLAGS="$xorg_testset_save_CFLAGS"
   6309 fi
   6310 
   6311 found="no"
   6312 
   6313 	if test $found = "no" ; then
   6314 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6315 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6316 		fi
   6317 
   6318 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6319 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6320 		fi
   6321 
   6322 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6323 
   6324 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6325 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6326 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6327 		if eval test \${$cacheid+y}
   6328 then :
   6329   printf %s "(cached) " >&6
   6330 else $as_nop
   6331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6332 /* end confdefs.h.  */
   6333 int i;
   6334 int
   6335 main (void)
   6336 {
   6337 
   6338   ;
   6339   return 0;
   6340 }
   6341 _ACEOF
   6342 if ac_fn_c_try_link "$LINENO"
   6343 then :
   6344   eval $cacheid=yes
   6345 else $as_nop
   6346   eval $cacheid=no
   6347 fi
   6348 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6349     conftest$ac_exeext conftest.$ac_ext
   6350 fi
   6351 
   6352 
   6353 		CFLAGS="$xorg_testset_save_CFLAGS"
   6354 
   6355 		eval supported=\$$cacheid
   6356 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6357 printf "%s\n" "$supported" >&6; }
   6358 		if test "$supported" = "yes" ; then
   6359 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6360 			found="yes"
   6361 		fi
   6362 	fi
   6363 
   6364 
   6365 
   6366 
   6367 
   6368 # This chunk adds additional warnings that could catch undesired effects.
   6369 
   6370 
   6371 
   6372 
   6373 
   6374 
   6375 
   6376 
   6377 
   6378 
   6379 
   6380 
   6381 
   6382 xorg_testset_save_CFLAGS="$CFLAGS"
   6383 
   6384 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6385 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6386 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6387 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6388 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6389 then :
   6390   printf %s "(cached) " >&6
   6391 else $as_nop
   6392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6393 /* end confdefs.h.  */
   6394 int i;
   6395 _ACEOF
   6396 if ac_fn_c_try_compile "$LINENO"
   6397 then :
   6398   xorg_cv_cc_flag_unknown_warning_option=yes
   6399 else $as_nop
   6400   xorg_cv_cc_flag_unknown_warning_option=no
   6401 fi
   6402 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6403 fi
   6404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6405 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6406 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6407 	CFLAGS="$xorg_testset_save_CFLAGS"
   6408 fi
   6409 
   6410 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6411 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6412 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6413 	fi
   6414 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6415 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6416 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6417 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6418 then :
   6419   printf %s "(cached) " >&6
   6420 else $as_nop
   6421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6422 /* end confdefs.h.  */
   6423 int i;
   6424 _ACEOF
   6425 if ac_fn_c_try_compile "$LINENO"
   6426 then :
   6427   xorg_cv_cc_flag_unused_command_line_argument=yes
   6428 else $as_nop
   6429   xorg_cv_cc_flag_unused_command_line_argument=no
   6430 fi
   6431 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6432 fi
   6433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6434 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6435 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6436 	CFLAGS="$xorg_testset_save_CFLAGS"
   6437 fi
   6438 
   6439 found="no"
   6440 
   6441 	if test $found = "no" ; then
   6442 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6443 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6444 		fi
   6445 
   6446 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6447 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6448 		fi
   6449 
   6450 		CFLAGS="$CFLAGS -Wunused"
   6451 
   6452 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6453 printf %s "checking if $CC supports -Wunused... " >&6; }
   6454 		cacheid=xorg_cv_cc_flag__Wunused
   6455 		if eval test \${$cacheid+y}
   6456 then :
   6457   printf %s "(cached) " >&6
   6458 else $as_nop
   6459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6460 /* end confdefs.h.  */
   6461 int i;
   6462 int
   6463 main (void)
   6464 {
   6465 
   6466   ;
   6467   return 0;
   6468 }
   6469 _ACEOF
   6470 if ac_fn_c_try_link "$LINENO"
   6471 then :
   6472   eval $cacheid=yes
   6473 else $as_nop
   6474   eval $cacheid=no
   6475 fi
   6476 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6477     conftest$ac_exeext conftest.$ac_ext
   6478 fi
   6479 
   6480 
   6481 		CFLAGS="$xorg_testset_save_CFLAGS"
   6482 
   6483 		eval supported=\$$cacheid
   6484 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6485 printf "%s\n" "$supported" >&6; }
   6486 		if test "$supported" = "yes" ; then
   6487 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6488 			found="yes"
   6489 		fi
   6490 	fi
   6491 
   6492 
   6493 
   6494 
   6495 
   6496 
   6497 
   6498 
   6499 
   6500 
   6501 
   6502 
   6503 
   6504 
   6505 
   6506 xorg_testset_save_CFLAGS="$CFLAGS"
   6507 
   6508 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6509 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6510 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6511 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6512 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6513 then :
   6514   printf %s "(cached) " >&6
   6515 else $as_nop
   6516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6517 /* end confdefs.h.  */
   6518 int i;
   6519 _ACEOF
   6520 if ac_fn_c_try_compile "$LINENO"
   6521 then :
   6522   xorg_cv_cc_flag_unknown_warning_option=yes
   6523 else $as_nop
   6524   xorg_cv_cc_flag_unknown_warning_option=no
   6525 fi
   6526 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6527 fi
   6528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6529 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6530 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6531 	CFLAGS="$xorg_testset_save_CFLAGS"
   6532 fi
   6533 
   6534 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6535 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6536 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6537 	fi
   6538 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6539 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6540 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6541 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6542 then :
   6543   printf %s "(cached) " >&6
   6544 else $as_nop
   6545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6546 /* end confdefs.h.  */
   6547 int i;
   6548 _ACEOF
   6549 if ac_fn_c_try_compile "$LINENO"
   6550 then :
   6551   xorg_cv_cc_flag_unused_command_line_argument=yes
   6552 else $as_nop
   6553   xorg_cv_cc_flag_unused_command_line_argument=no
   6554 fi
   6555 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6556 fi
   6557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6558 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6559 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6560 	CFLAGS="$xorg_testset_save_CFLAGS"
   6561 fi
   6562 
   6563 found="no"
   6564 
   6565 	if test $found = "no" ; then
   6566 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6567 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6568 		fi
   6569 
   6570 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6571 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6572 		fi
   6573 
   6574 		CFLAGS="$CFLAGS -Wuninitialized"
   6575 
   6576 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6577 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6578 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6579 		if eval test \${$cacheid+y}
   6580 then :
   6581   printf %s "(cached) " >&6
   6582 else $as_nop
   6583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6584 /* end confdefs.h.  */
   6585 int i;
   6586 int
   6587 main (void)
   6588 {
   6589 
   6590   ;
   6591   return 0;
   6592 }
   6593 _ACEOF
   6594 if ac_fn_c_try_link "$LINENO"
   6595 then :
   6596   eval $cacheid=yes
   6597 else $as_nop
   6598   eval $cacheid=no
   6599 fi
   6600 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6601     conftest$ac_exeext conftest.$ac_ext
   6602 fi
   6603 
   6604 
   6605 		CFLAGS="$xorg_testset_save_CFLAGS"
   6606 
   6607 		eval supported=\$$cacheid
   6608 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6609 printf "%s\n" "$supported" >&6; }
   6610 		if test "$supported" = "yes" ; then
   6611 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6612 			found="yes"
   6613 		fi
   6614 	fi
   6615 
   6616 
   6617 
   6618 
   6619 
   6620 
   6621 
   6622 
   6623 
   6624 
   6625 
   6626 
   6627 
   6628 
   6629 
   6630 xorg_testset_save_CFLAGS="$CFLAGS"
   6631 
   6632 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6633 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6634 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6635 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6636 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6637 then :
   6638   printf %s "(cached) " >&6
   6639 else $as_nop
   6640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6641 /* end confdefs.h.  */
   6642 int i;
   6643 _ACEOF
   6644 if ac_fn_c_try_compile "$LINENO"
   6645 then :
   6646   xorg_cv_cc_flag_unknown_warning_option=yes
   6647 else $as_nop
   6648   xorg_cv_cc_flag_unknown_warning_option=no
   6649 fi
   6650 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6651 fi
   6652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6653 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6654 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6655 	CFLAGS="$xorg_testset_save_CFLAGS"
   6656 fi
   6657 
   6658 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6659 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6660 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6661 	fi
   6662 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6663 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6664 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6665 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6666 then :
   6667   printf %s "(cached) " >&6
   6668 else $as_nop
   6669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6670 /* end confdefs.h.  */
   6671 int i;
   6672 _ACEOF
   6673 if ac_fn_c_try_compile "$LINENO"
   6674 then :
   6675   xorg_cv_cc_flag_unused_command_line_argument=yes
   6676 else $as_nop
   6677   xorg_cv_cc_flag_unused_command_line_argument=no
   6678 fi
   6679 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6680 fi
   6681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6682 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6683 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6684 	CFLAGS="$xorg_testset_save_CFLAGS"
   6685 fi
   6686 
   6687 found="no"
   6688 
   6689 	if test $found = "no" ; then
   6690 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6691 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6692 		fi
   6693 
   6694 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6695 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6696 		fi
   6697 
   6698 		CFLAGS="$CFLAGS -Wshadow"
   6699 
   6700 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6701 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6702 		cacheid=xorg_cv_cc_flag__Wshadow
   6703 		if eval test \${$cacheid+y}
   6704 then :
   6705   printf %s "(cached) " >&6
   6706 else $as_nop
   6707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6708 /* end confdefs.h.  */
   6709 int i;
   6710 int
   6711 main (void)
   6712 {
   6713 
   6714   ;
   6715   return 0;
   6716 }
   6717 _ACEOF
   6718 if ac_fn_c_try_link "$LINENO"
   6719 then :
   6720   eval $cacheid=yes
   6721 else $as_nop
   6722   eval $cacheid=no
   6723 fi
   6724 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6725     conftest$ac_exeext conftest.$ac_ext
   6726 fi
   6727 
   6728 
   6729 		CFLAGS="$xorg_testset_save_CFLAGS"
   6730 
   6731 		eval supported=\$$cacheid
   6732 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6733 printf "%s\n" "$supported" >&6; }
   6734 		if test "$supported" = "yes" ; then
   6735 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6736 			found="yes"
   6737 		fi
   6738 	fi
   6739 
   6740 
   6741 
   6742 
   6743 
   6744 
   6745 
   6746 
   6747 
   6748 
   6749 
   6750 
   6751 
   6752 
   6753 
   6754 xorg_testset_save_CFLAGS="$CFLAGS"
   6755 
   6756 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6757 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6758 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6759 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6760 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6761 then :
   6762   printf %s "(cached) " >&6
   6763 else $as_nop
   6764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6765 /* end confdefs.h.  */
   6766 int i;
   6767 _ACEOF
   6768 if ac_fn_c_try_compile "$LINENO"
   6769 then :
   6770   xorg_cv_cc_flag_unknown_warning_option=yes
   6771 else $as_nop
   6772   xorg_cv_cc_flag_unknown_warning_option=no
   6773 fi
   6774 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6775 fi
   6776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6777 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6778 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6779 	CFLAGS="$xorg_testset_save_CFLAGS"
   6780 fi
   6781 
   6782 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6783 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6784 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6785 	fi
   6786 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6787 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6788 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6789 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6790 then :
   6791   printf %s "(cached) " >&6
   6792 else $as_nop
   6793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6794 /* end confdefs.h.  */
   6795 int i;
   6796 _ACEOF
   6797 if ac_fn_c_try_compile "$LINENO"
   6798 then :
   6799   xorg_cv_cc_flag_unused_command_line_argument=yes
   6800 else $as_nop
   6801   xorg_cv_cc_flag_unused_command_line_argument=no
   6802 fi
   6803 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6804 fi
   6805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6806 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6807 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6808 	CFLAGS="$xorg_testset_save_CFLAGS"
   6809 fi
   6810 
   6811 found="no"
   6812 
   6813 	if test $found = "no" ; then
   6814 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6815 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6816 		fi
   6817 
   6818 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6819 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6820 		fi
   6821 
   6822 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6823 
   6824 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6825 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6826 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6827 		if eval test \${$cacheid+y}
   6828 then :
   6829   printf %s "(cached) " >&6
   6830 else $as_nop
   6831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6832 /* end confdefs.h.  */
   6833 int i;
   6834 int
   6835 main (void)
   6836 {
   6837 
   6838   ;
   6839   return 0;
   6840 }
   6841 _ACEOF
   6842 if ac_fn_c_try_link "$LINENO"
   6843 then :
   6844   eval $cacheid=yes
   6845 else $as_nop
   6846   eval $cacheid=no
   6847 fi
   6848 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6849     conftest$ac_exeext conftest.$ac_ext
   6850 fi
   6851 
   6852 
   6853 		CFLAGS="$xorg_testset_save_CFLAGS"
   6854 
   6855 		eval supported=\$$cacheid
   6856 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6857 printf "%s\n" "$supported" >&6; }
   6858 		if test "$supported" = "yes" ; then
   6859 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6860 			found="yes"
   6861 		fi
   6862 	fi
   6863 
   6864 
   6865 
   6866 
   6867 
   6868 
   6869 
   6870 
   6871 
   6872 
   6873 
   6874 
   6875 
   6876 
   6877 
   6878 xorg_testset_save_CFLAGS="$CFLAGS"
   6879 
   6880 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6881 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6882 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6883 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6884 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6885 then :
   6886   printf %s "(cached) " >&6
   6887 else $as_nop
   6888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6889 /* end confdefs.h.  */
   6890 int i;
   6891 _ACEOF
   6892 if ac_fn_c_try_compile "$LINENO"
   6893 then :
   6894   xorg_cv_cc_flag_unknown_warning_option=yes
   6895 else $as_nop
   6896   xorg_cv_cc_flag_unknown_warning_option=no
   6897 fi
   6898 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6899 fi
   6900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6901 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6902 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6903 	CFLAGS="$xorg_testset_save_CFLAGS"
   6904 fi
   6905 
   6906 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6907 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6908 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6909 	fi
   6910 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6911 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6912 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6913 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6914 then :
   6915   printf %s "(cached) " >&6
   6916 else $as_nop
   6917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6918 /* end confdefs.h.  */
   6919 int i;
   6920 _ACEOF
   6921 if ac_fn_c_try_compile "$LINENO"
   6922 then :
   6923   xorg_cv_cc_flag_unused_command_line_argument=yes
   6924 else $as_nop
   6925   xorg_cv_cc_flag_unused_command_line_argument=no
   6926 fi
   6927 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6928 fi
   6929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6930 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6931 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6932 	CFLAGS="$xorg_testset_save_CFLAGS"
   6933 fi
   6934 
   6935 found="no"
   6936 
   6937 	if test $found = "no" ; then
   6938 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6939 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6940 		fi
   6941 
   6942 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6943 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6944 		fi
   6945 
   6946 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6947 
   6948 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6949 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6950 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6951 		if eval test \${$cacheid+y}
   6952 then :
   6953   printf %s "(cached) " >&6
   6954 else $as_nop
   6955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6956 /* end confdefs.h.  */
   6957 int i;
   6958 int
   6959 main (void)
   6960 {
   6961 
   6962   ;
   6963   return 0;
   6964 }
   6965 _ACEOF
   6966 if ac_fn_c_try_link "$LINENO"
   6967 then :
   6968   eval $cacheid=yes
   6969 else $as_nop
   6970   eval $cacheid=no
   6971 fi
   6972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6973     conftest$ac_exeext conftest.$ac_ext
   6974 fi
   6975 
   6976 
   6977 		CFLAGS="$xorg_testset_save_CFLAGS"
   6978 
   6979 		eval supported=\$$cacheid
   6980 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6981 printf "%s\n" "$supported" >&6; }
   6982 		if test "$supported" = "yes" ; then
   6983 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6984 			found="yes"
   6985 		fi
   6986 	fi
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 
   6993 
   6994 
   6995 
   6996 
   6997 
   6998 
   6999 
   7000 
   7001 
   7002 xorg_testset_save_CFLAGS="$CFLAGS"
   7003 
   7004 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7005 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7006 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7007 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7008 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7009 then :
   7010   printf %s "(cached) " >&6
   7011 else $as_nop
   7012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7013 /* end confdefs.h.  */
   7014 int i;
   7015 _ACEOF
   7016 if ac_fn_c_try_compile "$LINENO"
   7017 then :
   7018   xorg_cv_cc_flag_unknown_warning_option=yes
   7019 else $as_nop
   7020   xorg_cv_cc_flag_unknown_warning_option=no
   7021 fi
   7022 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7023 fi
   7024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7025 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7026 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7027 	CFLAGS="$xorg_testset_save_CFLAGS"
   7028 fi
   7029 
   7030 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7031 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7032 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7033 	fi
   7034 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7035 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7036 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7037 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7038 then :
   7039   printf %s "(cached) " >&6
   7040 else $as_nop
   7041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7042 /* end confdefs.h.  */
   7043 int i;
   7044 _ACEOF
   7045 if ac_fn_c_try_compile "$LINENO"
   7046 then :
   7047   xorg_cv_cc_flag_unused_command_line_argument=yes
   7048 else $as_nop
   7049   xorg_cv_cc_flag_unused_command_line_argument=no
   7050 fi
   7051 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7052 fi
   7053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7054 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7055 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7056 	CFLAGS="$xorg_testset_save_CFLAGS"
   7057 fi
   7058 
   7059 found="no"
   7060 
   7061 	if test $found = "no" ; then
   7062 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7063 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7064 		fi
   7065 
   7066 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7067 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7068 		fi
   7069 
   7070 		CFLAGS="$CFLAGS -Wredundant-decls"
   7071 
   7072 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7073 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7074 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7075 		if eval test \${$cacheid+y}
   7076 then :
   7077   printf %s "(cached) " >&6
   7078 else $as_nop
   7079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7080 /* end confdefs.h.  */
   7081 int i;
   7082 int
   7083 main (void)
   7084 {
   7085 
   7086   ;
   7087   return 0;
   7088 }
   7089 _ACEOF
   7090 if ac_fn_c_try_link "$LINENO"
   7091 then :
   7092   eval $cacheid=yes
   7093 else $as_nop
   7094   eval $cacheid=no
   7095 fi
   7096 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7097     conftest$ac_exeext conftest.$ac_ext
   7098 fi
   7099 
   7100 
   7101 		CFLAGS="$xorg_testset_save_CFLAGS"
   7102 
   7103 		eval supported=\$$cacheid
   7104 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7105 printf "%s\n" "$supported" >&6; }
   7106 		if test "$supported" = "yes" ; then
   7107 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7108 			found="yes"
   7109 		fi
   7110 	fi
   7111 
   7112 
   7113 
   7114 
   7115 
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 
   7125 
   7126 xorg_testset_save_CFLAGS="$CFLAGS"
   7127 
   7128 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7129 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7130 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7131 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7132 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7133 then :
   7134   printf %s "(cached) " >&6
   7135 else $as_nop
   7136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7137 /* end confdefs.h.  */
   7138 int i;
   7139 _ACEOF
   7140 if ac_fn_c_try_compile "$LINENO"
   7141 then :
   7142   xorg_cv_cc_flag_unknown_warning_option=yes
   7143 else $as_nop
   7144   xorg_cv_cc_flag_unknown_warning_option=no
   7145 fi
   7146 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7147 fi
   7148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7149 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7150 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7151 	CFLAGS="$xorg_testset_save_CFLAGS"
   7152 fi
   7153 
   7154 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7155 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7156 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7157 	fi
   7158 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7159 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7160 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7161 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7162 then :
   7163   printf %s "(cached) " >&6
   7164 else $as_nop
   7165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7166 /* end confdefs.h.  */
   7167 int i;
   7168 _ACEOF
   7169 if ac_fn_c_try_compile "$LINENO"
   7170 then :
   7171   xorg_cv_cc_flag_unused_command_line_argument=yes
   7172 else $as_nop
   7173   xorg_cv_cc_flag_unused_command_line_argument=no
   7174 fi
   7175 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7176 fi
   7177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7178 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7179 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7180 	CFLAGS="$xorg_testset_save_CFLAGS"
   7181 fi
   7182 
   7183 found="no"
   7184 
   7185 	if test $found = "no" ; then
   7186 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7187 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7188 		fi
   7189 
   7190 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7191 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7192 		fi
   7193 
   7194 		CFLAGS="$CFLAGS -Wlogical-op"
   7195 
   7196 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7197 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7198 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7199 		if eval test \${$cacheid+y}
   7200 then :
   7201   printf %s "(cached) " >&6
   7202 else $as_nop
   7203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7204 /* end confdefs.h.  */
   7205 int i;
   7206 int
   7207 main (void)
   7208 {
   7209 
   7210   ;
   7211   return 0;
   7212 }
   7213 _ACEOF
   7214 if ac_fn_c_try_link "$LINENO"
   7215 then :
   7216   eval $cacheid=yes
   7217 else $as_nop
   7218   eval $cacheid=no
   7219 fi
   7220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7221     conftest$ac_exeext conftest.$ac_ext
   7222 fi
   7223 
   7224 
   7225 		CFLAGS="$xorg_testset_save_CFLAGS"
   7226 
   7227 		eval supported=\$$cacheid
   7228 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7229 printf "%s\n" "$supported" >&6; }
   7230 		if test "$supported" = "yes" ; then
   7231 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7232 			found="yes"
   7233 		fi
   7234 	fi
   7235 
   7236 
   7237 
   7238 # These are currently disabled because they are noisy.  They will be enabled
   7239 # in the future once the codebase is sufficiently modernized to silence
   7240 # them.  For now, I don't want them to drown out the other warnings.
   7241 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7242 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7243 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7244 
   7245 # Turn some warnings into errors, so we don't accidentally get successful builds
   7246 # when there are problems that should be fixed.
   7247 
   7248 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7249 
   7250 
   7251 
   7252 
   7253 
   7254 
   7255 
   7256 
   7257 
   7258 
   7259 
   7260 
   7261 
   7262 xorg_testset_save_CFLAGS="$CFLAGS"
   7263 
   7264 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7265 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7266 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7267 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7268 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7269 then :
   7270   printf %s "(cached) " >&6
   7271 else $as_nop
   7272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7273 /* end confdefs.h.  */
   7274 int i;
   7275 _ACEOF
   7276 if ac_fn_c_try_compile "$LINENO"
   7277 then :
   7278   xorg_cv_cc_flag_unknown_warning_option=yes
   7279 else $as_nop
   7280   xorg_cv_cc_flag_unknown_warning_option=no
   7281 fi
   7282 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7283 fi
   7284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7285 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7286 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7287 	CFLAGS="$xorg_testset_save_CFLAGS"
   7288 fi
   7289 
   7290 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7291 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7292 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7293 	fi
   7294 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7295 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7296 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7297 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7298 then :
   7299   printf %s "(cached) " >&6
   7300 else $as_nop
   7301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7302 /* end confdefs.h.  */
   7303 int i;
   7304 _ACEOF
   7305 if ac_fn_c_try_compile "$LINENO"
   7306 then :
   7307   xorg_cv_cc_flag_unused_command_line_argument=yes
   7308 else $as_nop
   7309   xorg_cv_cc_flag_unused_command_line_argument=no
   7310 fi
   7311 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7312 fi
   7313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7314 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7315 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7316 	CFLAGS="$xorg_testset_save_CFLAGS"
   7317 fi
   7318 
   7319 found="no"
   7320 
   7321 	if test $found = "no" ; then
   7322 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7323 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7324 		fi
   7325 
   7326 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7327 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7328 		fi
   7329 
   7330 		CFLAGS="$CFLAGS -Werror=implicit"
   7331 
   7332 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7333 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7334 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7335 		if eval test \${$cacheid+y}
   7336 then :
   7337   printf %s "(cached) " >&6
   7338 else $as_nop
   7339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7340 /* end confdefs.h.  */
   7341 int i;
   7342 int
   7343 main (void)
   7344 {
   7345 
   7346   ;
   7347   return 0;
   7348 }
   7349 _ACEOF
   7350 if ac_fn_c_try_link "$LINENO"
   7351 then :
   7352   eval $cacheid=yes
   7353 else $as_nop
   7354   eval $cacheid=no
   7355 fi
   7356 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7357     conftest$ac_exeext conftest.$ac_ext
   7358 fi
   7359 
   7360 
   7361 		CFLAGS="$xorg_testset_save_CFLAGS"
   7362 
   7363 		eval supported=\$$cacheid
   7364 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7365 printf "%s\n" "$supported" >&6; }
   7366 		if test "$supported" = "yes" ; then
   7367 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7368 			found="yes"
   7369 		fi
   7370 	fi
   7371 
   7372 	if test $found = "no" ; then
   7373 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7374 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7375 		fi
   7376 
   7377 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7378 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7379 		fi
   7380 
   7381 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7382 
   7383 		{ 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
   7384 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7385 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7386 		if eval test \${$cacheid+y}
   7387 then :
   7388   printf %s "(cached) " >&6
   7389 else $as_nop
   7390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7391 /* end confdefs.h.  */
   7392 int i;
   7393 int
   7394 main (void)
   7395 {
   7396 
   7397   ;
   7398   return 0;
   7399 }
   7400 _ACEOF
   7401 if ac_fn_c_try_link "$LINENO"
   7402 then :
   7403   eval $cacheid=yes
   7404 else $as_nop
   7405   eval $cacheid=no
   7406 fi
   7407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7408     conftest$ac_exeext conftest.$ac_ext
   7409 fi
   7410 
   7411 
   7412 		CFLAGS="$xorg_testset_save_CFLAGS"
   7413 
   7414 		eval supported=\$$cacheid
   7415 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7416 printf "%s\n" "$supported" >&6; }
   7417 		if test "$supported" = "yes" ; then
   7418 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7419 			found="yes"
   7420 		fi
   7421 	fi
   7422 
   7423 
   7424 
   7425 
   7426 
   7427 
   7428 
   7429 
   7430 
   7431 
   7432 
   7433 
   7434 
   7435 
   7436 
   7437 xorg_testset_save_CFLAGS="$CFLAGS"
   7438 
   7439 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7440 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7441 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7442 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7443 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7444 then :
   7445   printf %s "(cached) " >&6
   7446 else $as_nop
   7447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7448 /* end confdefs.h.  */
   7449 int i;
   7450 _ACEOF
   7451 if ac_fn_c_try_compile "$LINENO"
   7452 then :
   7453   xorg_cv_cc_flag_unknown_warning_option=yes
   7454 else $as_nop
   7455   xorg_cv_cc_flag_unknown_warning_option=no
   7456 fi
   7457 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7458 fi
   7459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7460 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7461 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7462 	CFLAGS="$xorg_testset_save_CFLAGS"
   7463 fi
   7464 
   7465 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7466 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7467 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7468 	fi
   7469 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7470 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7471 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7472 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7473 then :
   7474   printf %s "(cached) " >&6
   7475 else $as_nop
   7476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7477 /* end confdefs.h.  */
   7478 int i;
   7479 _ACEOF
   7480 if ac_fn_c_try_compile "$LINENO"
   7481 then :
   7482   xorg_cv_cc_flag_unused_command_line_argument=yes
   7483 else $as_nop
   7484   xorg_cv_cc_flag_unused_command_line_argument=no
   7485 fi
   7486 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7487 fi
   7488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7489 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7490 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7491 	CFLAGS="$xorg_testset_save_CFLAGS"
   7492 fi
   7493 
   7494 found="no"
   7495 
   7496 	if test $found = "no" ; then
   7497 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7498 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7499 		fi
   7500 
   7501 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7502 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7503 		fi
   7504 
   7505 		CFLAGS="$CFLAGS -Werror=nonnull"
   7506 
   7507 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7508 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7509 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7510 		if eval test \${$cacheid+y}
   7511 then :
   7512   printf %s "(cached) " >&6
   7513 else $as_nop
   7514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7515 /* end confdefs.h.  */
   7516 int i;
   7517 int
   7518 main (void)
   7519 {
   7520 
   7521   ;
   7522   return 0;
   7523 }
   7524 _ACEOF
   7525 if ac_fn_c_try_link "$LINENO"
   7526 then :
   7527   eval $cacheid=yes
   7528 else $as_nop
   7529   eval $cacheid=no
   7530 fi
   7531 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7532     conftest$ac_exeext conftest.$ac_ext
   7533 fi
   7534 
   7535 
   7536 		CFLAGS="$xorg_testset_save_CFLAGS"
   7537 
   7538 		eval supported=\$$cacheid
   7539 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7540 printf "%s\n" "$supported" >&6; }
   7541 		if test "$supported" = "yes" ; then
   7542 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7543 			found="yes"
   7544 		fi
   7545 	fi
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 
   7553 
   7554 
   7555 
   7556 
   7557 
   7558 
   7559 
   7560 
   7561 xorg_testset_save_CFLAGS="$CFLAGS"
   7562 
   7563 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7564 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7565 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7566 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7567 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7568 then :
   7569   printf %s "(cached) " >&6
   7570 else $as_nop
   7571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7572 /* end confdefs.h.  */
   7573 int i;
   7574 _ACEOF
   7575 if ac_fn_c_try_compile "$LINENO"
   7576 then :
   7577   xorg_cv_cc_flag_unknown_warning_option=yes
   7578 else $as_nop
   7579   xorg_cv_cc_flag_unknown_warning_option=no
   7580 fi
   7581 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7582 fi
   7583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7584 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7585 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7586 	CFLAGS="$xorg_testset_save_CFLAGS"
   7587 fi
   7588 
   7589 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7590 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7591 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7592 	fi
   7593 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7594 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7595 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7596 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7597 then :
   7598   printf %s "(cached) " >&6
   7599 else $as_nop
   7600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7601 /* end confdefs.h.  */
   7602 int i;
   7603 _ACEOF
   7604 if ac_fn_c_try_compile "$LINENO"
   7605 then :
   7606   xorg_cv_cc_flag_unused_command_line_argument=yes
   7607 else $as_nop
   7608   xorg_cv_cc_flag_unused_command_line_argument=no
   7609 fi
   7610 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7611 fi
   7612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7613 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7614 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7615 	CFLAGS="$xorg_testset_save_CFLAGS"
   7616 fi
   7617 
   7618 found="no"
   7619 
   7620 	if test $found = "no" ; then
   7621 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7622 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7623 		fi
   7624 
   7625 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7626 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7627 		fi
   7628 
   7629 		CFLAGS="$CFLAGS -Werror=init-self"
   7630 
   7631 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7632 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7633 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7634 		if eval test \${$cacheid+y}
   7635 then :
   7636   printf %s "(cached) " >&6
   7637 else $as_nop
   7638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7639 /* end confdefs.h.  */
   7640 int i;
   7641 int
   7642 main (void)
   7643 {
   7644 
   7645   ;
   7646   return 0;
   7647 }
   7648 _ACEOF
   7649 if ac_fn_c_try_link "$LINENO"
   7650 then :
   7651   eval $cacheid=yes
   7652 else $as_nop
   7653   eval $cacheid=no
   7654 fi
   7655 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7656     conftest$ac_exeext conftest.$ac_ext
   7657 fi
   7658 
   7659 
   7660 		CFLAGS="$xorg_testset_save_CFLAGS"
   7661 
   7662 		eval supported=\$$cacheid
   7663 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7664 printf "%s\n" "$supported" >&6; }
   7665 		if test "$supported" = "yes" ; then
   7666 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7667 			found="yes"
   7668 		fi
   7669 	fi
   7670 
   7671 
   7672 
   7673 
   7674 
   7675 
   7676 
   7677 
   7678 
   7679 
   7680 
   7681 
   7682 
   7683 
   7684 
   7685 xorg_testset_save_CFLAGS="$CFLAGS"
   7686 
   7687 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7688 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7689 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7690 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7691 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7692 then :
   7693   printf %s "(cached) " >&6
   7694 else $as_nop
   7695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7696 /* end confdefs.h.  */
   7697 int i;
   7698 _ACEOF
   7699 if ac_fn_c_try_compile "$LINENO"
   7700 then :
   7701   xorg_cv_cc_flag_unknown_warning_option=yes
   7702 else $as_nop
   7703   xorg_cv_cc_flag_unknown_warning_option=no
   7704 fi
   7705 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7706 fi
   7707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7708 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7709 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7710 	CFLAGS="$xorg_testset_save_CFLAGS"
   7711 fi
   7712 
   7713 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7714 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7715 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7716 	fi
   7717 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7718 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7719 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7720 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7721 then :
   7722   printf %s "(cached) " >&6
   7723 else $as_nop
   7724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7725 /* end confdefs.h.  */
   7726 int i;
   7727 _ACEOF
   7728 if ac_fn_c_try_compile "$LINENO"
   7729 then :
   7730   xorg_cv_cc_flag_unused_command_line_argument=yes
   7731 else $as_nop
   7732   xorg_cv_cc_flag_unused_command_line_argument=no
   7733 fi
   7734 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7735 fi
   7736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7737 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7738 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7739 	CFLAGS="$xorg_testset_save_CFLAGS"
   7740 fi
   7741 
   7742 found="no"
   7743 
   7744 	if test $found = "no" ; then
   7745 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7746 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7747 		fi
   7748 
   7749 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7750 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7751 		fi
   7752 
   7753 		CFLAGS="$CFLAGS -Werror=main"
   7754 
   7755 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7756 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7757 		cacheid=xorg_cv_cc_flag__Werror_main
   7758 		if eval test \${$cacheid+y}
   7759 then :
   7760   printf %s "(cached) " >&6
   7761 else $as_nop
   7762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7763 /* end confdefs.h.  */
   7764 int i;
   7765 int
   7766 main (void)
   7767 {
   7768 
   7769   ;
   7770   return 0;
   7771 }
   7772 _ACEOF
   7773 if ac_fn_c_try_link "$LINENO"
   7774 then :
   7775   eval $cacheid=yes
   7776 else $as_nop
   7777   eval $cacheid=no
   7778 fi
   7779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7780     conftest$ac_exeext conftest.$ac_ext
   7781 fi
   7782 
   7783 
   7784 		CFLAGS="$xorg_testset_save_CFLAGS"
   7785 
   7786 		eval supported=\$$cacheid
   7787 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7788 printf "%s\n" "$supported" >&6; }
   7789 		if test "$supported" = "yes" ; then
   7790 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7791 			found="yes"
   7792 		fi
   7793 	fi
   7794 
   7795 
   7796 
   7797 
   7798 
   7799 
   7800 
   7801 
   7802 
   7803 
   7804 
   7805 
   7806 
   7807 
   7808 
   7809 xorg_testset_save_CFLAGS="$CFLAGS"
   7810 
   7811 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7812 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7813 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7814 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7815 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7816 then :
   7817   printf %s "(cached) " >&6
   7818 else $as_nop
   7819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7820 /* end confdefs.h.  */
   7821 int i;
   7822 _ACEOF
   7823 if ac_fn_c_try_compile "$LINENO"
   7824 then :
   7825   xorg_cv_cc_flag_unknown_warning_option=yes
   7826 else $as_nop
   7827   xorg_cv_cc_flag_unknown_warning_option=no
   7828 fi
   7829 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7830 fi
   7831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7832 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7833 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7834 	CFLAGS="$xorg_testset_save_CFLAGS"
   7835 fi
   7836 
   7837 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7838 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7839 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7840 	fi
   7841 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7842 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7843 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7844 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7845 then :
   7846   printf %s "(cached) " >&6
   7847 else $as_nop
   7848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7849 /* end confdefs.h.  */
   7850 int i;
   7851 _ACEOF
   7852 if ac_fn_c_try_compile "$LINENO"
   7853 then :
   7854   xorg_cv_cc_flag_unused_command_line_argument=yes
   7855 else $as_nop
   7856   xorg_cv_cc_flag_unused_command_line_argument=no
   7857 fi
   7858 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7859 fi
   7860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7861 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7862 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7863 	CFLAGS="$xorg_testset_save_CFLAGS"
   7864 fi
   7865 
   7866 found="no"
   7867 
   7868 	if test $found = "no" ; then
   7869 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7870 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7871 		fi
   7872 
   7873 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7874 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7875 		fi
   7876 
   7877 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7878 
   7879 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7880 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7881 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7882 		if eval test \${$cacheid+y}
   7883 then :
   7884   printf %s "(cached) " >&6
   7885 else $as_nop
   7886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7887 /* end confdefs.h.  */
   7888 int i;
   7889 int
   7890 main (void)
   7891 {
   7892 
   7893   ;
   7894   return 0;
   7895 }
   7896 _ACEOF
   7897 if ac_fn_c_try_link "$LINENO"
   7898 then :
   7899   eval $cacheid=yes
   7900 else $as_nop
   7901   eval $cacheid=no
   7902 fi
   7903 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7904     conftest$ac_exeext conftest.$ac_ext
   7905 fi
   7906 
   7907 
   7908 		CFLAGS="$xorg_testset_save_CFLAGS"
   7909 
   7910 		eval supported=\$$cacheid
   7911 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7912 printf "%s\n" "$supported" >&6; }
   7913 		if test "$supported" = "yes" ; then
   7914 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7915 			found="yes"
   7916 		fi
   7917 	fi
   7918 
   7919 
   7920 
   7921 
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 
   7928 
   7929 
   7930 
   7931 
   7932 
   7933 xorg_testset_save_CFLAGS="$CFLAGS"
   7934 
   7935 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7936 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7937 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7938 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7939 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7940 then :
   7941   printf %s "(cached) " >&6
   7942 else $as_nop
   7943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7944 /* end confdefs.h.  */
   7945 int i;
   7946 _ACEOF
   7947 if ac_fn_c_try_compile "$LINENO"
   7948 then :
   7949   xorg_cv_cc_flag_unknown_warning_option=yes
   7950 else $as_nop
   7951   xorg_cv_cc_flag_unknown_warning_option=no
   7952 fi
   7953 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7954 fi
   7955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7956 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7957 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7958 	CFLAGS="$xorg_testset_save_CFLAGS"
   7959 fi
   7960 
   7961 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7962 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7963 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7964 	fi
   7965 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7966 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7967 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7968 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7969 then :
   7970   printf %s "(cached) " >&6
   7971 else $as_nop
   7972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7973 /* end confdefs.h.  */
   7974 int i;
   7975 _ACEOF
   7976 if ac_fn_c_try_compile "$LINENO"
   7977 then :
   7978   xorg_cv_cc_flag_unused_command_line_argument=yes
   7979 else $as_nop
   7980   xorg_cv_cc_flag_unused_command_line_argument=no
   7981 fi
   7982 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7983 fi
   7984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7985 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7986 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7987 	CFLAGS="$xorg_testset_save_CFLAGS"
   7988 fi
   7989 
   7990 found="no"
   7991 
   7992 	if test $found = "no" ; then
   7993 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7994 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7995 		fi
   7996 
   7997 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7998 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7999 		fi
   8000 
   8001 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8002 
   8003 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8004 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8005 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8006 		if eval test \${$cacheid+y}
   8007 then :
   8008   printf %s "(cached) " >&6
   8009 else $as_nop
   8010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8011 /* end confdefs.h.  */
   8012 int i;
   8013 int
   8014 main (void)
   8015 {
   8016 
   8017   ;
   8018   return 0;
   8019 }
   8020 _ACEOF
   8021 if ac_fn_c_try_link "$LINENO"
   8022 then :
   8023   eval $cacheid=yes
   8024 else $as_nop
   8025   eval $cacheid=no
   8026 fi
   8027 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8028     conftest$ac_exeext conftest.$ac_ext
   8029 fi
   8030 
   8031 
   8032 		CFLAGS="$xorg_testset_save_CFLAGS"
   8033 
   8034 		eval supported=\$$cacheid
   8035 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8036 printf "%s\n" "$supported" >&6; }
   8037 		if test "$supported" = "yes" ; then
   8038 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8039 			found="yes"
   8040 		fi
   8041 	fi
   8042 
   8043 
   8044 
   8045 
   8046 
   8047 
   8048 
   8049 
   8050 
   8051 
   8052 
   8053 
   8054 
   8055 
   8056 
   8057 xorg_testset_save_CFLAGS="$CFLAGS"
   8058 
   8059 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8060 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8061 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8062 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8063 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8064 then :
   8065   printf %s "(cached) " >&6
   8066 else $as_nop
   8067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8068 /* end confdefs.h.  */
   8069 int i;
   8070 _ACEOF
   8071 if ac_fn_c_try_compile "$LINENO"
   8072 then :
   8073   xorg_cv_cc_flag_unknown_warning_option=yes
   8074 else $as_nop
   8075   xorg_cv_cc_flag_unknown_warning_option=no
   8076 fi
   8077 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8078 fi
   8079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8080 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8081 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8082 	CFLAGS="$xorg_testset_save_CFLAGS"
   8083 fi
   8084 
   8085 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8086 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8087 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8088 	fi
   8089 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8090 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8091 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8092 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8093 then :
   8094   printf %s "(cached) " >&6
   8095 else $as_nop
   8096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8097 /* end confdefs.h.  */
   8098 int i;
   8099 _ACEOF
   8100 if ac_fn_c_try_compile "$LINENO"
   8101 then :
   8102   xorg_cv_cc_flag_unused_command_line_argument=yes
   8103 else $as_nop
   8104   xorg_cv_cc_flag_unused_command_line_argument=no
   8105 fi
   8106 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8107 fi
   8108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8109 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8110 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8111 	CFLAGS="$xorg_testset_save_CFLAGS"
   8112 fi
   8113 
   8114 found="no"
   8115 
   8116 	if test $found = "no" ; then
   8117 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8118 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8119 		fi
   8120 
   8121 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8122 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8123 		fi
   8124 
   8125 		CFLAGS="$CFLAGS -Werror=return-type"
   8126 
   8127 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8128 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8129 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8130 		if eval test \${$cacheid+y}
   8131 then :
   8132   printf %s "(cached) " >&6
   8133 else $as_nop
   8134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8135 /* end confdefs.h.  */
   8136 int i;
   8137 int
   8138 main (void)
   8139 {
   8140 
   8141   ;
   8142   return 0;
   8143 }
   8144 _ACEOF
   8145 if ac_fn_c_try_link "$LINENO"
   8146 then :
   8147   eval $cacheid=yes
   8148 else $as_nop
   8149   eval $cacheid=no
   8150 fi
   8151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8152     conftest$ac_exeext conftest.$ac_ext
   8153 fi
   8154 
   8155 
   8156 		CFLAGS="$xorg_testset_save_CFLAGS"
   8157 
   8158 		eval supported=\$$cacheid
   8159 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8160 printf "%s\n" "$supported" >&6; }
   8161 		if test "$supported" = "yes" ; then
   8162 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8163 			found="yes"
   8164 		fi
   8165 	fi
   8166 
   8167 	if test $found = "no" ; then
   8168 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8169 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8170 		fi
   8171 
   8172 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8173 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8174 		fi
   8175 
   8176 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8177 
   8178 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8179 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8180 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8181 		if eval test \${$cacheid+y}
   8182 then :
   8183   printf %s "(cached) " >&6
   8184 else $as_nop
   8185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8186 /* end confdefs.h.  */
   8187 int i;
   8188 int
   8189 main (void)
   8190 {
   8191 
   8192   ;
   8193   return 0;
   8194 }
   8195 _ACEOF
   8196 if ac_fn_c_try_link "$LINENO"
   8197 then :
   8198   eval $cacheid=yes
   8199 else $as_nop
   8200   eval $cacheid=no
   8201 fi
   8202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8203     conftest$ac_exeext conftest.$ac_ext
   8204 fi
   8205 
   8206 
   8207 		CFLAGS="$xorg_testset_save_CFLAGS"
   8208 
   8209 		eval supported=\$$cacheid
   8210 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8211 printf "%s\n" "$supported" >&6; }
   8212 		if test "$supported" = "yes" ; then
   8213 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8214 			found="yes"
   8215 		fi
   8216 	fi
   8217 
   8218 
   8219 
   8220 
   8221 
   8222 
   8223 
   8224 
   8225 
   8226 
   8227 
   8228 
   8229 
   8230 
   8231 
   8232 xorg_testset_save_CFLAGS="$CFLAGS"
   8233 
   8234 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8235 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8236 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8237 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8238 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8239 then :
   8240   printf %s "(cached) " >&6
   8241 else $as_nop
   8242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8243 /* end confdefs.h.  */
   8244 int i;
   8245 _ACEOF
   8246 if ac_fn_c_try_compile "$LINENO"
   8247 then :
   8248   xorg_cv_cc_flag_unknown_warning_option=yes
   8249 else $as_nop
   8250   xorg_cv_cc_flag_unknown_warning_option=no
   8251 fi
   8252 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8253 fi
   8254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8255 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8256 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8257 	CFLAGS="$xorg_testset_save_CFLAGS"
   8258 fi
   8259 
   8260 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8261 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8262 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8263 	fi
   8264 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8265 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8266 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8267 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8268 then :
   8269   printf %s "(cached) " >&6
   8270 else $as_nop
   8271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8272 /* end confdefs.h.  */
   8273 int i;
   8274 _ACEOF
   8275 if ac_fn_c_try_compile "$LINENO"
   8276 then :
   8277   xorg_cv_cc_flag_unused_command_line_argument=yes
   8278 else $as_nop
   8279   xorg_cv_cc_flag_unused_command_line_argument=no
   8280 fi
   8281 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8282 fi
   8283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8284 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8285 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8286 	CFLAGS="$xorg_testset_save_CFLAGS"
   8287 fi
   8288 
   8289 found="no"
   8290 
   8291 	if test $found = "no" ; then
   8292 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8293 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8294 		fi
   8295 
   8296 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8297 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8298 		fi
   8299 
   8300 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8301 
   8302 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8303 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8304 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8305 		if eval test \${$cacheid+y}
   8306 then :
   8307   printf %s "(cached) " >&6
   8308 else $as_nop
   8309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8310 /* end confdefs.h.  */
   8311 int i;
   8312 int
   8313 main (void)
   8314 {
   8315 
   8316   ;
   8317   return 0;
   8318 }
   8319 _ACEOF
   8320 if ac_fn_c_try_link "$LINENO"
   8321 then :
   8322   eval $cacheid=yes
   8323 else $as_nop
   8324   eval $cacheid=no
   8325 fi
   8326 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8327     conftest$ac_exeext conftest.$ac_ext
   8328 fi
   8329 
   8330 
   8331 		CFLAGS="$xorg_testset_save_CFLAGS"
   8332 
   8333 		eval supported=\$$cacheid
   8334 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8335 printf "%s\n" "$supported" >&6; }
   8336 		if test "$supported" = "yes" ; then
   8337 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8338 			found="yes"
   8339 		fi
   8340 	fi
   8341 
   8342 
   8343 
   8344 
   8345 
   8346 
   8347 
   8348 
   8349 
   8350 
   8351 
   8352 
   8353 
   8354 
   8355 
   8356 xorg_testset_save_CFLAGS="$CFLAGS"
   8357 
   8358 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8359 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8360 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8361 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8362 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8363 then :
   8364   printf %s "(cached) " >&6
   8365 else $as_nop
   8366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8367 /* end confdefs.h.  */
   8368 int i;
   8369 _ACEOF
   8370 if ac_fn_c_try_compile "$LINENO"
   8371 then :
   8372   xorg_cv_cc_flag_unknown_warning_option=yes
   8373 else $as_nop
   8374   xorg_cv_cc_flag_unknown_warning_option=no
   8375 fi
   8376 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8377 fi
   8378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8379 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8380 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8381 	CFLAGS="$xorg_testset_save_CFLAGS"
   8382 fi
   8383 
   8384 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8385 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8386 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8387 	fi
   8388 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8389 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8390 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8391 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8392 then :
   8393   printf %s "(cached) " >&6
   8394 else $as_nop
   8395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8396 /* end confdefs.h.  */
   8397 int i;
   8398 _ACEOF
   8399 if ac_fn_c_try_compile "$LINENO"
   8400 then :
   8401   xorg_cv_cc_flag_unused_command_line_argument=yes
   8402 else $as_nop
   8403   xorg_cv_cc_flag_unused_command_line_argument=no
   8404 fi
   8405 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8406 fi
   8407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8408 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8409 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8410 	CFLAGS="$xorg_testset_save_CFLAGS"
   8411 fi
   8412 
   8413 found="no"
   8414 
   8415 	if test $found = "no" ; then
   8416 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8417 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8418 		fi
   8419 
   8420 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8421 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8422 		fi
   8423 
   8424 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8425 
   8426 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8427 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8428 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8429 		if eval test \${$cacheid+y}
   8430 then :
   8431   printf %s "(cached) " >&6
   8432 else $as_nop
   8433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8434 /* end confdefs.h.  */
   8435 int i;
   8436 int
   8437 main (void)
   8438 {
   8439 
   8440   ;
   8441   return 0;
   8442 }
   8443 _ACEOF
   8444 if ac_fn_c_try_link "$LINENO"
   8445 then :
   8446   eval $cacheid=yes
   8447 else $as_nop
   8448   eval $cacheid=no
   8449 fi
   8450 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8451     conftest$ac_exeext conftest.$ac_ext
   8452 fi
   8453 
   8454 
   8455 		CFLAGS="$xorg_testset_save_CFLAGS"
   8456 
   8457 		eval supported=\$$cacheid
   8458 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8459 printf "%s\n" "$supported" >&6; }
   8460 		if test "$supported" = "yes" ; then
   8461 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8462 			found="yes"
   8463 		fi
   8464 	fi
   8465 
   8466 
   8467 
   8468 
   8469 
   8470 
   8471 
   8472 
   8473 
   8474 
   8475 
   8476 
   8477 
   8478 
   8479 
   8480 xorg_testset_save_CFLAGS="$CFLAGS"
   8481 
   8482 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8483 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8484 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8485 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8486 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8487 then :
   8488   printf %s "(cached) " >&6
   8489 else $as_nop
   8490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8491 /* end confdefs.h.  */
   8492 int i;
   8493 _ACEOF
   8494 if ac_fn_c_try_compile "$LINENO"
   8495 then :
   8496   xorg_cv_cc_flag_unknown_warning_option=yes
   8497 else $as_nop
   8498   xorg_cv_cc_flag_unknown_warning_option=no
   8499 fi
   8500 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8501 fi
   8502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8503 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8504 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8505 	CFLAGS="$xorg_testset_save_CFLAGS"
   8506 fi
   8507 
   8508 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8509 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8510 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8511 	fi
   8512 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8513 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8514 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8515 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8516 then :
   8517   printf %s "(cached) " >&6
   8518 else $as_nop
   8519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8520 /* end confdefs.h.  */
   8521 int i;
   8522 _ACEOF
   8523 if ac_fn_c_try_compile "$LINENO"
   8524 then :
   8525   xorg_cv_cc_flag_unused_command_line_argument=yes
   8526 else $as_nop
   8527   xorg_cv_cc_flag_unused_command_line_argument=no
   8528 fi
   8529 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8530 fi
   8531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8532 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8533 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8534 	CFLAGS="$xorg_testset_save_CFLAGS"
   8535 fi
   8536 
   8537 found="no"
   8538 
   8539 	if test $found = "no" ; then
   8540 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8541 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8542 		fi
   8543 
   8544 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8545 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8546 		fi
   8547 
   8548 		CFLAGS="$CFLAGS -Werror=write-strings"
   8549 
   8550 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8551 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8552 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8553 		if eval test \${$cacheid+y}
   8554 then :
   8555   printf %s "(cached) " >&6
   8556 else $as_nop
   8557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8558 /* end confdefs.h.  */
   8559 int i;
   8560 int
   8561 main (void)
   8562 {
   8563 
   8564   ;
   8565   return 0;
   8566 }
   8567 _ACEOF
   8568 if ac_fn_c_try_link "$LINENO"
   8569 then :
   8570   eval $cacheid=yes
   8571 else $as_nop
   8572   eval $cacheid=no
   8573 fi
   8574 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8575     conftest$ac_exeext conftest.$ac_ext
   8576 fi
   8577 
   8578 
   8579 		CFLAGS="$xorg_testset_save_CFLAGS"
   8580 
   8581 		eval supported=\$$cacheid
   8582 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8583 printf "%s\n" "$supported" >&6; }
   8584 		if test "$supported" = "yes" ; then
   8585 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8586 			found="yes"
   8587 		fi
   8588 	fi
   8589 
   8590 
   8591 
   8592 
   8593 
   8594 
   8595 
   8596 
   8597 
   8598 
   8599 
   8600 
   8601 
   8602 
   8603 
   8604 xorg_testset_save_CFLAGS="$CFLAGS"
   8605 
   8606 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8607 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8608 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8609 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8610 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8611 then :
   8612   printf %s "(cached) " >&6
   8613 else $as_nop
   8614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8615 /* end confdefs.h.  */
   8616 int i;
   8617 _ACEOF
   8618 if ac_fn_c_try_compile "$LINENO"
   8619 then :
   8620   xorg_cv_cc_flag_unknown_warning_option=yes
   8621 else $as_nop
   8622   xorg_cv_cc_flag_unknown_warning_option=no
   8623 fi
   8624 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8625 fi
   8626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8627 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8628 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8629 	CFLAGS="$xorg_testset_save_CFLAGS"
   8630 fi
   8631 
   8632 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8633 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8634 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8635 	fi
   8636 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8637 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8638 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8639 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8640 then :
   8641   printf %s "(cached) " >&6
   8642 else $as_nop
   8643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8644 /* end confdefs.h.  */
   8645 int i;
   8646 _ACEOF
   8647 if ac_fn_c_try_compile "$LINENO"
   8648 then :
   8649   xorg_cv_cc_flag_unused_command_line_argument=yes
   8650 else $as_nop
   8651   xorg_cv_cc_flag_unused_command_line_argument=no
   8652 fi
   8653 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8654 fi
   8655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8656 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8657 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8658 	CFLAGS="$xorg_testset_save_CFLAGS"
   8659 fi
   8660 
   8661 found="no"
   8662 
   8663 	if test $found = "no" ; then
   8664 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8665 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8666 		fi
   8667 
   8668 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8669 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8670 		fi
   8671 
   8672 		CFLAGS="$CFLAGS -Werror=address"
   8673 
   8674 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8675 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8676 		cacheid=xorg_cv_cc_flag__Werror_address
   8677 		if eval test \${$cacheid+y}
   8678 then :
   8679   printf %s "(cached) " >&6
   8680 else $as_nop
   8681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8682 /* end confdefs.h.  */
   8683 int i;
   8684 int
   8685 main (void)
   8686 {
   8687 
   8688   ;
   8689   return 0;
   8690 }
   8691 _ACEOF
   8692 if ac_fn_c_try_link "$LINENO"
   8693 then :
   8694   eval $cacheid=yes
   8695 else $as_nop
   8696   eval $cacheid=no
   8697 fi
   8698 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8699     conftest$ac_exeext conftest.$ac_ext
   8700 fi
   8701 
   8702 
   8703 		CFLAGS="$xorg_testset_save_CFLAGS"
   8704 
   8705 		eval supported=\$$cacheid
   8706 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8707 printf "%s\n" "$supported" >&6; }
   8708 		if test "$supported" = "yes" ; then
   8709 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8710 			found="yes"
   8711 		fi
   8712 	fi
   8713 
   8714 
   8715 
   8716 
   8717 
   8718 
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 
   8727 
   8728 xorg_testset_save_CFLAGS="$CFLAGS"
   8729 
   8730 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8731 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8732 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8733 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8734 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8735 then :
   8736   printf %s "(cached) " >&6
   8737 else $as_nop
   8738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8739 /* end confdefs.h.  */
   8740 int i;
   8741 _ACEOF
   8742 if ac_fn_c_try_compile "$LINENO"
   8743 then :
   8744   xorg_cv_cc_flag_unknown_warning_option=yes
   8745 else $as_nop
   8746   xorg_cv_cc_flag_unknown_warning_option=no
   8747 fi
   8748 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8749 fi
   8750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8751 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8752 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8753 	CFLAGS="$xorg_testset_save_CFLAGS"
   8754 fi
   8755 
   8756 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8757 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8758 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8759 	fi
   8760 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8761 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8762 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8763 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8764 then :
   8765   printf %s "(cached) " >&6
   8766 else $as_nop
   8767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8768 /* end confdefs.h.  */
   8769 int i;
   8770 _ACEOF
   8771 if ac_fn_c_try_compile "$LINENO"
   8772 then :
   8773   xorg_cv_cc_flag_unused_command_line_argument=yes
   8774 else $as_nop
   8775   xorg_cv_cc_flag_unused_command_line_argument=no
   8776 fi
   8777 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8778 fi
   8779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8780 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8781 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8782 	CFLAGS="$xorg_testset_save_CFLAGS"
   8783 fi
   8784 
   8785 found="no"
   8786 
   8787 	if test $found = "no" ; then
   8788 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8789 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8790 		fi
   8791 
   8792 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8793 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8794 		fi
   8795 
   8796 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8797 
   8798 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8799 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8800 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8801 		if eval test \${$cacheid+y}
   8802 then :
   8803   printf %s "(cached) " >&6
   8804 else $as_nop
   8805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8806 /* end confdefs.h.  */
   8807 int i;
   8808 int
   8809 main (void)
   8810 {
   8811 
   8812   ;
   8813   return 0;
   8814 }
   8815 _ACEOF
   8816 if ac_fn_c_try_link "$LINENO"
   8817 then :
   8818   eval $cacheid=yes
   8819 else $as_nop
   8820   eval $cacheid=no
   8821 fi
   8822 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8823     conftest$ac_exeext conftest.$ac_ext
   8824 fi
   8825 
   8826 
   8827 		CFLAGS="$xorg_testset_save_CFLAGS"
   8828 
   8829 		eval supported=\$$cacheid
   8830 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8831 printf "%s\n" "$supported" >&6; }
   8832 		if test "$supported" = "yes" ; then
   8833 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8834 			found="yes"
   8835 		fi
   8836 	fi
   8837 
   8838 	if test $found = "no" ; then
   8839 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8840 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8841 		fi
   8842 
   8843 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8844 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8845 		fi
   8846 
   8847 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8848 
   8849 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8850 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8851 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8852 		if eval test \${$cacheid+y}
   8853 then :
   8854   printf %s "(cached) " >&6
   8855 else $as_nop
   8856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8857 /* end confdefs.h.  */
   8858 int i;
   8859 int
   8860 main (void)
   8861 {
   8862 
   8863   ;
   8864   return 0;
   8865 }
   8866 _ACEOF
   8867 if ac_fn_c_try_link "$LINENO"
   8868 then :
   8869   eval $cacheid=yes
   8870 else $as_nop
   8871   eval $cacheid=no
   8872 fi
   8873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8874     conftest$ac_exeext conftest.$ac_ext
   8875 fi
   8876 
   8877 
   8878 		CFLAGS="$xorg_testset_save_CFLAGS"
   8879 
   8880 		eval supported=\$$cacheid
   8881 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8882 printf "%s\n" "$supported" >&6; }
   8883 		if test "$supported" = "yes" ; then
   8884 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8885 			found="yes"
   8886 		fi
   8887 	fi
   8888 
   8889 
   8890 
   8891 
   8892 
   8893 
   8894 
   8895 
   8896 
   8897 
   8898 
   8899 
   8900 
   8901 
   8902 
   8903 xorg_testset_save_CFLAGS="$CFLAGS"
   8904 
   8905 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8906 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8907 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8908 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8909 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8910 then :
   8911   printf %s "(cached) " >&6
   8912 else $as_nop
   8913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8914 /* end confdefs.h.  */
   8915 int i;
   8916 _ACEOF
   8917 if ac_fn_c_try_compile "$LINENO"
   8918 then :
   8919   xorg_cv_cc_flag_unknown_warning_option=yes
   8920 else $as_nop
   8921   xorg_cv_cc_flag_unknown_warning_option=no
   8922 fi
   8923 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8924 fi
   8925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8926 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8927 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8928 	CFLAGS="$xorg_testset_save_CFLAGS"
   8929 fi
   8930 
   8931 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8932 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8933 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8934 	fi
   8935 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8936 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8937 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8938 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8939 then :
   8940   printf %s "(cached) " >&6
   8941 else $as_nop
   8942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8943 /* end confdefs.h.  */
   8944 int i;
   8945 _ACEOF
   8946 if ac_fn_c_try_compile "$LINENO"
   8947 then :
   8948   xorg_cv_cc_flag_unused_command_line_argument=yes
   8949 else $as_nop
   8950   xorg_cv_cc_flag_unused_command_line_argument=no
   8951 fi
   8952 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8953 fi
   8954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8955 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8956 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8957 	CFLAGS="$xorg_testset_save_CFLAGS"
   8958 fi
   8959 
   8960 found="no"
   8961 
   8962 	if test $found = "no" ; then
   8963 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8964 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8965 		fi
   8966 
   8967 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8968 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8969 		fi
   8970 
   8971 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8972 
   8973 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8974 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8975 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8976 		if eval test \${$cacheid+y}
   8977 then :
   8978   printf %s "(cached) " >&6
   8979 else $as_nop
   8980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8981 /* end confdefs.h.  */
   8982 int i;
   8983 int
   8984 main (void)
   8985 {
   8986 
   8987   ;
   8988   return 0;
   8989 }
   8990 _ACEOF
   8991 if ac_fn_c_try_link "$LINENO"
   8992 then :
   8993   eval $cacheid=yes
   8994 else $as_nop
   8995   eval $cacheid=no
   8996 fi
   8997 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8998     conftest$ac_exeext conftest.$ac_ext
   8999 fi
   9000 
   9001 
   9002 		CFLAGS="$xorg_testset_save_CFLAGS"
   9003 
   9004 		eval supported=\$$cacheid
   9005 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9006 printf "%s\n" "$supported" >&6; }
   9007 		if test "$supported" = "yes" ; then
   9008 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9009 			found="yes"
   9010 		fi
   9011 	fi
   9012 
   9013  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9014 else
   9015 { 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
   9016 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;}
   9017 
   9018 
   9019 
   9020 
   9021 
   9022 
   9023 
   9024 
   9025 
   9026 
   9027 
   9028 
   9029 
   9030 xorg_testset_save_CFLAGS="$CFLAGS"
   9031 
   9032 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9033 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9034 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9035 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9036 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9037 then :
   9038   printf %s "(cached) " >&6
   9039 else $as_nop
   9040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9041 /* end confdefs.h.  */
   9042 int i;
   9043 _ACEOF
   9044 if ac_fn_c_try_compile "$LINENO"
   9045 then :
   9046   xorg_cv_cc_flag_unknown_warning_option=yes
   9047 else $as_nop
   9048   xorg_cv_cc_flag_unknown_warning_option=no
   9049 fi
   9050 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9051 fi
   9052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9053 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9054 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9055 	CFLAGS="$xorg_testset_save_CFLAGS"
   9056 fi
   9057 
   9058 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9059 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9060 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9061 	fi
   9062 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9063 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9064 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9065 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9066 then :
   9067   printf %s "(cached) " >&6
   9068 else $as_nop
   9069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9070 /* end confdefs.h.  */
   9071 int i;
   9072 _ACEOF
   9073 if ac_fn_c_try_compile "$LINENO"
   9074 then :
   9075   xorg_cv_cc_flag_unused_command_line_argument=yes
   9076 else $as_nop
   9077   xorg_cv_cc_flag_unused_command_line_argument=no
   9078 fi
   9079 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9080 fi
   9081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9082 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9083 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9084 	CFLAGS="$xorg_testset_save_CFLAGS"
   9085 fi
   9086 
   9087 found="no"
   9088 
   9089 	if test $found = "no" ; then
   9090 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9091 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9092 		fi
   9093 
   9094 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9095 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9096 		fi
   9097 
   9098 		CFLAGS="$CFLAGS -Wimplicit"
   9099 
   9100 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9101 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9102 		cacheid=xorg_cv_cc_flag__Wimplicit
   9103 		if eval test \${$cacheid+y}
   9104 then :
   9105   printf %s "(cached) " >&6
   9106 else $as_nop
   9107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9108 /* end confdefs.h.  */
   9109 int i;
   9110 int
   9111 main (void)
   9112 {
   9113 
   9114   ;
   9115   return 0;
   9116 }
   9117 _ACEOF
   9118 if ac_fn_c_try_link "$LINENO"
   9119 then :
   9120   eval $cacheid=yes
   9121 else $as_nop
   9122   eval $cacheid=no
   9123 fi
   9124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9125     conftest$ac_exeext conftest.$ac_ext
   9126 fi
   9127 
   9128 
   9129 		CFLAGS="$xorg_testset_save_CFLAGS"
   9130 
   9131 		eval supported=\$$cacheid
   9132 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9133 printf "%s\n" "$supported" >&6; }
   9134 		if test "$supported" = "yes" ; then
   9135 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9136 			found="yes"
   9137 		fi
   9138 	fi
   9139 
   9140 
   9141 
   9142 
   9143 
   9144 
   9145 
   9146 
   9147 
   9148 
   9149 
   9150 
   9151 
   9152 
   9153 
   9154 xorg_testset_save_CFLAGS="$CFLAGS"
   9155 
   9156 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9157 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9158 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9159 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9160 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9161 then :
   9162   printf %s "(cached) " >&6
   9163 else $as_nop
   9164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9165 /* end confdefs.h.  */
   9166 int i;
   9167 _ACEOF
   9168 if ac_fn_c_try_compile "$LINENO"
   9169 then :
   9170   xorg_cv_cc_flag_unknown_warning_option=yes
   9171 else $as_nop
   9172   xorg_cv_cc_flag_unknown_warning_option=no
   9173 fi
   9174 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9175 fi
   9176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9177 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9178 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9179 	CFLAGS="$xorg_testset_save_CFLAGS"
   9180 fi
   9181 
   9182 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9183 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9184 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9185 	fi
   9186 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9187 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9188 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9189 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9190 then :
   9191   printf %s "(cached) " >&6
   9192 else $as_nop
   9193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9194 /* end confdefs.h.  */
   9195 int i;
   9196 _ACEOF
   9197 if ac_fn_c_try_compile "$LINENO"
   9198 then :
   9199   xorg_cv_cc_flag_unused_command_line_argument=yes
   9200 else $as_nop
   9201   xorg_cv_cc_flag_unused_command_line_argument=no
   9202 fi
   9203 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9204 fi
   9205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9206 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9207 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9208 	CFLAGS="$xorg_testset_save_CFLAGS"
   9209 fi
   9210 
   9211 found="no"
   9212 
   9213 	if test $found = "no" ; then
   9214 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9215 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9216 		fi
   9217 
   9218 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9219 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9220 		fi
   9221 
   9222 		CFLAGS="$CFLAGS -Wnonnull"
   9223 
   9224 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9225 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9226 		cacheid=xorg_cv_cc_flag__Wnonnull
   9227 		if eval test \${$cacheid+y}
   9228 then :
   9229   printf %s "(cached) " >&6
   9230 else $as_nop
   9231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9232 /* end confdefs.h.  */
   9233 int i;
   9234 int
   9235 main (void)
   9236 {
   9237 
   9238   ;
   9239   return 0;
   9240 }
   9241 _ACEOF
   9242 if ac_fn_c_try_link "$LINENO"
   9243 then :
   9244   eval $cacheid=yes
   9245 else $as_nop
   9246   eval $cacheid=no
   9247 fi
   9248 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9249     conftest$ac_exeext conftest.$ac_ext
   9250 fi
   9251 
   9252 
   9253 		CFLAGS="$xorg_testset_save_CFLAGS"
   9254 
   9255 		eval supported=\$$cacheid
   9256 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9257 printf "%s\n" "$supported" >&6; }
   9258 		if test "$supported" = "yes" ; then
   9259 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9260 			found="yes"
   9261 		fi
   9262 	fi
   9263 
   9264 
   9265 
   9266 
   9267 
   9268 
   9269 
   9270 
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 
   9277 
   9278 xorg_testset_save_CFLAGS="$CFLAGS"
   9279 
   9280 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9281 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9282 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9283 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9284 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9285 then :
   9286   printf %s "(cached) " >&6
   9287 else $as_nop
   9288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9289 /* end confdefs.h.  */
   9290 int i;
   9291 _ACEOF
   9292 if ac_fn_c_try_compile "$LINENO"
   9293 then :
   9294   xorg_cv_cc_flag_unknown_warning_option=yes
   9295 else $as_nop
   9296   xorg_cv_cc_flag_unknown_warning_option=no
   9297 fi
   9298 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9299 fi
   9300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9301 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9302 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9303 	CFLAGS="$xorg_testset_save_CFLAGS"
   9304 fi
   9305 
   9306 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9307 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9308 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9309 	fi
   9310 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9311 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9312 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9313 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9314 then :
   9315   printf %s "(cached) " >&6
   9316 else $as_nop
   9317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9318 /* end confdefs.h.  */
   9319 int i;
   9320 _ACEOF
   9321 if ac_fn_c_try_compile "$LINENO"
   9322 then :
   9323   xorg_cv_cc_flag_unused_command_line_argument=yes
   9324 else $as_nop
   9325   xorg_cv_cc_flag_unused_command_line_argument=no
   9326 fi
   9327 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9328 fi
   9329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9330 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9331 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9332 	CFLAGS="$xorg_testset_save_CFLAGS"
   9333 fi
   9334 
   9335 found="no"
   9336 
   9337 	if test $found = "no" ; then
   9338 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9339 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9340 		fi
   9341 
   9342 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9343 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9344 		fi
   9345 
   9346 		CFLAGS="$CFLAGS -Winit-self"
   9347 
   9348 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9349 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9350 		cacheid=xorg_cv_cc_flag__Winit_self
   9351 		if eval test \${$cacheid+y}
   9352 then :
   9353   printf %s "(cached) " >&6
   9354 else $as_nop
   9355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9356 /* end confdefs.h.  */
   9357 int i;
   9358 int
   9359 main (void)
   9360 {
   9361 
   9362   ;
   9363   return 0;
   9364 }
   9365 _ACEOF
   9366 if ac_fn_c_try_link "$LINENO"
   9367 then :
   9368   eval $cacheid=yes
   9369 else $as_nop
   9370   eval $cacheid=no
   9371 fi
   9372 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9373     conftest$ac_exeext conftest.$ac_ext
   9374 fi
   9375 
   9376 
   9377 		CFLAGS="$xorg_testset_save_CFLAGS"
   9378 
   9379 		eval supported=\$$cacheid
   9380 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9381 printf "%s\n" "$supported" >&6; }
   9382 		if test "$supported" = "yes" ; then
   9383 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9384 			found="yes"
   9385 		fi
   9386 	fi
   9387 
   9388 
   9389 
   9390 
   9391 
   9392 
   9393 
   9394 
   9395 
   9396 
   9397 
   9398 
   9399 
   9400 
   9401 
   9402 xorg_testset_save_CFLAGS="$CFLAGS"
   9403 
   9404 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9405 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9406 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9407 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9408 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9409 then :
   9410   printf %s "(cached) " >&6
   9411 else $as_nop
   9412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9413 /* end confdefs.h.  */
   9414 int i;
   9415 _ACEOF
   9416 if ac_fn_c_try_compile "$LINENO"
   9417 then :
   9418   xorg_cv_cc_flag_unknown_warning_option=yes
   9419 else $as_nop
   9420   xorg_cv_cc_flag_unknown_warning_option=no
   9421 fi
   9422 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9423 fi
   9424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9425 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9426 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9427 	CFLAGS="$xorg_testset_save_CFLAGS"
   9428 fi
   9429 
   9430 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9431 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9432 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9433 	fi
   9434 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9435 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9436 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9437 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9438 then :
   9439   printf %s "(cached) " >&6
   9440 else $as_nop
   9441   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9442 /* end confdefs.h.  */
   9443 int i;
   9444 _ACEOF
   9445 if ac_fn_c_try_compile "$LINENO"
   9446 then :
   9447   xorg_cv_cc_flag_unused_command_line_argument=yes
   9448 else $as_nop
   9449   xorg_cv_cc_flag_unused_command_line_argument=no
   9450 fi
   9451 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9452 fi
   9453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9454 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9455 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9456 	CFLAGS="$xorg_testset_save_CFLAGS"
   9457 fi
   9458 
   9459 found="no"
   9460 
   9461 	if test $found = "no" ; then
   9462 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9463 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9464 		fi
   9465 
   9466 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9467 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9468 		fi
   9469 
   9470 		CFLAGS="$CFLAGS -Wmain"
   9471 
   9472 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9473 printf %s "checking if $CC supports -Wmain... " >&6; }
   9474 		cacheid=xorg_cv_cc_flag__Wmain
   9475 		if eval test \${$cacheid+y}
   9476 then :
   9477   printf %s "(cached) " >&6
   9478 else $as_nop
   9479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9480 /* end confdefs.h.  */
   9481 int i;
   9482 int
   9483 main (void)
   9484 {
   9485 
   9486   ;
   9487   return 0;
   9488 }
   9489 _ACEOF
   9490 if ac_fn_c_try_link "$LINENO"
   9491 then :
   9492   eval $cacheid=yes
   9493 else $as_nop
   9494   eval $cacheid=no
   9495 fi
   9496 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9497     conftest$ac_exeext conftest.$ac_ext
   9498 fi
   9499 
   9500 
   9501 		CFLAGS="$xorg_testset_save_CFLAGS"
   9502 
   9503 		eval supported=\$$cacheid
   9504 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9505 printf "%s\n" "$supported" >&6; }
   9506 		if test "$supported" = "yes" ; then
   9507 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9508 			found="yes"
   9509 		fi
   9510 	fi
   9511 
   9512 
   9513 
   9514 
   9515 
   9516 
   9517 
   9518 
   9519 
   9520 
   9521 
   9522 
   9523 
   9524 
   9525 
   9526 xorg_testset_save_CFLAGS="$CFLAGS"
   9527 
   9528 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9529 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9530 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9531 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9532 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9533 then :
   9534   printf %s "(cached) " >&6
   9535 else $as_nop
   9536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9537 /* end confdefs.h.  */
   9538 int i;
   9539 _ACEOF
   9540 if ac_fn_c_try_compile "$LINENO"
   9541 then :
   9542   xorg_cv_cc_flag_unknown_warning_option=yes
   9543 else $as_nop
   9544   xorg_cv_cc_flag_unknown_warning_option=no
   9545 fi
   9546 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9547 fi
   9548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9549 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9550 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9551 	CFLAGS="$xorg_testset_save_CFLAGS"
   9552 fi
   9553 
   9554 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9555 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9556 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9557 	fi
   9558 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9559 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9560 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9561 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9562 then :
   9563   printf %s "(cached) " >&6
   9564 else $as_nop
   9565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9566 /* end confdefs.h.  */
   9567 int i;
   9568 _ACEOF
   9569 if ac_fn_c_try_compile "$LINENO"
   9570 then :
   9571   xorg_cv_cc_flag_unused_command_line_argument=yes
   9572 else $as_nop
   9573   xorg_cv_cc_flag_unused_command_line_argument=no
   9574 fi
   9575 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9576 fi
   9577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9578 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9579 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9580 	CFLAGS="$xorg_testset_save_CFLAGS"
   9581 fi
   9582 
   9583 found="no"
   9584 
   9585 	if test $found = "no" ; then
   9586 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9587 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9588 		fi
   9589 
   9590 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9591 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9592 		fi
   9593 
   9594 		CFLAGS="$CFLAGS -Wmissing-braces"
   9595 
   9596 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9597 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9598 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9599 		if eval test \${$cacheid+y}
   9600 then :
   9601   printf %s "(cached) " >&6
   9602 else $as_nop
   9603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9604 /* end confdefs.h.  */
   9605 int i;
   9606 int
   9607 main (void)
   9608 {
   9609 
   9610   ;
   9611   return 0;
   9612 }
   9613 _ACEOF
   9614 if ac_fn_c_try_link "$LINENO"
   9615 then :
   9616   eval $cacheid=yes
   9617 else $as_nop
   9618   eval $cacheid=no
   9619 fi
   9620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9621     conftest$ac_exeext conftest.$ac_ext
   9622 fi
   9623 
   9624 
   9625 		CFLAGS="$xorg_testset_save_CFLAGS"
   9626 
   9627 		eval supported=\$$cacheid
   9628 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9629 printf "%s\n" "$supported" >&6; }
   9630 		if test "$supported" = "yes" ; then
   9631 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9632 			found="yes"
   9633 		fi
   9634 	fi
   9635 
   9636 
   9637 
   9638 
   9639 
   9640 
   9641 
   9642 
   9643 
   9644 
   9645 
   9646 
   9647 
   9648 
   9649 
   9650 xorg_testset_save_CFLAGS="$CFLAGS"
   9651 
   9652 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9653 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9654 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9655 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9656 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9657 then :
   9658   printf %s "(cached) " >&6
   9659 else $as_nop
   9660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9661 /* end confdefs.h.  */
   9662 int i;
   9663 _ACEOF
   9664 if ac_fn_c_try_compile "$LINENO"
   9665 then :
   9666   xorg_cv_cc_flag_unknown_warning_option=yes
   9667 else $as_nop
   9668   xorg_cv_cc_flag_unknown_warning_option=no
   9669 fi
   9670 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9671 fi
   9672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9673 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9674 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9675 	CFLAGS="$xorg_testset_save_CFLAGS"
   9676 fi
   9677 
   9678 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9679 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9680 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9681 	fi
   9682 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9683 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9684 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9685 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9686 then :
   9687   printf %s "(cached) " >&6
   9688 else $as_nop
   9689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9690 /* end confdefs.h.  */
   9691 int i;
   9692 _ACEOF
   9693 if ac_fn_c_try_compile "$LINENO"
   9694 then :
   9695   xorg_cv_cc_flag_unused_command_line_argument=yes
   9696 else $as_nop
   9697   xorg_cv_cc_flag_unused_command_line_argument=no
   9698 fi
   9699 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9700 fi
   9701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9702 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9703 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9704 	CFLAGS="$xorg_testset_save_CFLAGS"
   9705 fi
   9706 
   9707 found="no"
   9708 
   9709 	if test $found = "no" ; then
   9710 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9711 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9712 		fi
   9713 
   9714 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9715 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9716 		fi
   9717 
   9718 		CFLAGS="$CFLAGS -Wsequence-point"
   9719 
   9720 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9721 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9722 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9723 		if eval test \${$cacheid+y}
   9724 then :
   9725   printf %s "(cached) " >&6
   9726 else $as_nop
   9727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9728 /* end confdefs.h.  */
   9729 int i;
   9730 int
   9731 main (void)
   9732 {
   9733 
   9734   ;
   9735   return 0;
   9736 }
   9737 _ACEOF
   9738 if ac_fn_c_try_link "$LINENO"
   9739 then :
   9740   eval $cacheid=yes
   9741 else $as_nop
   9742   eval $cacheid=no
   9743 fi
   9744 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9745     conftest$ac_exeext conftest.$ac_ext
   9746 fi
   9747 
   9748 
   9749 		CFLAGS="$xorg_testset_save_CFLAGS"
   9750 
   9751 		eval supported=\$$cacheid
   9752 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9753 printf "%s\n" "$supported" >&6; }
   9754 		if test "$supported" = "yes" ; then
   9755 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9756 			found="yes"
   9757 		fi
   9758 	fi
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 
   9774 xorg_testset_save_CFLAGS="$CFLAGS"
   9775 
   9776 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9777 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9778 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9779 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9780 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9781 then :
   9782   printf %s "(cached) " >&6
   9783 else $as_nop
   9784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9785 /* end confdefs.h.  */
   9786 int i;
   9787 _ACEOF
   9788 if ac_fn_c_try_compile "$LINENO"
   9789 then :
   9790   xorg_cv_cc_flag_unknown_warning_option=yes
   9791 else $as_nop
   9792   xorg_cv_cc_flag_unknown_warning_option=no
   9793 fi
   9794 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9795 fi
   9796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9797 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9798 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9799 	CFLAGS="$xorg_testset_save_CFLAGS"
   9800 fi
   9801 
   9802 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9803 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9804 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9805 	fi
   9806 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9807 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9808 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9809 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9810 then :
   9811   printf %s "(cached) " >&6
   9812 else $as_nop
   9813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9814 /* end confdefs.h.  */
   9815 int i;
   9816 _ACEOF
   9817 if ac_fn_c_try_compile "$LINENO"
   9818 then :
   9819   xorg_cv_cc_flag_unused_command_line_argument=yes
   9820 else $as_nop
   9821   xorg_cv_cc_flag_unused_command_line_argument=no
   9822 fi
   9823 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9824 fi
   9825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9826 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9827 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9828 	CFLAGS="$xorg_testset_save_CFLAGS"
   9829 fi
   9830 
   9831 found="no"
   9832 
   9833 	if test $found = "no" ; then
   9834 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9835 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9836 		fi
   9837 
   9838 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9839 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9840 		fi
   9841 
   9842 		CFLAGS="$CFLAGS -Wreturn-type"
   9843 
   9844 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9845 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9846 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9847 		if eval test \${$cacheid+y}
   9848 then :
   9849   printf %s "(cached) " >&6
   9850 else $as_nop
   9851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9852 /* end confdefs.h.  */
   9853 int i;
   9854 int
   9855 main (void)
   9856 {
   9857 
   9858   ;
   9859   return 0;
   9860 }
   9861 _ACEOF
   9862 if ac_fn_c_try_link "$LINENO"
   9863 then :
   9864   eval $cacheid=yes
   9865 else $as_nop
   9866   eval $cacheid=no
   9867 fi
   9868 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9869     conftest$ac_exeext conftest.$ac_ext
   9870 fi
   9871 
   9872 
   9873 		CFLAGS="$xorg_testset_save_CFLAGS"
   9874 
   9875 		eval supported=\$$cacheid
   9876 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9877 printf "%s\n" "$supported" >&6; }
   9878 		if test "$supported" = "yes" ; then
   9879 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9880 			found="yes"
   9881 		fi
   9882 	fi
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 xorg_testset_save_CFLAGS="$CFLAGS"
   9899 
   9900 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9901 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9902 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9903 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9904 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9905 then :
   9906   printf %s "(cached) " >&6
   9907 else $as_nop
   9908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9909 /* end confdefs.h.  */
   9910 int i;
   9911 _ACEOF
   9912 if ac_fn_c_try_compile "$LINENO"
   9913 then :
   9914   xorg_cv_cc_flag_unknown_warning_option=yes
   9915 else $as_nop
   9916   xorg_cv_cc_flag_unknown_warning_option=no
   9917 fi
   9918 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9919 fi
   9920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9921 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9922 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9923 	CFLAGS="$xorg_testset_save_CFLAGS"
   9924 fi
   9925 
   9926 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9927 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9928 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9929 	fi
   9930 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9931 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9932 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9933 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9934 then :
   9935   printf %s "(cached) " >&6
   9936 else $as_nop
   9937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9938 /* end confdefs.h.  */
   9939 int i;
   9940 _ACEOF
   9941 if ac_fn_c_try_compile "$LINENO"
   9942 then :
   9943   xorg_cv_cc_flag_unused_command_line_argument=yes
   9944 else $as_nop
   9945   xorg_cv_cc_flag_unused_command_line_argument=no
   9946 fi
   9947 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9948 fi
   9949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9950 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9951 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9952 	CFLAGS="$xorg_testset_save_CFLAGS"
   9953 fi
   9954 
   9955 found="no"
   9956 
   9957 	if test $found = "no" ; then
   9958 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9959 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9960 		fi
   9961 
   9962 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9963 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9964 		fi
   9965 
   9966 		CFLAGS="$CFLAGS -Wtrigraphs"
   9967 
   9968 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9969 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   9970 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9971 		if eval test \${$cacheid+y}
   9972 then :
   9973   printf %s "(cached) " >&6
   9974 else $as_nop
   9975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9976 /* end confdefs.h.  */
   9977 int i;
   9978 int
   9979 main (void)
   9980 {
   9981 
   9982   ;
   9983   return 0;
   9984 }
   9985 _ACEOF
   9986 if ac_fn_c_try_link "$LINENO"
   9987 then :
   9988   eval $cacheid=yes
   9989 else $as_nop
   9990   eval $cacheid=no
   9991 fi
   9992 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9993     conftest$ac_exeext conftest.$ac_ext
   9994 fi
   9995 
   9996 
   9997 		CFLAGS="$xorg_testset_save_CFLAGS"
   9998 
   9999 		eval supported=\$$cacheid
   10000 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10001 printf "%s\n" "$supported" >&6; }
   10002 		if test "$supported" = "yes" ; then
   10003 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10004 			found="yes"
   10005 		fi
   10006 	fi
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 xorg_testset_save_CFLAGS="$CFLAGS"
   10023 
   10024 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10025 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10026 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10027 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10028 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10029 then :
   10030   printf %s "(cached) " >&6
   10031 else $as_nop
   10032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10033 /* end confdefs.h.  */
   10034 int i;
   10035 _ACEOF
   10036 if ac_fn_c_try_compile "$LINENO"
   10037 then :
   10038   xorg_cv_cc_flag_unknown_warning_option=yes
   10039 else $as_nop
   10040   xorg_cv_cc_flag_unknown_warning_option=no
   10041 fi
   10042 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10043 fi
   10044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10045 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10046 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10047 	CFLAGS="$xorg_testset_save_CFLAGS"
   10048 fi
   10049 
   10050 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10051 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10052 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10053 	fi
   10054 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10055 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10056 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10057 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10058 then :
   10059   printf %s "(cached) " >&6
   10060 else $as_nop
   10061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10062 /* end confdefs.h.  */
   10063 int i;
   10064 _ACEOF
   10065 if ac_fn_c_try_compile "$LINENO"
   10066 then :
   10067   xorg_cv_cc_flag_unused_command_line_argument=yes
   10068 else $as_nop
   10069   xorg_cv_cc_flag_unused_command_line_argument=no
   10070 fi
   10071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10072 fi
   10073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10074 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10075 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10076 	CFLAGS="$xorg_testset_save_CFLAGS"
   10077 fi
   10078 
   10079 found="no"
   10080 
   10081 	if test $found = "no" ; then
   10082 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10083 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10084 		fi
   10085 
   10086 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10087 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10088 		fi
   10089 
   10090 		CFLAGS="$CFLAGS -Warray-bounds"
   10091 
   10092 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10093 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10094 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10095 		if eval test \${$cacheid+y}
   10096 then :
   10097   printf %s "(cached) " >&6
   10098 else $as_nop
   10099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10100 /* end confdefs.h.  */
   10101 int i;
   10102 int
   10103 main (void)
   10104 {
   10105 
   10106   ;
   10107   return 0;
   10108 }
   10109 _ACEOF
   10110 if ac_fn_c_try_link "$LINENO"
   10111 then :
   10112   eval $cacheid=yes
   10113 else $as_nop
   10114   eval $cacheid=no
   10115 fi
   10116 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10117     conftest$ac_exeext conftest.$ac_ext
   10118 fi
   10119 
   10120 
   10121 		CFLAGS="$xorg_testset_save_CFLAGS"
   10122 
   10123 		eval supported=\$$cacheid
   10124 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10125 printf "%s\n" "$supported" >&6; }
   10126 		if test "$supported" = "yes" ; then
   10127 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10128 			found="yes"
   10129 		fi
   10130 	fi
   10131 
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 xorg_testset_save_CFLAGS="$CFLAGS"
   10147 
   10148 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10149 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10150 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10151 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10152 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10153 then :
   10154   printf %s "(cached) " >&6
   10155 else $as_nop
   10156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10157 /* end confdefs.h.  */
   10158 int i;
   10159 _ACEOF
   10160 if ac_fn_c_try_compile "$LINENO"
   10161 then :
   10162   xorg_cv_cc_flag_unknown_warning_option=yes
   10163 else $as_nop
   10164   xorg_cv_cc_flag_unknown_warning_option=no
   10165 fi
   10166 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10167 fi
   10168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10169 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10170 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10171 	CFLAGS="$xorg_testset_save_CFLAGS"
   10172 fi
   10173 
   10174 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10175 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10176 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10177 	fi
   10178 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10179 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10180 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10181 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10182 then :
   10183   printf %s "(cached) " >&6
   10184 else $as_nop
   10185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10186 /* end confdefs.h.  */
   10187 int i;
   10188 _ACEOF
   10189 if ac_fn_c_try_compile "$LINENO"
   10190 then :
   10191   xorg_cv_cc_flag_unused_command_line_argument=yes
   10192 else $as_nop
   10193   xorg_cv_cc_flag_unused_command_line_argument=no
   10194 fi
   10195 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10196 fi
   10197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10198 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10199 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10200 	CFLAGS="$xorg_testset_save_CFLAGS"
   10201 fi
   10202 
   10203 found="no"
   10204 
   10205 	if test $found = "no" ; then
   10206 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10207 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10208 		fi
   10209 
   10210 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10211 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10212 		fi
   10213 
   10214 		CFLAGS="$CFLAGS -Wwrite-strings"
   10215 
   10216 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10217 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10218 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10219 		if eval test \${$cacheid+y}
   10220 then :
   10221   printf %s "(cached) " >&6
   10222 else $as_nop
   10223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10224 /* end confdefs.h.  */
   10225 int i;
   10226 int
   10227 main (void)
   10228 {
   10229 
   10230   ;
   10231   return 0;
   10232 }
   10233 _ACEOF
   10234 if ac_fn_c_try_link "$LINENO"
   10235 then :
   10236   eval $cacheid=yes
   10237 else $as_nop
   10238   eval $cacheid=no
   10239 fi
   10240 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10241     conftest$ac_exeext conftest.$ac_ext
   10242 fi
   10243 
   10244 
   10245 		CFLAGS="$xorg_testset_save_CFLAGS"
   10246 
   10247 		eval supported=\$$cacheid
   10248 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10249 printf "%s\n" "$supported" >&6; }
   10250 		if test "$supported" = "yes" ; then
   10251 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10252 			found="yes"
   10253 		fi
   10254 	fi
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 
   10264 
   10265 
   10266 
   10267 
   10268 
   10269 
   10270 xorg_testset_save_CFLAGS="$CFLAGS"
   10271 
   10272 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10273 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10274 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10275 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10276 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10277 then :
   10278   printf %s "(cached) " >&6
   10279 else $as_nop
   10280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10281 /* end confdefs.h.  */
   10282 int i;
   10283 _ACEOF
   10284 if ac_fn_c_try_compile "$LINENO"
   10285 then :
   10286   xorg_cv_cc_flag_unknown_warning_option=yes
   10287 else $as_nop
   10288   xorg_cv_cc_flag_unknown_warning_option=no
   10289 fi
   10290 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10291 fi
   10292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10293 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10294 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10295 	CFLAGS="$xorg_testset_save_CFLAGS"
   10296 fi
   10297 
   10298 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10299 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10300 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10301 	fi
   10302 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10303 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10304 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10305 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10306 then :
   10307   printf %s "(cached) " >&6
   10308 else $as_nop
   10309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10310 /* end confdefs.h.  */
   10311 int i;
   10312 _ACEOF
   10313 if ac_fn_c_try_compile "$LINENO"
   10314 then :
   10315   xorg_cv_cc_flag_unused_command_line_argument=yes
   10316 else $as_nop
   10317   xorg_cv_cc_flag_unused_command_line_argument=no
   10318 fi
   10319 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10320 fi
   10321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10322 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10323 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10324 	CFLAGS="$xorg_testset_save_CFLAGS"
   10325 fi
   10326 
   10327 found="no"
   10328 
   10329 	if test $found = "no" ; then
   10330 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10331 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10332 		fi
   10333 
   10334 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10335 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10336 		fi
   10337 
   10338 		CFLAGS="$CFLAGS -Waddress"
   10339 
   10340 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10341 printf %s "checking if $CC supports -Waddress... " >&6; }
   10342 		cacheid=xorg_cv_cc_flag__Waddress
   10343 		if eval test \${$cacheid+y}
   10344 then :
   10345   printf %s "(cached) " >&6
   10346 else $as_nop
   10347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10348 /* end confdefs.h.  */
   10349 int i;
   10350 int
   10351 main (void)
   10352 {
   10353 
   10354   ;
   10355   return 0;
   10356 }
   10357 _ACEOF
   10358 if ac_fn_c_try_link "$LINENO"
   10359 then :
   10360   eval $cacheid=yes
   10361 else $as_nop
   10362   eval $cacheid=no
   10363 fi
   10364 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10365     conftest$ac_exeext conftest.$ac_ext
   10366 fi
   10367 
   10368 
   10369 		CFLAGS="$xorg_testset_save_CFLAGS"
   10370 
   10371 		eval supported=\$$cacheid
   10372 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10373 printf "%s\n" "$supported" >&6; }
   10374 		if test "$supported" = "yes" ; then
   10375 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10376 			found="yes"
   10377 		fi
   10378 	fi
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 
   10387 
   10388 
   10389 
   10390 
   10391 
   10392 
   10393 
   10394 xorg_testset_save_CFLAGS="$CFLAGS"
   10395 
   10396 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10397 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10398 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10399 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10400 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10401 then :
   10402   printf %s "(cached) " >&6
   10403 else $as_nop
   10404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10405 /* end confdefs.h.  */
   10406 int i;
   10407 _ACEOF
   10408 if ac_fn_c_try_compile "$LINENO"
   10409 then :
   10410   xorg_cv_cc_flag_unknown_warning_option=yes
   10411 else $as_nop
   10412   xorg_cv_cc_flag_unknown_warning_option=no
   10413 fi
   10414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10415 fi
   10416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10417 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10418 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10419 	CFLAGS="$xorg_testset_save_CFLAGS"
   10420 fi
   10421 
   10422 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10423 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10424 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10425 	fi
   10426 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10427 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10428 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10429 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10430 then :
   10431   printf %s "(cached) " >&6
   10432 else $as_nop
   10433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10434 /* end confdefs.h.  */
   10435 int i;
   10436 _ACEOF
   10437 if ac_fn_c_try_compile "$LINENO"
   10438 then :
   10439   xorg_cv_cc_flag_unused_command_line_argument=yes
   10440 else $as_nop
   10441   xorg_cv_cc_flag_unused_command_line_argument=no
   10442 fi
   10443 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10444 fi
   10445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10446 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10447 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10448 	CFLAGS="$xorg_testset_save_CFLAGS"
   10449 fi
   10450 
   10451 found="no"
   10452 
   10453 	if test $found = "no" ; then
   10454 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10455 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10456 		fi
   10457 
   10458 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10459 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10460 		fi
   10461 
   10462 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10463 
   10464 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10465 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10466 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10467 		if eval test \${$cacheid+y}
   10468 then :
   10469   printf %s "(cached) " >&6
   10470 else $as_nop
   10471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10472 /* end confdefs.h.  */
   10473 int i;
   10474 int
   10475 main (void)
   10476 {
   10477 
   10478   ;
   10479   return 0;
   10480 }
   10481 _ACEOF
   10482 if ac_fn_c_try_link "$LINENO"
   10483 then :
   10484   eval $cacheid=yes
   10485 else $as_nop
   10486   eval $cacheid=no
   10487 fi
   10488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10489     conftest$ac_exeext conftest.$ac_ext
   10490 fi
   10491 
   10492 
   10493 		CFLAGS="$xorg_testset_save_CFLAGS"
   10494 
   10495 		eval supported=\$$cacheid
   10496 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10497 printf "%s\n" "$supported" >&6; }
   10498 		if test "$supported" = "yes" ; then
   10499 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10500 			found="yes"
   10501 		fi
   10502 	fi
   10503 
   10504 
   10505 
   10506 
   10507 
   10508 
   10509 
   10510 
   10511 
   10512 
   10513 
   10514 
   10515 
   10516 
   10517 
   10518 xorg_testset_save_CFLAGS="$CFLAGS"
   10519 
   10520 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10521 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10522 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10523 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10524 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10525 then :
   10526   printf %s "(cached) " >&6
   10527 else $as_nop
   10528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10529 /* end confdefs.h.  */
   10530 int i;
   10531 _ACEOF
   10532 if ac_fn_c_try_compile "$LINENO"
   10533 then :
   10534   xorg_cv_cc_flag_unknown_warning_option=yes
   10535 else $as_nop
   10536   xorg_cv_cc_flag_unknown_warning_option=no
   10537 fi
   10538 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10539 fi
   10540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10541 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10542 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10543 	CFLAGS="$xorg_testset_save_CFLAGS"
   10544 fi
   10545 
   10546 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10547 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10548 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10549 	fi
   10550 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10551 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10552 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10553 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10554 then :
   10555   printf %s "(cached) " >&6
   10556 else $as_nop
   10557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10558 /* end confdefs.h.  */
   10559 int i;
   10560 _ACEOF
   10561 if ac_fn_c_try_compile "$LINENO"
   10562 then :
   10563   xorg_cv_cc_flag_unused_command_line_argument=yes
   10564 else $as_nop
   10565   xorg_cv_cc_flag_unused_command_line_argument=no
   10566 fi
   10567 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10568 fi
   10569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10570 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10571 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10572 	CFLAGS="$xorg_testset_save_CFLAGS"
   10573 fi
   10574 
   10575 found="no"
   10576 
   10577 	if test $found = "no" ; then
   10578 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10579 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10580 		fi
   10581 
   10582 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10583 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10584 		fi
   10585 
   10586 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10587 
   10588 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10589 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10590 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10591 		if eval test \${$cacheid+y}
   10592 then :
   10593   printf %s "(cached) " >&6
   10594 else $as_nop
   10595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10596 /* end confdefs.h.  */
   10597 int i;
   10598 int
   10599 main (void)
   10600 {
   10601 
   10602   ;
   10603   return 0;
   10604 }
   10605 _ACEOF
   10606 if ac_fn_c_try_link "$LINENO"
   10607 then :
   10608   eval $cacheid=yes
   10609 else $as_nop
   10610   eval $cacheid=no
   10611 fi
   10612 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10613     conftest$ac_exeext conftest.$ac_ext
   10614 fi
   10615 
   10616 
   10617 		CFLAGS="$xorg_testset_save_CFLAGS"
   10618 
   10619 		eval supported=\$$cacheid
   10620 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10621 printf "%s\n" "$supported" >&6; }
   10622 		if test "$supported" = "yes" ; then
   10623 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10624 			found="yes"
   10625 		fi
   10626 	fi
   10627 
   10628 
   10629 fi
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 
   10637 		CWARNFLAGS="$BASE_CFLAGS"
   10638 		if  test "x$GCC" = xyes ; then
   10639 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10640 		fi
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 # Check whether --enable-strict-compilation was given.
   10650 if test ${enable_strict_compilation+y}
   10651 then :
   10652   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10653 else $as_nop
   10654   STRICT_COMPILE=no
   10655 fi
   10656 
   10657 
   10658 
   10659 
   10660 
   10661 
   10662 STRICT_CFLAGS=""
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 
   10669 
   10670 
   10671 
   10672 
   10673 
   10674 
   10675 
   10676 xorg_testset_save_CFLAGS="$CFLAGS"
   10677 
   10678 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10679 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10680 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10681 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10682 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10683 then :
   10684   printf %s "(cached) " >&6
   10685 else $as_nop
   10686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10687 /* end confdefs.h.  */
   10688 int i;
   10689 _ACEOF
   10690 if ac_fn_c_try_compile "$LINENO"
   10691 then :
   10692   xorg_cv_cc_flag_unknown_warning_option=yes
   10693 else $as_nop
   10694   xorg_cv_cc_flag_unknown_warning_option=no
   10695 fi
   10696 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10697 fi
   10698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10699 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10700 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10701 	CFLAGS="$xorg_testset_save_CFLAGS"
   10702 fi
   10703 
   10704 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10705 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10706 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10707 	fi
   10708 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10709 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10710 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10711 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10712 then :
   10713   printf %s "(cached) " >&6
   10714 else $as_nop
   10715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10716 /* end confdefs.h.  */
   10717 int i;
   10718 _ACEOF
   10719 if ac_fn_c_try_compile "$LINENO"
   10720 then :
   10721   xorg_cv_cc_flag_unused_command_line_argument=yes
   10722 else $as_nop
   10723   xorg_cv_cc_flag_unused_command_line_argument=no
   10724 fi
   10725 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10726 fi
   10727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10728 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10729 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10730 	CFLAGS="$xorg_testset_save_CFLAGS"
   10731 fi
   10732 
   10733 found="no"
   10734 
   10735 	if test $found = "no" ; then
   10736 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10737 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10738 		fi
   10739 
   10740 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10741 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10742 		fi
   10743 
   10744 		CFLAGS="$CFLAGS -pedantic"
   10745 
   10746 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10747 printf %s "checking if $CC supports -pedantic... " >&6; }
   10748 		cacheid=xorg_cv_cc_flag__pedantic
   10749 		if eval test \${$cacheid+y}
   10750 then :
   10751   printf %s "(cached) " >&6
   10752 else $as_nop
   10753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10754 /* end confdefs.h.  */
   10755 int i;
   10756 int
   10757 main (void)
   10758 {
   10759 
   10760   ;
   10761   return 0;
   10762 }
   10763 _ACEOF
   10764 if ac_fn_c_try_link "$LINENO"
   10765 then :
   10766   eval $cacheid=yes
   10767 else $as_nop
   10768   eval $cacheid=no
   10769 fi
   10770 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10771     conftest$ac_exeext conftest.$ac_ext
   10772 fi
   10773 
   10774 
   10775 		CFLAGS="$xorg_testset_save_CFLAGS"
   10776 
   10777 		eval supported=\$$cacheid
   10778 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10779 printf "%s\n" "$supported" >&6; }
   10780 		if test "$supported" = "yes" ; then
   10781 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10782 			found="yes"
   10783 		fi
   10784 	fi
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 
   10800 xorg_testset_save_CFLAGS="$CFLAGS"
   10801 
   10802 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10803 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10804 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10805 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10806 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10807 then :
   10808   printf %s "(cached) " >&6
   10809 else $as_nop
   10810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10811 /* end confdefs.h.  */
   10812 int i;
   10813 _ACEOF
   10814 if ac_fn_c_try_compile "$LINENO"
   10815 then :
   10816   xorg_cv_cc_flag_unknown_warning_option=yes
   10817 else $as_nop
   10818   xorg_cv_cc_flag_unknown_warning_option=no
   10819 fi
   10820 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10821 fi
   10822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10823 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10824 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10825 	CFLAGS="$xorg_testset_save_CFLAGS"
   10826 fi
   10827 
   10828 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10829 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10830 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10831 	fi
   10832 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10833 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10834 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10835 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10836 then :
   10837   printf %s "(cached) " >&6
   10838 else $as_nop
   10839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10840 /* end confdefs.h.  */
   10841 int i;
   10842 _ACEOF
   10843 if ac_fn_c_try_compile "$LINENO"
   10844 then :
   10845   xorg_cv_cc_flag_unused_command_line_argument=yes
   10846 else $as_nop
   10847   xorg_cv_cc_flag_unused_command_line_argument=no
   10848 fi
   10849 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10850 fi
   10851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10852 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10853 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10854 	CFLAGS="$xorg_testset_save_CFLAGS"
   10855 fi
   10856 
   10857 found="no"
   10858 
   10859 	if test $found = "no" ; then
   10860 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10861 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10862 		fi
   10863 
   10864 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10865 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10866 		fi
   10867 
   10868 		CFLAGS="$CFLAGS -Werror"
   10869 
   10870 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10871 printf %s "checking if $CC supports -Werror... " >&6; }
   10872 		cacheid=xorg_cv_cc_flag__Werror
   10873 		if eval test \${$cacheid+y}
   10874 then :
   10875   printf %s "(cached) " >&6
   10876 else $as_nop
   10877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10878 /* end confdefs.h.  */
   10879 int i;
   10880 int
   10881 main (void)
   10882 {
   10883 
   10884   ;
   10885   return 0;
   10886 }
   10887 _ACEOF
   10888 if ac_fn_c_try_link "$LINENO"
   10889 then :
   10890   eval $cacheid=yes
   10891 else $as_nop
   10892   eval $cacheid=no
   10893 fi
   10894 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10895     conftest$ac_exeext conftest.$ac_ext
   10896 fi
   10897 
   10898 
   10899 		CFLAGS="$xorg_testset_save_CFLAGS"
   10900 
   10901 		eval supported=\$$cacheid
   10902 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10903 printf "%s\n" "$supported" >&6; }
   10904 		if test "$supported" = "yes" ; then
   10905 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10906 			found="yes"
   10907 		fi
   10908 	fi
   10909 
   10910 	if test $found = "no" ; then
   10911 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10912 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10913 		fi
   10914 
   10915 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10916 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10917 		fi
   10918 
   10919 		CFLAGS="$CFLAGS -errwarn"
   10920 
   10921 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10922 printf %s "checking if $CC supports -errwarn... " >&6; }
   10923 		cacheid=xorg_cv_cc_flag__errwarn
   10924 		if eval test \${$cacheid+y}
   10925 then :
   10926   printf %s "(cached) " >&6
   10927 else $as_nop
   10928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10929 /* end confdefs.h.  */
   10930 int i;
   10931 int
   10932 main (void)
   10933 {
   10934 
   10935   ;
   10936   return 0;
   10937 }
   10938 _ACEOF
   10939 if ac_fn_c_try_link "$LINENO"
   10940 then :
   10941   eval $cacheid=yes
   10942 else $as_nop
   10943   eval $cacheid=no
   10944 fi
   10945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10946     conftest$ac_exeext conftest.$ac_ext
   10947 fi
   10948 
   10949 
   10950 		CFLAGS="$xorg_testset_save_CFLAGS"
   10951 
   10952 		eval supported=\$$cacheid
   10953 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10954 printf "%s\n" "$supported" >&6; }
   10955 		if test "$supported" = "yes" ; then
   10956 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10957 			found="yes"
   10958 		fi
   10959 	fi
   10960 
   10961 
   10962 
   10963 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10964 # activate it with -Werror, so we add it here explicitly.
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 
   10971 
   10972 
   10973 
   10974 
   10975 
   10976 
   10977 
   10978 xorg_testset_save_CFLAGS="$CFLAGS"
   10979 
   10980 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10981 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10982 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10983 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10984 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10985 then :
   10986   printf %s "(cached) " >&6
   10987 else $as_nop
   10988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10989 /* end confdefs.h.  */
   10990 int i;
   10991 _ACEOF
   10992 if ac_fn_c_try_compile "$LINENO"
   10993 then :
   10994   xorg_cv_cc_flag_unknown_warning_option=yes
   10995 else $as_nop
   10996   xorg_cv_cc_flag_unknown_warning_option=no
   10997 fi
   10998 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10999 fi
   11000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11001 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11002 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11003 	CFLAGS="$xorg_testset_save_CFLAGS"
   11004 fi
   11005 
   11006 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11007 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11008 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11009 	fi
   11010 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11011 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11012 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11013 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11014 then :
   11015   printf %s "(cached) " >&6
   11016 else $as_nop
   11017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11018 /* end confdefs.h.  */
   11019 int i;
   11020 _ACEOF
   11021 if ac_fn_c_try_compile "$LINENO"
   11022 then :
   11023   xorg_cv_cc_flag_unused_command_line_argument=yes
   11024 else $as_nop
   11025   xorg_cv_cc_flag_unused_command_line_argument=no
   11026 fi
   11027 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11028 fi
   11029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11030 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11031 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11032 	CFLAGS="$xorg_testset_save_CFLAGS"
   11033 fi
   11034 
   11035 found="no"
   11036 
   11037 	if test $found = "no" ; then
   11038 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11039 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11040 		fi
   11041 
   11042 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11043 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11044 		fi
   11045 
   11046 		CFLAGS="$CFLAGS -Werror=attributes"
   11047 
   11048 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11049 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11050 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11051 		if eval test \${$cacheid+y}
   11052 then :
   11053   printf %s "(cached) " >&6
   11054 else $as_nop
   11055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11056 /* end confdefs.h.  */
   11057 int i;
   11058 int
   11059 main (void)
   11060 {
   11061 
   11062   ;
   11063   return 0;
   11064 }
   11065 _ACEOF
   11066 if ac_fn_c_try_link "$LINENO"
   11067 then :
   11068   eval $cacheid=yes
   11069 else $as_nop
   11070   eval $cacheid=no
   11071 fi
   11072 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11073     conftest$ac_exeext conftest.$ac_ext
   11074 fi
   11075 
   11076 
   11077 		CFLAGS="$xorg_testset_save_CFLAGS"
   11078 
   11079 		eval supported=\$$cacheid
   11080 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11081 printf "%s\n" "$supported" >&6; }
   11082 		if test "$supported" = "yes" ; then
   11083 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11084 			found="yes"
   11085 		fi
   11086 	fi
   11087 
   11088 
   11089 
   11090 if test "x$STRICT_COMPILE" = "xyes"; then
   11091     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11092     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11093 fi
   11094 
   11095 
   11096 
   11097 
   11098 
   11099 
   11100 
   11101 
   11102 cat >>confdefs.h <<_ACEOF
   11103 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11104 _ACEOF
   11105 
   11106 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11107 	if test "x$PVM" = "x"; then
   11108 		PVM="0"
   11109 	fi
   11110 
   11111 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11112 
   11113 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11114 	if test "x$PVP" = "x"; then
   11115 		PVP="0"
   11116 	fi
   11117 
   11118 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11119 
   11120 
   11121 
   11122 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11123 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11124 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11125 touch \$(top_srcdir)/ChangeLog; \
   11126 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11127 
   11128 
   11129 
   11130 
   11131 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11132 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11133 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11134 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11135 touch \$(top_srcdir)/INSTALL; \
   11136 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11137 
   11138 
   11139 
   11140 
   11141 
   11142 
   11143 case $host_os in
   11144     solaris*)
   11145         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11146         # check for a man page file found in later versions that use
   11147         # traditional section numbers instead
   11148         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11149 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11150 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11151 then :
   11152   printf %s "(cached) " >&6
   11153 else $as_nop
   11154   test "$cross_compiling" = yes &&
   11155   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11156 if test -r "/usr/share/man/man7/attributes.7"; then
   11157   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11158 else
   11159   ac_cv_file__usr_share_man_man7_attributes_7=no
   11160 fi
   11161 fi
   11162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11163 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11164 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11165 then :
   11166   SYSV_MAN_SECTIONS=false
   11167 else $as_nop
   11168   SYSV_MAN_SECTIONS=true
   11169 fi
   11170 
   11171         ;;
   11172     *) SYSV_MAN_SECTIONS=false ;;
   11173 esac
   11174 
   11175 if test x$APP_MAN_SUFFIX = x    ; then
   11176     APP_MAN_SUFFIX=1
   11177 fi
   11178 if test x$APP_MAN_DIR = x    ; then
   11179     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11180 fi
   11181 
   11182 if test x$LIB_MAN_SUFFIX = x    ; then
   11183     LIB_MAN_SUFFIX=3
   11184 fi
   11185 if test x$LIB_MAN_DIR = x    ; then
   11186     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11187 fi
   11188 
   11189 if test x$FILE_MAN_SUFFIX = x    ; then
   11190     case $SYSV_MAN_SECTIONS in
   11191 	true)				FILE_MAN_SUFFIX=4  ;;
   11192 	*)				FILE_MAN_SUFFIX=5  ;;
   11193     esac
   11194 fi
   11195 if test x$FILE_MAN_DIR = x    ; then
   11196     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11197 fi
   11198 
   11199 if test x$MISC_MAN_SUFFIX = x    ; then
   11200     case $SYSV_MAN_SECTIONS in
   11201 	true)				MISC_MAN_SUFFIX=5  ;;
   11202 	*)				MISC_MAN_SUFFIX=7  ;;
   11203     esac
   11204 fi
   11205 if test x$MISC_MAN_DIR = x    ; then
   11206     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11207 fi
   11208 
   11209 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11210     case $SYSV_MAN_SECTIONS in
   11211 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11212 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11213     esac
   11214 fi
   11215 if test x$DRIVER_MAN_DIR = x    ; then
   11216     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11217 fi
   11218 
   11219 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11220     case $SYSV_MAN_SECTIONS in
   11221 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11222 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11223     esac
   11224 fi
   11225 if test x$ADMIN_MAN_DIR = x    ; then
   11226     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11227 fi
   11228 
   11229 
   11230 
   11231 
   11232 
   11233 
   11234 
   11235 
   11236 
   11237 
   11238 
   11239 
   11240 
   11241 
   11242 
   11243 XORG_MAN_PAGE="X Version 11"
   11244 
   11245 MAN_SUBSTS="\
   11246 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11247 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11248 	-e 's|__xservername__|Xorg|g' \
   11249 	-e 's|__xconfigfile__|xorg.conf|g' \
   11250 	-e 's|__projectroot__|\$(prefix)|g' \
   11251 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11252 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11253 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11254 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11255 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11256 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11257 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11258 
   11259 
   11260 
   11261 # Check whether --enable-silent-rules was given.
   11262 if test ${enable_silent_rules+y}
   11263 then :
   11264   enableval=$enable_silent_rules;
   11265 fi
   11266 
   11267 case $enable_silent_rules in # (((
   11268   yes) AM_DEFAULT_VERBOSITY=0;;
   11269    no) AM_DEFAULT_VERBOSITY=1;;
   11270     *) AM_DEFAULT_VERBOSITY=0;;
   11271 esac
   11272 am_make=${MAKE-make}
   11273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11274 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11275 if test ${am_cv_make_support_nested_variables+y}
   11276 then :
   11277   printf %s "(cached) " >&6
   11278 else $as_nop
   11279   if printf "%s\n" 'TRUE=$(BAR$(V))
   11280 BAR0=false
   11281 BAR1=true
   11282 V=1
   11283 am__doit:
   11284 	@$(TRUE)
   11285 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11286   am_cv_make_support_nested_variables=yes
   11287 else
   11288   am_cv_make_support_nested_variables=no
   11289 fi
   11290 fi
   11291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11292 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11293 if test $am_cv_make_support_nested_variables = yes; then
   11294     AM_V='$(V)'
   11295   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11296 else
   11297   AM_V=$AM_DEFAULT_VERBOSITY
   11298   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11299 fi
   11300 AM_BACKSLASH='\'
   11301 
   11302 
   11303 
   11304 
   11305 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
   11306 if test "x$ac_cv_func_mkstemp" = xyes
   11307 then :
   11308   printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h
   11309 
   11310 fi
   11311 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
   11312 if test "x$ac_cv_func_asprintf" = xyes
   11313 then :
   11314   printf "%s\n" "#define HAVE_ASPRINTF 1" >>confdefs.h
   11315 
   11316 fi
   11317 ac_fn_c_check_func "$LINENO" "reallocarray" "ac_cv_func_reallocarray"
   11318 if test "x$ac_cv_func_reallocarray" = xyes
   11319 then :
   11320   printf "%s\n" "#define HAVE_REALLOCARRAY 1" >>confdefs.h
   11321 
   11322 fi
   11323 
   11324 
   11325 # Find MAXHOSTNAMELEN definition
   11326 # Common hidey holes:
   11327 #  BSD & Linux - <sys/param.h>
   11328 #  Solaris - <netdb.h>
   11329 
   11330 ac_fn_check_decl "$LINENO" "MAXHOSTNAMELEN" "ac_cv_have_decl_MAXHOSTNAMELEN" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   11331 if test "x$ac_cv_have_decl_MAXHOSTNAMELEN" = xyes
   11332 then :
   11333   FOUND_MAXHOSTNAMELEN=yes
   11334 fi
   11335 
   11336 if test x$FOUND_MAXHOSTNAMELEN != xyes ; then
   11337 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for header that defines MAXHOSTNAMELEN" >&5
   11338 printf %s "checking for header that defines MAXHOSTNAMELEN... " >&6; }
   11339 
   11340 	FOUND_MAXHOSTNAMELEN='not found'
   11341 
   11342 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11343 /* end confdefs.h.  */
   11344 #include <sys/param.h>
   11345 int
   11346 main (void)
   11347 {
   11348 int h = MAXHOSTNAMELEN;
   11349   ;
   11350   return 0;
   11351 }
   11352 _ACEOF
   11353 if ac_fn_c_try_compile "$LINENO"
   11354 then :
   11355   FOUND_MAXHOSTNAMELEN='sys/param.h'
   11356 
   11357 printf "%s\n" "#define NEED_SYS_PARAM_H 1" >>confdefs.h
   11358 
   11359 fi
   11360 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11361 
   11362 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11363 /* end confdefs.h.  */
   11364 #include <netdb.h>
   11365 int
   11366 main (void)
   11367 {
   11368 int h = MAXHOSTNAMELEN;
   11369   ;
   11370   return 0;
   11371 }
   11372 _ACEOF
   11373 if ac_fn_c_try_compile "$LINENO"
   11374 then :
   11375   FOUND_MAXHOSTNAMELEN='netdb.h'
   11376 
   11377 printf "%s\n" "#define NEED_NETDB_H 1" >>confdefs.h
   11378 
   11379 fi
   11380 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11381 
   11382 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOUND_MAXHOSTNAMELEN" >&5
   11383 printf "%s\n" "$FOUND_MAXHOSTNAMELEN" >&6; }
   11384 fi
   11385 
   11386 # xrdb needs to know where to find cpp at runtime - previously set as CppCmd
   11387 # in Imake config files for each OS
   11388 
   11389 # Check whether --with-cpp was given.
   11390 if test ${with_cpp+y}
   11391 then :
   11392   withval=$with_cpp; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cpp" >&5
   11393 printf %s "checking for cpp... " >&6; }
   11394 	CPP_PATH=$withval
   11395 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: --with-cpp specified $CPP_PATH" >&5
   11396 printf "%s\n" "--with-cpp specified $CPP_PATH" >&6; }
   11397 else $as_nop
   11398   # Extract the first word of "cpp", so it can be a program name with args.
   11399 set dummy cpp; ac_word=$2
   11400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11401 printf %s "checking for $ac_word... " >&6; }
   11402 if test ${ac_cv_path_CPP_PATH+y}
   11403 then :
   11404   printf %s "(cached) " >&6
   11405 else $as_nop
   11406   case $CPP_PATH in
   11407   [\\/]* | ?:[\\/]*)
   11408   ac_cv_path_CPP_PATH="$CPP_PATH" # Let the user override the test with a path.
   11409   ;;
   11410   *)
   11411   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11412 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   11413 for as_dir in $as_dummy
   11414 do
   11415   IFS=$as_save_IFS
   11416   case $as_dir in #(((
   11417     '') as_dir=./ ;;
   11418     */) ;;
   11419     *) as_dir=$as_dir/ ;;
   11420   esac
   11421     for ac_exec_ext in '' $ac_executable_extensions; do
   11422   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11423     ac_cv_path_CPP_PATH="$as_dir$ac_word$ac_exec_ext"
   11424     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11425     break 2
   11426   fi
   11427 done
   11428   done
   11429 IFS=$as_save_IFS
   11430 
   11431   test -z "$ac_cv_path_CPP_PATH" && ac_cv_path_CPP_PATH="cpp"
   11432   ;;
   11433 esac
   11434 fi
   11435 CPP_PATH=$ac_cv_path_CPP_PATH
   11436 if test -n "$CPP_PATH"; then
   11437   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP_PATH" >&5
   11438 printf "%s\n" "$CPP_PATH" >&6; }
   11439 else
   11440   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11441 printf "%s\n" "no" >&6; }
   11442 fi
   11443 
   11444 
   11445 fi
   11446 
   11447 CPP_PATH=`echo ${CPP_PATH} | sed 's/,/\\",\\"/g'`
   11448 
   11449 printf "%s\n" "#define CPP \"$CPP_PATH\"" >>confdefs.h
   11450 
   11451 
   11452 # Checks for pkg-config packages
   11453 
   11454 pkg_failed=no
   11455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRDB" >&5
   11456 printf %s "checking for XRDB... " >&6; }
   11457 
   11458 if test -n "$XRDB_CFLAGS"; then
   11459     pkg_cv_XRDB_CFLAGS="$XRDB_CFLAGS"
   11460  elif test -n "$PKG_CONFIG"; then
   11461     if test -n "$PKG_CONFIG" && \
   11462     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xmuu x11 xproto >= 7.0.25\""; } >&5
   11463   ($PKG_CONFIG --exists --print-errors "xmuu x11 xproto >= 7.0.25") 2>&5
   11464   ac_status=$?
   11465   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11466   test $ac_status = 0; }; then
   11467   pkg_cv_XRDB_CFLAGS=`$PKG_CONFIG --cflags "xmuu x11 xproto >= 7.0.25" 2>/dev/null`
   11468 		      test "x$?" != "x0" && pkg_failed=yes
   11469 else
   11470   pkg_failed=yes
   11471 fi
   11472  else
   11473     pkg_failed=untried
   11474 fi
   11475 if test -n "$XRDB_LIBS"; then
   11476     pkg_cv_XRDB_LIBS="$XRDB_LIBS"
   11477  elif test -n "$PKG_CONFIG"; then
   11478     if test -n "$PKG_CONFIG" && \
   11479     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xmuu x11 xproto >= 7.0.25\""; } >&5
   11480   ($PKG_CONFIG --exists --print-errors "xmuu x11 xproto >= 7.0.25") 2>&5
   11481   ac_status=$?
   11482   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11483   test $ac_status = 0; }; then
   11484   pkg_cv_XRDB_LIBS=`$PKG_CONFIG --libs "xmuu x11 xproto >= 7.0.25" 2>/dev/null`
   11485 		      test "x$?" != "x0" && pkg_failed=yes
   11486 else
   11487   pkg_failed=yes
   11488 fi
   11489  else
   11490     pkg_failed=untried
   11491 fi
   11492 
   11493 
   11494 
   11495 if test $pkg_failed = yes; then
   11496    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11497 printf "%s\n" "no" >&6; }
   11498 
   11499 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11500         _pkg_short_errors_supported=yes
   11501 else
   11502         _pkg_short_errors_supported=no
   11503 fi
   11504         if test $_pkg_short_errors_supported = yes; then
   11505 	        XRDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xmuu x11 xproto >= 7.0.25" 2>&1`
   11506         else
   11507 	        XRDB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xmuu x11 xproto >= 7.0.25" 2>&1`
   11508         fi
   11509 	# Put the nasty error message in config.log where it belongs
   11510 	echo "$XRDB_PKG_ERRORS" >&5
   11511 
   11512 	as_fn_error $? "Package requirements (xmuu x11 xproto >= 7.0.25) were not met:
   11513 
   11514 $XRDB_PKG_ERRORS
   11515 
   11516 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11517 installed software in a non-standard prefix.
   11518 
   11519 Alternatively, you may set the environment variables XRDB_CFLAGS
   11520 and XRDB_LIBS to avoid the need to call pkg-config.
   11521 See the pkg-config man page for more details." "$LINENO" 5
   11522 elif test $pkg_failed = untried; then
   11523      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11524 printf "%s\n" "no" >&6; }
   11525 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11526 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   11527 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11528 is in your PATH or set the PKG_CONFIG environment variable to the full
   11529 path to pkg-config.
   11530 
   11531 Alternatively, you may set the environment variables XRDB_CFLAGS
   11532 and XRDB_LIBS to avoid the need to call pkg-config.
   11533 See the pkg-config man page for more details.
   11534 
   11535 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11536 See \`config.log' for more details" "$LINENO" 5; }
   11537 else
   11538 	XRDB_CFLAGS=$pkg_cv_XRDB_CFLAGS
   11539 	XRDB_LIBS=$pkg_cv_XRDB_LIBS
   11540         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11541 printf "%s\n" "yes" >&6; }
   11542 
   11543 fi
   11544 
   11545 ac_config_files="$ac_config_files Makefile man/Makefile"
   11546 
   11547 cat >confcache <<\_ACEOF
   11548 # This file is a shell script that caches the results of configure
   11549 # tests run on this system so they can be shared between configure
   11550 # scripts and configure runs, see configure's option --config-cache.
   11551 # It is not useful on other systems.  If it contains results you don't
   11552 # want to keep, you may remove or edit it.
   11553 #
   11554 # config.status only pays attention to the cache file if you give it
   11555 # the --recheck option to rerun configure.
   11556 #
   11557 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11558 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11559 # following values.
   11560 
   11561 _ACEOF
   11562 
   11563 # The following way of writing the cache mishandles newlines in values,
   11564 # but we know of no workaround that is simple, portable, and efficient.
   11565 # So, we kill variables containing newlines.
   11566 # Ultrix sh set writes to stderr and can't be redirected directly,
   11567 # and sets the high bit in the cache file unless we assign to the vars.
   11568 (
   11569   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11570     eval ac_val=\$$ac_var
   11571     case $ac_val in #(
   11572     *${as_nl}*)
   11573       case $ac_var in #(
   11574       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11575 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11576       esac
   11577       case $ac_var in #(
   11578       _ | IFS | as_nl) ;; #(
   11579       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11580       *) { eval $ac_var=; unset $ac_var;} ;;
   11581       esac ;;
   11582     esac
   11583   done
   11584 
   11585   (set) 2>&1 |
   11586     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11587     *${as_nl}ac_space=\ *)
   11588       # `set' does not quote correctly, so add quotes: double-quote
   11589       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11590       sed -n \
   11591 	"s/'/'\\\\''/g;
   11592 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11593       ;; #(
   11594     *)
   11595       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11596       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11597       ;;
   11598     esac |
   11599     sort
   11600 ) |
   11601   sed '
   11602      /^ac_cv_env_/b end
   11603      t clear
   11604      :clear
   11605      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11606      t end
   11607      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11608      :end' >>confcache
   11609 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11610   if test -w "$cache_file"; then
   11611     if test "x$cache_file" != "x/dev/null"; then
   11612       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11613 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11614       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11615 	cat confcache >"$cache_file"
   11616       else
   11617         case $cache_file in #(
   11618         */* | ?:*)
   11619 	  mv -f confcache "$cache_file"$$ &&
   11620 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11621         *)
   11622 	  mv -f confcache "$cache_file" ;;
   11623 	esac
   11624       fi
   11625     fi
   11626   else
   11627     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11628 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11629   fi
   11630 fi
   11631 rm -f confcache
   11632 
   11633 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11634 # Let make expand exec_prefix.
   11635 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11636 
   11637 DEFS=-DHAVE_CONFIG_H
   11638 
   11639 ac_libobjs=
   11640 ac_ltlibobjs=
   11641 U=
   11642 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11643   # 1. Remove the extension, and $U if already installed.
   11644   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11645   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   11646   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11647   #    will be set to the directory where LIBOBJS objects are built.
   11648   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11649   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11650 done
   11651 LIBOBJS=$ac_libobjs
   11652 
   11653 LTLIBOBJS=$ac_ltlibobjs
   11654 
   11655 
   11656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11657 printf %s "checking that generated files are newer than configure... " >&6; }
   11658    if test -n "$am_sleep_pid"; then
   11659      # Hide warnings about reused PIDs.
   11660      wait $am_sleep_pid 2>/dev/null
   11661    fi
   11662    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11663 printf "%s\n" "done" >&6; }
   11664 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11665   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11666 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11667 fi
   11668 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11669   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11670 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11671 fi
   11672  if test -n "$EXEEXT"; then
   11673   am__EXEEXT_TRUE=
   11674   am__EXEEXT_FALSE='#'
   11675 else
   11676   am__EXEEXT_TRUE='#'
   11677   am__EXEEXT_FALSE=
   11678 fi
   11679 
   11680 
   11681 : "${CONFIG_STATUS=./config.status}"
   11682 ac_write_fail=0
   11683 ac_clean_files_save=$ac_clean_files
   11684 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11686 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   11687 as_write_fail=0
   11688 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11689 #! $SHELL
   11690 # Generated by $as_me.
   11691 # Run this file to recreate the current configuration.
   11692 # Compiler output produced by configure, useful for debugging
   11693 # configure, is in config.log if it exists.
   11694 
   11695 debug=false
   11696 ac_cs_recheck=false
   11697 ac_cs_silent=false
   11698 
   11699 SHELL=\${CONFIG_SHELL-$SHELL}
   11700 export SHELL
   11701 _ASEOF
   11702 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11703 ## -------------------- ##
   11704 ## M4sh Initialization. ##
   11705 ## -------------------- ##
   11706 
   11707 # Be more Bourne compatible
   11708 DUALCASE=1; export DUALCASE # for MKS sh
   11709 as_nop=:
   11710 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   11711 then :
   11712   emulate sh
   11713   NULLCMD=:
   11714   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11715   # is contrary to our usage.  Disable this feature.
   11716   alias -g '${1+"$@"}'='"$@"'
   11717   setopt NO_GLOB_SUBST
   11718 else $as_nop
   11719   case `(set -o) 2>/dev/null` in #(
   11720   *posix*) :
   11721     set -o posix ;; #(
   11722   *) :
   11723      ;;
   11724 esac
   11725 fi
   11726 
   11727 
   11728 
   11729 # Reset variables that may have inherited troublesome values from
   11730 # the environment.
   11731 
   11732 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   11733 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   11734 # side effect of setting IFS to empty, thus disabling word splitting.)
   11735 # Quoting is to prevent editors from complaining about space-tab.
   11736 as_nl='
   11737 '
   11738 export as_nl
   11739 IFS=" ""	$as_nl"
   11740 
   11741 PS1='$ '
   11742 PS2='> '
   11743 PS4='+ '
   11744 
   11745 # Ensure predictable behavior from utilities with locale-dependent output.
   11746 LC_ALL=C
   11747 export LC_ALL
   11748 LANGUAGE=C
   11749 export LANGUAGE
   11750 
   11751 # We cannot yet rely on "unset" to work, but we need these variables
   11752 # to be unset--not just set to an empty or harmless value--now, to
   11753 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   11754 # also avoids known problems related to "unset" and subshell syntax
   11755 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   11756 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   11757 do eval test \${$as_var+y} \
   11758   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11759 done
   11760 
   11761 # Ensure that fds 0, 1, and 2 are open.
   11762 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   11763 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   11764 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   11765 
   11766 # The user is always right.
   11767 if ${PATH_SEPARATOR+false} :; then
   11768   PATH_SEPARATOR=:
   11769   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11770     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11771       PATH_SEPARATOR=';'
   11772   }
   11773 fi
   11774 
   11775 
   11776 # Find who we are.  Look in the path if we contain no directory separator.
   11777 as_myself=
   11778 case $0 in #((
   11779   *[\\/]* ) as_myself=$0 ;;
   11780   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11781 for as_dir in $PATH
   11782 do
   11783   IFS=$as_save_IFS
   11784   case $as_dir in #(((
   11785     '') as_dir=./ ;;
   11786     */) ;;
   11787     *) as_dir=$as_dir/ ;;
   11788   esac
   11789     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   11790   done
   11791 IFS=$as_save_IFS
   11792 
   11793      ;;
   11794 esac
   11795 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11796 # in which case we are not to be found in the path.
   11797 if test "x$as_myself" = x; then
   11798   as_myself=$0
   11799 fi
   11800 if test ! -f "$as_myself"; then
   11801   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11802   exit 1
   11803 fi
   11804 
   11805 
   11806 
   11807 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11808 # ----------------------------------------
   11809 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11810 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11811 # script with STATUS, using 1 if that was 0.
   11812 as_fn_error ()
   11813 {
   11814   as_status=$1; test $as_status -eq 0 && as_status=1
   11815   if test "$4"; then
   11816     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11817     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11818   fi
   11819   printf "%s\n" "$as_me: error: $2" >&2
   11820   as_fn_exit $as_status
   11821 } # as_fn_error
   11822 
   11823 
   11824 
   11825 # as_fn_set_status STATUS
   11826 # -----------------------
   11827 # Set $? to STATUS, without forking.
   11828 as_fn_set_status ()
   11829 {
   11830   return $1
   11831 } # as_fn_set_status
   11832 
   11833 # as_fn_exit STATUS
   11834 # -----------------
   11835 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11836 as_fn_exit ()
   11837 {
   11838   set +e
   11839   as_fn_set_status $1
   11840   exit $1
   11841 } # as_fn_exit
   11842 
   11843 # as_fn_unset VAR
   11844 # ---------------
   11845 # Portably unset VAR.
   11846 as_fn_unset ()
   11847 {
   11848   { eval $1=; unset $1;}
   11849 }
   11850 as_unset=as_fn_unset
   11851 
   11852 # as_fn_append VAR VALUE
   11853 # ----------------------
   11854 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11855 # advantage of any shell optimizations that allow amortized linear growth over
   11856 # repeated appends, instead of the typical quadratic growth present in naive
   11857 # implementations.
   11858 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   11859 then :
   11860   eval 'as_fn_append ()
   11861   {
   11862     eval $1+=\$2
   11863   }'
   11864 else $as_nop
   11865   as_fn_append ()
   11866   {
   11867     eval $1=\$$1\$2
   11868   }
   11869 fi # as_fn_append
   11870 
   11871 # as_fn_arith ARG...
   11872 # ------------------
   11873 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11874 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11875 # must be portable across $(()) and expr.
   11876 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   11877 then :
   11878   eval 'as_fn_arith ()
   11879   {
   11880     as_val=$(( $* ))
   11881   }'
   11882 else $as_nop
   11883   as_fn_arith ()
   11884   {
   11885     as_val=`expr "$@" || test $? -eq 1`
   11886   }
   11887 fi # as_fn_arith
   11888 
   11889 
   11890 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11891    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11892   as_expr=expr
   11893 else
   11894   as_expr=false
   11895 fi
   11896 
   11897 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11898   as_basename=basename
   11899 else
   11900   as_basename=false
   11901 fi
   11902 
   11903 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11904   as_dirname=dirname
   11905 else
   11906   as_dirname=false
   11907 fi
   11908 
   11909 as_me=`$as_basename -- "$0" ||
   11910 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11911 	 X"$0" : 'X\(//\)$' \| \
   11912 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11913 printf "%s\n" X/"$0" |
   11914     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11915 	    s//\1/
   11916 	    q
   11917 	  }
   11918 	  /^X\/\(\/\/\)$/{
   11919 	    s//\1/
   11920 	    q
   11921 	  }
   11922 	  /^X\/\(\/\).*/{
   11923 	    s//\1/
   11924 	    q
   11925 	  }
   11926 	  s/.*/./; q'`
   11927 
   11928 # Avoid depending upon Character Ranges.
   11929 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11930 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11931 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11932 as_cr_digits='0123456789'
   11933 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11934 
   11935 
   11936 # Determine whether it's possible to make 'echo' print without a newline.
   11937 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   11938 # for compatibility with existing Makefiles.
   11939 ECHO_C= ECHO_N= ECHO_T=
   11940 case `echo -n x` in #(((((
   11941 -n*)
   11942   case `echo 'xy\c'` in
   11943   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11944   xy)  ECHO_C='\c';;
   11945   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11946        ECHO_T='	';;
   11947   esac;;
   11948 *)
   11949   ECHO_N='-n';;
   11950 esac
   11951 
   11952 # For backward compatibility with old third-party macros, we provide
   11953 # the shell variables $as_echo and $as_echo_n.  New code should use
   11954 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   11955 as_echo='printf %s\n'
   11956 as_echo_n='printf %s'
   11957 
   11958 rm -f conf$$ conf$$.exe conf$$.file
   11959 if test -d conf$$.dir; then
   11960   rm -f conf$$.dir/conf$$.file
   11961 else
   11962   rm -f conf$$.dir
   11963   mkdir conf$$.dir 2>/dev/null
   11964 fi
   11965 if (echo >conf$$.file) 2>/dev/null; then
   11966   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11967     as_ln_s='ln -s'
   11968     # ... but there are two gotchas:
   11969     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11970     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11971     # In both cases, we have to default to `cp -pR'.
   11972     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11973       as_ln_s='cp -pR'
   11974   elif ln conf$$.file conf$$ 2>/dev/null; then
   11975     as_ln_s=ln
   11976   else
   11977     as_ln_s='cp -pR'
   11978   fi
   11979 else
   11980   as_ln_s='cp -pR'
   11981 fi
   11982 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11983 rmdir conf$$.dir 2>/dev/null
   11984 
   11985 
   11986 # as_fn_mkdir_p
   11987 # -------------
   11988 # Create "$as_dir" as a directory, including parents if necessary.
   11989 as_fn_mkdir_p ()
   11990 {
   11991 
   11992   case $as_dir in #(
   11993   -*) as_dir=./$as_dir;;
   11994   esac
   11995   test -d "$as_dir" || eval $as_mkdir_p || {
   11996     as_dirs=
   11997     while :; do
   11998       case $as_dir in #(
   11999       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12000       *) as_qdir=$as_dir;;
   12001       esac
   12002       as_dirs="'$as_qdir' $as_dirs"
   12003       as_dir=`$as_dirname -- "$as_dir" ||
   12004 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12005 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12006 	 X"$as_dir" : 'X\(//\)$' \| \
   12007 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12008 printf "%s\n" X"$as_dir" |
   12009     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12010 	    s//\1/
   12011 	    q
   12012 	  }
   12013 	  /^X\(\/\/\)[^/].*/{
   12014 	    s//\1/
   12015 	    q
   12016 	  }
   12017 	  /^X\(\/\/\)$/{
   12018 	    s//\1/
   12019 	    q
   12020 	  }
   12021 	  /^X\(\/\).*/{
   12022 	    s//\1/
   12023 	    q
   12024 	  }
   12025 	  s/.*/./; q'`
   12026       test -d "$as_dir" && break
   12027     done
   12028     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12029   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12030 
   12031 
   12032 } # as_fn_mkdir_p
   12033 if mkdir -p . 2>/dev/null; then
   12034   as_mkdir_p='mkdir -p "$as_dir"'
   12035 else
   12036   test -d ./-p && rmdir ./-p
   12037   as_mkdir_p=false
   12038 fi
   12039 
   12040 
   12041 # as_fn_executable_p FILE
   12042 # -----------------------
   12043 # Test if FILE is an executable regular file.
   12044 as_fn_executable_p ()
   12045 {
   12046   test -f "$1" && test -x "$1"
   12047 } # as_fn_executable_p
   12048 as_test_x='test -x'
   12049 as_executable_p=as_fn_executable_p
   12050 
   12051 # Sed expression to map a string onto a valid CPP name.
   12052 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   12053 
   12054 # Sed expression to map a string onto a valid variable name.
   12055 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   12056 
   12057 
   12058 exec 6>&1
   12059 ## ----------------------------------- ##
   12060 ## Main body of $CONFIG_STATUS script. ##
   12061 ## ----------------------------------- ##
   12062 _ASEOF
   12063 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12064 
   12065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12066 # Save the log message, to keep $0 and so on meaningful, and to
   12067 # report actual input values of CONFIG_FILES etc. instead of their
   12068 # values after options handling.
   12069 ac_log="
   12070 This file was extended by xrdb $as_me 1.2.2, which was
   12071 generated by GNU Autoconf 2.71.  Invocation command line was
   12072 
   12073   CONFIG_FILES    = $CONFIG_FILES
   12074   CONFIG_HEADERS  = $CONFIG_HEADERS
   12075   CONFIG_LINKS    = $CONFIG_LINKS
   12076   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12077   $ $0 $@
   12078 
   12079 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12080 "
   12081 
   12082 _ACEOF
   12083 
   12084 case $ac_config_files in *"
   12085 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12086 esac
   12087 
   12088 case $ac_config_headers in *"
   12089 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12090 esac
   12091 
   12092 
   12093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12094 # Files that config.status was made for.
   12095 config_files="$ac_config_files"
   12096 config_headers="$ac_config_headers"
   12097 config_commands="$ac_config_commands"
   12098 
   12099 _ACEOF
   12100 
   12101 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12102 ac_cs_usage="\
   12103 \`$as_me' instantiates files and other configuration actions
   12104 from templates according to the current configuration.  Unless the files
   12105 and actions are specified as TAGs, all are instantiated by default.
   12106 
   12107 Usage: $0 [OPTION]... [TAG]...
   12108 
   12109   -h, --help       print this help, then exit
   12110   -V, --version    print version number and configuration settings, then exit
   12111       --config     print configuration, then exit
   12112   -q, --quiet, --silent
   12113                    do not print progress messages
   12114   -d, --debug      don't remove temporary files
   12115       --recheck    update $as_me by reconfiguring in the same conditions
   12116       --file=FILE[:TEMPLATE]
   12117                    instantiate the configuration file FILE
   12118       --header=FILE[:TEMPLATE]
   12119                    instantiate the configuration header FILE
   12120 
   12121 Configuration files:
   12122 $config_files
   12123 
   12124 Configuration headers:
   12125 $config_headers
   12126 
   12127 Configuration commands:
   12128 $config_commands
   12129 
   12130 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xrdb/issues>."
   12131 
   12132 _ACEOF
   12133 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12134 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12136 ac_cs_config='$ac_cs_config_escaped'
   12137 ac_cs_version="\\
   12138 xrdb config.status 1.2.2
   12139 configured by $0, generated by GNU Autoconf 2.71,
   12140   with options \\"\$ac_cs_config\\"
   12141 
   12142 Copyright (C) 2021 Free Software Foundation, Inc.
   12143 This config.status script is free software; the Free Software Foundation
   12144 gives unlimited permission to copy, distribute and modify it."
   12145 
   12146 ac_pwd='$ac_pwd'
   12147 srcdir='$srcdir'
   12148 INSTALL='$INSTALL'
   12149 MKDIR_P='$MKDIR_P'
   12150 AWK='$AWK'
   12151 test -n "\$AWK" || AWK=awk
   12152 _ACEOF
   12153 
   12154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12155 # The default lists apply if the user does not specify any file.
   12156 ac_need_defaults=:
   12157 while test $# != 0
   12158 do
   12159   case $1 in
   12160   --*=?*)
   12161     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12162     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12163     ac_shift=:
   12164     ;;
   12165   --*=)
   12166     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12167     ac_optarg=
   12168     ac_shift=:
   12169     ;;
   12170   *)
   12171     ac_option=$1
   12172     ac_optarg=$2
   12173     ac_shift=shift
   12174     ;;
   12175   esac
   12176 
   12177   case $ac_option in
   12178   # Handling of the options.
   12179   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12180     ac_cs_recheck=: ;;
   12181   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12182     printf "%s\n" "$ac_cs_version"; exit ;;
   12183   --config | --confi | --conf | --con | --co | --c )
   12184     printf "%s\n" "$ac_cs_config"; exit ;;
   12185   --debug | --debu | --deb | --de | --d | -d )
   12186     debug=: ;;
   12187   --file | --fil | --fi | --f )
   12188     $ac_shift
   12189     case $ac_optarg in
   12190     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12191     '') as_fn_error $? "missing file argument" ;;
   12192     esac
   12193     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12194     ac_need_defaults=false;;
   12195   --header | --heade | --head | --hea )
   12196     $ac_shift
   12197     case $ac_optarg in
   12198     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12199     esac
   12200     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12201     ac_need_defaults=false;;
   12202   --he | --h)
   12203     # Conflict between --help and --header
   12204     as_fn_error $? "ambiguous option: \`$1'
   12205 Try \`$0 --help' for more information.";;
   12206   --help | --hel | -h )
   12207     printf "%s\n" "$ac_cs_usage"; exit ;;
   12208   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12209   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12210     ac_cs_silent=: ;;
   12211 
   12212   # This is an error.
   12213   -*) as_fn_error $? "unrecognized option: \`$1'
   12214 Try \`$0 --help' for more information." ;;
   12215 
   12216   *) as_fn_append ac_config_targets " $1"
   12217      ac_need_defaults=false ;;
   12218 
   12219   esac
   12220   shift
   12221 done
   12222 
   12223 ac_configure_extra_args=
   12224 
   12225 if $ac_cs_silent; then
   12226   exec 6>/dev/null
   12227   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12228 fi
   12229 
   12230 _ACEOF
   12231 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12232 if \$ac_cs_recheck; then
   12233   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12234   shift
   12235   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12236   CONFIG_SHELL='$SHELL'
   12237   export CONFIG_SHELL
   12238   exec "\$@"
   12239 fi
   12240 
   12241 _ACEOF
   12242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12243 exec 5>>config.log
   12244 {
   12245   echo
   12246   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12247 ## Running $as_me. ##
   12248 _ASBOX
   12249   printf "%s\n" "$ac_log"
   12250 } >&5
   12251 
   12252 _ACEOF
   12253 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12254 #
   12255 # INIT-COMMANDS
   12256 #
   12257 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12258 
   12259 _ACEOF
   12260 
   12261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12262 
   12263 # Handling of arguments.
   12264 for ac_config_target in $ac_config_targets
   12265 do
   12266   case $ac_config_target in
   12267     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12268     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12269     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12270     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12271 
   12272   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12273   esac
   12274 done
   12275 
   12276 
   12277 # If the user did not use the arguments to specify the items to instantiate,
   12278 # then the envvar interface is used.  Set only those that are not.
   12279 # We use the long form for the default assignment because of an extremely
   12280 # bizarre bug on SunOS 4.1.3.
   12281 if $ac_need_defaults; then
   12282   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12283   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12284   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12285 fi
   12286 
   12287 # Have a temporary directory for convenience.  Make it in the build tree
   12288 # simply because there is no reason against having it here, and in addition,
   12289 # creating and moving files from /tmp can sometimes cause problems.
   12290 # Hook for its removal unless debugging.
   12291 # Note that there is a small window in which the directory will not be cleaned:
   12292 # after its creation but before its name has been assigned to `$tmp'.
   12293 $debug ||
   12294 {
   12295   tmp= ac_tmp=
   12296   trap 'exit_status=$?
   12297   : "${ac_tmp:=$tmp}"
   12298   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12299 ' 0
   12300   trap 'as_fn_exit 1' 1 2 13 15
   12301 }
   12302 # Create a (secure) tmp directory for tmp files.
   12303 
   12304 {
   12305   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12306   test -d "$tmp"
   12307 }  ||
   12308 {
   12309   tmp=./conf$$-$RANDOM
   12310   (umask 077 && mkdir "$tmp")
   12311 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12312 ac_tmp=$tmp
   12313 
   12314 # Set up the scripts for CONFIG_FILES section.
   12315 # No need to generate them if there are no CONFIG_FILES.
   12316 # This happens for instance with `./config.status config.h'.
   12317 if test -n "$CONFIG_FILES"; then
   12318 
   12319 
   12320 ac_cr=`echo X | tr X '\015'`
   12321 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12322 # But we know of no other shell where ac_cr would be empty at this
   12323 # point, so we can use a bashism as a fallback.
   12324 if test "x$ac_cr" = x; then
   12325   eval ac_cr=\$\'\\r\'
   12326 fi
   12327 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12328 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12329   ac_cs_awk_cr='\\r'
   12330 else
   12331   ac_cs_awk_cr=$ac_cr
   12332 fi
   12333 
   12334 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12335 _ACEOF
   12336 
   12337 
   12338 {
   12339   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12340   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12341   echo "_ACEOF"
   12342 } >conf$$subs.sh ||
   12343   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12344 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12345 ac_delim='%!_!# '
   12346 for ac_last_try in false false false false false :; do
   12347   . ./conf$$subs.sh ||
   12348     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12349 
   12350   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12351   if test $ac_delim_n = $ac_delim_num; then
   12352     break
   12353   elif $ac_last_try; then
   12354     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12355   else
   12356     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12357   fi
   12358 done
   12359 rm -f conf$$subs.sh
   12360 
   12361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12362 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12363 _ACEOF
   12364 sed -n '
   12365 h
   12366 s/^/S["/; s/!.*/"]=/
   12367 p
   12368 g
   12369 s/^[^!]*!//
   12370 :repl
   12371 t repl
   12372 s/'"$ac_delim"'$//
   12373 t delim
   12374 :nl
   12375 h
   12376 s/\(.\{148\}\)..*/\1/
   12377 t more1
   12378 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12379 p
   12380 n
   12381 b repl
   12382 :more1
   12383 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12384 p
   12385 g
   12386 s/.\{148\}//
   12387 t nl
   12388 :delim
   12389 h
   12390 s/\(.\{148\}\)..*/\1/
   12391 t more2
   12392 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12393 p
   12394 b
   12395 :more2
   12396 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12397 p
   12398 g
   12399 s/.\{148\}//
   12400 t delim
   12401 ' <conf$$subs.awk | sed '
   12402 /^[^""]/{
   12403   N
   12404   s/\n//
   12405 }
   12406 ' >>$CONFIG_STATUS || ac_write_fail=1
   12407 rm -f conf$$subs.awk
   12408 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12409 _ACAWK
   12410 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12411   for (key in S) S_is_set[key] = 1
   12412   FS = ""
   12413 
   12414 }
   12415 {
   12416   line = $ 0
   12417   nfields = split(line, field, "@")
   12418   substed = 0
   12419   len = length(field[1])
   12420   for (i = 2; i < nfields; i++) {
   12421     key = field[i]
   12422     keylen = length(key)
   12423     if (S_is_set[key]) {
   12424       value = S[key]
   12425       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12426       len += length(value) + length(field[++i])
   12427       substed = 1
   12428     } else
   12429       len += 1 + keylen
   12430   }
   12431 
   12432   print line
   12433 }
   12434 
   12435 _ACAWK
   12436 _ACEOF
   12437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12438 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12439   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12440 else
   12441   cat
   12442 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12443   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12444 _ACEOF
   12445 
   12446 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12447 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12448 # trailing colons and then remove the whole line if VPATH becomes empty
   12449 # (actually we leave an empty line to preserve line numbers).
   12450 if test "x$srcdir" = x.; then
   12451   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12452 h
   12453 s///
   12454 s/^/:/
   12455 s/[	 ]*$/:/
   12456 s/:\$(srcdir):/:/g
   12457 s/:\${srcdir}:/:/g
   12458 s/:@srcdir@:/:/g
   12459 s/^:*//
   12460 s/:*$//
   12461 x
   12462 s/\(=[	 ]*\).*/\1/
   12463 G
   12464 s/\n//
   12465 s/^[^=]*=[	 ]*$//
   12466 }'
   12467 fi
   12468 
   12469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12470 fi # test -n "$CONFIG_FILES"
   12471 
   12472 # Set up the scripts for CONFIG_HEADERS section.
   12473 # No need to generate them if there are no CONFIG_HEADERS.
   12474 # This happens for instance with `./config.status Makefile'.
   12475 if test -n "$CONFIG_HEADERS"; then
   12476 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12477 BEGIN {
   12478 _ACEOF
   12479 
   12480 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12481 # here-document in config.status, that substitutes the proper values into
   12482 # config.h.in to produce config.h.
   12483 
   12484 # Create a delimiter string that does not exist in confdefs.h, to ease
   12485 # handling of long lines.
   12486 ac_delim='%!_!# '
   12487 for ac_last_try in false false :; do
   12488   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12489   if test -z "$ac_tt"; then
   12490     break
   12491   elif $ac_last_try; then
   12492     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12493   else
   12494     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12495   fi
   12496 done
   12497 
   12498 # For the awk script, D is an array of macro values keyed by name,
   12499 # likewise P contains macro parameters if any.  Preserve backslash
   12500 # newline sequences.
   12501 
   12502 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12503 sed -n '
   12504 s/.\{148\}/&'"$ac_delim"'/g
   12505 t rset
   12506 :rset
   12507 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12508 t def
   12509 d
   12510 :def
   12511 s/\\$//
   12512 t bsnl
   12513 s/["\\]/\\&/g
   12514 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12515 D["\1"]=" \3"/p
   12516 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12517 d
   12518 :bsnl
   12519 s/["\\]/\\&/g
   12520 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12521 D["\1"]=" \3\\\\\\n"\\/p
   12522 t cont
   12523 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12524 t cont
   12525 d
   12526 :cont
   12527 n
   12528 s/.\{148\}/&'"$ac_delim"'/g
   12529 t clear
   12530 :clear
   12531 s/\\$//
   12532 t bsnlc
   12533 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12534 d
   12535 :bsnlc
   12536 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12537 b cont
   12538 ' <confdefs.h | sed '
   12539 s/'"$ac_delim"'/"\\\
   12540 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12541 
   12542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12543   for (key in D) D_is_set[key] = 1
   12544   FS = ""
   12545 }
   12546 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12547   line = \$ 0
   12548   split(line, arg, " ")
   12549   if (arg[1] == "#") {
   12550     defundef = arg[2]
   12551     mac1 = arg[3]
   12552   } else {
   12553     defundef = substr(arg[1], 2)
   12554     mac1 = arg[2]
   12555   }
   12556   split(mac1, mac2, "(") #)
   12557   macro = mac2[1]
   12558   prefix = substr(line, 1, index(line, defundef) - 1)
   12559   if (D_is_set[macro]) {
   12560     # Preserve the white space surrounding the "#".
   12561     print prefix "define", macro P[macro] D[macro]
   12562     next
   12563   } else {
   12564     # Replace #undef with comments.  This is necessary, for example,
   12565     # in the case of _POSIX_SOURCE, which is predefined and required
   12566     # on some systems where configure will not decide to define it.
   12567     if (defundef == "undef") {
   12568       print "/*", prefix defundef, macro, "*/"
   12569       next
   12570     }
   12571   }
   12572 }
   12573 { print }
   12574 _ACAWK
   12575 _ACEOF
   12576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12577   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12578 fi # test -n "$CONFIG_HEADERS"
   12579 
   12580 
   12581 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12582 shift
   12583 for ac_tag
   12584 do
   12585   case $ac_tag in
   12586   :[FHLC]) ac_mode=$ac_tag; continue;;
   12587   esac
   12588   case $ac_mode$ac_tag in
   12589   :[FHL]*:*);;
   12590   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12591   :[FH]-) ac_tag=-:-;;
   12592   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12593   esac
   12594   ac_save_IFS=$IFS
   12595   IFS=:
   12596   set x $ac_tag
   12597   IFS=$ac_save_IFS
   12598   shift
   12599   ac_file=$1
   12600   shift
   12601 
   12602   case $ac_mode in
   12603   :L) ac_source=$1;;
   12604   :[FH])
   12605     ac_file_inputs=
   12606     for ac_f
   12607     do
   12608       case $ac_f in
   12609       -) ac_f="$ac_tmp/stdin";;
   12610       *) # Look for the file first in the build tree, then in the source tree
   12611 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12612 	 # because $ac_f cannot contain `:'.
   12613 	 test -f "$ac_f" ||
   12614 	   case $ac_f in
   12615 	   [\\/$]*) false;;
   12616 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12617 	   esac ||
   12618 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12619       esac
   12620       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12621       as_fn_append ac_file_inputs " '$ac_f'"
   12622     done
   12623 
   12624     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12625     # use $as_me), people would be surprised to read:
   12626     #    /* config.h.  Generated by config.status.  */
   12627     configure_input='Generated from '`
   12628 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12629 	`' by configure.'
   12630     if test x"$ac_file" != x-; then
   12631       configure_input="$ac_file.  $configure_input"
   12632       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12633 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   12634     fi
   12635     # Neutralize special characters interpreted by sed in replacement strings.
   12636     case $configure_input in #(
   12637     *\&* | *\|* | *\\* )
   12638        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   12639        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12640     *) ac_sed_conf_input=$configure_input;;
   12641     esac
   12642 
   12643     case $ac_tag in
   12644     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12645       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12646     esac
   12647     ;;
   12648   esac
   12649 
   12650   ac_dir=`$as_dirname -- "$ac_file" ||
   12651 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12652 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12653 	 X"$ac_file" : 'X\(//\)$' \| \
   12654 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12655 printf "%s\n" X"$ac_file" |
   12656     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12657 	    s//\1/
   12658 	    q
   12659 	  }
   12660 	  /^X\(\/\/\)[^/].*/{
   12661 	    s//\1/
   12662 	    q
   12663 	  }
   12664 	  /^X\(\/\/\)$/{
   12665 	    s//\1/
   12666 	    q
   12667 	  }
   12668 	  /^X\(\/\).*/{
   12669 	    s//\1/
   12670 	    q
   12671 	  }
   12672 	  s/.*/./; q'`
   12673   as_dir="$ac_dir"; as_fn_mkdir_p
   12674   ac_builddir=.
   12675 
   12676 case "$ac_dir" in
   12677 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12678 *)
   12679   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   12680   # A ".." for each directory in $ac_dir_suffix.
   12681   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12682   case $ac_top_builddir_sub in
   12683   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12684   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12685   esac ;;
   12686 esac
   12687 ac_abs_top_builddir=$ac_pwd
   12688 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12689 # for backward compatibility:
   12690 ac_top_builddir=$ac_top_build_prefix
   12691 
   12692 case $srcdir in
   12693   .)  # We are building in place.
   12694     ac_srcdir=.
   12695     ac_top_srcdir=$ac_top_builddir_sub
   12696     ac_abs_top_srcdir=$ac_pwd ;;
   12697   [\\/]* | ?:[\\/]* )  # Absolute name.
   12698     ac_srcdir=$srcdir$ac_dir_suffix;
   12699     ac_top_srcdir=$srcdir
   12700     ac_abs_top_srcdir=$srcdir ;;
   12701   *) # Relative name.
   12702     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12703     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12704     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12705 esac
   12706 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12707 
   12708 
   12709   case $ac_mode in
   12710   :F)
   12711   #
   12712   # CONFIG_FILE
   12713   #
   12714 
   12715   case $INSTALL in
   12716   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12717   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12718   esac
   12719   ac_MKDIR_P=$MKDIR_P
   12720   case $MKDIR_P in
   12721   [\\/$]* | ?:[\\/]* ) ;;
   12722   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12723   esac
   12724 _ACEOF
   12725 
   12726 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12727 # If the template does not know about datarootdir, expand it.
   12728 # FIXME: This hack should be removed a few years after 2.60.
   12729 ac_datarootdir_hack=; ac_datarootdir_seen=
   12730 ac_sed_dataroot='
   12731 /datarootdir/ {
   12732   p
   12733   q
   12734 }
   12735 /@datadir@/p
   12736 /@docdir@/p
   12737 /@infodir@/p
   12738 /@localedir@/p
   12739 /@mandir@/p'
   12740 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12741 *datarootdir*) ac_datarootdir_seen=yes;;
   12742 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12743   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12744 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12745 _ACEOF
   12746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12747   ac_datarootdir_hack='
   12748   s&@datadir@&$datadir&g
   12749   s&@docdir@&$docdir&g
   12750   s&@infodir@&$infodir&g
   12751   s&@localedir@&$localedir&g
   12752   s&@mandir@&$mandir&g
   12753   s&\\\${datarootdir}&$datarootdir&g' ;;
   12754 esac
   12755 _ACEOF
   12756 
   12757 # Neutralize VPATH when `$srcdir' = `.'.
   12758 # Shell code in configure.ac might set extrasub.
   12759 # FIXME: do we really want to maintain this feature?
   12760 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12761 ac_sed_extra="$ac_vpsub
   12762 $extrasub
   12763 _ACEOF
   12764 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12765 :t
   12766 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12767 s|@configure_input@|$ac_sed_conf_input|;t t
   12768 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12769 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12770 s&@srcdir@&$ac_srcdir&;t t
   12771 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12772 s&@top_srcdir@&$ac_top_srcdir&;t t
   12773 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12774 s&@builddir@&$ac_builddir&;t t
   12775 s&@abs_builddir@&$ac_abs_builddir&;t t
   12776 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12777 s&@INSTALL@&$ac_INSTALL&;t t
   12778 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12779 $ac_datarootdir_hack
   12780 "
   12781 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12782   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12783 
   12784 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12785   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12786   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12787       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12788   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12789 which seems to be undefined.  Please make sure it is defined" >&5
   12790 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12791 which seems to be undefined.  Please make sure it is defined" >&2;}
   12792 
   12793   rm -f "$ac_tmp/stdin"
   12794   case $ac_file in
   12795   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12796   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12797   esac \
   12798   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12799  ;;
   12800   :H)
   12801   #
   12802   # CONFIG_HEADER
   12803   #
   12804   if test x"$ac_file" != x-; then
   12805     {
   12806       printf "%s\n" "/* $configure_input  */" >&1 \
   12807       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12808     } >"$ac_tmp/config.h" \
   12809       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12810     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12811       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12812 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   12813     else
   12814       rm -f "$ac_file"
   12815       mv "$ac_tmp/config.h" "$ac_file" \
   12816 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12817     fi
   12818   else
   12819     printf "%s\n" "/* $configure_input  */" >&1 \
   12820       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12821       || as_fn_error $? "could not create -" "$LINENO" 5
   12822   fi
   12823 # Compute "$ac_file"'s index in $config_headers.
   12824 _am_arg="$ac_file"
   12825 _am_stamp_count=1
   12826 for _am_header in $config_headers :; do
   12827   case $_am_header in
   12828     $_am_arg | $_am_arg:* )
   12829       break ;;
   12830     * )
   12831       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12832   esac
   12833 done
   12834 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12835 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12836 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12837 	 X"$_am_arg" : 'X\(//\)$' \| \
   12838 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12839 printf "%s\n" X"$_am_arg" |
   12840     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12841 	    s//\1/
   12842 	    q
   12843 	  }
   12844 	  /^X\(\/\/\)[^/].*/{
   12845 	    s//\1/
   12846 	    q
   12847 	  }
   12848 	  /^X\(\/\/\)$/{
   12849 	    s//\1/
   12850 	    q
   12851 	  }
   12852 	  /^X\(\/\).*/{
   12853 	    s//\1/
   12854 	    q
   12855 	  }
   12856 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12857  ;;
   12858 
   12859   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12860 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   12861  ;;
   12862   esac
   12863 
   12864 
   12865   case $ac_file$ac_mode in
   12866     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12867   # Older Autoconf quotes --file arguments for eval, but not when files
   12868   # are listed without --file.  Let's play safe and only enable the eval
   12869   # if we detect the quoting.
   12870   # TODO: see whether this extra hack can be removed once we start
   12871   # requiring Autoconf 2.70 or later.
   12872   case $CONFIG_FILES in #(
   12873   *\'*) :
   12874     eval set x "$CONFIG_FILES" ;; #(
   12875   *) :
   12876     set x $CONFIG_FILES ;; #(
   12877   *) :
   12878      ;;
   12879 esac
   12880   shift
   12881   # Used to flag and report bootstrapping failures.
   12882   am_rc=0
   12883   for am_mf
   12884   do
   12885     # Strip MF so we end up with the name of the file.
   12886     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   12887     # Check whether this is an Automake generated Makefile which includes
   12888     # dependency-tracking related rules and includes.
   12889     # Grep'ing the whole file directly is not great: AIX grep has a line
   12890     # limit of 2048, but all sed's we know have understand at least 4000.
   12891     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   12892       || continue
   12893     am_dirpart=`$as_dirname -- "$am_mf" ||
   12894 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12895 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   12896 	 X"$am_mf" : 'X\(//\)$' \| \
   12897 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12898 printf "%s\n" X"$am_mf" |
   12899     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12900 	    s//\1/
   12901 	    q
   12902 	  }
   12903 	  /^X\(\/\/\)[^/].*/{
   12904 	    s//\1/
   12905 	    q
   12906 	  }
   12907 	  /^X\(\/\/\)$/{
   12908 	    s//\1/
   12909 	    q
   12910 	  }
   12911 	  /^X\(\/\).*/{
   12912 	    s//\1/
   12913 	    q
   12914 	  }
   12915 	  s/.*/./; q'`
   12916     am_filepart=`$as_basename -- "$am_mf" ||
   12917 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   12918 	 X"$am_mf" : 'X\(//\)$' \| \
   12919 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12920 printf "%s\n" X/"$am_mf" |
   12921     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12922 	    s//\1/
   12923 	    q
   12924 	  }
   12925 	  /^X\/\(\/\/\)$/{
   12926 	    s//\1/
   12927 	    q
   12928 	  }
   12929 	  /^X\/\(\/\).*/{
   12930 	    s//\1/
   12931 	    q
   12932 	  }
   12933 	  s/.*/./; q'`
   12934     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   12935       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12936         | $MAKE -f - am--depfiles" >&5
   12937    (cd "$am_dirpart" \
   12938       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12939         | $MAKE -f - am--depfiles) >&5 2>&5
   12940    ac_status=$?
   12941    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12942    (exit $ac_status); } || am_rc=$?
   12943   done
   12944   if test $am_rc -ne 0; then
   12945     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12946 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12947 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   12948     for automatic dependency tracking.  If GNU make was not used, consider
   12949     re-running the configure script with MAKE=\"gmake\" (or whatever is
   12950     necessary).  You can also try re-running configure with the
   12951     '--disable-dependency-tracking' option to at least be able to build
   12952     the package (albeit without support for automatic dependency tracking).
   12953 See \`config.log' for more details" "$LINENO" 5; }
   12954   fi
   12955   { am_dirpart=; unset am_dirpart;}
   12956   { am_filepart=; unset am_filepart;}
   12957   { am_mf=; unset am_mf;}
   12958   { am_rc=; unset am_rc;}
   12959   rm -f conftest-deps.mk
   12960 }
   12961  ;;
   12962 
   12963   esac
   12964 done # for ac_tag
   12965 
   12966 
   12967 as_fn_exit 0
   12968 _ACEOF
   12969 ac_clean_files=$ac_clean_files_save
   12970 
   12971 test $ac_write_fail = 0 ||
   12972   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12973 
   12974 
   12975 # configure is writing to config.log, and then calls config.status.
   12976 # config.status does its own redirection, appending to config.log.
   12977 # Unfortunately, on DOS this fails, as config.log is still kept open
   12978 # by configure, so config.status won't be able to write to it; its
   12979 # output is simply discarded.  So we exec the FD to /dev/null,
   12980 # effectively closing config.log, so it can be properly (re)opened and
   12981 # appended to by config.status.  When coming back to configure, we
   12982 # need to make the FD available again.
   12983 if test "$no_create" != yes; then
   12984   ac_cs_success=:
   12985   ac_config_status_args=
   12986   test "$silent" = yes &&
   12987     ac_config_status_args="$ac_config_status_args --quiet"
   12988   exec 5>/dev/null
   12989   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12990   exec 5>>config.log
   12991   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12992   # would make configure fail if this is the last instruction.
   12993   $ac_cs_success || as_fn_exit 1
   12994 fi
   12995 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12996   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12997 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12998 fi
   12999 
   13000 
   13001